/* ============================== */
/* VantaShop Premium Storefront   */
/* ============================== */

:root {
  --font-base: "Segoe UI Variable", "Segoe UI", Tahoma, sans-serif;
  --bg: #050816;
  --bg-soft: #0a1020;
  --bg-panel: rgba(255, 255, 255, 0.03);
  --bg-panel-strong: rgba(255, 255, 255, 0.08);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-alt: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px) saturate(180%);
  --radius-card: 16px;
  --radius-button: 12px;
  --radius-modal: 24px;
  --radius-pill: 999px;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --primary: linear-gradient(135deg, #7c3aed, #2563eb);
  --primary-glow: 0 18px 40px rgba(96, 92, 255, 0.3);
  --max-width: 1320px;
  --transition: 0.3s ease;
  --section-gap: clamp(3.5rem, 8vw, 5.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #050816;
}

body {
  margin: 0;
  direction: rtl;
  font-family: var(--font-base);
  color: var(--text-primary);
  background:
    radial-gradient(circle at 16% 18%, rgba(124, 58, 237, 0.25), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(37, 99, 235, 0.18), transparent 28%),
    radial-gradient(circle at 50% 120%, rgba(16, 185, 129, 0.12), transparent 35%),
    linear-gradient(180deg, #03060f 0%, #050916 30%, #070d18 100%);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

html.drawer-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.drawer-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  appearance: none;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(124, 58, 237, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(7, 11, 22, 0.9);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.7), rgba(37, 99, 235, 0.7));
}

:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.9);
  outline-offset: 2px;
}

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

.slot-preview-card > label.btn {
  position: relative;
  overflow: hidden;
}

.slot-preview-card > label.btn > input.sr-only[data-slot-kind="product-image"][required] {
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  clip: auto;
  clip-path: none;
  white-space: normal;
  cursor: pointer;
}

.page-noise,
.page-orb {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.page-noise {
  display: none;
}

.page-orb {
  z-index: -1;
  filter: blur(20px);
}

.page-orb-a {
  background: radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.22), transparent 18%);
}

.page-orb-b {
  background: radial-gradient(circle at 78% 14%, rgba(37, 99, 235, 0.18), transparent 20%);
}

.glass-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
}

.icon-holder {
  --icon-size: 22px;
  width: var(--icon-size);
  height: var(--icon-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}

.icon-holder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eyebrow {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-shell,
.header-shell,
.hero-shell,
.footer-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

/* ============================== */
/* Header                         */
/* ============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 18px 0 0;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 6, 15, 0.72), rgba(3, 6, 15, 0));
  pointer-events: none;
}

.header-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 82px;
  padding: 16px 20px;
  border-radius: 28px;
  background: rgba(7, 11, 23, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.site-header.is-scrolled .header-shell {
  background: rgba(7, 11, 23, 0.86);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-icon {
  --icon-size: 28px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.2), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 32px rgba(7, 11, 24, 0.3);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-shadow: 0 0 22px rgba(124, 58, 237, 0.34);
}

.brand-copy small {
  color: var(--text-muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  row-gap: 0.55rem;
  padding: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  width: fit-content;
  max-width: min(100%, 1120px);
  margin-inline: auto;
  overflow: visible;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  inset: auto 50% 6px;
  height: 2px;
  width: 0;
  transform: translateX(50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0), rgba(124, 58, 237, 1), rgba(37, 99, 235, 0));
  transition: width var(--transition), inset var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: calc(100% - 40px);
  inset-inline: 20px;
  transform: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.header-action,
.menu-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.header-action:hover,
.menu-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-hover);
}

.wallet-action {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(37, 99, 235, 0.08));
}

.design-order-action {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(14, 165, 233, 0.14));
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.12);
}

.design-order-action:hover {
  border-color: rgba(45, 212, 191, 0.44);
  box-shadow: 0 18px 34px rgba(16, 185, 129, 0.18);
}

.action-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.action-label {
  font-size: 0.82rem;
  font-weight: 700;
}

.wallet-balance,
.account-name,
.action-value {
  color: var(--text-secondary);
  font-size: 0.74rem;
  white-space: nowrap;
}

.count-badge {
  position: absolute;
  inset: -6px auto auto -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #ef4444);
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.35);
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-trigger {
  display: none;
  width: 48px;
  height: 48px;
  justify-content: center;
}

/* ============================== */
/* Drawer                         */
/* ============================== */

.mobile-drawer,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-drawer {
  display: flex;
  justify-content: flex-end;
  z-index: 111;
  direction: ltr;
}

.mobile-drawer.is-open,
.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-backdrop {
  z-index: 110;
  background: rgba(3, 6, 15, 0.66);
  backdrop-filter: blur(10px);
}

.drawer-panel {
  width: min(86vw, 360px);
  height: 100%;
  margin-left: auto;
  margin-right: 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(9, 12, 24, 0.96), rgba(6, 9, 19, 0.98));
  border-inline-start: 0;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 22px;
  direction: rtl;
  overflow: hidden;
}

.mobile-drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-head,
.drawer-brand,
.drawer-link {
  display: flex;
  align-items: center;
}

.drawer-head {
  justify-content: space-between;
  gap: 1rem;
}

.drawer-brand {
  gap: 14px;
}

.drawer-brand p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.drawer-close,
.modal-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.drawer-close:hover,
.modal-close:hover {
  transform: rotate(90deg);
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.24);
}

.close-lines {
  position: relative;
  width: 18px;
  height: 18px;
}

.close-lines::before,
.close-lines::after {
  content: "";
  position: absolute;
  inset: 8px 0 auto;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.close-lines::before {
  transform: rotate(45deg);
}

.close-lines::after {
  transform: rotate(-45deg);
}

.drawer-body {
  display: grid;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-inline-end: 4px;
}

.drawer-link {
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.drawer-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
}

.drawer-footer {
  margin-top: auto;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.9;
  flex-shrink: 0;
}

/* ============================== */
/* Hero                           */
/* ============================== */

.hero-section {
  padding: 28px 0 0;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.hero-stat-card,
.support-banner,
.footer-shell {
  border-radius: 32px;
}

.hero-copy {
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5f5;
  font-size: 0.82rem;
  margin-bottom: 22px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy h1 span {
  background: linear-gradient(135deg, #f8fafc 0%, #c4b5fd 38%, #60a5fa 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  margin: 18px 0 26px;
  max-width: 42rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 2;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  padding: 10px 8px;
}

.hero-search input::placeholder {
  color: var(--text-muted);
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-point {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-point strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.hero-point p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.9;
}

.hero-side {
  display: flex;
}

.hero-side-stack {
  display: grid;
  gap: 16px;
  width: 100%;
}

.hero-stat-card {
  position: relative;
  padding: 20px 22px;
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}

.hero-stat-card:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-stat-card:nth-child(3) {
  animation-delay: 0.8s;
}

.hero-stat-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -50% auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 60%);
}

.hero-stat-card.accent-cyan::before {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 60%);
}

.hero-stat-card.accent-gold::before {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16), transparent 60%);
}

.stat-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.stat-number {
  position: relative;
  z-index: 1;
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 10px;
}

.hero-stat-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.9;
}

/* ============================== */
/* Shared Sections                */
/* ============================== */

.category-wrap,
.catalog-section,
.experience-banner,
.site-footer {
  padding-top: var(--section-gap);
}

.category-head,
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.category-head h2,
.section-heading h2 {
  margin: 10px 0 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.04em;
}

.category-head p,
.section-heading p {
  margin: 0;
  max-width: 40rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.section-line {
  flex: 0 0 160px;
  height: 1px;
  align-self: center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(124, 58, 237, 0.7), rgba(37, 99, 235, 0));
}

.category-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

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

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  scroll-snap-align: start;
  flex: 0 0 auto;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.category-chip.is-active,
.category-chip:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(37, 99, 235, 0.18));
  border-color: rgba(124, 58, 237, 0.36);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  cursor: pointer;
  transform: translateY(0);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  contain: layout paint;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: -120% auto auto -55%;
  width: 60%;
  height: 280%;
  transform: rotate(24deg) translateX(-170%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(212, 192, 255, 0.16), rgba(255, 255, 255, 0));
  opacity: 0;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(124, 58, 237, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.product-card:hover::before {
  opacity: 1;
  animation: shimmer 1.4s ease;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(4, 7, 17, 0.95), rgba(13, 18, 35, 0.9));
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.product-card.product-card-neon-discount {
  border-color: rgba(192, 132, 252, 0.95);
  box-shadow: 0 0 0 1px rgba(216, 180, 254, 0.52), 0 0 18px rgba(192, 132, 252, 0.45), 0 0 34px rgba(168, 85, 247, 0.36), var(--shadow);
}

.product-card.product-card-neon-discount::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(245, 208, 254, 0.78), 0 0 22px rgba(192, 132, 252, 0.32);
}

.product-card.product-card-neon-discount:hover {
  border-color: rgba(216, 180, 254, 1);
  box-shadow: 0 0 0 1px rgba(233, 213, 255, 0.68), 0 0 24px rgba(216, 180, 254, 0.52), 0 0 40px rgba(168, 85, 247, 0.48), var(--shadow-hover);
}

.product-badges {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  z-index: 2;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-badge.featured {
  color: #ede9fe;
  background: rgba(124, 58, 237, 0.24);
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.2);
}

.product-badge.best {
  color: #dcfce7;
  background: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.18);
}

.product-badge.coming {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.2);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.16);
}

.product-badge.testing {
  color: #fef3c7;
  background: rgba(250, 204, 21, 0.24);
  border-color: rgba(250, 204, 21, 0.34);
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.18);
}

.product-badge.approved-status {
  color: #dcfce7;
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.32);
  box-shadow: 0 0 22px rgba(34, 197, 94, 0.18);
}

.product-badge.discount {
  color: #fff7ed;
  background: rgba(249, 115, 22, 0.22);
  box-shadow: 0 0 22px rgba(249, 115, 22, 0.16);
}

.product-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.74rem;
}

.product-code {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.product-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-title-row .product-title {
  flex: 1 1 auto;
  min-width: 0;
}

.product-card-compact .product-preview-meta {
  flex: 0 0 auto;
  display: grid;
  justify-items: start;
  gap: 6px;
  max-width: min(52%, 220px);
}

.product-card-compact .product-preview-meta .product-badge {
  max-width: 100%;
  justify-content: flex-start;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.45;
  text-align: right;
}

.product-card-compact .product-preview-meta .product-meta-badge {
  width: 100%;
  justify-content: space-between;
  padding: 11px 14px;
}

.product-card-compact .product-preview-meta .product-meta-badge-value {
  font-size: 1rem;
}

.product-summary {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 0.86rem;
}

.coming-soon-countdown {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 10px 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(14, 165, 233, 0.14));
  border: 1px solid rgba(196, 181, 253, 0.24);
  text-align: center;
}

.coming-soon-countdown span {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.coming-soon-countdown strong {
  color: var(--text-primary);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.coming-soon-countdown small {
  color: var(--text-secondary);
  font-size: 0.72rem;
}

.coming-soon-countdown.modal {
  justify-items: start;
  text-align: right;
  padding: 14px 16px;
}

.coming-soon-countdown.modal strong {
  font-size: 1rem;
}

.discount-countdown {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 10px 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.16), rgba(251, 191, 36, 0.14));
  border: 1px solid rgba(251, 191, 36, 0.22);
  text-align: center;
}

.discount-countdown span {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.discount-countdown strong {
  color: var(--text-primary);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.discount-countdown small {
  color: var(--text-secondary);
  font-size: 0.72rem;
}

.discount-countdown.modal {
  justify-items: start;
  text-align: right;
  padding: 14px 16px;
}

.discount-countdown.modal strong {
  font-size: 1rem;
}

.product-preview-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.product-preview-meta .product-badge {
  max-width: 100%;
  text-align: center;
}

.product-preview-meta .product-meta-badge {
  gap: 10px;
  padding: 10px 14px;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-align: right;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.18);
}

.product-preview-meta .product-meta-badge-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.76);
}

.product-preview-meta .product-meta-badge-value {
  font-size: 0.98rem;
  font-weight: 950;
  color: #fff;
}

.product-preview-meta .product-meta-badge-creator {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(16, 185, 129, 0.16));
  border-color: rgba(74, 222, 128, 0.24);
}

.product-preview-meta .product-meta-badge-gender {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(124, 58, 237, 0.16));
}

.product-preview-meta a.product-badge {
  text-decoration: none;
}

.product-card .helper-text {
  text-align: center;
}

.product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.product-footer .form-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.product-favorite-button {
  gap: 8px;
}

.product-favorite-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 78, 126, 0.12);
  color: #ff7aa5;
  font-size: 0.74rem;
  line-height: 1;
  white-space: nowrap;
}

.product-favorite-count-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  line-height: 1;
}

.product-card-compact .product-footer {
  flex-direction: column-reverse;
  align-items: stretch;
}

.product-card-compact .product-footer .form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 10px;
}

.product-card-compact .product-footer .btn.btn-glass,
.product-card-compact .product-footer .card-cta {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 8px;
  justify-content: center;
  text-align: center;
  font-size: 0.74rem;
  line-height: 1.45;
}

.product-card-compact .product-price {
  align-items: center;
  text-align: center;
  gap: 4px;
}

.product-card-compact .product-price small,
.product-card-compact .product-price strong {
  width: 100%;
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-price small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.product-price strong {
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.product-price-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.product-price-original {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-decoration: line-through;
  text-decoration-thickness: 1.6px;
  opacity: 0.95;
}

.product-price-discount {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.16);
  color: #fed7aa;
  font-size: 0.74rem;
  font-weight: 700;
}

.product-card-compact .product-price-extra {
  justify-content: center;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
  white-space: normal;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.product-card:hover .card-cta,
.card-cta:hover {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-1px);
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 240px;
  padding: 28px;
  text-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.empty-state .icon-holder {
  --icon-size: 56px;
}

.empty-state p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.9;
}

.support-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.support-banner h2 {
  margin: 12px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.support-banner p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 2;
}

.support-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================== */
/* Footer                         */
/* ============================== */

.site-footer {
  padding-bottom: 110px;
}

.footer-shell {
  padding: 28px;
  border-top: 1px solid rgba(124, 58, 237, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 24px;
}

.footer-column h3 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-brand p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  line-height: 2;
}

.footer-links,
.footer-contact-list {
  display: grid;
  gap: 10px;
}

.footer-enamad {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 12px;
  justify-items: center;
}

.footer-enamad-label {
  color: var(--text-secondary);
  font-size: 0.92rem;
  text-align: center;
}

.footer-enamad-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 110px;
}

.footer-enamad-badge a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-enamad-badge img {
  display: block;
  max-width: 100%;
  height: auto;
}

.footer-links button,
.footer-contact-list a,
.footer-contact-list button {
  justify-self: start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.footer-contact-number {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}

.footer-contact-list .footer-join-link {
  display: flex;
  align-items: center;
  width: 100%;
  justify-self: stretch;
  justify-content: center;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.2), rgba(251, 191, 36, 0.18));
  border-color: rgba(125, 211, 252, 0.24);
  color: var(--text-primary);
  font-weight: 700;
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.22);
}

.footer-links button:hover,
.footer-contact-list a:hover,
.footer-contact-list button:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer-contact-list .footer-join-link:hover,
.footer-contact-list .footer-join-link:focus-visible {
  border-color: rgba(125, 211, 252, 0.34);
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.28), rgba(251, 191, 36, 0.24));
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  text-align: center;
}

/* ============================== */
/* Buttons and Forms              */
/* ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), filter var(--transition);
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: var(--primary-glow);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.09);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.24);
  color: #fecaca;
}

.btn-success {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.26);
  color: #d1fae5;
}

.btn-warning {
  background: rgba(250, 204, 21, 0.18);
  border-color: rgba(250, 204, 21, 0.3);
  color: #fef3c7;
}

.btn-large {
  min-height: 52px;
  padding-inline: 24px;
}

.btn-block {
  width: 100%;
}

.field-group {
  display: grid;
  gap: 10px;
}

.field-group span {
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.field-input,
.field-textarea,
.field-select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
}

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

.field-input::placeholder,
.field-textarea::placeholder {
  color: var(--text-muted);
}

.field-input:focus,
.field-textarea:focus,
.field-select:focus {
  border-color: rgba(124, 58, 237, 0.46);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
  transform: translateY(-1px);
}

.field-input[aria-invalid="true"],
.field-textarea[aria-invalid="true"],
.field-select[aria-invalid="true"] {
  border-color: rgba(239, 68, 68, 0.72);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14);
}

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

#creatorDiscountRequestForm .field-grid {
  align-items: start;
}

#creatorDiscountRequestForm .field-group {
  align-content: start;
}

.form-actions,
.spread-actions {
  display: flex;
  align-items: center;
}

.form-actions {
  gap: 12px;
}

.spread-actions {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.helper-text {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.9;
}

.creator-upload-progress {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(10, 18, 32, 0.92), rgba(30, 41, 59, 0.82));
  border: 1px solid rgba(96, 165, 250, 0.18);
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.18);
}

.creator-upload-progress[hidden] {
  display: none !important;
}

.creator-upload-progress.is-error {
  border-color: rgba(248, 113, 113, 0.28);
  background: linear-gradient(145deg, rgba(52, 19, 27, 0.92), rgba(69, 10, 10, 0.82));
}

.creator-upload-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.creator-upload-progress-head strong {
  font-size: 0.96rem;
  min-width: 0;
}

.creator-upload-progress-head span {
  color: #93c5fd;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.creator-upload-progress.is-error .creator-upload-progress-head span {
  color: #fca5a5;
}

.creator-upload-progress-bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.creator-upload-progress-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.28);
  transition: width 0.18s ease;
}

.creator-upload-progress.is-processing .creator-upload-progress-bar span {
  background: linear-gradient(90deg, #22c55e, #34d399);
}

.creator-upload-progress.is-error .creator-upload-progress-bar span {
  background: linear-gradient(90deg, #f97316, #ef4444);
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.2);
}

.creator-upload-progress.is-indeterminate .creator-upload-progress-bar span {
  width: 34%;
  animation: creatorUploadIndeterminate 1.2s ease-in-out infinite;
}

.creator-upload-progress-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.8;
}

@keyframes creatorUploadIndeterminate {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

/* ============================== */
/* Modal System                   */
/* ============================== */

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(3, 6, 15, 0.7);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.modal-layer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-layer[data-modal-stack="keep"] {
  z-index: 180;
}

#projectActionModal,
#walletChargeRequestModal {
  z-index: 220;
}

.modal-side {
  justify-content: flex-start;
}

.modal-panel {
  width: min(100%, 720px);
  max-height: min(92vh, 980px);
  max-height: min(92dvh, 980px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-modal);
  background: linear-gradient(180deg, rgba(7, 11, 23, 0.96), rgba(5, 8, 17, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(18px) scale(0.98);
  animation: slideUp 0.3s ease forwards;
}

.modal-panel-side {
  width: min(100%, 460px);
  height: 100%;
  max-height: 100%;
  border-radius: 0;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateX(-18px);
}

.modal-panel-large {
  width: min(100%, 1040px);
}

.modal-panel-immersive {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(8, 12, 26, 0.97), rgba(4, 7, 16, 0.99));
  border-color: rgba(216, 180, 254, 0.14);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(168, 85, 247, 0.08);
}

.modal-panel-xlarge {
  width: min(100%, 1200px);
}

.modal-panel-medium {
  width: min(100%, 720px);
}

.modal-panel-small {
  width: min(100%, 560px);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-head h3 {
  margin: 10px 0 0;
  font-size: 1.4rem;
}

#auctionModal .modal-head {
  position: relative;
  align-items: flex-start;
  padding-top: 28px;
  padding-bottom: 14px;
}

#auctionModal .modal-head > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

#auctionModal .modal-head .eyebrow,
#auctionModal .modal-head h3 {
  text-align: center;
}

#auctionModal .modal-head h3 {
  order: 1;
  margin: 8px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top, rgba(251, 191, 36, 0.16), transparent 60%),
    linear-gradient(145deg, rgba(18, 24, 42, 0.94), rgba(41, 24, 74, 0.78));
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: #fff8cc;
  font-size: clamp(1.2rem, 1.04rem + 0.45vw, 1.62rem);
  font-weight: 1000;
  letter-spacing: -0.01em;
  text-shadow:
    0 2px 18px rgba(91, 33, 182, 0.16),
    0 0 20px rgba(245, 158, 11, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 196, 0.08),
    0 16px 34px rgba(2, 6, 23, 0.18),
    0 0 24px rgba(245, 158, 11, 0.1);
}

#auctionModal .modal-head .eyebrow {
  order: 2;
  margin-top: 6px;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  color: rgba(226, 232, 240, 0.72);
  text-transform: uppercase;
}

#auctionModal .modal-close {
  position: absolute;
  inset-inline-end: 24px;
  top: 14px;
}

#auctionModal .modal-head::before {
  content: "در حال برگزاری";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 40px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.18));
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #d1fae5;
  font-size: 0.84rem;
  font-weight: 950;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.16),
    0 0 22px rgba(16, 185, 129, 0.2),
    0 16px 32px rgba(2, 6, 23, 0.18);
  display: none;
}

.modal-body {
  padding: 24px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.panel-section-modal-body {
  display: grid;
  gap: 18px;
  min-height: min(56vh, 540px);
  min-height: min(56dvh, 540px);
  align-content: start;
}

.panel-section-modal-body,
.panel-section-modal-body > *,
.panel-section-modal-body .auth-form,
.panel-section-modal-body .field-group,
.panel-section-modal-body .message-stack,
.panel-section-modal-body .info-card,
.panel-section-modal-body .preview-stack,
.panel-section-modal-body .preview-card,
.panel-section-modal-body .creator-slot-grid {
  min-width: 0;
}

.panel-section-modal-body .creator-slot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-chat-list-modal-panel,
.project-chat-thread-modal-panel {
  max-height: min(92vh, 920px);
  max-height: min(92dvh, 920px);
  min-height: 0;
}

.project-chat-thread-modal-panel {
  height: min(92vh, 920px);
  height: min(92dvh, 920px);
}

.project-chat-modal-head {
  position: sticky;
  top: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(8, 12, 26, 0.98), rgba(6, 10, 20, 0.94));
  backdrop-filter: blur(18px);
}

.project-chat-modal-body,
.project-chat-thread-modal-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.project-chat-list-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  flex: 1 1 auto;
  min-height: min(72vh, 760px);
  height: 100%;
}

.project-chat-sidebar-head {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.project-chat-sidebar-head p {
  margin: 0;
  color: var(--text-secondary);
}

.project-chat-sidebar-list {
  display: grid;
  gap: 2px;
  min-height: 0;
  padding: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.project-chat-list-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 22px;
  color: inherit;
  text-align: right;
  background: transparent;
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
}

.project-chat-list-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.project-chat-list-item.is-inactive {
  opacity: 0.58;
  filter: grayscale(0.18);
}

.project-chat-list-item.is-active {
  opacity: 1;
}

.project-chat-list-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.26), rgba(14, 165, 233, 0.12));
  border: 1px solid rgba(103, 232, 249, 0.2);
  color: #e0f2fe;
  font-weight: 800;
}

.project-chat-list-content {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.project-chat-list-head,
.project-chat-list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-chat-list-head strong,
.project-chat-list-preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-chat-list-head small,
.project-chat-list-meta {
  color: var(--text-secondary);
}

.project-chat-list-meta {
  font-size: 0.82rem;
}

.project-chat-list-preview {
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.92rem;
}

.project-chat-list-unread {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.3);
}

.project-chat-thread-modal-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: min(78vh, 820px);
  height: 100%;
  overflow: hidden;
}

.project-chat-thread-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  flex: 1 1 auto;
  min-height: 0;
  min-height: 100%;
  height: 100%;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(8, 12, 24, 0.98), rgba(8, 13, 26, 0.98));
}

.project-chat-thread-top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 12, 24, 0.94);
  backdrop-filter: blur(18px);
}

.project-chat-thread-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.project-chat-thread-actions-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.project-chat-thread-title {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.project-chat-thread-title p {
  margin: 0;
  color: var(--text-secondary);
}

.project-chat-thread-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.project-chat-fact {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-chat-fact strong {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.project-chat-pinned-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(125, 211, 252, 0.12);
}

.project-chat-pinned-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
}

.project-chat-pinned-main,
.project-chat-pinned-dismiss {
  border: 0;
  background: transparent;
  color: inherit;
}

.project-chat-pinned-main {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: right;
  cursor: pointer;
}

.project-chat-pinned-main strong,
.project-chat-pinned-main small,
.project-chat-pinned-main span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-chat-pinned-main strong {
  color: #7dd3fc;
}

.project-chat-pinned-main small {
  color: var(--text-secondary);
}

.project-chat-pinned-main span {
  color: rgba(226, 232, 240, 0.9);
}

.project-chat-pinned-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  cursor: pointer;
  color: #fca5a5;
}

.project-chat-thread-scroll {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  padding: 16px 20px;
  overflow: hidden;
}

.project-chat-log {
  display: grid;
  gap: 12px;
  max-height: none !important;
  min-height: 0;
  height: 100%;
  padding: 4px 2px 82px !important;
  border-radius: 0;
  background: transparent;
  border: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  align-content: start;
}

.project-chat-composer-shell {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 16px 20px 18px;
  background: rgba(8, 12, 24, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.project-chat-composer-shell.is-disabled {
  grid-template-columns: 1fr;
}

.project-chat-input-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-chat-file-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  pointer-events: none;
}

.project-chat-attach-btn,
.project-chat-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  font-weight: 800;
}

.project-chat-attach-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5f5;
  cursor: pointer;
}

.project-chat-send-btn {
  min-width: 46px;
  width: 46px;
  padding: 0;
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  color: #fff;
  box-shadow: 0 14px 28px rgba(14, 165, 233, 0.26);
  font-size: 1.15rem;
}

.project-chat-send-btn.is-loading {
  font-size: 0;
}

.project-chat-latest-btn {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.94);
  color: #e2e8f0;
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.4);
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.project-chat-latest-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.project-chat-latest-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.12));
  color: #7dd3fc;
  font-size: 0.95rem;
  line-height: 1;
}

.project-chat-attachment-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
}

.project-chat-attachment-chip {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 84px;
  padding: 8px 8px 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-chat-attachment-media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.project-chat-attachment-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-chat-attachment-filetype {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #cbd5f5;
}

.project-chat-attachment-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  font-size: 0.72rem;
  text-align: center;
}

.project-chat-attachment-remove {
  position: absolute;
  top: 6px;
  inset-inline-end: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #fca5a5;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--transition), transform var(--transition);
}

.project-chat-attachment-chip:hover .project-chat-attachment-remove,
.project-chat-attachment-chip:focus-within .project-chat-attachment-remove {
  opacity: 1;
  transform: scale(1);
}

.project-chat-list-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.project-chat-list-item.is-loading {
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}

.project-chat-inline-card {
  margin-top: 2px;
}

.project-message-card.is-project-intro .project-message-bubble {
  border-style: dashed;
}

.project-chat-input {
  min-height: 58px !important;
  max-height: 180px;
  padding: 8px 4px !important;
  border: 0 !important;
  background: transparent !important;
  resize: none;
}

.project-chat-input:focus {
  box-shadow: none !important;
}

.project-chat-composer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.project-chat-reply-draft {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.project-chat-reply-draft-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.project-chat-reply-draft-copy strong,
.project-chat-reply-draft-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-chat-reply-draft-copy strong {
  color: #7dd3fc;
  font-size: 0.78rem;
}

.project-chat-reply-draft-copy span {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.project-chat-reply-draft-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  color: #fca5a5;
  cursor: pointer;
  flex: 0 0 auto;
}

.loading-shell {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: var(--text-secondary);
}

.product-card-loading,
.top-creator-card-loading {
  pointer-events: none;
  cursor: default;
}

.product-card-loading:hover,
.top-creator-card-loading:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.loading-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.loading-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  animation: loadingSweep 1.35s ease-in-out infinite;
}

.loading-placeholder-media {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.loading-placeholder-line {
  display: block;
  height: 12px;
}

.loading-placeholder-short {
  width: 30%;
}

.loading-placeholder-mini {
  width: 22%;
}

.loading-placeholder-title {
  width: 72%;
  height: 16px;
}

.loading-placeholder-wide {
  width: 88%;
}

.loading-placeholder-price {
  width: 34%;
  height: 18px;
}

.loading-placeholder-pill {
  width: 112px;
  height: 40px;
  border-radius: 999px;
}

.loading-placeholder-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
}

.loading-placeholder-button {
  width: 100%;
}

.product-card-loading .product-content,
.top-creator-card-loading .top-creator-copy {
  gap: 12px;
}

/* ============================== */
/* Product Modal                  */
/* ============================== */

.product-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 22px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 14px;
  align-content: start;
}

.product-main-image {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 240ms ease, filter 240ms ease;
}

.product-image-stage {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.product-image-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 21, 0.04), rgba(4, 7, 16, 0.12));
  pointer-events: none;
}

.product-image-stage:hover img,
.product-image-stage:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.06);
}

.product-image-stage:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(216, 180, 254, 0.48);
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(8, 12, 25, 0.82), rgba(255, 255, 255, 0.08));
  color: #fff;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), opacity var(--transition);
}

.product-gallery-nav:hover,
.product-gallery-nav:focus-visible {
  transform: translateY(-50%) scale(1.04);
  border-color: rgba(216, 180, 254, 0.34);
  background: linear-gradient(160deg, rgba(76, 29, 149, 0.4), rgba(124, 58, 237, 0.18));
}

.product-gallery-nav:disabled,
.product-gallery-nav:disabled:hover,
.product-gallery-nav:disabled:focus-visible {
  opacity: 0.45;
  cursor: not-allowed;
  transform: translateY(-50%);
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(8, 12, 25, 0.82), rgba(255, 255, 255, 0.08));
}

.product-gallery-nav svg {
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.product-gallery-nav-prev {
  inset-inline-start: 16px;
}

.product-gallery-nav-next {
  inset-inline-end: 16px;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.product-thumb {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.04);
}

.product-thumb.is-active,
.product-thumb:hover {
  border-color: rgba(124, 58, 237, 0.44);
}

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

#productImageViewerModal {
  z-index: 260;
  background:
    radial-gradient(circle at top, rgba(76, 29, 149, 0.32), transparent 34%),
    linear-gradient(180deg, rgba(2, 4, 12, 0.92), rgba(2, 5, 14, 0.98));
}

.product-image-viewer-panel {
  width: min(100%, 1320px);
  height: min(96vh, 1060px);
  height: min(96dvh, 1060px);
  max-height: min(96vh, 1060px);
  max-height: min(96dvh, 1060px);
  transform: translateY(0) !important;
  animation: none !important;
}

.product-image-viewer-modal-head {
  padding-bottom: 18px;
}

.product-image-viewer-modal-body {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.product-image-viewer-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
}

.product-image-viewer-stage-shell {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.product-image-viewer-stage {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.2), transparent 32%),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(8, 12, 25, 0.96), rgba(3, 5, 12, 0.99));
}

.product-image-viewer-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 96%, rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(90deg, transparent 96%, rgba(255, 255, 255, 0.03) 100%);
  background-size: 38px 38px;
  opacity: 0.28;
  pointer-events: none;
}

.product-image-viewer-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  cursor: zoom-in;
}

.product-image-viewer-viewport.is-zoomed {
  cursor: grab;
}

.product-image-viewer-viewport.is-zoomed:active {
  cursor: grabbing;
}

.product-image-viewer-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  will-change: width, height, transform;
}

.product-image-viewer-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.product-image-viewer-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 12, 25, 0.72);
  color: #fff;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), opacity var(--transition);
}

.product-image-viewer-nav:hover,
.product-image-viewer-nav:focus-visible {
  transform: translateY(-50%) scale(1.05);
  border-color: rgba(216, 180, 254, 0.34);
  background: rgba(76, 29, 149, 0.54);
}

.product-image-viewer-nav:disabled,
.product-image-viewer-nav:disabled:hover,
.product-image-viewer-nav:disabled:focus-visible {
  opacity: 0.42;
  transform: translateY(-50%);
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 25, 0.72);
}

.product-image-viewer-nav svg {
  width: 26px;
  height: 26px;
  pointer-events: none;
}

.product-image-viewer-nav-prev {
  inset-inline-start: 22px;
}

.product-image-viewer-nav-next {
  inset-inline-end: 22px;
}

.product-image-viewer-hud {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(8, 12, 25, 0.88), rgba(5, 8, 17, 0.94));
}

.product-image-viewer-status,
.product-image-viewer-controls {
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(8, 12, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.product-image-viewer-status {
  display: grid;
  gap: 4px;
}

.product-image-viewer-status strong {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.product-image-viewer-status span {
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.86rem;
  line-height: 1.7;
}

.product-image-viewer-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.product-image-viewer-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.product-image-viewer-control:hover,
.product-image-viewer-control:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(216, 180, 254, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.product-image-viewer-control.is-zoom {
  width: 44px;
  padding-inline: 0;
  font-size: 1.24rem;
  line-height: 1;
}

.product-image-viewer-control-link {
  min-width: 110px;
}

.product-image-viewer-zoom-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.product-image-viewer-strip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 24px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(8, 12, 25, 0.88), rgba(4, 7, 16, 0.96));
}

.product-image-viewer-thumb {
  width: 94px;
  flex: 0 0 auto;
  display: grid;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.product-image-viewer-thumb:hover,
.product-image-viewer-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
}

.product-image-viewer-thumb.is-active {
  border-color: rgba(216, 180, 254, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 18px 30px rgba(76, 29, 149, 0.14);
}

.product-image-viewer-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
}

.product-image-viewer-thumb span {
  font-size: 0.76rem;
  font-weight: 700;
}

.product-detail-body {
  display: grid;
  gap: 18px;
}

.product-detail-body h4 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.product-detail-creator-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}

.product-detail-creator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.26), rgba(76, 29, 149, 0.44));
  border: 1px solid rgba(216, 180, 254, 0.24);
  color: #f5e9ff;
  box-shadow: 0 14px 28px rgba(76, 29, 149, 0.18);
}

.product-detail-creator:hover,
.product-detail-creator:focus-visible {
  color: #fff;
  border-color: rgba(216, 180, 254, 0.34);
}

.product-detail-description {
  margin: 0;
  color: var(--text-secondary);
  line-height: 2.05;
  white-space: pre-line;
}

.product-description-summary {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(124, 58, 237, 0.06));
  border: 1px solid rgba(216, 180, 254, 0.14);
}

.product-description-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.product-description-summary-head strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.product-description-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 16px;
  border: 1px solid rgba(216, 180, 254, 0.22);
  background: rgba(15, 23, 42, 0.64);
  color: #f5e9ff;
  font-weight: 700;
  white-space: nowrap;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.product-description-trigger:hover,
.product-description-trigger:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(216, 180, 254, 0.4);
  background: rgba(76, 29, 149, 0.48);
}

.product-description-summary-note {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.88rem;
  line-height: 1.9;
}

.product-description-modal-panel {
  width: min(100%, 900px);
}

.product-description-modal-body {
  display: grid;
  gap: 18px;
}

.product-description-modal-intro {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.product-description-modal-intro span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.18);
  color: #f5e9ff;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-description-modal-intro span strong {
  font-size: inherit;
  font-weight: 800;
}

.product-description-modal-intro p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 2;
  white-space: pre-line;
}

.product-description-scroll {
  display: grid;
  gap: 12px;
  min-height: 0;
}

.product-description-section {
  display: block;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: visible;
}

.product-description-section summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  text-align: center;
}

.product-description-section[open] summary {
  padding-bottom: 14px;
}

.product-description-section summary::-webkit-details-marker {
  display: none;
}

.product-description-section-heading {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  padding: 18px 20px 12px;
}

.product-description-section-heading strong {
  color: #fff;
  font-size: 1rem;
}

.product-description-section-heading small {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.82rem;
}

.product-description-section-body {
  display: block;
  padding: 0 20px 20px;
  overflow: visible;
  max-height: none;
  height: auto;
}

.product-description-section-body p {
  display: block;
  margin: 0;
  color: var(--text-secondary);
  line-height: 2.05;
  white-space: pre-line;
  text-align: start;
  overflow: visible;
  max-height: none;
  height: auto;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: initial;
  text-overflow: clip;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.product-description-scroll .product-description-section {
  height: auto;
  max-height: none;
}

.product-description-modal-footer {
  display: flex;
  justify-content: flex-start;
  flex: 0 0 auto;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 17, 0.72);
  backdrop-filter: blur(18px);
}

.product-description-modal-footer .btn {
  flex: 0 0 auto;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-meta span {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.price-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.price-display strong {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.price-display .product-price {
  align-items: flex-start;
}

.quantity-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.quantity-controls button,
.quantity-pill {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.quantity-pill {
  width: auto;
  min-width: 54px;
  padding-inline: 14px;
}

.package-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.package-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================== */
/* Cart and Wallet                */
/* ============================== */

.cart-items,
.order-list,
.message-list,
.ticket-list {
  display: grid;
  gap: 14px;
}

.cart-item,
.order-item,
.message-item,
.ticket-item,
.copy-field,
.info-card,
.account-metric,
.ticket-thread,
.wallet-callout {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px;
}

.cart-item-thumb {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item h4,
.order-item h4,
.message-item h4,
.ticket-item h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.cart-item p,
.order-item p,
.message-item p,
.ticket-item p,
.copy-field p,
.info-card p,
.wallet-callout p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.9;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.cart-summary {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 14px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.summary-row strong {
  font-size: 1.1rem;
}

.wallet-grid,
.account-grid {
  display: grid;
  gap: 14px;
}

.copy-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.copy-field .copy-value {
  flex: 1 1 auto;
  min-width: 0;
  direction: ltr;
  text-align: left;
  font-weight: 700;
}

.copy-field button {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.order-delivery-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 22px;
  display: grid;
  gap: 16px;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.88), rgba(12, 18, 32, 0.78) 58%, rgba(14, 165, 233, 0.14));
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.order-delivery-card::before {
  content: "";
  position: absolute;
  inset: auto -44px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.32), transparent 68%);
  pointer-events: none;
}

.order-delivery-head,
.order-delivery-grid {
  position: relative;
  z-index: 1;
}

.order-delivery-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.order-delivery-copy {
  display: grid;
  gap: 6px;
  max-width: 620px;
}

.order-delivery-copy strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.14rem;
}

.order-delivery-copy p,
.order-download-card p,
.order-guide-card p,
.order-password-copy small {
  margin: 0;
  color: var(--text-secondary);
}

.order-delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.order-download-card,
.order-guide-card,
.order-password-box {
  padding: 18px;
  border-radius: 18px;
  background: rgba(9, 14, 26, 0.56);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.order-download-card,
.order-guide-card {
  display: grid;
  gap: 10px;
}

.order-delivery-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.order-download-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(14, 165, 233, 0.14));
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: var(--text-primary);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.order-download-cta span {
  font-weight: 700;
}

.order-download-cta small {
  color: var(--text-secondary);
}

.order-download-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.42);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(6, 182, 212, 0.2));
}

.order-download-cta.is-disabled {
  pointer-events: none;
  opacity: 0.72;
}

.order-download-url {
  direction: ltr;
  text-align: left;
  color: var(--text-muted);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.order-password-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(12, 74, 110, 0.34));
  border-color: rgba(16, 185, 129, 0.2);
}

.order-password-box .order-password-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.order-password-box .copy-value {
  direction: ltr;
  text-align: left;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: #f8fafc;
  user-select: text;
}

.order-password-box button {
  flex: 0 0 auto;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.26);
}

.order-password-box--empty {
  display: grid;
  gap: 8px;
  cursor: default;
  background: rgba(15, 23, 42, 0.64);
  border-style: dashed;
}

.order-guide-card p {
  white-space: pre-line;
}


.order-delivery-item-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(9, 14, 26, 0.56);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.order-delivery-item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.order-delivery-product-link {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: right;
  cursor: pointer;
}

.order-delivery-product-link:hover strong,
.order-delivery-product-link:focus-visible strong {
  color: var(--accent-cyan);
}

.order-delivery-product-link:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.45);
  outline-offset: 6px;
  border-radius: 18px;
}

.order-delivery-item-thumb {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 16px;
  flex: 0 0 74px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.order-delivery-item-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.order-delivery-item-copy strong,
.order-delivery-item-code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-delivery-item-code {
  direction: ltr;
  text-align: left;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .order-delivery-head,
  .order-download-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .order-delivery-head .status-badge,
  .order-download-cta small {
    align-self: flex-start;
  }

  .order-delivery-item-head {
    align-items: flex-start;
  }

  .order-delivery-item-copy strong,
  .order-delivery-item-code {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

.wallet-notice,
.wallet-callout,
.success-box,
.ticket-compose,
.mailbox-content,
.order-detail,
.sales-document,
.ticket-reply-box {
  display: grid;
  gap: 14px;
}

.wallet-notice,
.success-box,
.order-detail,
.sales-document,
.ticket-compose,
.mailbox-content,
.ticket-reply-box {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sales-document-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sales-document-head h4 {
  margin: 6px 0 0;
  font-size: 1.2rem;
}

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

.sales-document-section {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sales-document-section strong {
  display: block;
  margin-bottom: 8px;
}

.sales-document-text {
  margin: 0;
  white-space: pre-line;
  color: var(--text-secondary);
}

.sales-document-list {
  margin: 0;
  padding-right: 22px;
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
}

.sales-document-actions {
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .sales-document-grid {
    grid-template-columns: 1fr;
  }
}

.notice-emphasis {
  color: #fde68a;
}

.terms-notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.terms-notice {
  padding: 16px;
  border-radius: 18px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.16);
}

.terms-notice strong {
  display: block;
  margin-bottom: 8px;
}

.terms-notice p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.9;
}

.terms-scroll-box {
  max-height: min(52vh, 460px);
  overflow: auto;
  padding-inline-end: 6px;
}

.terms-section summary {
  cursor: pointer;
}

.terms-list {
  margin: 0;
  padding: 0 18px 0 0;
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
}

.terms-list li {
  line-height: 1.9;
}

.wallet-callout {
  padding: 18px;
}

.wallet-balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(37, 99, 235, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-balance-card strong {
  font-size: 1.9rem;
  letter-spacing: -0.04em;
}

.success-check {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-inline: auto;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.28);
  position: relative;
}

.success-check::before,
.success-check::after {
  content: "";
  position: absolute;
  background: #d1fae5;
  border-radius: 999px;
  transform-origin: center;
}

.success-check::before {
  width: 18px;
  height: 4px;
  top: 48px;
  left: 24px;
  transform: rotate(45deg);
}

.success-check::after {
  width: 36px;
  height: 4px;
  top: 40px;
  right: 18px;
  transform: rotate(-45deg);
}

.success-box {
  text-align: center;
}

.success-box h4 {
  margin: 0;
  font-size: 1.45rem;
}

/* ============================== */
/* Account Panel                  */
/* ============================== */

.account-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
}

.account-nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.account-tab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
}

.account-tab:hover,
.account-tab.is-active {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.24), rgba(37, 99, 235, 0.16));
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.18);
  transform: translateY(-2px);
}

.logout-tab {
  margin-top: 10px;
}

.account-content {
  min-width: 0;
}

.account-panel {
  display: none;
}

.account-panel.is-active {
  display: grid;
  gap: 16px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-heading h4 {
  margin: 0;
  font-size: 1.35rem;
}

.account-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.panel-grid.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(7, 18, 30, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.card-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.account-metric,
.info-card {
  padding: 18px;
}

.account-metric strong,
.info-card strong {
  display: block;
  font-size: 1.35rem;
  margin: 8px 0 6px;
}

.account-metric small,
.info-card small {
  display: block;
  color: var(--text-muted);
}

.order-item,
.message-item,
.ticket-item {
  padding: 16px;
}

.order-item-header,
.message-item-header,
.ticket-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.order-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.order-header-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.order-return-btn {
  min-width: 92px;
}

.order-return-timer {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  font-size: 0.78rem;
  font-weight: 700;
}

.order-return-timer.is-expired,
.order-return-timer.is-muted {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
}

.order-return-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.order-return-note small {
  color: var(--text-muted);
}

.order-return-cancel-btn {
  min-width: 92px;
}

.order-return-status-card {
  margin-bottom: 16px;
}

.order-return-modal-shell {
  gap: 14px;
}

.order-return-modal-shell .field-input[type="file"] {
  padding: 14px;
}

.meta-chip,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.meta-chip {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.16);
  color: #fef3c7;
  animation: pulse 2.2s ease-in-out infinite;
}

.status-badge.approved,
.status-badge.delivered,
.status-badge.answered,
.status-badge.open-ok {
  background: rgba(16, 185, 129, 0.16);
  color: #d1fae5;
}

.status-badge.rejected,
.status-badge.cancelled,
.status-badge.closed {
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
}

.status-badge.open {
  background: rgba(59, 130, 246, 0.16);
  color: #dbeafe;
}

.order-detail,
.mailbox-content,
.ticket-thread,
.ticket-reply-box {
  margin-top: 14px;
}

.ticket-thread {
  padding: 16px;
}

.thread-message {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.thread-message.is-admin {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.16);
}

.thread-message small {
  display: block;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ticket-compose {
  padding: 18px;
}

.auth-prompt {
  text-align: center;
  padding: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.auth-prompt h4 {
  margin: 0 0 10px;
}

.auth-prompt p {
  margin: 0 0 18px;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ============================== */
/* Auth Modal                     */
/* ============================== */

.auth-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}

.auth-switch {
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--text-secondary);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.auth-switch.is-active,
.auth-switch:hover {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(37, 99, 235, 0.14));
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.12);
}

.auth-view {
  display: none;
  gap: 18px;
}

.auth-view.is-active {
  display: grid;
  animation: fadeIn 0.3s ease;
}

.auth-copy h4 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.auth-copy p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.9;
}

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

.auth-inline-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-inline-links button {
  color: #c4b5fd;
}

.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.step-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-chip.is-active {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(37, 99, 235, 0.14));
  border-color: rgba(124, 58, 237, 0.22);
}

.auth-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.auth-step.is-active {
  display: block;
}

.otp-input {
  letter-spacing: 0.35em;
  text-align: center;
  direction: ltr;
  font-size: 1.15rem;
  font-weight: 800;
}

/* ============================== */
/* Toasts and Helpers             */
/* ============================== */

.toast-region {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 260;
  display: grid;
  gap: 10px;
  width: min(92vw, 420px);
}

.toast {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: premiumRise 0.3s ease;
}

.toast.info {
  background: rgba(59, 130, 246, 0.18);
}

.toast.success {
  background: rgba(16, 185, 129, 0.18);
}

.toast.warning {
  background: rgba(245, 158, 11, 0.18);
}

.toast.error {
  background: rgba(239, 68, 68, 0.18);
}

.noscript-box {
  margin: 24px auto;
  width: min(calc(100% - 32px), 640px);
  padding: 18px 20px;
  border-radius: 18px;
  text-align: center;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================== */
/* Motion and Reveal              */
/* ============================== */

.fade-section {
  opacity: 1;
  transform: none;
}

.fade-section.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.bottom-nav-item.is-tapped,
.header-action.is-tapped,
.card-cta.is-tapped,
.category-chip.is-tapped {
  transform: scale(0.97);
}

/* ============================== */
/* Mobile Bottom Nav              */
/* ============================== */

.mobile-bottom-nav {
  position: fixed;
  inset: auto 12px 12px;
  z-index: 80;
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(7, 11, 23, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.bottom-nav-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 16px;
  color: var(--text-secondary);
  transition: transform var(--transition), color var(--transition), background var(--transition);
  font-size: 0.74rem;
}

.bottom-nav-item .icon-holder {
  --icon-size: 20px;
}

.bottom-nav-item.is-active,
.bottom-nav-item:hover {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(37, 99, 235, 0.16));
}

.bottom-nav-item.is-active .icon-holder img,
.bottom-nav-item:hover .icon-holder img {
  filter: drop-shadow(0 0 16px rgba(124, 58, 237, 0.4));
}

.bottom-nav-account .count-badge {
  inset: 2px 8px auto auto;
}

/* ============================== */
/* Animations                     */
/* ============================== */

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

@keyframes shimmer {
  from {
    transform: rotate(24deg) translateX(-170%);
  }
  to {
    transform: rotate(24deg) translateX(260%);
  }
}

@keyframes loadingSweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes countUp {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.86;
    transform: scale(1.03);
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ============================== */
/* Responsive                     */
/* ============================== */

@media (max-width: 1200px) {
  .hero-points {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 992px) {
  .header-shell {
    padding-inline: 16px;
  }

  .main-nav {
    display: none;
  }

  .menu-trigger {
    display: inline-flex;
  }

  .hero-shell,
  .product-modal-grid,
  .support-banner,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-stat-card,
  .support-banner,
  .footer-shell {
    border-radius: 26px;
  }

  .section-line {
    display: none;
  }

  .account-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-tab {
    justify-content: center;
  }

  .product-image-viewer-stage {
    min-height: 0;
  }

  .product-image-viewer-hud {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .product-image-viewer-controls {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding-top: 10px;
  }

  .header-shell {
    min-height: 72px;
    gap: 10px;
    padding-inline: 14px;
    border-radius: 22px;
  }

  .brand-copy small,
  .design-order-action .action-value,
  .wallet-action .action-value,
  .cart-action .action-value {
    display: none;
  }

  .header-action {
    padding: 11px 12px;
  }

  .design-order-action,
  .wallet-action,
  .cart-action,
  .account-action {
    min-width: 48px;
  }

  .action-copy {
    display: none;
  }

  .hero-section {
    padding-top: 18px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-pill,
  .hero-actions-row {
    justify-content: center;
  }

  .hero-search {
    flex-wrap: wrap;
  }

  .hero-search .btn {
    width: 100%;
  }

  .hero-point {
    text-align: right;
  }

  .category-head,
  .section-heading,
  .panel-heading,
  .support-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .panel-heading .form-actions,
  .card-head .status-badge,
  .order-item-header .form-actions,
  .order-detail .form-actions,
  .ticket-compose .form-actions {
    width: 100%;
  }

  .panel-heading .form-actions,
  .order-item-header .form-actions,
  .order-detail .form-actions,
  .ticket-compose .form-actions {
    flex-wrap: wrap;
  }

  .panel-heading .form-actions > *,
  .order-item-header .form-actions > *,
  .order-detail .form-actions > *,
  .ticket-compose .form-actions > * {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .panel-heading .form-actions .status-badge,
  .order-item-header .form-actions .status-badge,
  .order-detail .form-actions .status-badge,
  .ticket-compose .form-actions .status-badge {
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .section-page-nav {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-inline: 14px;
  }

  .section-page-button {
    min-height: 50px;
  }

  .section-page-edge {
    width: 52px;
    height: 52px;
    border-radius: 18px;
  }

  .section-page-edge-prev {
    right: -4px;
  }

  .section-page-edge-next {
    left: -4px;
  }

  .field-grid,
  .account-grid,
  .panel-grid.two-columns,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
  }

  .modal-layer {
    padding: 14px;
  }

  .modal-panel-side {
    width: min(100%, 100vw);
  }

  .mobile-bottom-nav {
    display: grid;
  }

  .site-footer {
    padding-bottom: 128px;
  }

  .account-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-card,
  .ticket-compose,
  .order-detail {
    padding: 16px;
    border-radius: 22px;
  }

  .account-grid {
    gap: 12px;
  }

  .account-metric,
  .info-card,
  .copy-field {
    min-width: 0;
  }

  .account-metric strong,
  .info-card strong {
    font-size: 1.18rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .copy-field,
  .account-metric-copy {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .copy-field .copy-value,
  .account-metric-copy strong,
  .account-metric-copy small {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .copy-field button,
  .account-metric-copy button {
    margin-inline-start: auto;
  }

  .wallet-summary-grid,
  .wallet-quick-grid,
  .wallet-detail-grid {
    gap: 14px;
  }

  .wallet-quick-grid,
  .wallet-detail-grid {
    grid-template-columns: 1fr;
  }

  .wallet-action-primary .form-actions {
    flex-wrap: wrap;
  }

  .wallet-action-primary .form-actions > * {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .wallet-detail-grid .message-stack,
  .wallet-detail-grid .info-card,
  .wallet-detail-grid .content-card {
    min-width: 0;
  }

  .wallet-detail-grid .card-head,
  .wallet-detail-grid .info-card .card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .wallet-detail-grid .status-badge,
  .wallet-detail-grid small,
  .wallet-detail-grid p,
  .wallet-detail-grid strong {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .order-item-header {
    align-items: flex-start;
  }

  .order-item-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .order-item-meta .meta-chip {
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  .order-return-note {
    align-items: flex-start;
  }

  .order-delivery-card {
    padding: 18px;
  }

  .order-delivery-grid {
    grid-template-columns: 1fr;
  }

  .order-download-cta {
    width: 100%;
  }

  .auth-switcher {
    grid-template-columns: 1fr;
  }

  .product-image-viewer-modal-head {
    padding: 18px 18px 16px;
  }

  .product-image-viewer-panel {
    height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
    height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
    max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
  }

  .product-image-viewer-stage-shell {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 12px 0;
  }

  .product-image-viewer-stage {
    min-height: 0;
    border-radius: 24px;
  }

  .product-image-viewer-nav {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .product-image-viewer-nav-prev {
    inset-inline-start: 12px;
  }

  .product-image-viewer-nav-next {
    inset-inline-end: 12px;
  }

  .product-image-viewer-hud {
    position: static;
    inset: auto;
    gap: 10px;
  }

  .product-image-viewer-status,
  .product-image-viewer-controls {
    padding: 12px 14px;
    border-radius: 18px;
  }

  .product-image-viewer-strip {
    padding: 12px 12px 18px;
  }

  .product-image-viewer-thumb {
    width: 78px;
    border-radius: 18px;
  }

  .product-image-viewer-control-link {
    flex: 1 1 100%;
    min-width: 0;
  }
}

@media (max-width: 576px) {
  .section-shell,
  .header-shell,
  .hero-shell,
  .footer-shell {
    width: min(calc(100% - 22px), var(--max-width));
  }

  .hero-copy {
    padding: 20px;
  }

  .category-chip {
    padding: 12px 14px;
  }

  .product-card {
    border-radius: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-content {
    padding: 8px;
    gap: 6px;
  }

  .product-title {
    font-size: 0.72rem;
  }

  .product-code,
  .product-price strong,
  .card-cta {
    font-size: 0.7rem;
  }

  .product-badge {
    padding: 3px 6px;
    font-size: 0.52rem;
  }

  .product-content,
  .modal-head,
  .modal-body,
  .footer-shell,
  .support-banner,
  .wallet-balance-card,
  .success-box,
  .order-item,
  .message-item,
  .ticket-item,
  .account-metric,
  .info-card,
  .wallet-callout,
  .copy-field {
    padding: 16px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-description,
  .category-head p,
  .section-heading p,
  .support-banner p,
  .footer-brand p {
    font-size: 0.92rem;
  }

  .account-nav {
    grid-template-columns: 1fr;
  }

  .panel-heading h4,
  .card-head h2 {
    font-size: 1.06rem;
  }

  .panel-heading .form-actions,
  .order-item-header .form-actions,
  .order-detail .form-actions,
  .ticket-compose .form-actions,
  .wallet-action-primary .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .panel-heading .form-actions > *,
  .order-item-header .form-actions > *,
  .order-detail .form-actions > *,
  .ticket-compose .form-actions > *,
  .wallet-action-primary .form-actions > * {
    width: 100%;
    flex: 1 1 100%;
  }

  .account-grid,
  .wallet-summary-grid,
  .order-item-meta {
    grid-template-columns: 1fr;
  }

  .account-metric,
  .info-card,
  .ticket-compose,
  .content-card,
  .order-item,
  .order-detail,
  .copy-field,
  .wallet-callout {
    padding: 14px;
    border-radius: 18px;
  }

  .account-metric-copy > div {
    width: 100%;
  }

  .copy-field button,
  .account-metric-copy button {
    width: 100%;
    height: 42px;
    margin-inline-start: 0;
  }

  .wallet-summary-grid {
    gap: 12px;
  }

  .wallet-action-primary,
  .wallet-action-secondary,
  .order-delivery-card,
  .order-delivery-item-card,
  .order-download-card,
  .order-guide-card,
  .order-password-box {
    padding: 14px;
    border-radius: 18px;
  }

  .order-delivery-item-head {
    flex-direction: column;
  }

  .order-delivery-item-thumb {
    width: 100%;
    max-width: 96px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .order-download-cta {
    padding: 12px 14px;
  }

  .order-download-url {
    font-size: 0.78rem;
  }

  .product-gallery-nav {
    width: 46px;
    height: 46px;
  }

  .product-gallery-nav-prev {
    inset-inline-start: 12px;
  }

  .product-gallery-nav-next {
    inset-inline-end: 12px;
  }

  .product-gift-highlight {
    grid-template-columns: 1fr;
  }

  .product-description-summary-head {
    flex-direction: column;
  }

  .product-description-trigger {
    width: 100%;
  }

  .product-gift-highlight img {
    width: min(100%, 160px);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .product-gift-entry {
    grid-template-columns: 1fr;
  }

  .product-gift-entry-cta {
    width: 100%;
  }

  .buyer-review-product-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .buyer-review-product-card img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .product-image-viewer-stage-shell {
    gap: 0;
    padding: 10px 10px 0;
    grid-template-rows: minmax(0, 1fr);
  }

  .product-image-viewer-stage {
    min-height: 0;
  }

  .product-image-viewer-hud {
    display: none;
  }

  .product-image-viewer-strip {
    padding-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-section {
    opacity: 1 !important;
    transform: none !important;
  }
}

.catalog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.filter-group-categories {
  width: 100%;
}

.filter-group-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  user-select: none;
  cursor: default;
}

.filter-chip,
.step-chip {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  user-select: none;
  transition: var(--transition);
}

.filter-chip.is-active,
.step-chip.is-active {
  color: #fff;
  border-color: rgba(59, 130, 246, 0.45);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(16, 185, 129, 0.14));
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.18);
}

.discount-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: end;
  margin-bottom: 1rem;
}

.sold-highlight-card {
  border: 1px solid rgba(250, 204, 21, 0.22);
  background: linear-gradient(145deg, rgba(250, 204, 21, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 36px rgba(250, 204, 21, 0.12);
}

.testing-warning-card,
.testing-approved-card {
  padding: 18px;
  border-radius: 20px;
}

.testing-warning-card {
  border: 1px solid rgba(250, 204, 21, 0.34);
  background: linear-gradient(145deg, rgba(250, 204, 21, 0.2), rgba(120, 53, 15, 0.16));
  box-shadow: 0 18px 36px rgba(250, 204, 21, 0.16);
}

.testing-warning-card strong {
  display: block;
  color: #fde68a;
}

.testing-warning-card p {
  margin: 0.65rem 0 0;
  color: #fff7d6;
  line-height: 2;
}

.testing-approved-card {
  border: 1px solid rgba(34, 197, 94, 0.34);
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.18), rgba(6, 78, 59, 0.18));
  box-shadow: 0 18px 36px rgba(34, 197, 94, 0.14);
}

.testing-approved-card strong {
  display: block;
  color: #dcfce7;
}

.testing-approved-card p {
  margin: 0.65rem 0 0;
  color: #ecfdf5;
  line-height: 2;
}

.creator-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.creator-field-card p,
.sold-highlight-card p {
  margin: 0.55rem 0 0;
}

.ticket-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.ticket-attachment-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  background: rgba(59, 130, 246, 0.08);
  color: var(--text-primary);
}

.ticket-attachment-pill.has-preview {
  flex-direction: column;
  align-items: flex-start;
  max-width: 180px;
}

.ticket-attachment-preview {
  width: 100%;
  max-width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.ticket-attachment-pill small {
  color: var(--text-secondary);
}

.thread-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.status-badge,
.meta-chip,
.eyebrow,
.step-chip,
.copy-value,
.quantity-pill {
  user-select: none;
  cursor: default;
}

@media (max-width: 720px) {
  .discount-inline-form {
    grid-template-columns: 1fr;
  }
}

.top-creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.ticket-list,
.project-card .message-stack {
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}

.top-creator-card {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  overflow: hidden;
}

.top-creator-rank {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 16px;
  background: var(--rank-badge-bg, rgba(250, 204, 21, 0.18));
  color: var(--rank-badge-text, #ffe28a);
  border: 1px solid var(--rank-border, rgba(250, 204, 21, 0.28));
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.24);
  font-weight: 700;
  user-select: none;
}

.top-creator-avatar {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.top-creator-copy {
  display: grid;
  gap: 0.5rem;
}

.top-creator-copy p {
  margin: 0;
}

.top-creator-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--text-secondary);
}

.products-grid.account-favorites-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.product-card.product-card-minimal {
  min-height: 0;
}

.product-card.product-card-minimal .product-media {
  aspect-ratio: 1 / 1;
}

.product-card.product-card-minimal .product-content {
  padding: 14px 14px 16px;
  gap: 0;
}

.product-card.product-card-minimal .product-title-shell {
  width: 100%;
}

.product-card.product-card-minimal .product-title-row {
  display: block;
}

.product-card.product-card-minimal .product-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: center;
}

.product-card.product-card-minimal .product-title-center,
.product-card.product-card-minimal .product-title-text {
  display: block;
  width: 100%;
}

.product-gift-entry {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: var(--glass-blur);
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.product-gift-entry:hover,
.product-gift-entry:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(124, 58, 237, 0.34);
  background: linear-gradient(160deg, rgba(76, 29, 149, 0.24), rgba(255, 255, 255, 0.06));
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.22);
}

.product-gift-entry-copy {
  display: grid;
  gap: 8px;
}

.product-gift-entry-copy strong {
  font-size: 1rem;
}

.product-gift-entry-copy span {
  color: var(--text-secondary);
  line-height: 1.9;
}

.product-gift-entry-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.buyer-review-prompt-panel {
  width: min(100%, 680px);
}

.buyer-review-prompt-shell {
  display: grid;
  gap: 18px;
}

.buyer-review-product-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(216, 180, 254, 0.14);
}

.buyer-review-product-card img {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.buyer-review-product-card div {
  display: grid;
  gap: 6px;
}

.buyer-review-product-card span,
.buyer-review-product-card small {
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.buyer-review-product-card strong {
  color: #fff;
  font-size: 1.08rem;
}

.buyer-review-alert {
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: #fecaca;
  line-height: 1.9;
}

.buyer-review-textarea {
  min-height: 150px;
}

.product-gift-modal-panel {
  position: relative;
  overflow: hidden;
}

.product-gift-shell {
  display: grid;
  gap: 16px;
}

.product-gift-highlight {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: var(--glass-blur);
}

.product-gift-highlight img {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-gift-highlight small {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.product-gift-highlight strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.product-gift-highlight p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.9;
}

.product-gift-submit {
  width: 100%;
  justify-content: center;
}

.gift-recipient-preview {
  min-height: 1.25rem;
}

.project-card {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.9rem;
}

.notification-preference-card {
  margin-bottom: 16px;
}

.project-message-card {
  display: grid;
  justify-items: flex-start;
  gap: 8px;
}

.project-message-card.is-highlighted .project-message-bubble {
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.3), 0 18px 36px rgba(14, 165, 233, 0.18);
  border-color: rgba(125, 211, 252, 0.38);
}

.project-message-card.is-own {
  justify-items: flex-end;
}

.project-message-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  max-width: min(100%, 88%);
  color: var(--text-secondary);
}

.project-message-meta strong {
  color: var(--text-primary);
}

.project-message-statuses {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.project-message-bubble {
  display: grid;
  gap: 10px;
  width: min(100%, 650px);
  padding: 14px 16px;
  border-radius: 22px 22px 22px 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.16);
}

.project-message-card.is-own .project-message-bubble {
  border-radius: 22px 22px 8px 22px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.12));
  border-color: rgba(103, 232, 249, 0.18);
}

.project-message-card.is-final-delivery .project-message-bubble {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.16), rgba(234, 179, 8, 0.08));
  border-color: rgba(250, 204, 21, 0.26);
}

.project-message-text,
.project-message-bubble p {
  margin: 0;
  line-height: 1.95;
}


.project-message-link-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 10px 0;
}

.project-message-link-row {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  max-width: 100%;
}

.project-message-link {
  direction: ltr;
  text-align: left;
  color: #93c5fd;
  text-decoration: underline;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.project-message-link-trailing {
  color: inherit;
}

.project-message-copy-link-btn {
  gap: 8px;
  padding: 8px 12px;
}

.project-message-note {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.project-message-footer {
  display: flex;
  justify-content: flex-end;
}

.project-message-footer small {
  color: var(--text-secondary);
}

.project-message-pin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5f5;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), color var(--transition);
}

.project-message-card:hover .project-message-pin-btn,
.project-message-card:focus-within .project-message-pin-btn,
.project-message-pin-btn.is-active {
  opacity: 1;
  transform: translateY(0);
}

.project-message-pin-btn.is-active {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
}

.project-message-reply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5f5;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), color var(--transition);
}

.project-message-card:hover .project-message-reply-btn,
.project-message-card:focus-within .project-message-reply-btn {
  opacity: 1;
  transform: translateY(0);
}

.project-message-reply-preview {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 0;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.36);
  box-shadow: inset 3px 0 0 rgba(56, 189, 248, 0.65);
  color: inherit;
  text-align: right;
  cursor: pointer;
}

.project-message-reply-preview strong,
.project-message-reply-preview span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-message-reply-preview strong {
  font-size: 0.76rem;
  color: #7dd3fc;
}

.project-message-reply-preview span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.project-chat-actions {
  padding-top: 4px;
}

.project-chat-final-delivery-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.project-chat-final-delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.28);
  color: #fef08a;
  font-size: 0.82rem;
  font-weight: 700;
}

.project-chat-final-delivery-countdown {
  color: #fde68a;
  font-size: 0.82rem;
}

.project-chat-final-warning,
.project-chat-final-timer {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.16), rgba(234, 179, 8, 0.08));
  color: #fef3c7;
}

.project-chat-final-warning strong,
.project-chat-final-timer strong {
  display: block;
  margin-bottom: 8px;
  color: #fde68a;
}

.project-chat-final-warning p,
.project-chat-final-timer p {
  margin: 0;
  line-height: 1.9;
}

.project-chat-final-warning-time {
  margin-top: 8px !important;
  font-weight: 700;
}

.project-card-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.project-card-preview p {
  margin: 6px 0 0;
  color: var(--text-secondary);
  line-height: 1.85;
}

.project-card-unread-badge {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  color: #fff;
  font-weight: 800;
}

.message-delivery-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.05);
}

.message-delivery-chip.open {
  color: #9bdcff;
  border-color: rgba(120, 216, 255, 0.24);
}

.message-delivery-chip.approved {
  color: #b7f7ce;
  border-color: rgba(149, 242, 187, 0.28);
}

.message-delivery-chip.pending {
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.24);
}

.message-delivery-chip.rejected {
  color: #ffb4b4;
  border-color: rgba(239, 68, 68, 0.24);
}

.message-delivery-icon {
  font-weight: 700;
  letter-spacing: 0.02em;
}


/* Storefront secondary refresh */
.hero-shell {
  grid-template-columns: 1fr;
  gap: 0;
}

.hero-copy {
  display: grid;
  gap: 18px;
  width: 100%;
}

.hero-pill,
.hero-actions-row,
.hero-points,
.hero-side {
  display: none !important;
}

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 14px 18px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.18), rgba(37, 99, 235, 0.09));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 30px rgba(9, 12, 26, 0.24);
}

.hero-brand-copy {
  display: grid;
  gap: 4px;
}

.hero-brand-copy small {
  color: var(--text-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-brand-copy strong {
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  max-width: 16ch;
}

.hero-description {
  margin: 0;
  max-width: 48rem;
}

.hero-search {
  margin-bottom: 0;
}

.hero-stats-strip {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats-strip .hero-stat-card {
  min-height: 0;
  padding: 16px 18px;
  border-radius: 24px;
  animation-duration: 8s;
}

.hero-stats-strip .stat-card-head {
  margin-bottom: 10px;
  font-size: 0.82rem;
}

.hero-stats-strip .stat-number {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.hero-stats-strip .hero-stat-card p {
  display: none;
}

.mobile-drawer {
  justify-content: flex-end;
}

.drawer-panel {
  border-inline-start: 0;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-feature-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.footer-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-feature strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.footer-feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.9;
}

.btn[disabled],
.btn:disabled,
.card-cta[disabled],
.card-cta:disabled {
  opacity: 0.58;
  filter: saturate(0.85);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none !important;
}

.btn.is-loading,
.card-cta.is-loading {
  opacity: 0.92;
}

.btn-spinner {
  display: inline-block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
  animation: buttonSpin 0.7s linear infinite;
}

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

@media (max-width: 992px) {
  .menu-trigger {
    order: -1;
  }

  .hero-stats-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --glass-blur: blur(10px) saturate(135%);
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .page-noise,
  .page-orb {
    display: none;
  }

  .hero-copy {
    text-align: right;
  }

  .hero-brand-badge {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-search {
    gap: 10px;
  }

  .product-content {
    gap: 8px;
    padding: 10px;
  }

  .product-topline .product-category,
  .product-summary,
  .product-content .helper-text,
  .product-footer .btn.btn-glass,
  .card-cta .icon-holder {
    display: none;
  }

  .product-card-compact .product-footer .btn.btn-glass {
    display: inline-flex;
  }

  .product-card-compact .product-title-row {
    gap: 6px;
  }

  .product-card-compact .product-preview-meta {
    gap: 4px;
    max-width: 52%;
    justify-items: center;
  }

  .product-card-compact .product-preview-meta .product-badge {
    padding: 4px 7px;
    font-size: 0.56rem;
    white-space: normal;
    line-height: 1.4;
    justify-content: center;
    text-align: center;
  }

  .product-badges {
    top: 8px;
    right: 8px;
    left: 8px;
    gap: 4px;
  }

  .product-badge {
    padding: 4px 8px;
    font-size: 0.58rem;
  }

  .product-title {
    font-size: 0.78rem;
    line-height: 1.55;
    min-height: 2.4em;
  }

  .product-code {
    font-size: 0.62rem;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .product-card-compact .product-footer {
    flex-direction: column-reverse;
    gap: 6px;
  }

  .product-card-compact .product-footer .form-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .product-card-compact .product-footer .btn.btn-glass,
  .product-card-compact .product-footer .card-cta {
    padding: 8px 4px;
    font-size: 0.6rem;
    min-height: 38px;
  }

  .product-favorite-button {
    gap: 6px;
  }

  .product-favorite-count {
    padding: 2px 6px;
    font-size: 0.58rem;
    gap: 4px;
  }

  .product-price small {
    display: none;
  }

  .product-price strong {
    font-size: 0.8rem;
  }

  .card-cta {
    width: 100%;
    justify-content: center;
    padding: 8px 6px;
    font-size: 0.64rem;
  }

  .hero-stats-strip {
    width: min(calc(100% - 24px), var(--max-width));
    gap: 8px;
  }

  .hero-stats-strip .hero-stat-card {
    padding: 13px 12px;
    border-radius: 20px;
  }

  .hero-stats-strip .stat-card-head {
    gap: 7px;
    margin-bottom: 8px;
    font-size: 0.72rem;
  }

  .hero-stats-strip .stat-card-head .icon-holder {
    --icon-size: 18px;
  }

  .hero-stats-strip .stat-number {
    font-size: 1.2rem;
  }

  .footer-feature {
    padding: 13px 14px;
  }

  .ticket-list,
  .project-card .message-stack {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }
}

@media (hover: none) {
  .product-card:hover,
  .btn:hover,
  .header-action:hover,
  .menu-trigger:hover,
  .footer-links button:hover,
  .footer-contact-list a:hover,
  .footer-contact-list button:hover {
    transform: none;
    filter: none;
    box-shadow: inherit;
  }
}


/* Storefront tertiary alignment refresh */
.hero-copy {
  justify-items: center;
  text-align: center;
}

.hero-brand-badge {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 560px);
  padding: 22px 28px;
  margin-inline: auto;
  text-align: center;
}

.hero-brand-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-brand-top .brand-icon {
  --icon-size: 28px;
}

.hero-brand-top strong {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.04em;
}

.hero-brand-copy {
  display: block;
}

.hero-brand-copy small {
  color: var(--text-secondary);
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: none;
}

.hero-description {
  margin-inline: auto;
  text-align: center;
}

.hero-search {
  width: min(100%, 860px);
  margin-inline: auto;
}

.hero-stats-strip .hero-stat-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-stats-strip .stat-card-head {
  justify-content: center;
  width: 100%;
  text-align: center;
}

.hero-stats-strip .stat-number {
  text-align: center;
}

#catalogHint {
  width: 100%;
  text-align: right;
  direction: rtl;
}

.field-input[type="file"] {
  padding: 11px 12px;
  border-style: dashed;
  border-color: rgba(124, 58, 237, 0.26);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(37, 99, 235, 0.05));
  color: var(--text-secondary);
  cursor: pointer;
}

.field-input[type="file"]::file-selector-button,
.field-input[type="file"]::-webkit-file-upload-button {
  margin-inline-end: 12px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.92), rgba(37, 99, 235, 0.88));
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.18);
  transition: transform var(--transition), filter var(--transition), box-shadow var(--transition);
}

.field-input[type="file"]:hover::file-selector-button,
.field-input[type="file"]:hover::-webkit-file-upload-button {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.24);
}

.field-input[type="file"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .hero-brand-badge {
    width: 100%;
    padding: 20px 18px;
  }

  .hero-brand-top {
    flex-direction: column;
    gap: 10px;
  }

  .hero-search {
    width: 100%;
  }

  .field-input[type="file"]::file-selector-button,
  .field-input[type="file"]::-webkit-file-upload-button {
    margin-inline-end: 0;
    margin-bottom: 10px;
  }
}


/* Storefront quinary polish */
body {
  caret-color: transparent;
}

body * {
  user-select: none;
  caret-color: transparent;
}

input,
textarea,
[contenteditable="true"] {
  user-select: text !important;
  caret-color: auto !important;
}

.field-select option {
  background: #0b1220;
  color: #f8fafc;
}

.category-head {
  align-items: flex-start;
  flex-wrap: wrap;
}

.category-head > div {
  flex: 1 1 auto;
}

.hero-brand-badge {
  gap: 14px;
  padding: 26px 32px;
}

.hero-brand-top {
  gap: 16px;
}

.hero-brand-top .brand-icon {
  --icon-size: 34px;
}

.hero-brand-top strong {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.hero-brand-copy {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.hero-brand-tagline {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
}

.hero-brand-badge .hero-description {
  margin: 0;
  max-width: 42rem;
  color: var(--text-primary);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 2;
}

#catalogHint {
  order: 2;
  flex-basis: 100%;
  margin-top: -4px;
  text-align: right;
  direction: rtl;
}

@media (max-width: 768px) {
  .hero-brand-badge {
    padding: 22px 18px;
  }

  .hero-brand-top .brand-icon {
    --icon-size: 30px;
  }

  .hero-brand-top strong {
    font-size: 1.8rem;
  }

  .hero-brand-tagline,
  .hero-brand-badge .hero-description {
    font-size: 0.94rem;
  }
}

/* Current storefront adjustments */

.header-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-nav {
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible;
}

.nav-link {
  min-height: 48px;
}

.hero-brand {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 760px);
  margin-inline: auto;
  text-align: center;
}

.hero-brand .brand-icon {
  --icon-size: 34px;
  width: 74px;
  height: 74px;
  border-radius: 24px;
}

.hero-brand-copy {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
}

.hero-brand-copy strong {
  font-size: clamp(1.95rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
}

.hero-brand-copy small {
  color: var(--text-primary);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 800;
  line-height: 2;
  text-align: center;
  white-space: normal;
}

.hero-search {
  width: min(100%, 860px);
  margin-inline: auto;
  margin-bottom: 0;
}

.otp-timer {
  font-weight: 700;
  color: #c4b5fd;
}

.copy-field {
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.copy-field:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 58, 237, 0.24);
  background: rgba(124, 58, 237, 0.08);
  box-shadow: 0 14px 26px rgba(2, 6, 23, 0.18);
}

.copy-field button {
  cursor: pointer;
}

.product-badge.approved {
  color: #f5e9ff;
  background: rgba(12, 12, 18, 0.62);
  border-color: rgba(168, 85, 247, 0.44);
  box-shadow: 0 0 26px rgba(168, 85, 247, 0.2);
}

@media (max-width: 992px) {
  .header-shell {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-brand .brand-icon {
    width: 66px;
    height: 66px;
  }

  .hero-brand-copy strong {
    font-size: 1.9rem;
  }

  .hero-brand-copy small {
    font-size: 0.94rem;
  }
}

.creator-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.slot-preview-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.34);
}

.slot-preview-card.is-invalid {
  border-color: rgba(248, 113, 113, 0.82);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.22);
}

.preview-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
}

.preview-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-card-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.preview-card-copy strong {
  font-size: 0.98rem;
}

.preview-card-copy small {
  color: var(--text-secondary);
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.preview-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.preview-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.5);
  color: var(--text-secondary);
  font-size: 0.8rem;
  min-width: 0;
}

.preview-chip span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.slot-cover-choice input {
  accent-color: #a855f7;
}

.slot-cover-choice.is-selected {
  background: rgba(168, 85, 247, 0.22);
  border-color: rgba(216, 180, 254, 0.34);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(216, 180, 254, 0.16), 0 14px 30px rgba(76, 29, 149, 0.22);
}

.slot-cover-choice.is-disabled {
  opacity: 0.55;
}

.accordion-card {
  overflow: hidden;
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.accordion-toggle > div {
  flex: 1 1 auto;
}

.accordion-toggle .accordion-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.48);
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.accordion-card:not(.is-open) .accordion-panel {
  display: none;
}

.accordion-card.is-open .accordion-toggle .accordion-indicator {
  transform: rotate(45deg);
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(168, 85, 247, 0.32);
}

.accordion-panel {
  display: grid;
  gap: 18px;
}

.design-request-card {
  gap: 18px;
  border-color: rgba(125, 211, 252, 0.12);
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.08), transparent 28%),
    linear-gradient(160deg, rgba(10, 18, 32, 0.88), rgba(17, 24, 39, 0.78));
}

.design-request-card .card-head {
  margin-bottom: 0;
}

.design-request-summary {
  margin: 10px 0 0;
  color: var(--text-secondary);
  line-height: 1.85;
}

.accordion-trigger-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(14, 116, 144, 0.14);
  color: #c2f2ff;
  font-weight: 700;
  white-space: nowrap;
}

.panel-launch-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 100%;
}

.panel-launch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(168, 85, 247, 0.16), transparent 32%),
    radial-gradient(circle at 84% 82%, rgba(59, 130, 246, 0.12), transparent 30%);
  pointer-events: none;
}

.panel-launch-card > * {
  position: relative;
  z-index: 1;
}

.panel-launch-card .card-head {
  margin-bottom: 0;
}

.panel-launch-preview {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(15, 23, 42, 0.55));
  border: 1px solid rgba(216, 180, 254, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.panel-launch-preview p {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  line-height: 1.95;
}

.panel-launch-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
}

.panel-launch-card .btn {
  min-width: 176px;
}

.panel-launch-template {
  display: none;
}

.section-products-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.section-more-actions {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 6px;
}

.catalog-section .section-more-actions {
  z-index: 1;
}

.section-page-stage {
  position: relative;
  display: grid;
  gap: 18px;
}

.section-page-nav {
  position: relative;
  display: grid;
  grid-template-columns: minmax(112px, 140px) minmax(0, 1fr) minmax(112px, 140px);
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(6, 10, 22, 0.92), rgba(15, 23, 42, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 54px rgba(2, 6, 23, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  isolation: isolate;
}

.section-page-nav::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 18%, rgba(168, 85, 247, 0.18), transparent 32%),
    radial-gradient(circle at 86% 78%, rgba(59, 130, 246, 0.2), transparent 34%);
  opacity: 0.92;
  pointer-events: none;
  z-index: -1;
}

.section-page-center {
  display: grid;
  gap: 14px;
  justify-items: center;
  min-width: 0;
}

.section-page-meta {
  display: grid;
  gap: 7px;
  text-align: center;
}

.section-page-meta strong {
  font-size: clamp(1rem, 2vw, 1.08rem);
  letter-spacing: 0.02em;
}

.section-page-meta small {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.83rem;
}

.section-page-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  direction: ltr;
  unicode-bidi: isolate;
}

.section-page-dot,
.section-page-button,
.section-page-edge {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-side-actions {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 3;
}

.section-page-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  color: rgba(226, 232, 240, 0.88);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease, color .28s ease;
}

.section-page-dot::before,
.section-page-button::before,
.section-page-edge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.32) 50%, transparent 82%);
  transform: translateX(140%);
  transition: transform .75s ease;
  pointer-events: none;
}

.section-page-dot:hover,
.section-page-dot:focus-visible {
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(216, 180, 254, 0.24);
  box-shadow: 0 14px 24px rgba(2, 6, 23, 0.3), 0 0 24px var(--section-more-btn-shadow, rgba(96, 165, 250, 0.34));
}

.section-page-dot:hover::before,
.section-page-button:hover::before,
.section-page-edge:hover::before,
.section-page-dot:focus-visible::before,
.section-page-button:focus-visible::before,
.section-page-edge:focus-visible::before {
  transform: translateX(-140%);
}

.section-page-dot.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--section-more-btn-a, #a855f7), var(--section-more-btn-b, #3b82f6));
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.34), 0 0 30px var(--section-more-btn-shadow, rgba(96, 165, 250, 0.34));
  animation: sectionPagePulse 2.8s ease-in-out infinite;
}

.section-page-dots-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  color: rgba(148, 163, 184, 0.68);
  font-size: 1.1rem;
}

.section-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease, opacity .28s ease;
}

.section-page-button:hover,
.section-page-button:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(216, 180, 254, 0.24);
  box-shadow: 0 18px 30px rgba(2, 6, 23, 0.3), 0 0 24px rgba(255,255,255,0.06);
}

.section-page-button[disabled],
.section-page-edge[disabled] {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.section-page-button-arrow {
  font-size: 1rem;
  line-height: 1;
}

.section-page-edge {
  position: sticky;
  top: clamp(132px, 26vh, 220px);
  pointer-events: auto;
  transform: none;
  width: 64px;
  height: 64px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(145deg, rgba(11, 18, 34, 0.88), rgba(20, 33, 61, 0.68));
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.34), 0 0 24px var(--section-more-btn-shadow, rgba(96, 165, 250, 0.34));
  color: #fff;
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease, opacity .32s ease;
  z-index: 2;
}

.section-page-edge-prev {
  margin-left: -32px;
}

.section-page-edge-next {
  margin-right: -32px;
}

.section-page-edge-core {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.section-page-edge-arrow {
  font-size: 1.18rem;
  line-height: 1;
}

.section-page-edge-prev .section-page-edge-arrow,
.section-page-button-prev .section-page-button-arrow {
  transform: rotate(180deg);
}

.section-page-edge-next .section-page-edge-arrow,
.section-page-button-next .section-page-button-arrow {
  transform: none;
}

.section-page-edge-label {
  font-size: 0.68rem;
  color: rgba(226, 232, 240, 0.84);
}

.section-page-stage.is-static .section-side-actions,
.section-page-stage.is-static .section-page-button {
  display: none;
}

.section-page-stage.is-static .section-page-nav {
  grid-template-columns: minmax(0, 1fr);
}

.section-page-stage.is-static .section-page-center {
  gap: 8px;
}

.section-products-shell {
  padding-inline: clamp(34px, 4vw, 54px);
}

.catalog-section .section-shell {
  overflow: hidden;
}

.section-side-actions {
  inset-block: 0;
  inset-inline: 0;
  align-items: center;
  z-index: 4;
}

.section-page-edge {
  position: absolute;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  transform: translateY(-50%);
  background: linear-gradient(145deg, rgba(11, 18, 34, 0.92), rgba(20, 33, 61, 0.74));
}

.section-page-edge-prev {
  left: 0;
  margin-left: 0;
  translate: 18% 0;
}

.section-page-edge-next {
  right: 0;
  margin-right: 0;
  translate: -18% 0;
}

.products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: start;
}

.product-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 1100px) {
  .section-products-shell {
    padding-inline: 28px;
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .section-page-edge {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 768px) {
  .section-products-shell {
    padding-inline: 0;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .section-side-actions {
    align-items: center;
  }

  .section-page-edge {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .section-page-edge-prev {
    translate: -12% 0;
  }

  .section-page-edge-next {
    translate: 12% 0;
  }
}

.section-page-stage.is-static .section-page-dots {
  display: none;
}

.section-page-stage.is-static .section-page-meta small {
  display: none;
}

.section-page-edge:hover,
.section-page-edge:focus-visible {
  transform: scale(1.05);
  border-color: rgba(216, 180, 254, 0.26);
  box-shadow: 0 22px 42px rgba(2, 6, 23, 0.36), 0 0 34px var(--section-more-btn-shadow, rgba(96, 165, 250, 0.34));
}

.products-grid {
  position: relative;
  isolation: isolate;
  transition: opacity .36s ease, transform .54s cubic-bezier(.22,.61,.36,1), filter .42s ease;
}

.products-grid.is-page-enter-next,
.products-grid.is-page-enter-prev {
  animation-duration: .64s;
  animation-fill-mode: both;
}

.products-grid.is-page-enter-next {
  animation-name: sectionGridEnterNext;
}

.products-grid.is-page-enter-prev {
  animation-name: sectionGridEnterPrev;
}

.products-grid.is-page-enter-next .product-card,
.products-grid.is-page-enter-prev .product-card {
  animation: sectionCardReveal .56s cubic-bezier(.19,1,.22,1) both;
  animation-delay: calc(var(--stagger-index, 0) * 34ms);
}

.products-grid.has-page-gaps .product-card-placeholder {
  visibility: visible;
}

.product-card-placeholder {
  pointer-events: none;
  cursor: default;
  min-height: 100%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.product-card-placeholder::before,
.product-card-placeholder::after,
.product-card-placeholder:hover::before,
.product-card-placeholder:hover::after {
  display: none;
}

.product-card-placeholder:hover {
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.05);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
}

.product-card-placeholder .product-media {
  background: linear-gradient(180deg, rgba(11, 18, 34, 0.6), rgba(8, 13, 24, 0.22));
}

.product-card-placeholder .product-content {
  position: relative;
  gap: 14px;
}

.product-placeholder-orb {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 72%);
  filter: blur(4px);
}

.product-placeholder-line {
  width: 100%;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.product-placeholder-line-short {
  width: 44%;
}

.product-placeholder-line-wide {
  width: 72%;
}

@keyframes sectionPagePulse {
  0%, 100% {
    box-shadow: 0 16px 30px rgba(2, 6, 23, 0.34), 0 0 24px var(--section-more-btn-shadow, rgba(96, 165, 250, 0.34));
  }
  50% {
    box-shadow: 0 20px 36px rgba(2, 6, 23, 0.38), 0 0 38px var(--section-more-btn-shadow, rgba(96, 165, 250, 0.34));
  }
}

@keyframes sectionGridEnterNext {
  0% {
    opacity: .44;
    transform: translate3d(-34px, 0, 0) scale(.985);
    filter: saturate(.9) blur(1px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }
}

@keyframes sectionGridEnterPrev {
  0% {
    opacity: .44;
    transform: translate3d(34px, 0, 0) scale(.985);
    filter: saturate(.9) blur(1px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }
}

@keyframes sectionCardReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(.96);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}


.project-card-head {
  align-items: flex-start;
}

.project-card-head-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.project-card:not(.is-open) .project-card-body {
  display: none;
}

.project-card-body {
  display: grid;
  gap: 16px;
}

@media (max-width: 768px) {
  #projectChatThreadModal {
    padding: 0;
    align-items: stretch;
  }

  .creator-slot-grid {
    grid-template-columns: 1fr;
  }

  .accordion-toggle {
    align-items: flex-start;
  }

  .accordion-toggle .accordion-indicator {
    width: 34px;
    height: 34px;
  }

  .project-card-head-actions {
    width: 100%;
    justify-content: space-between;
  }

  .project-chat-thread-modal-panel {
    width: 100vw;
    height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
    height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
    max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
    border-radius: 0;
    border-inline: 0;
  }

  .project-chat-modal-head {
    flex: 0 0 auto;
    padding: max(12px, env(safe-area-inset-top)) 14px 10px;
  }

  .project-chat-modal-head h3 {
    margin-top: 4px;
    font-size: 0.94rem;
    line-height: 1.25;
  }

  .project-chat-thread-modal-body,
  .project-chat-thread-shell {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
  }

  .project-chat-thread-shell {
    display: flex;
    flex-direction: column;
  }

  .project-chat-thread-top,
  .project-chat-composer-shell {
    position: relative;
    top: auto;
    bottom: auto;
  }

  .project-chat-thread-top {
    flex: 0 0 auto;
    gap: 10px;
    padding: 10px 12px 8px;
  }

  .project-chat-thread-title-row,
  .project-chat-composer-meta,
  .project-chat-list-head,
  .project-chat-list-meta,
  .project-chat-thread-facts,
  .project-card-preview {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .project-chat-thread-actions-bar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .project-chat-thread-facts {
    display: none;
  }

  .project-chat-thread-title strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .project-chat-thread-title p {
    font-size: 0.72rem;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .project-chat-pinned-strip {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 6px;
    padding: 8px 10px;
  }

  .project-chat-pinned-icon,
  .project-chat-pinned-dismiss {
    display: none;
  }

  .project-chat-pinned-main strong {
    font-size: 0.78rem;
  }

  .project-chat-pinned-main small,
  .project-chat-pinned-main span {
    font-size: 0.72rem;
  }

  .project-chat-thread-scroll {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 10px;
    padding: 8px 10px 6px;
  }

  .project-chat-log {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 2px 0 56px !important;
  }

  .project-chat-composer-shell {
    flex: 0 0 auto;
    gap: 8px;
    padding: 8px 10px max(10px, env(safe-area-inset-bottom));
  }

  .project-chat-attachment-preview {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .project-chat-attachment-preview::-webkit-scrollbar {
    display: none;
  }

  .project-chat-input-wrap {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: end;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
  }

  .project-chat-input {
    min-height: 40px !important;
    max-height: 92px;
    padding: 8px 2px !important;
  }

  .project-chat-attach-btn,
  .project-chat-send-btn {
    min-width: 38px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    align-self: end;
  }

  .project-chat-composer-meta {
    display: none;
  }

  .project-chat-send-btn,
  .project-chat-attach-btn,
  .project-message-meta,
  .project-message-bubble {
    max-width: 100%;
  }

  .project-message-pin-btn {
    opacity: 1;
    transform: translateY(0);
  }

  .project-message-reply-btn {
    opacity: 1;
    transform: translateY(0);
  }

  .project-chat-list-item {
    grid-template-columns: 46px minmax(0, 1fr);
    width: 100%;
  }

  .project-chat-list-unread {
    justify-self: flex-start;
  }

  .project-chat-thread-actions-bar .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
  }

  .project-chat-attachment-name {
    max-width: 100%;
  }

  .project-chat-attachment-chip {
    width: 76px;
  }

  .project-chat-latest-btn {
    bottom: 14px;
    width: min(240px, calc(100% - 32px));
    justify-content: center;
  }
}

/* 2025 immersive storefront refresh */
.hero-copy.glass-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 18%, rgba(192, 132, 252, 0.2), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(45, 212, 191, 0.12), transparent 24%),
    linear-gradient(145deg, rgba(6, 10, 23, 0.9), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-copy.glass-panel::before,
.hero-copy.glass-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(18px);
}

.hero-copy.glass-panel::before {
  inset: auto auto -38px -28px;
  width: 180px;
  height: 180px;
  background: rgba(168, 85, 247, 0.28);
}

.hero-copy.glass-panel::after {
  inset: -36px -24px auto auto;
  width: 160px;
  height: 160px;
  background: rgba(45, 212, 191, 0.16);
}

.hero-brand {
  position: relative;
  z-index: 1;
}

.hero-brand .brand-icon {
  --icon-size: 40px;
  width: 106px;
  height: 106px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(168, 85, 247, 0.3), rgba(2, 6, 23, 0.85));
  border: 1px solid rgba(216, 180, 254, 0.28);
  box-shadow: 0 22px 44px rgba(76, 29, 149, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-brand-copy {
  gap: 12px;
}

.hero-brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(216, 180, 254, 0.18);
  color: #e9d5ff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-brand-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  direction: ltr;
  gap: 0;
  flex-wrap: nowrap;
  margin: 0;
  line-height: 1.06;
  overflow: visible;
  unicode-bidi: isolate;
}

.wordmark-main,
.wordmark-accent {
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: none;
}

.wordmark-main {
  color: #f8f4ff;
  text-shadow: 0 0 18px rgba(196, 181, 253, 0.3), 0 0 30px rgba(124, 58, 237, 0.22);
}

.wordmark-gap {
  display: inline-block;
  width: clamp(8px, 0.9vw, 14px);
}

.wordmark-accent {
  padding-inline-end: 0.05em;
  padding-block-end: 0.08em;
  background: linear-gradient(135deg, #f8d4ff 0%, #d8b4fe 32%, #a78bfa 68%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 10px 24px rgba(216, 180, 254, 0.18), 0 0 28px rgba(124, 58, 237, 0.22);
}

.hero-brand-tagline {
  max-width: 42rem;
  margin: 0;
  color: #e2e8f0;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  font-weight: 700;
  line-height: 1.9;
}

.hero-description {
  max-width: 46rem;
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 2;
}

.catalog-section .section-shell,
.experience-banner .section-shell {
  position: relative;
  border-radius: 34px;
  isolation: isolate;
}

.catalog-section .section-shell {
  overflow: hidden;
  padding: 30px;
  border-radius: 34px;
  background: linear-gradient(155deg, rgba(6, 10, 22, 0.82), rgba(15, 23, 42, 0.72));
  border: 1px solid var(--section-border, rgba(255, 255, 255, 0.08));
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.catalog-section .section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 14%, var(--section-glow-a, rgba(168, 85, 247, 0.16)), transparent 34%),
    radial-gradient(circle at 88% 84%, var(--section-glow-b, rgba(125, 211, 252, 0.12)), transparent 30%);
  pointer-events: none;
}

[data-section-tone="all"] .section-shell {
  --section-border: rgba(168, 85, 247, 0.18);
  --section-glow-a: rgba(168, 85, 247, 0.22);
  --section-glow-b: rgba(96, 165, 250, 0.14);
  --section-more-btn-a: #a855f7;
  --section-more-btn-b: #3b82f6;
  --section-more-btn-shadow: rgba(96, 165, 250, 0.34);
}

[data-section-tone="featured"] .section-shell {
  --section-border: rgba(244, 114, 182, 0.18);
  --section-glow-a: rgba(244, 114, 182, 0.2);
  --section-glow-b: rgba(168, 85, 247, 0.14);
  --section-more-btn-a: #ec4899;
  --section-more-btn-b: #8b5cf6;
  --section-more-btn-shadow: rgba(244, 114, 182, 0.34);
}

[data-section-tone="packs"] .section-shell {
  --section-border: rgba(45, 212, 191, 0.18);
  --section-glow-a: rgba(45, 212, 191, 0.2);
  --section-glow-b: rgba(59, 130, 246, 0.12);
  --section-more-btn-a: #14b8a6;
  --section-more-btn-b: #0ea5e9;
  --section-more-btn-shadow: rgba(45, 212, 191, 0.34);
}

[data-section-tone="coming"] .section-shell {
  --section-border: rgba(250, 204, 21, 0.18);
  --section-glow-a: rgba(250, 204, 21, 0.18);
  --section-glow-b: rgba(249, 115, 22, 0.14);
  --section-more-btn-a: #f59e0b;
  --section-more-btn-b: #f97316;
  --section-more-btn-shadow: rgba(249, 115, 22, 0.34);
}

[data-section-tone="best"] .section-shell {
  --section-border: rgba(34, 197, 94, 0.18);
  --section-glow-a: rgba(34, 197, 94, 0.18);
  --section-glow-b: rgba(74, 222, 128, 0.12);
  --section-more-btn-a: #22c55e;
  --section-more-btn-b: #06b6d4;
  --section-more-btn-shadow: rgba(34, 197, 94, 0.34);
}

[data-section-tone="creators"] .section-shell {
  --section-border: rgba(192, 132, 252, 0.2);
  --section-glow-a: rgba(192, 132, 252, 0.2);
  --section-glow-b: rgba(244, 114, 182, 0.12);
  --section-more-btn-a: #d946ef;
  --section-more-btn-b: #fb7185;
  --section-more-btn-shadow: rgba(217, 70, 239, 0.34);
}

.section-heading {
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  margin-bottom: 28px;
}

.section-heading > div {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 56rem;
}

.section-heading .eyebrow {
  color: #c4b5fd;
}

.section-heading h2 {
  justify-content: center;
  gap: 16px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-heading .icon-holder {
  --icon-size: 30px;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.22), rgba(15, 23, 42, 0.7));
  border: 1px solid rgba(216, 180, 254, 0.16);
  box-shadow: 0 16px 30px rgba(76, 29, 149, 0.24);
}

.section-heading p {
  max-width: 52rem;
  text-align: center;
  font-size: 0.97rem;
}

.section-line {
  width: min(220px, 60%);
  flex: 0 0 auto;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(216, 180, 254, 0.8), rgba(255, 255, 255, 0));
}

.catalog-filter-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(8, 12, 24, 0.86), rgba(15, 23, 42, 0.76));
  border: 1px solid rgba(216, 180, 254, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 36px rgba(2, 6, 23, 0.22);
}

.filter-dropdown-box {
  display: grid;
  flex: 0 1 320px;
  width: min(100%, 320px);
  min-width: 0;
  max-width: 100%;
  height: max-content;
  align-self: start;
  align-content: start;
  gap: 0;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.filter-dropdown-box-category {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.filter-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: 72px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.12), rgba(15, 23, 42, 0.65));
  border: 1px solid rgba(216, 180, 254, 0.14);
  text-align: center;
}

.filter-toggle-copy {
  display: grid;
  gap: 6px;
  width: 100%;
  min-width: 0;
  justify-items: center;
  text-align: center;
  padding-inline: 48px;
}

.filter-toggle-copy strong {
  font-size: 1rem;
}

.filter-toggle-copy small {
  color: var(--text-secondary);
}

.filter-toggle-indicator {
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(216, 180, 254, 0.14);
  font-size: 1.35rem;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.filter-dropdown-box.is-open .filter-toggle-indicator {
  transform: translateY(-50%) rotate(45deg);
  background: rgba(168, 85, 247, 0.16);
  border-color: rgba(216, 180, 254, 0.24);
}

.filter-dropdown-panel {
  display: none;
  gap: 12px;
  padding: 14px 8px 6px;
}

.filter-dropdown-box.is-open .filter-dropdown-panel {
  display: grid;
  animation: filterPanelEnter 0.22s ease;
}

@keyframes filterPanelEnter {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-option-grid.two-column-grid,
.filter-option-grid.filter-option-grid-categories {
  display: grid;
  gap: 10px;
}

.filter-option-grid.two-column-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-option-grid.filter-option-grid-categories {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  text-align: center;
}

.filter-reset {
  justify-self: center;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(216, 180, 254, 0.12);
  color: var(--text-secondary);
}

.catalog-filter-hint {
  flex: 1 1 100%;
  width: 100%;
  margin: 0;
  padding: 0 8px 2px;
  color: var(--text-secondary);
  line-height: 1.9;
  text-align: center;
}

.catalog-filter-hint.is-active {
  text-align: initial;
}

.catalog-filter-hint-text {
  display: block;
}

.catalog-filter-alert {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(250, 204, 21, 0.82);
  background:
    linear-gradient(145deg, rgba(250, 204, 21, 0.18), rgba(250, 204, 21, 0.06)),
    rgba(15, 23, 42, 0.76);
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.16),
    0 0 24px rgba(250, 204, 21, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.catalog-filter-alert-copy {
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
}

.catalog-filter-alert-copy strong {
  color: #fde68a;
  font-size: 0.98rem;
}

.catalog-filter-alert-copy small {
  color: rgba(254, 240, 138, 0.9);
  font-size: 0.82rem;
}

.catalog-filter-active-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.catalog-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.78);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(234, 179, 8, 0.12));
  color: #fff7cc;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.14);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.catalog-active-chip:hover,
.catalog-active-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(254, 240, 138, 0.98);
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.24);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.3), rgba(234, 179, 8, 0.16));
}

.catalog-active-chip-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.28);
}

.products-grid {
  position: relative;
  z-index: 1;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.product-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(5, 8, 18, 0.58));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 42px rgba(2, 6, 23, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.product-card::before {
  inset: -28% -8% auto auto;
  width: 170px;
  height: 170px;
  transform: none;
  opacity: 1;
  background: radial-gradient(circle, var(--product-accent, rgba(168, 85, 247, 0.42)) 0%, transparent 72%);
}

.product-card::after {
  display: none;
}

.product-card:hover {
  border-color: rgba(216, 180, 254, 0.22);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.42), 0 0 0 1px rgba(216, 180, 254, 0.06);
}

.product-media {
  background:
    radial-gradient(circle at 18% 20%, var(--product-accent, rgba(168, 85, 247, 0.36)), transparent 30%),
    radial-gradient(circle at 84% 16%, var(--product-accent-deep, rgba(29, 78, 216, 0.32)), transparent 28%),
    linear-gradient(180deg, rgba(4, 7, 17, 0.98), rgba(13, 18, 35, 0.92));
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 38%, rgba(3, 6, 15, 0.52) 100%);
  pointer-events: none;
}

.product-badge.gender {
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.16);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.16);
}

.product-badge.gender-male {
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.16);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.16);
}

.product-badge.gender-female {
  color: #fce7f3;
  background: rgba(236, 72, 153, 0.18);
  border-color: rgba(244, 114, 182, 0.32);
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.18);
}

.top-creators-more {
  margin-top: 22px;
}

.top-creator-card {
  background:
    radial-gradient(circle at 14% 18%, var(--rank-glow, rgba(168, 85, 247, 0.18)), transparent 30%),
    linear-gradient(160deg, rgba(12, 18, 33, 0.84), rgba(28, 25, 52, 0.74));
  border: 1px solid var(--rank-border, rgba(216, 180, 254, 0.12));
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.3), 0 0 0 1px var(--rank-surface, rgba(168, 85, 247, 0.08));
}

.top-creator-card::before {
  content: "";
  position: absolute;
  inset: auto -36px -46px auto;
  width: 138px;
  height: 138px;
  border-radius: 999px;
  background: var(--rank-surface, rgba(168, 85, 247, 0.16));
  filter: blur(10px);
  opacity: 0.95;
  pointer-events: none;
}

.product-card.product-card-top-creator {
  border-color: var(--creator-rank-border, rgba(251, 191, 36, 0.42));
  background:
    radial-gradient(circle at 14% 14%, color-mix(in srgb, var(--creator-rank-glow, rgba(251, 191, 36, 0.26)) 78%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(5, 8, 18, 0.64));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--creator-rank-ring, rgba(253, 224, 71, 0.52)) 76%, transparent),
    0 0 28px color-mix(in srgb, var(--creator-rank-shadow, rgba(245, 158, 11, 0.34)) 76%, transparent),
    0 20px 42px rgba(2, 6, 23, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-card.product-card-top-creator:hover {
  border-color: color-mix(in srgb, var(--creator-rank-border, rgba(251, 191, 36, 0.42)) 88%, #fff 12%);
  box-shadow:
    0 0 0 1px var(--creator-rank-ring, rgba(253, 224, 71, 0.68)),
    0 0 38px color-mix(in srgb, var(--creator-rank-shadow, rgba(245, 158, 11, 0.34)) 92%, transparent),
    0 0 72px color-mix(in srgb, var(--creator-rank-glow, rgba(251, 191, 36, 0.26)) 52%, transparent),
    0 28px 60px rgba(2, 6, 23, 0.42);
}

.product-card.product-card-top-creator.product-card-neon-discount {
  box-shadow:
    0 0 0 1px var(--creator-rank-ring, rgba(253, 224, 71, 0.68)),
    0 0 26px color-mix(in srgb, var(--creator-rank-shadow, rgba(245, 158, 11, 0.34)) 82%, rgba(192, 132, 252, 0.42)),
    0 0 44px rgba(192, 132, 252, 0.34),
    0 20px 42px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-card.product-card-top-creator .product-media {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--creator-rank-border, rgba(251, 191, 36, 0.42)) 52%, transparent);
}

.product-card.product-card-top-creator .product-title-shell,
.product-card.product-card-top-creator.product-card-compact .product-title-shell {
  border-color: color-mix(in srgb, var(--creator-rank-border, rgba(251, 191, 36, 0.42)) 54%, rgba(167, 139, 250, 0.24));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--creator-rank-surface, rgba(245, 158, 11, 0.18)) 28%, rgba(17, 24, 39, 0.94)), rgba(38, 26, 68, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 26px rgba(15, 23, 42, 0.2);
}

.product-card.product-card-top-creator .product-title-shell::before,
.product-card.product-card-top-creator.product-card-compact .product-title-shell::before {
  width: 4px;
  background: linear-gradient(180deg, var(--creator-rank-accent, #fbbf24), color-mix(in srgb, var(--creator-rank-accent, #fbbf24) 40%, #1f2937));
  box-shadow: 0 0 20px color-mix(in srgb, var(--creator-rank-glow, rgba(251, 191, 36, 0.24)) 84%, transparent);
}

.product-card.product-card-top-creator .product-code {
  color: color-mix(in srgb, var(--creator-rank-accent, #fbbf24) 52%, #fff);
}

.product-card .product-preview-meta .product-meta-badge.top-creator-name,
.product-card .product-preview-meta a.product-meta-badge.top-creator-name,
.product-card.product-card-compact .product-preview-meta .product-meta-badge.top-creator-name,
.product-card.product-card-compact .product-preview-meta a.product-meta-badge.top-creator-name {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0;
  text-align: center;
  color: var(--creator-rank-badge-text, #fff3bf);
  background: var(--creator-rank-badge-bg, linear-gradient(135deg, rgba(120, 53, 15, 0.96), rgba(251, 191, 36, 0.5)));
  border: 1px solid var(--creator-rank-border, rgba(250, 204, 21, 0.28));
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.2), 0 0 20px color-mix(in srgb, var(--creator-rank-glow, rgba(250, 204, 21, 0.18)) 60%, transparent);
}

.product-card .product-preview-meta .product-meta-rank-shell,
.product-card .product-preview-meta .top-creator-name-shell,
.product-card.product-card-compact .product-preview-meta .product-meta-rank-shell,
.product-card.product-card-compact .product-preview-meta .top-creator-name-shell {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: min(100%, 92%) !important;
  padding-top: 11px;
  overflow: visible !important;
}

.product-card .product-preview-meta .product-meta-rank-shell .product-meta-badge.top-creator-name,
.product-card .product-preview-meta .top-creator-name-shell .product-meta-badge.top-creator-name,
.product-card.product-card-compact .product-preview-meta .product-meta-rank-shell .product-meta-badge.top-creator-name,
.product-card.product-card-compact .product-preview-meta .top-creator-name-shell .product-meta-badge.top-creator-name {
  max-width: 100% !important;
}

.product-meta-rank-float {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -34%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  color: var(--creator-rank-badge-text, #fff3bf);
  background: color-mix(in srgb, var(--creator-rank-badge-bg, rgba(250, 204, 21, 0.18)) 90%, rgba(8, 12, 24, 0.96));
  border: 1px solid color-mix(in srgb, var(--creator-rank-border, rgba(250, 204, 21, 0.28)) 88%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.24), 0 0 16px color-mix(in srgb, var(--creator-rank-glow, rgba(250, 204, 21, 0.18)) 65%, transparent);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

.product-card .product-preview-meta .product-meta-badge.top-creator-name .product-meta-badge-text,
.product-card .product-preview-meta a.product-meta-badge.top-creator-name .product-meta-badge-text,
.product-card.product-card-compact .product-preview-meta .product-meta-badge.top-creator-name .product-meta-badge-text,
.product-card.product-card-compact .product-preview-meta a.product-meta-badge.top-creator-name .product-meta-badge-text {
  color: var(--creator-rank-badge-text, #fff3bf);
  font-weight: 900;
  text-shadow: 0 0 12px color-mix(in srgb, var(--creator-rank-glow, rgba(250, 204, 21, 0.2)) 55%, transparent);
}

@media (max-width: 768px) {
  .product-card .product-preview-meta .product-meta-badge.top-creator-name,
  .product-card .product-preview-meta a.product-meta-badge.top-creator-name,
  .product-card.product-card-compact .product-preview-meta .product-meta-badge.top-creator-name,
  .product-card.product-card-compact .product-preview-meta a.product-meta-badge.top-creator-name {
    width: min(100%, 92%) !important;
  }

  .product-card .product-preview-meta .product-meta-rank-shell,
  .product-card .product-preview-meta .top-creator-name-shell,
  .product-card.product-card-compact .product-preview-meta .product-meta-rank-shell,
  .product-card.product-card-compact .product-preview-meta .top-creator-name-shell {
    width: min(100%, 92%) !important;
    padding-top: 10px;
  }

  .product-meta-rank-float {
    padding: 0.18rem 0.5rem;
    font-size: 0.54rem;
  }
}

.support-banner {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 22%, rgba(168, 85, 247, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(8, 12, 24, 0.88), rgba(15, 23, 42, 0.82));
  border: 1px solid rgba(216, 180, 254, 0.12);
  box-shadow: 0 26px 52px rgba(2, 6, 23, 0.28);
}

.site-footer {
  padding-bottom: 120px;
}

.footer-shell {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 14% 18%, rgba(168, 85, 247, 0.18), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(59, 130, 246, 0.12), transparent 24%),
    linear-gradient(155deg, rgba(6, 10, 22, 0.88), rgba(15, 23, 42, 0.82));
  border: 1px solid rgba(216, 180, 254, 0.12);
  box-shadow: 0 28px 62px rgba(2, 6, 23, 0.34);
}

.footer-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%);
}

.footer-brand .brand-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
}

.footer-feature,
.footer-links button,
.footer-contact-list a,
.footer-contact-list button {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(216, 180, 254, 0.08);
}

.account-tab {
  justify-content: flex-start;
  gap: 14px;
}

.account-tab-badge-slot {
  margin-inline-start: auto;
  display: inline-flex;
}

.account-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}

.account-tab-badge.pending {
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
}

.account-tab-badge.approved {
  background: rgba(16, 185, 129, 0.16);
  color: #bbf7d0;
}

.account-tab-badge.open,
.account-tab-badge.open-ok {
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
}

.account-tab-badge.rejected,
.account-tab-badge.cancelled,
.account-tab-badge.closed {
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
}

.account-metric-copy {
  align-items: center;
  justify-content: space-between;
}

.account-metric-copy > div {
  display: grid;
  gap: 6px;
}

.account-metric-copy button {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(216, 180, 254, 0.18);
}

.wallet-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.wallet-compact-metric {
  min-height: 0;
}

.wallet-quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
  margin-top: 18px;
}

.wallet-action-primary,
.wallet-action-secondary {
  padding: 20px;
}

.compact-wallet-notice {
  padding: 0;
  background: transparent;
  border: 0;
}

.wallet-detail-grid {
  align-items: start;
}

.panel-grid.two-columns {
  align-items: start;
}

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

.slot-preview-card {
  min-width: 0;
  background: linear-gradient(160deg, rgba(10, 18, 32, 0.82), rgba(30, 27, 58, 0.74));
  border-color: rgba(216, 180, 254, 0.14);
  box-shadow: 0 18px 32px rgba(2, 6, 23, 0.22);
}

.preview-card-media {
  display: grid;
  place-items: center;
  min-height: 182px;
  background: linear-gradient(145deg, rgba(9, 13, 26, 0.9), rgba(30, 27, 58, 0.82));
  border: 1px solid rgba(216, 180, 254, 0.1);
}

.preview-card-media img[src^="data:image/svg+xml"] {
  object-fit: contain;
  padding: 18px;
}

.preview-card-actions {
  justify-content: space-between;
  align-items: center;
}

.slot-cover-choice {
  background: rgba(168, 85, 247, 0.14);
  border-color: rgba(216, 180, 254, 0.2);
  color: #f5d0fe;
}

.creator-approved-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.slot-cover-choice input {
  accent-color: #c084fc;
}

@media (max-width: 1100px) {
  .catalog-filter-bar {
    flex-direction: column;
  }

  .catalog-filter-bar .filter-dropdown-box,
  .wallet-quick-grid {
    width: 100%;
    flex-basis: auto;
  }

  .filter-option-grid.filter-option-grid-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wallet-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-approved-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .products-grid.account-favorites-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --glass-blur: none;
    --shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    --shadow-hover: 0 16px 32px rgba(0, 0, 0, 0.28);
  }

  #accountModal {
    padding: 0;
    align-items: stretch;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .form-actions {
    justify-content: center;
  }

  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .wallet-withdrawal-charge {
    display: inline-flex;
  }

  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .form-actions > .btn-primary {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-inline: 0;
  }

  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .form-actions > .btn:not(.btn-primary) {
    width: 100%;
  }

  #accountModal .modal-account {
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  #accountModal .account-head {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: calc(14px + env(safe-area-inset-top)) 16px 14px;
    background: linear-gradient(180deg, rgba(8, 12, 26, 0.98), rgba(6, 9, 18, 0.96));
    backdrop-filter: none;
  }

  #accountModal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  #accountModal .account-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    align-content: start;
  }

  #accountModal .account-nav {
    position: static;
    top: auto;
    z-index: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0 0 8px;
    overflow: visible;
    background: transparent;
    border-bottom: 0;
  }

  #accountModal .account-tab,
  #accountModal .logout-tab {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    margin-top: 0;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 6px 8px;
    border-radius: 14px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  #accountModal .account-tab .icon-holder,
  #accountModal .logout-tab .icon-holder {
    flex: 0 0 auto;
  }

  #accountModal .account-tab .account-tab-label,
  #accountModal .logout-tab .account-tab-label {
    min-width: 0;
    font-size: 0.78rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #accountModal .account-tab-badge-slot {
    position: absolute;
    top: 5px;
    inset-inline-start: 5px;
    margin-inline-start: 0;
  }

  #accountModal .account-tab-badge-slot:empty {
    display: none;
  }

  #accountModal .account-content {
    min-width: 0;
    min-height: 0;
    overflow: visible;
  }

  #accountModal .account-panel {
    align-content: start;
  }

  .creator-approved-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid.account-favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-section-modal-body .creator-slot-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy.glass-panel,
  .catalog-section .section-shell,
  .footer-shell {
    padding: 22px 18px;
    border-radius: 28px;
  }

  .hero-brand .brand-icon {
    width: 88px;
    height: 88px;
  }

  .hero-brand-wordmark {
    gap: 4px;
    font-size: 0.92em;
  }

  .wordmark-gap {
    width: 6px;
    height: 1px;
  }

  .section-heading .icon-holder {
    width: 62px;
    height: 62px;
  }

  .filter-option-grid.two-column-grid,
  .creator-slot-grid {
    grid-template-columns: 1fr;
  }

  .filter-option-grid.filter-option-grid-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-filter-bar {
    flex-direction: column;
  }

  .panel-launch-preview,
  .panel-section-modal-body {
    gap: 14px;
  }

  .panel-section-modal-body {
    min-height: auto;
  }

  .modal-panel-immersive .modal-body {
    padding: 18px;
  }

  .modal-layer {
    align-items: flex-start;
    padding:
      max(12px, env(safe-area-inset-top))
      12px
      max(12px, env(safe-area-inset-bottom));
  }

  .modal-panel,
  .modal-panel-large,
  .modal-panel-medium,
  .modal-panel-small,
  .modal-panel-xlarge {
    width: 100%;
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
  }

  .panel-launch-card .btn,
  .panel-launch-actions {
    width: 100%;
  }

  .account-tab {
    gap: 10px;
  }

  .account-tab-badge {
    min-width: 32px;
    min-height: 28px;
  }

  .page-noise,
  .page-orb {
    display: none;
  }

  .header-shell,
  .drawer-backdrop,
  .modal-layer,
  .product-gallery-nav,
  .mobile-bottom-nav {
    backdrop-filter: none;
  }

  .product-card::before,
  .product-card::after,
  .top-creator-card::before {
    display: none;
  }

  .product-badge {
    box-shadow: none;
  }

  .hero-stat-card {
    animation: none;
  }

  .product-card,
  .top-creator-card,
  .hero-stat-card {
    will-change: auto;
  }

  .product-card:hover,
  .btn:hover,
  .card-cta:hover {
    transform: none;
    box-shadow: var(--shadow);
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .section-products-shell {
    gap: 16px;
  }

  .section-page-stage {
    gap: 14px;
  }

  .section-page-nav {
    padding: 14px;
    border-radius: 24px;
  }

  .section-page-center {
    gap: 12px;
  }

  .section-page-meta strong {
    font-size: 0.96rem;
  }

  .section-page-meta small {
    font-size: 0.78rem;
    line-height: 1.8;
  }

  .section-page-dots {
    gap: 8px;
  }

  .section-page-dot {
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
    padding-inline: 12px;
  }

  .section-page-button {
    width: 100%;
  }

  .section-side-actions {
    position: static;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
  }

  .section-page-edge {
    position: static;
    top: auto;
    width: 52px;
    height: 52px;
  }

  .section-page-edge:hover,
  .section-page-edge:focus-visible {
    transform: scale(1.04);
  }

  .section-page-edge-prev {
    margin-left: 0;
  }

  .section-page-edge-next {
    margin-right: 0;
  }

  .section-page-edge-label {
    display: none;
  }


  #accountModal [data-account-panel="wallet"] .wallet-quick-grid,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid,
  #accountModal [data-account-panel="wallet"] .panel-grid.two-columns,
  #accountModal [data-account-panel="creator"] .panel-grid.two-columns,
  #accountModal [data-account-panel="projects"] .panel-grid.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #accountModal [data-account-panel="creator"] .panel-grid.two-columns,
  #accountModal [data-account-panel="projects"] .panel-grid.two-columns {
    grid-template-columns: 1fr;
  }

  #accountModal .wallet-action-primary,
  #accountModal .wallet-action-secondary,
  #accountModal .content-card,
  #accountModal .ticket-compose,
  #accountModal .order-item,
  #accountModal .order-detail,
  #accountModal .info-card,
  #accountModal .account-metric,
  #accountModal .copy-field,
  #accountModal .wallet-callout,
  #accountModal .order-delivery-card,
  #accountModal .order-delivery-item-card,
  #accountModal .order-download-card,
  #accountModal .order-guide-card,
  #accountModal .order-password-box,
  #accountModal .auction-card-purchase-widget-wallet,
  #accountModal .auction-card-purchase-widget-profile {
    padding: 12px;
    border-radius: 16px;
  }

  #accountModal .account-panel.is-active {
    gap: 10px;
  }

  #accountModal .panel-grid {
    gap: 10px;
    margin-top: 10px;
  }

  #accountModal .panel-heading {
    gap: 8px;
  }

  #accountModal .panel-heading h4 {
    font-size: 1.05rem;
  }

  #accountModal .eyebrow {
    font-size: 0.72rem;
  }

  #accountModal .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #accountModal .account-metric,
  #accountModal .info-card,
  #accountModal .copy-field {
    padding: 9px;
    border-radius: 13px;
  }

  #accountModal .account-metric strong,
  #accountModal .info-card strong {
    margin: 6px 0 4px;
    font-size: 1rem;
    line-height: 1.45;
  }

  #accountModal .account-metric small,
  #accountModal .info-card small,
  #accountModal .helper-text,
  #accountModal .wallet-notice p,
  #accountModal .order-item p,
  #accountModal .order-detail p {
    font-size: 0.74rem;
    line-height: 1.6;
  }

  #accountModal .auction-account-card-shell,
  #accountModal [data-account-panel="wallet"] .wallet-quick-grid,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid,
  #accountModal [data-account-panel="orders"] .order-list {
    gap: 8px;
  }

  #accountModal .wallet-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #accountModal .wallet-compact-metric {
    min-height: 0;
  }

  #accountModal .wallet-compact-metric strong {
    font-size: 0.92rem;
  }

  #accountModal .wallet-compact-metric small {
    font-size: 0.68rem;
    line-height: 1.45;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .auth-form {
    gap: 10px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .auth-form {
    gap: 10px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .field-group,
  #accountModal [data-account-panel="wallet"] .wallet-action-primary .field-group {
    gap: 6px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .field-group span,
  #accountModal [data-account-panel="wallet"] .wallet-action-primary .field-group span {
    font-size: 0.74rem;
  }

  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .field-input,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .field-select,
  #accountModal [data-account-panel="wallet"] .wallet-action-primary .field-input,
  #accountModal [data-account-panel="wallet"] .wallet-action-primary .field-select {
    padding: 11px 12px;
    border-radius: 13px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .form-actions > *,
  #accountModal [data-account-panel="wallet"] .panel-heading .form-actions > *,
  #accountModal [data-account-panel="orders"] .order-item-header .form-actions > *,
  #accountModal [data-account-panel="orders"] .order-detail .form-actions > *,
  #accountModal [data-account-panel="profile"] .ticket-compose .form-actions > *,
  #accountModal [data-account-panel="profile"] .auction-card-inline-form .form-actions > * {
    flex: 1 1 calc(50% - 5px);
    width: auto;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .form-actions,
  #accountModal [data-account-panel="wallet"] .panel-heading .form-actions,
  #accountModal [data-account-panel="orders"] .order-item-header .form-actions,
  #accountModal [data-account-panel="orders"] .order-detail .form-actions,
  #accountModal [data-account-panel="profile"] .ticket-compose .form-actions,
  #accountModal [data-account-panel="profile"] .auction-card-inline-form .form-actions {
    width: 100%;
  }

  #accountModal [data-account-panel="wallet"] .panel-heading,
  #accountModal [data-account-panel="wallet"] .card-head,
  #accountModal [data-account-panel="orders"] .order-item-header,
  #accountModal [data-account-panel="orders"] .order-delivery-head,
  #accountModal [data-account-panel="orders"] .order-delivery-item-head {
    flex-direction: column;
    align-items: stretch;
  }

  #accountModal .order-header-actions {
    justify-content: flex-start;
  }

  #accountModal [data-account-panel="wallet"] .panel-heading .status-badge,
  #accountModal [data-account-panel="wallet"] .card-head .status-badge,
  #accountModal [data-account-panel="orders"] .order-item-header .status-badge,
  #accountModal [data-account-panel="orders"] .order-return-note .status-badge,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .status-badge {
    align-self: flex-start;
  }

  #accountModal .order-item-meta {
    grid-template-columns: 1fr;
  }

  #accountModal [data-account-panel="orders"] .order-item-meta .meta-chip,
  #accountModal [data-account-panel="orders"] .order-return-note small,
  #accountModal [data-account-panel="profile"] .account-metric strong,
  #accountModal [data-account-panel="profile"] .info-card strong,
  #accountModal [data-account-panel="profile"] .copy-field .copy-value,
  #accountModal [data-account-panel="profile"] .account-metric-copy strong,
  #accountModal [data-account-panel="profile"] .account-metric-copy small,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid small,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid p,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid strong,
  #accountModal [data-account-panel="orders"] .order-delivery-item-copy strong,
  #accountModal [data-account-panel="orders"] .order-delivery-item-code {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  #accountModal .order-item-meta .meta-chip {
    justify-content: flex-start;
    text-align: right;
  }

  #accountModal .account-metric-copy,
  #accountModal .copy-field {
    align-items: flex-start;
  }

  #accountModal .copy-field button,
  #accountModal .account-metric-copy button {
    width: 38px;
    margin-inline-start: auto;
  }

  #accountModal [data-account-panel="profile"] .copy-field button,
  #accountModal [data-account-panel="profile"] .account-metric-copy button,
  #accountModal [data-account-panel="orders"] .order-return-timer {
    min-height: 38px;
    height: 38px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-notice.compact-wallet-notice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-notice.compact-wallet-notice p,
  #accountModal [data-account-panel="orders"] .order-return-note,
  #accountModal [data-account-panel="profile"] .helper-text,
  #accountModal [data-account-panel="wallet"] .helper-text,
  #accountModal [data-account-panel="orders"] .helper-text {
    line-height: 1.6;
  }

  #accountModal .auction-account-card-shell {
    margin-top: 0;
  }

  #accountModal .order-download-cta {
    width: 100%;
  }

  #accountModal [data-account-panel="orders"] .order-item {
    padding: 12px;
  }

  #accountModal .order-item-header {
    gap: 8px;
    margin-bottom: 8px;
  }

  #accountModal [data-account-panel="orders"] .order-item h4 {
    margin-bottom: 4px;
    font-size: 0.96rem;
  }

  #accountModal .order-item-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  #accountModal [data-account-panel="orders"] .order-item-meta .meta-chip,
  #accountModal [data-account-panel="orders"] .status-badge,
  #accountModal [data-account-panel="wallet"] .status-badge,
  #accountModal [data-account-panel="profile"] .status-badge {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  #accountModal .order-detail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #accountModal .order-detail > .form-actions,
  #accountModal .order-detail > .order-delivery-card,
  #accountModal .order-detail > .order-return-status-card,
  #accountModal .order-detail > div:first-child {
    grid-column: 1 / -1;
  }

  #accountModal .order-delivery-card,
  #accountModal .order-delivery-item-card,
  #accountModal .order-download-card,
  #accountModal .order-guide-card,
  #accountModal .order-password-box {
    padding: 12px;
    border-radius: 16px;
  }

  #accountModal [data-account-panel="orders"] .order-delivery-grid,
  #accountModal [data-account-panel="orders"] .message-stack,
  #accountModal [data-account-panel="wallet"] .message-stack,
  #accountModal [data-account-panel="creator"] .message-stack,
  #accountModal [data-account-panel="projects"] .message-stack {
    gap: 10px;
  }

  #accountModal [data-account-panel="orders"] .order-detail .message-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #accountModal [data-account-panel="orders"] .order-detail .message-stack .info-card,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .message-stack .info-card {
    padding: 9px;
  }

  #accountModal [data-account-panel="profile"] .ticket-compose .form-actions > * {
    flex: 1 1 calc(33.333% - 6px);
  }
}

@media (max-width: 576px) {
  #accountModal .account-head {
    padding-inline: 14px;
  }

  #accountModal .modal-body {
    padding: 12px 14px calc(16px + env(safe-area-inset-bottom));
  }

  #accountModal .account-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding-bottom: 6px;
  }

  #accountModal .account-tab,
  #accountModal .logout-tab {
    min-height: 54px;
    padding: 8px 5px 7px;
    font-size: 0.82rem;
    border-radius: 13px;
  }

  #accountModal .account-tab .account-tab-label,
  #accountModal .logout-tab .account-tab-label {
    font-size: 0.74rem;
  }

  #accountModal [data-account-panel="profile"] .account-grid,
  #accountModal [data-account-panel="wallet"] .wallet-summary-grid,
  #accountModal [data-account-panel="orders"] .order-item-meta,
  #accountModal [data-account-panel="wallet"] .wallet-quick-grid,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid,
  #accountModal [data-account-panel="wallet"] .panel-grid.two-columns,
  #accountModal [data-account-panel="orders"] .order-detail,
  #accountModal [data-account-panel="orders"] .order-detail .message-stack,
  #accountModal [data-account-panel="wallet"] .wallet-notice.compact-wallet-notice,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #accountModal [data-account-panel="profile"] .ticket-compose,
  #accountModal [data-account-panel="profile"] .account-metric,
  #accountModal [data-account-panel="profile"] .copy-field,
  #accountModal [data-account-panel="profile"] .auction-card-purchase-widget-profile,
  #accountModal [data-account-panel="wallet"] .wallet-action-primary,
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary,
  #accountModal [data-account-panel="wallet"] .wallet-callout,
  #accountModal [data-account-panel="wallet"] .content-card,
  #accountModal [data-account-panel="wallet"] .info-card,
  #accountModal [data-account-panel="orders"] .order-item,
  #accountModal [data-account-panel="orders"] .order-detail,
  #accountModal [data-account-panel="orders"] .order-delivery-card,
  #accountModal [data-account-panel="orders"] .order-delivery-item-card,
  #accountModal [data-account-panel="orders"] .order-download-card,
  #accountModal [data-account-panel="orders"] .order-guide-card,
  #accountModal [data-account-panel="orders"] .order-password-box {
    padding: 10px;
    border-radius: 14px;
  }

  #accountModal [data-account-panel="profile"] .account-metric strong,
  #accountModal [data-account-panel="wallet"] .info-card strong,
  #accountModal [data-account-panel="orders"] .info-card strong {
    font-size: 0.94rem;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .form-actions > *,
  #accountModal [data-account-panel="orders"] .order-item-header .form-actions > *,
  #accountModal [data-account-panel="orders"] .order-detail .form-actions > *,
  #accountModal [data-account-panel="profile"] .ticket-compose .form-actions > *,
  #accountModal [data-account-panel="wallet"] .panel-heading .form-actions > *,
  #accountModal [data-account-panel="profile"] .auction-card-inline-form .form-actions > * {
    flex: 1 1 100%;
    width: 100%;
  }

  #accountModal [data-account-panel="profile"] .copy-field button,
  #accountModal [data-account-panel="profile"] .account-metric-copy button {
    width: 100%;
    margin-inline-start: 0;
  }

  #accountModal [data-account-panel="orders"] .order-detail > .form-actions,
  #accountModal [data-account-panel="orders"] .order-detail > .order-delivery-card,
  #accountModal [data-account-panel="orders"] .order-detail > .order-return-status-card,
  #accountModal [data-account-panel="orders"] .order-detail > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  #accountModal [data-account-panel="profile"] .account-grid,
  #accountModal [data-account-panel="wallet"] .wallet-summary-grid,
  #accountModal [data-account-panel="orders"] .order-item-meta,
  #accountModal [data-account-panel="wallet"] .wallet-quick-grid,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid,
  #accountModal [data-account-panel="wallet"] .panel-grid.two-columns,
  #accountModal [data-account-panel="orders"] .order-detail,
  #accountModal [data-account-panel="orders"] .order-detail .message-stack,
  #accountModal [data-account-panel="wallet"] .wallet-notice.compact-wallet-notice,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #accountModal [data-account-panel="profile"] .panel-heading,
  #accountModal [data-account-panel="wallet"] .panel-heading,
  #accountModal [data-account-panel="orders"] .panel-heading {
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  #accountModal [data-account-panel="profile"] .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #accountModal [data-account-panel="profile"] .account-metric,
  #accountModal [data-account-panel="profile"] .copy-field {
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
    gap: 4px;
    min-height: 110px;
  }

  #accountModal [data-account-panel="profile"] .account-metric-copy {
    justify-items: center;
  }

  #accountModal [data-account-panel="profile"] .account-metric-copy > div {
    display: grid;
    justify-items: center;
    text-align: center;
    width: 100%;
  }

  #accountModal [data-account-panel="profile"] .copy-field button,
  #accountModal [data-account-panel="profile"] .account-metric-copy button {
    width: 40px;
    margin-inline-start: 0;
  }

  #accountModal [data-account-panel="profile"] .auction-card-purchase-widget-profile,
  #accountModal [data-account-panel="profile"] .ticket-compose {
    text-align: center;
    justify-items: center;
    gap: 10px;
  }

  #accountModal [data-account-panel="profile"] .ticket-compose strong,
  #accountModal [data-account-panel="profile"] .ticket-compose .helper-text,
  #accountModal [data-account-panel="profile"] .ticket-compose .status-badge {
    text-align: center;
  }

  #accountModal [data-account-panel="profile"] .ticket-compose .form-actions {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  #accountModal [data-account-panel="profile"] .ticket-compose .form-actions > * {
    flex: 0 1 calc(50% - 4px);
    width: auto;
    min-width: 118px;
    max-width: 170px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-quick-grid,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid,
  #accountModal [data-account-panel="wallet"] .panel-grid.two-columns,
  #accountModal [data-account-panel="wallet"] .wallet-notice.compact-wallet-notice,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .field-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary,
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .content-card,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .info-card {
    text-align: center;
    min-width: 0;
  }

  #accountModal [data-account-panel="wallet"] .card-head,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .card-head,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .info-card .card-head {
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  #accountModal [data-account-panel="wallet"] .wallet-compact-metric {
    display: grid;
    justify-items: center;
    text-align: center;
    min-height: 96px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .form-actions,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .form-actions,
  #accountModal [data-account-panel="wallet"] .panel-heading .form-actions {
    width: 100%;
    justify-content: center;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .form-actions > *,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .form-actions > *,
  #accountModal [data-account-panel="wallet"] .panel-heading .form-actions > * {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary,
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary {
    overflow: hidden;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .btn,
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary .btn,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .btn,
  #accountModal [data-account-panel="wallet"] .panel-heading .btn {
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    min-width: 0;
    padding-inline: 12px;
    min-height: 42px;
    font-size: 0.84rem;
    white-space: normal;
    line-height: 1.5;
    justify-content: center;
    text-align: center;
    overflow-wrap: anywhere;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .field-input {
    text-align: center;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .form-actions > .btn-primary {
    max-width: 100%;
  }

  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .form-actions > .btn-primary {
    max-width: 100%;
  }

  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .wallet-withdrawal-submit {
    width: 100%;
    max-width: 100%;
  }

  #accountModal [data-account-panel="wallet"] .wallet-notice.compact-wallet-notice p {
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .field-group,
  #accountModal [data-account-panel="wallet"] .wallet-action-primary .field-group {
    text-align: right;
  }

  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .field-group span,
  #accountModal [data-account-panel="wallet"] .wallet-action-primary .field-group span {
    text-align: right;
  }

  #accountModal [data-account-panel="wallet"] .panel-heading .form-actions {
    max-width: min(100%, 220px);
    margin-inline: auto;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .form-actions,
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary .form-actions,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .form-actions {
    max-width: min(100%, 240px);
    margin-inline: auto;
  }

  #accountModal [data-account-panel="wallet"] .status-badge {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    align-self: center;
    justify-content: center;
    text-align: center;
  }

  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .message-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #accountModal [data-account-panel="orders"] .order-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #accountModal [data-account-panel="orders"] .order-item {
    display: grid;
    align-content: start;
    gap: 8px;
    text-align: right;
    padding: 12px;
    border: 1px solid rgba(216, 180, 254, 0.14);
    background: linear-gradient(160deg, rgba(10, 18, 32, 0.82), rgba(19, 26, 45, 0.72));
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.16);
  }

  #accountModal [data-account-panel="orders"] .order-item-header {
    display: grid;
    gap: 8px;
    margin-bottom: 0;
    justify-items: center;
  }

  #accountModal [data-account-panel="orders"] .order-item-header > div:first-child {
    display: grid;
    gap: 6px;
    justify-items: center;
    text-align: center;
    width: 100%;
  }

  #accountModal [data-account-panel="orders"] .order-item-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    justify-items: stretch;
  }

  #accountModal [data-account-panel="orders"] .order-item-meta .meta-chip {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    align-items: stretch;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions > .status-badge {
    grid-column: 1 / -1;
    justify-content: center;
    align-self: stretch;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions > * {
    width: 100%;
    min-width: 0;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions > .order-return-timer {
    grid-column: 1 / -1;
    order: 10;
  }

  #accountModal [data-account-panel="orders"] .order-return-note {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
    text-align: center;
  }

  #accountModal [data-account-panel="orders"] .order-return-note .status-badge {
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    align-self: center;
  }

  #accountModal [data-account-panel="orders"] .order-return-note small,
  #accountModal [data-account-panel="orders"] .order-return-note .order-return-timer {
    display: block;
    width: 100%;
    text-align: center;
    margin-inline: auto;
  }

  #accountModal [data-account-panel="orders"] .order-return-note .order-return-timer {
    justify-content: center;
  }

  #accountModal [data-account-panel="orders"] .order-detail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    text-align: right;
  }

  #accountModal [data-account-panel="orders"] .order-detail .message-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #accountModal [data-account-panel="orders"] .order-detail .info-card {
    text-align: right;
    padding: 10px;
  }

  #accountModal [data-account-panel="orders"] .order-detail .form-actions {
    gap: 8px;
  }

  #accountModal [data-account-panel="orders"] .order-detail .form-actions > * {
    flex: 1 1 calc(50% - 4px);
    width: auto;
  }

  #accountModal [data-account-panel="orders"] .order-detail > .form-actions,
  #accountModal [data-account-panel="orders"] .order-detail > .order-delivery-card,
  #accountModal [data-account-panel="orders"] .order-detail > .order-return-status-card,
  #accountModal [data-account-panel="orders"] .order-detail > div:first-child {
    grid-column: 1 / -1;
  }

  #accountModal [data-account-panel="orders"] .order-delivery-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #accountModal [data-account-panel="orders"] .order-delivery-item-card {
    padding: 10px;
    gap: 8px;
  }

  #accountModal [data-account-panel="orders"] .order-delivery-item-head {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    text-align: right;
  }

  #accountModal [data-account-panel="orders"] .order-delivery-item-thumb {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 12px;
  }

  #accountModal [data-account-panel="orders"] .order-delivery-item-copy strong {
    font-size: 0.86rem;
    line-height: 1.5;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  #accountModal [data-account-panel="orders"] .order-delivery-item-code {
    font-size: 0.66rem;
  }

  #accountModal [data-account-panel="orders"] .order-delivery-item-card > p,
  #accountModal [data-account-panel="orders"] .order-download-cta small,
  #accountModal [data-account-panel="orders"] .order-download-url {
    display: none;
  }

  #accountModal [data-account-panel="orders"] .order-download-cta {
    min-height: 40px;
    padding: 10px 12px;
    justify-content: center;
    text-align: center;
  }

  #accountModal [data-account-panel="orders"] .order-guide-card {
    text-align: center;
  }
}

@media (max-width: 576px) {
  #accountModal [data-account-panel="profile"] .ticket-compose .form-actions > * {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    max-width: none;
  }

  #accountModal [data-account-panel="orders"] .order-detail .form-actions > * {
    flex: 1 1 100%;
    width: 100%;
  }

  #accountModal [data-account-panel="orders"] .order-item-meta,
  #accountModal [data-account-panel="orders"] .order-detail,
  #accountModal [data-account-panel="orders"] .order-detail .message-stack {
    grid-template-columns: 1fr;
    width: 100%;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .btn,
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary .btn,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .btn,
  #accountModal [data-account-panel="wallet"] .panel-heading .btn {
    width: 100%;
    max-width: 100%;
  }

  #accountModal [data-account-panel="wallet"] .panel-heading .form-actions,
  #accountModal [data-account-panel="wallet"] .wallet-action-primary .form-actions,
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary .form-actions,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .form-actions {
    max-width: 100%;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  #projectChatThreadModal {
    padding: 0;
    align-items: stretch;
  }

  #projectChatThreadModal .project-chat-thread-modal-panel {
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
  }

  #projectChatThreadModal .project-chat-modal-head {
    flex: 0 0 auto;
    position: relative;
    top: auto;
    padding: max(10px, env(safe-area-inset-top)) 12px 8px !important;
  }

  #projectChatThreadModalEyebrow {
    display: none;
  }

  #projectChatThreadModal .project-chat-modal-head h3 {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  #projectChatThreadModal .project-chat-thread-modal-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    padding: 0 !important;
    overflow: hidden !important;
  }

  #projectChatThreadModal .project-chat-thread-shell {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }

  #projectChatThreadModal .project-chat-thread-top {
    position: relative;
    top: auto;
    flex: 0 0 auto;
    gap: 8px;
    padding: 8px 10px 6px;
  }

  #projectChatThreadModal .project-chat-thread-title-row {
    display: grid;
    gap: 8px;
    align-items: stretch;
  }

  #projectChatThreadModal .project-chat-thread-title {
    min-width: 0;
  }

  #projectChatThreadModal .project-chat-thread-title strong {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  #projectChatThreadModal .project-chat-thread-title p {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #projectChatThreadModal .project-chat-thread-facts {
    display: none;
  }

  #projectChatThreadModal .project-chat-thread-actions-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  #projectChatThreadModal .project-chat-thread-actions-bar .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
  }

  #projectChatThreadModal .project-chat-final-delivery-meta {
    flex-direction: column;
    align-items: stretch;
  }

  #projectChatThreadModal .project-chat-final-warning,
  #projectChatThreadModal .project-chat-final-timer {
    padding: 12px 13px;
    border-radius: 16px;
  }

  #projectChatThreadModal .project-chat-pinned-strip {
    gap: 4px;
    padding: 8px 10px;
  }

  #projectChatThreadModal .project-chat-pinned-icon,
  #projectChatThreadModal .project-chat-pinned-dismiss {
    display: none;
  }

  #projectChatThreadModal .project-chat-pinned-main strong,
  #projectChatThreadModal .project-chat-pinned-main small,
  #projectChatThreadModal .project-chat-pinned-main span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #projectChatThreadModal .project-chat-thread-scroll {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    gap: 8px;
    padding: 8px 10px 6px;
    overflow: hidden;
  }

  #projectChatThreadModal .project-chat-log {
    display: grid;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    padding: 2px 0 48px !important;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  #projectChatThreadModal .project-chat-composer-shell {
    position: relative;
    bottom: auto;
    flex: 0 0 auto;
    gap: 6px;
    padding: 8px 10px max(8px, env(safe-area-inset-bottom));
    backdrop-filter: none;
  }

  #projectChatThreadModal .project-chat-composer-meta {
    display: none;
  }

  #projectChatThreadModal .project-chat-attachment-preview {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  #projectChatThreadModal .project-chat-attachment-preview::-webkit-scrollbar {
    display: none;
  }

  #projectChatThreadModal .project-chat-input-wrap {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
  }

  #projectChatThreadModal .project-chat-input {
    min-height: 40px !important;
    max-height: 90px;
    padding: 8px 2px !important;
  }

  #projectChatThreadModal .project-chat-attach-btn,
  #projectChatThreadModal .project-chat-send-btn {
    min-width: 38px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  #projectChatThreadModal .project-message-meta,
  #projectChatThreadModal .project-message-bubble {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  #projectChatThreadModal .project-chat-modal-head {
    padding: max(10px, env(safe-area-inset-top)) 10px 8px !important;
  }

  #projectChatThreadModal .project-chat-modal-head h3 {
    font-size: 0.86rem;
  }

  #projectChatThreadModal .project-chat-thread-title strong {
    display: none;
  }

  #projectChatThreadModal .project-chat-thread-top {
    padding: 8px 8px 6px;
  }

  #projectChatThreadModal .project-chat-thread-scroll {
    padding: 6px 8px 4px;
  }

  #projectChatThreadModal .project-chat-composer-shell {
    padding: 6px 8px max(8px, env(safe-area-inset-bottom));
  }

  #projectChatThreadModal .project-chat-latest-btn {
    width: min(220px, calc(100% - 24px));
    bottom: 10px;
  }
}

body.storefront-maintenance-active {
  overflow: hidden;
}

.storefront-maintenance-screen {
  position: fixed;
  inset: 0;
  z-index: 5000;
  padding: clamp(20px, 4vw, 36px);
  overflow-y: auto;
  background:
    radial-gradient(circle at 16% 14%, rgba(168, 85, 247, 0.24), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(139, 92, 246, 0.22), transparent 30%),
    radial-gradient(circle at 50% 120%, rgba(91, 33, 182, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(5, 3, 12, 0.98), rgba(10, 8, 18, 0.99));
  backdrop-filter: blur(16px);
}

.storefront-maintenance-screen__shell {
  width: min(1120px, 100%);
  min-height: calc(100vh - clamp(40px, 8vw, 72px));
  min-height: calc(100dvh - clamp(40px, 8vw, 72px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: center;
}

.storefront-maintenance-screen__hero,
.storefront-maintenance-screen__arcade {
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 30px 80px rgba(2, 8, 23, 0.36);
  overflow: hidden;
}

.storefront-maintenance-screen__hero {
  padding: clamp(26px, 4vw, 42px);
  background:
    linear-gradient(150deg, rgba(46, 16, 101, 0.94), rgba(15, 23, 42, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  text-align: center;
  display: grid;
  justify-items: center;
}

.storefront-maintenance-screen__hero::before,
.storefront-maintenance-screen__arcade::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 26%, transparent 74%, rgba(255, 255, 255, 0.04));
}

.storefront-maintenance-screen__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.3);
  color: #f3e8ff;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(196, 181, 253, 0.22);
  box-shadow: 0 16px 38px rgba(76, 29, 149, 0.28);
}

.storefront-maintenance-screen__hero h1 {
  margin: 22px 0 14px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.06;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.storefront-maintenance-screen__hero h1 strong {
  display: block;
  font-size: inherit;
  font-weight: 900;
  color: #f8fafc;
  text-shadow: 0 12px 34px rgba(109, 40, 217, 0.34);
}

.storefront-maintenance-screen__hero p {
  margin: 0;
  max-width: 36rem;
  color: rgba(226, 232, 240, 0.88);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 2;
}

.storefront-maintenance-screen__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  justify-content: center;
}

.storefront-maintenance-screen__chips span,
.storefront-maintenance-screen__chips a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(167, 139, 250, 0.22);
  color: #f5f3ff;
}

.storefront-maintenance-screen__arcade {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.26), transparent 30%),
    linear-gradient(160deg, rgba(17, 24, 39, 0.96), rgba(4, 2, 10, 0.98));
}

.storefront-maintenance-screen__arcade-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.storefront-maintenance-screen__arcade-head strong {
  display: block;
  font-size: 1.2rem;
}

.storefront-maintenance-screen__arcade-head small {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.storefront-maintenance-screen__arcade-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.96), rgba(91, 33, 182, 0.96));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 32px rgba(109, 40, 217, 0.28);
}

.storefront-maintenance-screen__canvas {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 22px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: rgba(6, 4, 16, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.storefront-maintenance-screen__hud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.storefront-maintenance-screen__hud span {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(167, 139, 250, 0.16);
}

.storefront-maintenance-screen__hud small {
  color: var(--text-secondary);
}

.storefront-maintenance-screen__hud strong {
  font-size: 1.18rem;
}

.storefront-maintenance-screen__tip {
  margin: 12px 0 0;
  color: #cbd5e1;
  line-height: 1.9;
}

@media (max-width: 920px) {
  .storefront-maintenance-screen__shell {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .storefront-maintenance-screen__arcade-head {
    flex-direction: column;
  }

  .storefront-maintenance-screen__arcade-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .storefront-maintenance-screen {
    padding: 14px;
  }

  .storefront-maintenance-screen__hero,
  .storefront-maintenance-screen__arcade {
    border-radius: 24px;
  }

  .storefront-maintenance-screen__hud {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 720px) {
  .order-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .order-return-timer {
    width: 100%;
    justify-content: center;
  }
}

.catalog-section .section-shell {
  overflow: visible !important;
}

.section-grid-stage {
  position: relative;
  display: block;
  width: 100%;
}

.section-grid-stage > .products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  justify-content: stretch !important;
  align-items: stretch !important;
}

.section-grid-stage > .products-grid > .product-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.section-grid-stage > .products-grid > .product-card.product-card-compact {
  width: 100% !important;
}

.section-grid-stage > .section-side-actions-host {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
}

.section-grid-stage > .section-side-actions-host > .section-side-actions {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  pointer-events: none !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge {
  position: absolute !important;
  top: 50% !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 20px !important;
  pointer-events: auto !important;
  z-index: 2 !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-prev {
  left: 0 !important;
  right: auto !important;
  margin-left: 0 !important;
  transform: translate(18%, -50%) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-next {
  right: 0 !important;
  left: auto !important;
  margin-right: 0 !important;
  transform: translate(-18%, -50%) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-prev:hover,
.section-grid-stage > .section-side-actions-host .section-page-edge-prev:focus-visible {
  transform: translate(-46%, -50%) scale(1.06) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-next:hover,
.section-grid-stage > .section-side-actions-host .section-page-edge-next:focus-visible {
  transform: translate(46%, -50%) scale(1.06) !important;
}

@media (max-width: 1100px) {
  .section-grid-stage > .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge {
    width: 44px !important;
    height: 96px !important;
    border-radius: 18px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-prev {
    transform: translate(8px, -50%) !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-next {
    transform: translate(-8px, -50%) !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-prev:hover,
  .section-grid-stage > .section-side-actions-host .section-page-edge-prev:focus-visible {
    transform: translate(8px, -50%) scale(1.05) !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-next:hover,
  .section-grid-stage > .section-side-actions-host .section-page-edge-next:focus-visible {
    transform: translate(-8px, -50%) scale(1.05) !important;
  }
}

@media (max-width: 980px) {
  .section-grid-stage > .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 768px) {
  .section-grid-stage > .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge {
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-prev {
    transform: translate(-14%, -50%) !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-next {
    transform: translate(14%, -50%) !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-prev:hover,
  .section-grid-stage > .section-side-actions-host .section-page-edge-prev:focus-visible {
    transform: translate(-14%, -50%) scale(1.04) !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-next:hover,
  .section-grid-stage > .section-side-actions-host .section-page-edge-next:focus-visible {
    transform: translate(14%, -50%) scale(1.04) !important;
  }
}

.section-page-summary-host {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  pointer-events: none;
}

.section-page-summary-host .section-page-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(10, 18, 34, 0.92), rgba(22, 33, 62, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.26), 0 0 18px rgba(96, 165, 250, 0.16);
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

.section-grid-stage > .section-side-actions-host .section-page-edge {
  width: clamp(40px, 4.4vw, 52px) !important;
  height: 112px !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.92), rgba(37, 99, 235, 0.92)) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 20px 34px rgba(2, 6, 23, 0.34), 0 0 24px rgba(96, 165, 250, 0.34) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-prev {
  transform: translate(10px, -50%) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-next {
  transform: translate(-10px, -50%) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-prev:hover,
.section-grid-stage > .section-side-actions-host .section-page-edge-prev:focus-visible {
  transform: translate(10px, -50%) scale(1.06) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-next:hover,
.section-grid-stage > .section-side-actions-host .section-page-edge-next:focus-visible {
  transform: translate(-10px, -50%) scale(1.06) !important;
}

@media (max-width: 1100px) {
  .section-page-summary-host {
    margin-bottom: 8px;
  }

  .section-page-summary-host .section-page-summary {
    min-height: 38px;
    padding: 7px 14px;
    font-size: 0.84rem;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge {
    width: clamp(44px, 5.5vw, 50px) !important;
    height: 96px !important;
  }
}

@media (max-width: 768px) {
  .section-page-summary-host {
    margin-bottom: 6px;
  }

  .section-page-summary-host .section-page-summary {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.78rem;
    border-radius: 14px;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge {
    width: clamp(40px, 12vw, 46px) !important;
    height: 82px !important;
    border-radius: 16px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-prev {
    transform: translate(6px, -50%) !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-next {
    transform: translate(-6px, -50%) !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-prev:hover,
  .section-grid-stage > .section-side-actions-host .section-page-edge-prev:focus-visible {
    transform: translate(6px, -50%) scale(1.04) !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-next:hover,
  .section-grid-stage > .section-side-actions-host .section-page-edge-next:focus-visible {
    transform: translate(-6px, -50%) scale(1.04) !important;
  }
}


.section-grid-stage {
  padding-inline: clamp(52px, 5vw, 68px) !important;
  box-sizing: border-box !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge {
  width: clamp(40px, 4.4vw, 52px) !important;
  height: clamp(144px, 18vw, 172px) !important;
  top: 50% !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-prev {
  left: 8px !important;
  right: auto !important;
  transform: translate(0, -50%) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-next {
  right: 8px !important;
  left: auto !important;
  transform: translate(0, -50%) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-prev:hover,
.section-grid-stage > .section-side-actions-host .section-page-edge-prev:focus-visible {
  transform: translate(0, -50%) scale(1.05) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-next:hover,
.section-grid-stage > .section-side-actions-host .section-page-edge-next:focus-visible {
  transform: translate(0, -50%) scale(1.05) !important;
}

@media (max-width: 1100px) {
  .section-grid-stage {
    padding-inline: 50px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge {
    width: clamp(40px, 5vw, 48px) !important;
    height: 136px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-prev {
    left: 6px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-next {
    right: 6px !important;
  }
}

@media (max-width: 768px) {
  .section-grid-stage {
    padding-inline: 42px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge {
    width: clamp(36px, 11vw, 44px) !important;
    height: 112px !important;
    border-radius: 16px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-prev {
    left: 4px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-next {
    right: 4px !important;
  }
}


.section-grid-stage {
  padding-inline: clamp(64px, 6vw, 82px) !important;
  box-sizing: border-box !important;
}

.section-grid-stage > .products-grid {
  width: 100% !important;
  max-width: 100% !important;
}

.section-grid-stage > .section-side-actions-host {
  inset: 0 !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge {
  width: clamp(38px, 4.1vw, 46px) !important;
  height: clamp(176px, 22vw, 220px) !important;
  top: 50% !important;
  border-radius: 22px !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-prev {
  left: 10px !important;
  right: auto !important;
  transform: translate(0, -50%) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-next {
  right: 10px !important;
  left: auto !important;
  transform: translate(0, -50%) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-prev:hover,
.section-grid-stage > .section-side-actions-host .section-page-edge-prev:focus-visible {
  transform: translate(0, -50%) scale(1.05) !important;
}

.section-grid-stage > .section-side-actions-host .section-page-edge-next:hover,
.section-grid-stage > .section-side-actions-host .section-page-edge-next:focus-visible {
  transform: translate(0, -50%) scale(1.05) !important;
}

@media (max-width: 1100px) {
  .section-grid-stage {
    padding-inline: 56px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge {
    width: clamp(36px, 4.8vw, 44px) !important;
    height: 160px !important;
    border-radius: 20px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-prev {
    left: 8px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-next {
    right: 8px !important;
  }
}

@media (max-width: 768px) {
  .section-grid-stage {
    padding-inline: 44px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge {
    width: clamp(34px, 10vw, 40px) !important;
    height: 128px !important;
    border-radius: 18px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-prev {
    left: 4px !important;
  }

  .section-grid-stage > .section-side-actions-host .section-page-edge-next {
    right: 4px !important;
  }
}


.section-page-summary-host {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
  pointer-events: none;
  position: relative;
  z-index: 5;
}

.section-page-summary-host .section-page-summary {
  --section-summary-accent: #60a5fa;
  --section-summary-accent-secondary: #a855f7;
  --section-summary-accent-soft: rgba(96, 165, 250, 0.24);
  --section-summary-glow: rgba(96, 165, 250, 0.40);
  --section-summary-bg-1: rgba(8, 15, 37, 0.96);
  --section-summary-bg-2: rgba(30, 64, 175, 0.32);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 16% 50%, var(--section-summary-accent-soft) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, var(--section-summary-bg-1), var(--section-summary-bg-2));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.34), 0 0 28px var(--section-summary-glow);
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  animation: sectionPageSummaryPulse 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section-page-summary-host .section-page-summary::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  opacity: 0.55;
  z-index: -1;
}

.section-page-summary-host .section-page-summary-orb {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--section-summary-accent), var(--section-summary-accent-secondary));
  box-shadow: 0 0 0 7px var(--section-summary-accent-soft), 0 0 22px var(--section-summary-glow);
}

.section-page-summary-host .section-page-summary-copy {
  display: grid;
  gap: 2px;
}

.section-page-summary-host .section-page-summary-kicker {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
}

.section-page-summary-host .section-page-summary strong {
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.18;
  text-shadow: 0 0 18px var(--section-summary-glow);
}

@keyframes sectionPageSummaryPulse {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.94);
    filter: saturate(0.78);
  }
  65% {
    opacity: 1;
    transform: translateY(0) scale(1.04);
    filter: saturate(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

@media (max-width: 1100px) {
  .section-page-summary-host {
    margin-bottom: 12px;
  }

  .section-page-summary-host .section-page-summary {
    min-height: 54px;
    padding: 11px 18px;
    border-radius: 18px;
  }

  .section-page-summary-host .section-page-summary strong {
    font-size: 1.02rem;
  }
}

@media (max-width: 768px) {
  .section-page-summary-host {
    margin-bottom: 10px;
  }

  .section-page-summary-host .section-page-summary {
    gap: 12px;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 16px;
  }

  .section-page-summary-host .section-page-summary-kicker {
    font-size: 0.66rem;
  }

  .section-page-summary-host .section-page-summary strong {
    font-size: 0.94rem;
  }

  .section-page-summary-host .section-page-summary-orb {
    width: 11px;
    height: 11px;
  }
}


.section-grid-stage > .products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(8px, 1.25vw, 22px) !important;
}

.section-grid-stage > .products-grid > .product-card,
.section-grid-stage > .products-grid > .product-card.product-card-compact {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

@media (max-width: 1100px) {
  .section-grid-stage > .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(8px, 1.1vw, 16px) !important;
  }
}

@media (max-width: 980px) {
  .section-grid-stage > .products-grid {
    gap: clamp(8px, 1.2vw, 14px) !important;
  }
}

@media (max-width: 768px) {
  .section-grid-stage > .products-grid {
    gap: clamp(8px, 1.4vw, 12px) !important;
  }
}


.section-grid-stage > .products-grid[data-section-layout="quad"] {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(10px, 1.2vw, 20px) !important;
}

.section-grid-stage > .products-grid[data-section-layout="double"] {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(12px, 1.4vw, 18px) !important;
}

.section-grid-stage > .products-grid[data-section-layout="single"] {
  grid-template-columns: minmax(0, min(100%, 420px)) !important;
  justify-content: center !important;
  gap: 14px !important;
  touch-action: pan-y !important;
}

.section-grid-stage > .products-grid[data-section-layout="single"] > .product-card,
.section-grid-stage > .products-grid[data-section-layout="single"] > .product-card.product-card-compact {
  max-width: 420px !important;
  margin-inline: auto !important;
}

.section-grid-stage > .products-grid.is-swipe-armed-next {
  transform: translateX(-10px);
}

.section-grid-stage > .products-grid.is-swipe-armed-prev {
  transform: translateX(10px);
}

@media (max-width: 640px) {
  .section-grid-stage {
    padding-inline: 36px !important;
  }

  .section-grid-stage > .products-grid[data-section-layout="single"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .section-grid-stage > .products-grid[data-section-layout="single"] > .product-card,
  .section-grid-stage > .products-grid[data-section-layout="single"] > .product-card.product-card-compact {
    max-width: min(100%, 380px) !important;
  }
}


/* mobile-pager-performance-v95 */
.section-page-stage[data-page-size="1"] .section-page-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.section-page-stage[data-page-size="1"] .section-page-center {
  display: none !important;
}

.section-page-stage[data-page-size="1"] .section-page-button {
  min-height: 44px !important;
  padding: 0 12px !important;
  gap: 8px !important;
  border-radius: 14px !important;
}

@media (max-width: 640px) {
  .section-page-stage {
    gap: 10px !important;
    margin-top: 8px !important;
  }

  .section-page-nav {
    gap: 10px !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .section-page-meta small {
    display: none !important;
  }

  .section-page-dots {
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    justify-content: flex-start !important;
    padding-bottom: 2px !important;
    scrollbar-width: none;
  }

  .section-page-dots::-webkit-scrollbar {
    display: none;
  }

  .section-page-dot {
    min-width: 36px !important;
    height: 36px !important;
    padding-inline: 10px !important;
    border-radius: 12px !important;
  }

  .section-page-button {
    min-height: 44px !important;
    padding: 0 12px !important;
    gap: 8px !important;
    font-size: 0.84rem !important;
  }

  .section-page-button::before,
  .section-page-dot::before,
  .section-page-edge::before {
    display: none !important;
  }

  .products-grid,
  .products-grid.is-page-enter-next,
  .products-grid.is-page-enter-prev,
  .products-grid.is-page-enter-next .product-card,
  .products-grid.is-page-enter-prev .product-card,
  .section-page-summary-host .section-page-summary {
    animation: none !important;
  }

  .products-grid,
  .product-card,
  .section-page-button,
  .section-page-dot,
  .section-page-edge,
  .section-page-summary-host .section-page-summary {
    transition: none !important;
  }

  .section-page-summary-host .section-page-summary {
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.24) !important;
  }
}


/* summary-jump-and-mobile-light-v96 */
.section-page-summary-host .section-page-summary {
  appearance: none !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  text-align: inherit !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.section-page-summary-host .section-page-summary:hover,
.section-page-summary-host .section-page-summary:focus-visible {
  transform: translateY(-1px) scale(1.02) !important;
  filter: saturate(1.08) !important;
}

.section-page-summary-host .section-page-summary:active {
  transform: scale(0.985) !important;
}

@media (max-width: 980px) {
  .products-grid,
  .products-grid.is-page-enter-next,
  .products-grid.is-page-enter-prev,
  .products-grid.is-page-enter-next .product-card,
  .products-grid.is-page-enter-prev .product-card {
    animation-duration: 120ms !important;
    animation-delay: 0ms !important;
  }
}

@media (max-width: 640px) {
  .section-page-summary-host {
    margin-bottom: 8px !important;
  }

  .section-page-summary-host .section-page-summary {
    min-height: 42px !important;
    padding: 8px 12px !important;
    gap: 10px !important;
    border-radius: 14px !important;
    width: min(100%, 240px) !important;
  }

  .section-page-summary-host .section-page-summary strong {
    font-size: 0.9rem !important;
  }

  .section-page-summary-host .section-page-summary-kicker {
    font-size: 0.62rem !important;
  }

  .section-page-summary-host .section-page-summary-orb {
    width: 10px !important;
    height: 10px !important;
  }

  .section-page-stage[data-page-size="1"] .section-page-nav {
    padding: 8px !important;
    gap: 8px !important;
  }

  .section-page-stage[data-page-size="1"] .section-page-button {
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 0.8rem !important;
    border-radius: 12px !important;
  }
}


/* section-page-jump-modal-v97 */
.section-page-jump-modal-panel {
  max-width: 420px !important;
}

.section-page-jump-form {
  display: grid;
  gap: 16px;
}

.section-page-jump-copy {
  display: grid;
  gap: 6px;
  color: var(--text-secondary);
}

.section-page-jump-copy p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.section-page-jump-copy span {
  font-size: 0.88rem;
}

.section-page-jump-field {
  display: grid;
  gap: 8px;
}

.section-page-jump-field span {
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.84);
}

.section-page-jump-field .input {
  text-align: center;
  font-size: 1.08rem;
  font-weight: 800;
}

.section-page-jump-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 640px) {
  .section-page-jump-modal-panel {
    width: min(100%, 92vw) !important;
  }

  .section-page-jump-form {
    gap: 14px;
  }

  .section-page-jump-copy p {
    font-size: 0.94rem;
  }

  .section-page-jump-copy span,
  .section-page-jump-field span {
    font-size: 0.8rem;
  }

  .section-page-jump-field .input {
    font-size: 1rem;
  }

  .section-page-jump-actions {
    grid-template-columns: 1fr;
  }
}


/* section-page-jump-beauty-v98 */
.section-page-jump-modal-panel {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(10, 15, 29, 0.98), rgba(16, 24, 40, 0.96)) !important;
  box-shadow: 0 32px 80px rgba(2, 6, 23, 0.48), 0 0 0 1px rgba(255,255,255,0.04) inset !important;
}

.section-page-jump-modal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  pointer-events: none;
}

.section-page-jump-form {
  display: grid;
  gap: 18px;
}

.section-page-jump-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(30, 41, 59, 0.58));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.section-page-jump-orb {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #60a5fa, #a855f7);
  box-shadow: 0 18px 30px rgba(96, 165, 250, 0.24), 0 0 26px rgba(168, 85, 247, 0.24);
  position: relative;
}

.section-page-jump-orb::after {
  content: "#";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.22rem;
}

.section-page-jump-copy {
  display: grid;
  gap: 6px;
  color: var(--text-secondary);
}

.section-page-jump-copy p {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-page-jump-copy span {
  font-size: 0.88rem;
  line-height: 1.9;
}

.section-page-jump-status {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255,255,255,0.08);
}

.section-page-jump-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.85rem;
}

.section-page-jump-status-head strong {
  color: #fff;
  font-size: 0.96rem;
}

.section-page-jump-progress {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.28);
}

.section-page-jump-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #60a5fa, #8b5cf6, #f472b6);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.26);
}

.section-page-jump-field {
  display: grid;
  gap: 8px;
}

.section-page-jump-field span {
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.84);
}

.section-page-jump-input-shell {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.section-page-jump-input-prefix {
  display: grid;
  place-items: center;
  min-height: 56px;
  color: rgba(255,255,255,0.84);
  font-weight: 800;
  font-size: 1rem;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.section-page-jump-field .input {
  border: 0 !important;
  background: transparent !important;
  min-height: 56px;
  text-align: center;
  font-size: 1.16rem;
  font-weight: 900;
  box-shadow: none !important;
}

.section-page-jump-field .input:focus {
  outline: none;
}

.section-page-jump-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.section-page-jump-cancel,
.section-page-jump-submit {
  min-height: 48px;
  border-radius: 16px !important;
}

.section-page-jump-submit {
  box-shadow: 0 18px 32px rgba(96, 165, 250, 0.24) !important;
}

@media (max-width: 640px) {
  .section-page-jump-modal-panel {
    width: min(100%, 92vw) !important;
  }

  .section-page-jump-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 14px;
  }

  .section-page-jump-orb {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .section-page-jump-copy p {
    font-size: 0.94rem;
  }

  .section-page-jump-copy span,
  .section-page-jump-field span,
  .section-page-jump-status-head {
    font-size: 0.8rem;
  }

  .section-page-jump-field .input,
  .section-page-jump-input-prefix {
    min-height: 50px;
    font-size: 1rem;
  }

  .section-page-jump-actions {
    grid-template-columns: 1fr;
  }
}


/* section-page-jump-input-fix-v99 */
.section-page-jump-field .input {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

.section-page-jump-field .input::-webkit-outer-spin-button,
.section-page-jump-field .input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}


/* section-page-jump-slider-v100 */
.section-page-jump-slider {
  display: grid;
  gap: 10px;
}

.section-page-jump-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}

.section-page-jump-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

.section-page-jump-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  margin-top: -7px;
  border: 2px solid rgba(255,255,255,0.9);
  background: linear-gradient(135deg, #60a5fa, #a855f7);
  box-shadow: 0 8px 20px rgba(96, 165, 250, 0.34), 0 0 0 6px rgba(96, 165, 250, 0.14);
}

.section-page-jump-slider input[type="range"]::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

.section-page-jump-slider input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.9);
  background: linear-gradient(135deg, #60a5fa, #a855f7);
  box-shadow: 0 8px 20px rgba(96, 165, 250, 0.34), 0 0 0 6px rgba(96, 165, 250, 0.14);
}

.section-page-jump-slider-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .section-page-jump-slider input[type="range"]::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
  }

  .section-page-jump-slider input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
  }
}


/* section-page-jump-slider-touch-fix-v101 */
.section-page-jump-slider,
.section-page-jump-slider * {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

.section-page-jump-slider input[type="range"] {
  -webkit-tap-highlight-color: transparent !important;
  touch-action: pan-x !important;
}

.section-page-jump-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-touch-callout: none !important;
}


/* product-card-height-optimize-v102 */
.product-badges {
  top: 10px;
  right: 10px;
  left: 10px;
  gap: 6px;
  align-items: flex-start;
}

.product-badge,
.product-preview-meta .product-badge {
  padding: 5px 9px;
  font-size: 0.62rem;
  line-height: 1.25;
  white-space: nowrap;
}

.product-badge.discount {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.92), rgba(239, 68, 68, 0.88));
  color: #fff;
  border-color: rgba(254, 202, 202, 0.34);
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.22);
}

.product-card .discount-countdown {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.94), rgba(248, 113, 113, 0.92));
  border: 1px solid rgba(254, 202, 202, 0.28);
  box-shadow: 0 12px 28px rgba(127, 29, 29, 0.26);
  text-align: right;
}

.product-card .discount-countdown span,
.product-card .discount-countdown small {
  display: none;
}

.product-card .discount-countdown strong {
  color: #fff;
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0;
}

.product-content {
  gap: 10px;
  padding: 14px;
}

.product-topline {
  gap: 8px;
  flex-wrap: nowrap;
}

.product-category,
.product-code {
  font-size: 0.68rem;
}

.product-category {
  padding: 5px 8px;
}

.product-title-row {
  display: block;
}

.product-title {
  font-size: 0.94rem;
  line-height: 1.45;
}

.product-meta-row {
  min-height: 0;
  min-width: 0;
}

.product-preview-meta {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.product-preview-meta .product-badge,
.product-preview-meta a.product-badge,
.product-badge.approved,
.product-badge.gender {
  flex: 0 1 auto;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-summary {
  display: none !important;
}

.product-card .helper-text {
  display: none !important;
}

.product-footer {
  gap: 10px;
  align-items: center;
}

.product-footer .form-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex: 0 0 auto;
}

.product-favorite-button-icon {
  min-width: 42px !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border-radius: 14px !important;
  justify-content: center !important;
}

.product-favorite-button-icon .product-favorite-button-heart {
  font-size: 1rem;
  line-height: 1;
  color: #ff8ab0;
}

.product-favorite-button-icon > :not(.product-favorite-count):not(.product-favorite-button-heart) {
  display: none !important;
}

.product-favorite-count {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  background: transparent;
  font-size: 0.64rem;
  color: #ffc1d6;
}

.product-favorite-count-icon {
  font-size: 0.68rem;
  color: #ff7aa5;
}

.product-card-compact .product-footer,
.product-footer {
  flex-direction: row;
}

.product-card-compact .product-footer .form-actions {
  display: flex;
  grid-template-columns: none;
  width: auto;
  gap: 8px;
}

.product-card-compact .product-footer .card-cta,
.product-card .card-cta {
  min-height: 42px;
  padding: 8px 12px;
  font-size: 0.72rem;
}

@media (max-width: 768px) {
  .product-content {
    gap: 8px;
    padding: 10px;
  }

  .product-badges {
    top: 8px;
    right: 8px;
    left: 8px;
    gap: 4px;
  }

  .product-badge,
  .product-preview-meta .product-badge {
    padding: 4px 7px;
    font-size: 0.54rem;
  }

  .product-card .discount-countdown {
    top: 8px;
    left: 8px;
    padding: 5px 8px;
  }

  .product-card .discount-countdown strong {
    font-size: 0.66rem;
  }

  .product-topline {
    gap: 6px;
  }

  .product-title {
    font-size: 0.8rem;
    min-height: 0;
  }

  .product-preview-meta {
    gap: 4px;
  }

  .product-favorite-button-icon {
    min-width: 36px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
  }

  .product-card-compact .product-footer .card-cta,
  .product-card .card-cta {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.64rem;
  }
}

/* product-card-action-center-v104 */
.product-card .product-footer,
.product-card.product-card-compact .product-footer {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.product-card .product-price,
.product-card.product-card-compact .product-price {
  width: 100%;
  align-items: center;
  text-align: center;
}

.product-card .product-price-extra,
.product-card.product-card-compact .product-price-extra {
  justify-content: center;
}

.product-card .product-footer .form-actions,
.product-card.product-card-compact .product-footer .form-actions {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  gap: 8px;
  flex: 0 0 auto;
}

.product-card .card-cta,
.product-card.product-card-compact .card-cta {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.product-card .card-cta span:last-child,
.product-card.product-card-compact .card-cta span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card .product-favorite-button-icon,
.product-card.product-card-compact .product-favorite-button-icon {
  margin: 0;
}

@media (max-width: 768px) {
  .product-card .product-footer .form-actions,
  .product-card.product-card-compact .product-footer .form-actions {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 6px;
  }
}

/* product-preview-meta-inline-v105 */
.product-card .product-meta-row,
.product-card.product-card-compact .product-meta-row {
  width: 100%;
  min-width: 0;
}

.product-card .product-preview-meta,
.product-card.product-card-compact .product-preview-meta {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  max-width: 100% !important;
  min-width: 0;
  overflow: hidden;
}

.product-card .product-preview-meta .product-badge,
.product-card .product-preview-meta a.product-badge,
.product-card.product-card-compact .product-preview-meta .product-badge,
.product-card.product-card-compact .product-preview-meta a.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  max-width: calc(50% - 3px) !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.product-card .product-preview-meta .product-badge:only-child,
.product-card .product-preview-meta a.product-badge:only-child,
.product-card.product-card-compact .product-preview-meta .product-badge:only-child,
.product-card.product-card-compact .product-preview-meta a.product-badge:only-child {
  flex-basis: auto;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .product-card .product-preview-meta,
  .product-card.product-card-compact .product-preview-meta {
    gap: 4px;
  }

  .product-card .product-preview-meta .product-badge,
  .product-card .product-preview-meta a.product-badge,
  .product-card.product-card-compact .product-preview-meta .product-badge,
  .product-card.product-card-compact .product-preview-meta a.product-badge {
    font-size: 0.54rem;
  }
}

/* mobile-section-swipe-lite-v106 */
@media (max-width: 640px) {
  .products-grid {
    transition: transform .18s ease-out, opacity .18s linear !important;
    will-change: transform;
    backface-visibility: hidden;
    contain: layout paint style;
  }

  .products-grid.is-page-enter-next,
  .products-grid.is-page-enter-prev {
    animation-duration: .18s !important;
  }

  .products-grid.is-page-enter-next .product-card,
  .products-grid.is-page-enter-prev .product-card {
    animation: none !important;
  }

  .section-grid-stage > .products-grid.is-swiping {
    transition: none !important;
    transform: translate3d(var(--swipe-shift, 0px), 0, 0) !important;
  }

  .section-grid-stage > .products-grid.is-swipe-armed-next,
  .section-grid-stage > .products-grid.is-swipe-armed-prev {
    filter: none !important;
  }

  .section-grid-stage > .products-grid.is-swipe-armed-next {
    transform: translate3d(var(--swipe-shift, -18px), 0, 0) !important;
  }

  .section-grid-stage > .products-grid.is-swipe-armed-prev {
    transform: translate3d(var(--swipe-shift, 18px), 0, 0) !important;
  }

  .section-grid-stage > .products-grid[data-section-layout="single"] {
    contain: layout paint style;
  }
}

/* product-favorite-heart-count-v113 */
.product-favorite-button-icon {
  position: relative;
  overflow: hidden;
  min-width: 48px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(20, 25, 37, 0.92), rgba(14, 18, 28, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.product-favorite-button-icon::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.product-favorite-button-icon .product-favorite-button-heart {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 100%;
  padding: 5px 0 4px;
}

.product-favorite-button-icon .product-favorite-button-heart-glyph {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  color: #ff5c93;
  text-shadow: 0 0 10px rgba(255, 92, 147, 0.22), 0 2px 10px rgba(15, 23, 42, 0.38);
  transform: none;
}

.product-favorite-button-icon .product-favorite-button-heart-count {
  position: static;
  inset: auto;
  transform: none;
  min-width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: rgba(253, 242, 248, 0.92);
  font-size: 0.54rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  text-shadow: none;
  box-shadow: none;
  pointer-events: none;
}

.product-favorite-button-icon .product-favorite-count {
  display: none !important;
}

@media (max-width: 768px) {
  .product-card .product-footer .btn.btn-glass,
  .product-card.product-card-compact .product-footer .btn.btn-glass,
  .product-card .product-footer .card-cta,
  .product-card.product-card-compact .product-footer .card-cta {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .product-card .product-footer .form-actions,
  .product-card.product-card-compact .product-footer .form-actions {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    align-items: center !important;
    width: 100% !important;
  }

  .product-card .card-cta,
  .product-card.product-card-compact .card-cta {
    min-width: 0 !important;
    width: 100% !important;
  }

  .product-favorite-button-icon {
    min-width: 40px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 14px !important;
  }

  .product-favorite-button-icon .product-favorite-button-heart {
    gap: 2px;
    padding: 4px 0 3px;
  }

  .product-favorite-button-icon .product-favorite-button-heart-glyph {
    font-size: 1.24rem;
  }

  .product-favorite-button-icon .product-favorite-button-heart-count {
    font-size: 0.44rem;
  }
}

/* favorite-like-animation-v114 */
.product-favorite-button-icon {
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  transform: translateZ(0);
}

.product-favorite-button-icon .product-favorite-button-heart-glyph,
.product-favorite-button-icon .product-favorite-button-heart-count {
  transition: transform .22s ease, opacity .18s ease, color .18s ease;
}

.product-favorite-button-icon.is-favorited-pop {
  animation: favoriteButtonPop .46s cubic-bezier(.22, 1, .36, 1);
}

.product-favorite-button-icon.is-favorited-pop .product-favorite-button-heart-glyph {
  animation: favoriteHeartBurst .46s cubic-bezier(.22, 1, .36, 1);
}

.product-favorite-button-icon.is-favorited-pop .product-favorite-button-heart-count {
  animation: favoriteCountLift .42s cubic-bezier(.22, 1, .36, 1);
}

.product-favorite-button-icon.is-unfavorited-pop {
  animation: favoriteButtonSettle .34s ease;
}

.product-favorite-button-icon.is-unfavorited-pop .product-favorite-button-heart-glyph {
  animation: favoriteHeartSettle .34s ease;
}

@keyframes favoriteButtonPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.12) rotate(-4deg); }
  65% { transform: scale(0.95) rotate(2deg); }
  100% { transform: scale(1); }
}

@keyframes favoriteHeartBurst {
  0% { transform: scale(1); filter: saturate(1); }
  38% { transform: scale(1.28); filter: saturate(1.18); }
  68% { transform: scale(0.92); filter: saturate(1); }
  100% { transform: scale(1); filter: saturate(1); }
}

@keyframes favoriteCountLift {
  0% { transform: translateY(2px); opacity: .78; }
  45% { transform: translateY(-3px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes favoriteButtonSettle {
  0% { transform: scale(1); }
  50% { transform: scale(0.94); }
  100% { transform: scale(1); }
}

@keyframes favoriteHeartSettle {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.88); opacity: .8; }
  100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .product-favorite-button-icon,
  .product-favorite-button-icon .product-favorite-button-heart-glyph,
  .product-favorite-button-icon .product-favorite-button-heart-count {
    transition: none !important;
    animation: none !important;
  }
}

/* favorite-optimistic-ui-v115 */
.product-favorite-button-icon.is-favorite-pending {
  opacity: 1 !important;
  cursor: wait;
  pointer-events: none;
}

.product-favorite-button-icon.is-favorite-pending .product-favorite-button-heart-glyph,
.product-favorite-button-icon.is-favorite-pending .product-favorite-button-heart-count {
  opacity: 1 !important;
}

.product-favorite-button-icon.is-favorite-pending::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 45%, rgba(255,255,255,0) 100%);
  transform: translateX(-120%);
  animation: favoritePendingSheen .8s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes favoritePendingSheen {
  to {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-favorite-button-icon.is-favorite-pending::before {
    animation: none !important;
  }
}



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

.faq-audience-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.faq-audience-chip {
  min-width: 120px;
  justify-content: center;
}

.faq-card .card-head {
  cursor: pointer;
}

.faq-card .card-head h4 {
  margin: 0;
}

.faq-card .faq-answer {
  color: var(--text-soft, rgba(226, 232, 240, 0.82));
  line-height: 1.95;
}

.faq-card .faq-answer p {
  margin: 0;
}

.faq-intro-card {
  margin-bottom: 16px;
}


.product-badge.server-tag {
  color: #fff;
  background: color-mix(in srgb, var(--server-tag-color) 18%, rgba(255, 255, 255, 0.05));
  border-color: color-mix(in srgb, var(--server-tag-color) 50%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 0 18px color-mix(in srgb, var(--server-tag-color) 28%, transparent), inset 0 0 14px color-mix(in srgb, var(--server-tag-color) 18%, transparent);
}

.product-topline-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.product-server-tag-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.product-server-tag-cluster .product-badge.gender,
.product-server-tag-cluster .product-badge.gender-male,
.product-server-tag-cluster .product-badge.gender-female {
  font-size: 0.74rem;
  font-weight: 800;
}

.product-server-tag-cluster.detail {
  justify-content: flex-start;
}

.product-detail-creator-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}


.server-tag-picker-shell {
  position: relative;
  margin-top: 10px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(167, 139, 250, 0.42);
  background: linear-gradient(180deg, rgba(91, 33, 182, 0.24), rgba(15, 23, 42, 0.58));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 18px 40px rgba(76, 29, 149, 0.26), 0 0 26px rgba(139, 92, 246, 0.14);
}

.server-tag-picker-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 26px rgba(139, 92, 246, 0.14), 0 0 30px rgba(139, 92, 246, 0.12);
}

.server-tag-picker-shell.is-empty {
  border-style: dashed;
}

.server-tag-picker-shell-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.server-tag-picker-shell-head strong {
  color: #f5f3ff;
  font-size: 1rem;
}

.server-tag-picker-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(196, 181, 253, 0.34);
  color: #ddd6fe;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.server-tag-picker-note {
  margin: 0;
  color: rgba(237, 233, 254, 0.82);
  font-size: 0.88rem;
  line-height: 1.8;
}

.server-tag-picker {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(196, 181, 253, 0.28);
  background: rgba(255, 255, 255, 0.035);
}

.server-tag-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--server-tag-color) 50%, rgba(255,255,255,0.18));
  background: color-mix(in srgb, var(--server-tag-color) 20%, rgba(255,255,255,0.05));
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.server-tag-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--server-tag-color) 38%, rgba(255,255,255,0.16)), 0 12px 24px color-mix(in srgb, var(--server-tag-color) 18%, transparent);
}

.server-tag-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.server-tag-option-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--server-tag-color) 35%, transparent), 0 0 18px color-mix(in srgb, var(--server-tag-color) 30%, transparent);
  opacity: 0.7;
}

.server-tag-option-text,
.server-tag-chip {
  position: relative;
  z-index: 1;
}

.server-tag-option.is-active {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--server-tag-color) 65%, rgba(255,255,255,0.24)), 0 0 28px color-mix(in srgb, var(--server-tag-color) 42%, transparent);
}

.server-tag-selection-summary {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(196, 181, 253, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.server-tag-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.server-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--server-tag-color) 16%, rgba(255,255,255,0.04));
  border: 1px solid color-mix(in srgb, var(--server-tag-color) 48%, rgba(255,255,255,0.16));
  color: #fff;
  box-shadow: 0 0 18px color-mix(in srgb, var(--server-tag-color) 26%, transparent);
}

.server-tag-summary-empty {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  color: #e9d5ff;
  font-size: 0.88rem;
}

.server-tag-picker-empty {
  position: relative;
  z-index: 1;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

/* product-meta-badge-fit-v107 */
.product-card .product-preview-meta,
.product-card.product-card-compact .product-preview-meta {
  flex-wrap: wrap !important;
  align-items: stretch;
  gap: 6px;
  overflow: visible;
}

.product-card .product-preview-meta .product-meta-badge,
.product-card .product-preview-meta a.product-meta-badge,
.product-card.product-card-compact .product-preview-meta .product-meta-badge,
.product-card.product-card-compact .product-preview-meta a.product-meta-badge {
  flex: 1 1 calc(50% - 3px);
  max-width: calc(50% - 3px) !important;
  min-width: 0;
  justify-content: space-between;
  padding: 7px 10px;
  font-size: 0.74rem;
  line-height: 1.35;
  white-space: normal !important;
  overflow: hidden;
  text-overflow: clip;
  border-radius: 14px;
}

.product-card .product-preview-meta .product-meta-badge-label,
.product-card.product-card-compact .product-preview-meta .product-meta-badge-label {
  font-size: 0.62rem;
}

.product-card .product-preview-meta .product-meta-badge-value,
.product-card.product-card-compact .product-preview-meta .product-meta-badge-value {
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .product-card .product-preview-meta .product-meta-badge,
  .product-card .product-preview-meta a.product-meta-badge,
  .product-card.product-card-compact .product-preview-meta .product-meta-badge,
  .product-card.product-card-compact .product-preview-meta a.product-meta-badge {
    padding: 6px 8px;
    font-size: 0.68rem;
  }

  .product-card .product-preview-meta .product-meta-badge-label,
  .product-card.product-card-compact .product-preview-meta .product-meta-badge-label {
    font-size: 0.58rem;
  }

  .product-card .product-preview-meta .product-meta-badge-value,
  .product-card.product-card-compact .product-preview-meta .product-meta-badge-value {
    font-size: 0.74rem;
  }
}

/* product-preview-meta-legacy-fit-v108 */
.product-card .product-preview-meta .product-badge,
.product-card .product-preview-meta a.product-badge,
.product-card.product-card-compact .product-preview-meta .product-badge,
.product-card.product-card-compact .product-preview-meta a.product-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(50% - 3px);
  max-width: calc(50% - 3px) !important;
  min-width: 0;
  padding: 7px 10px;
  font-size: 0.72rem !important;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 14px;
  box-sizing: border-box;
}

.product-card .product-preview-meta .product-badge.approved,
.product-card .product-preview-meta a.product-badge.approved,
.product-card.product-card-compact .product-preview-meta .product-badge.approved,
.product-card.product-card-compact .product-preview-meta a.product-badge.approved {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.14));
}

.product-card .product-preview-meta .product-badge.gender,
.product-card .product-preview-meta .product-badge.gender-male,
.product-card .product-preview-meta .product-badge.gender-female,
.product-card.product-card-compact .product-preview-meta .product-badge.gender,
.product-card.product-card-compact .product-preview-meta .product-badge.gender-male,
.product-card.product-card-compact .product-preview-meta .product-badge.gender-female {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(124, 58, 237, 0.14));
}

@media (max-width: 768px) {
  .product-card .product-preview-meta .product-badge,
  .product-card .product-preview-meta a.product-badge,
  .product-card.product-card-compact .product-preview-meta .product-badge,
  .product-card.product-card-compact .product-preview-meta a.product-badge {
    padding: 6px 8px;
    font-size: 0.66rem !important;
  }
}

/* product-preview-meta-compact-auto-v110 */
.product-card .product-meta-row,
.product-card.product-card-compact .product-meta-row {
  width: 100%;
  min-width: 0;
}

.product-card .product-preview-meta,
.product-card.product-card-compact .product-preview-meta {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: 100%;
  max-width: 100% !important;
  overflow: visible !important;
}

.product-card .product-preview-meta .product-badge,
.product-card .product-preview-meta a.product-badge,
.product-card.product-card-compact .product-preview-meta .product-badge,
.product-card.product-card-compact .product-preview-meta a.product-badge,
.product-card .product-preview-meta .product-meta-badge,
.product-card .product-preview-meta a.product-meta-badge,
.product-card.product-card-compact .product-preview-meta .product-meta-badge,
.product-card.product-card-compact .product-preview-meta a.product-meta-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: min(100%, 92%) !important;
  min-width: 0;
  padding: 7px var(--product-meta-padding-x, 12px);
  border-radius: 14px;
  box-sizing: border-box;
  font-size: var(--product-meta-text-size, clamp(0.68rem, 0.62rem + 0.22vw, 0.82rem)) !important;
  line-height: 1.45;
  text-align: center;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.product-card .product-preview-meta .product-meta-badge-text,
.product-card.product-card-compact .product-preview-meta .product-meta-badge-text {
  display: block;
  width: auto;
  min-width: 0;
  max-width: 100%;
  font-size: inherit !important;
  line-height: 1.4;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
}

@media (max-width: 768px) {
  .product-card .product-preview-meta,
  .product-card.product-card-compact .product-preview-meta {
    gap: 5px !important;
  }

  .product-card .product-preview-meta .product-badge,
  .product-card .product-preview-meta a.product-badge,
  .product-card.product-card-compact .product-preview-meta .product-badge,
  .product-card.product-card-compact .product-preview-meta a.product-badge,
  .product-card .product-preview-meta .product-meta-badge,
  .product-card .product-preview-meta a.product-meta-badge,
  .product-card.product-card-compact .product-preview-meta .product-meta-badge,
  .product-card.product-card-compact .product-preview-meta a.product-meta-badge {
    padding: 6px var(--product-meta-padding-x, 9px);
    font-size: var(--product-meta-text-size, clamp(0.62rem, 0.58rem + 0.18vw, 0.72rem)) !important;
  }
}

/* product-title-spotlight-v113 */
.product-card .product-title-shell,
.product-card.product-card-compact .product-title-shell {
  position: relative;
  width: calc(100% - 24px);
  min-height: 72px;
  margin: 0 auto 7px;
  padding: 7px 10px 8px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.92), rgba(38, 26, 68, 0.7));
  border: 1px solid rgba(167, 139, 250, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 20px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.product-card .product-title-shell::before,
.product-card.product-card-compact .product-title-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--product-accent, #a855f7), var(--product-accent-deep, #4c1d95));
  box-shadow: 0 0 18px color-mix(in srgb, var(--product-accent, #a855f7) 55%, transparent);
}

.product-card .product-title-row,
.product-card.product-card-compact .product-title-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  width: 100%;
  min-height: 100%;
}

.product-card .product-title-kicker,
.product-card.product-card-compact .product-title-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ddd6fe;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.product-card .product-title,
.product-card.product-card-compact .product-title {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  color: #fff;
  font-size: var(--product-title-size, 0.72rem);
  font-weight: 950;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 2px 18px rgba(91, 33, 182, 0.18);
}

.product-card .product-title-center,
.product-card.product-card-compact .product-title-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.product-card .product-title-text,
.product-card.product-card-compact .product-title-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  text-align: center;
  margin-inline: auto;
  unicode-bidi: isolate;
}

.product-card .product-content,
.product-card.product-card-compact .product-content {
  padding-bottom: 14px;
}

@media (max-width: 768px) {
  .product-card .product-title-shell,
  .product-card.product-card-compact .product-title-shell {
    width: calc(100% - 16px);
    min-height: 66px;
    margin: 0 auto 6px;
    padding: 6px 9px 7px;
    border-radius: 14px;
  }

  .product-card .product-title-kicker,
  .product-card.product-card-compact .product-title-kicker {
    font-size: 0.46rem;
    padding: 2px 7px;
  }

  .product-card .product-title,
  .product-card.product-card-compact .product-title {
    font-size: var(--product-title-size, 0.66rem);
  }
}

.vini-bot-widget {
  position: fixed;
  right: 24px;
  bottom: 112px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform .25s ease, opacity .25s ease;
}

.vini-bot-trigger {
  position: relative;
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.95), rgba(124, 58, 237, 0.92) 60%, rgba(15, 23, 42, 0.96));
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.8), 0 0 18px rgba(168, 85, 247, 0.5), 0 0 34px rgba(124, 58, 237, 0.34), 0 18px 40px rgba(91, 33, 182, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
  overflow: hidden;
  animation: viniBotFloat 3.4s ease-in-out infinite;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.vini-bot-trigger::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 52%, rgba(255, 255, 255, 0.08));
  opacity: .78;
  transition: opacity .22s ease;
}

.vini-bot-trigger:hover,
.vini-bot-trigger:focus-visible {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 0 4px rgba(216, 180, 254, 0.92), 0 0 24px rgba(192, 132, 252, 0.72), 0 0 42px rgba(124, 58, 237, 0.48), 0 24px 52px rgba(91, 33, 182, 0.42), 0 0 0 6px rgba(125, 211, 252, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  filter: saturate(1.12);
}

.vini-bot-trigger:hover::after,
.vini-bot-trigger:focus-visible::after {
  opacity: 1;
}

.vini-bot-trigger:active {
  transform: translateY(-1px) scale(.98);
}

.vini-bot-trigger-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.45), rgba(168, 85, 247, 0.16) 52%, transparent 70%);
  filter: blur(10px);
}

.vini-bot-trigger img,
.vini-bot-modal-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vini-bot-trigger img {
  position: absolute;
  inset: 0;
}

.vini-bot-trigger-fallback,
#viniBotModalLogoFallback {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 900;
  letter-spacing: .04em;
}

.vini-bot-widget-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: .8rem;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  transition: transform .22s ease, opacity .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.vini-bot-widget-hint:hover,
.vini-bot-widget-hint:focus-visible {
  transform: translateY(-2px);
  background: rgba(30, 41, 59, 0.92);
  border-color: rgba(125, 211, 252, 0.34);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.22);
}

.vini-bot-widget:hover .vini-bot-widget-hint,
.vini-bot-widget:focus-within .vini-bot-widget-hint {
  transform: translateY(-2px);
  background: rgba(30, 41, 59, 0.92);
  border-color: rgba(125, 211, 252, 0.34);
}

.vini-bot-modal-panel {
  max-width: 520px;
}

.vini-bot-modal-head {
  align-items: center;
}

.vini-bot-modal-title-shell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vini-bot-modal-logo-wrap {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  overflow: hidden;
  flex: 0 0 auto;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.2), rgba(124, 58, 237, 0.26));
  box-shadow: 0 10px 30px rgba(91, 33, 182, 0.22);
}

.vini-bot-modal-body {
  display: grid;
  gap: 16px;
}

.vini-bot-chat-log {
  min-height: 360px;
  max-height: 55vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-inline-end: 4px;
}

.vini-bot-message {
  display: flex;
  width: auto;
  max-width: 100%;
}

.vini-bot-message.is-user {
  align-self: flex-start;
  justify-content: flex-start;
}

.vini-bot-message.is-bot {
  align-self: flex-end;
  justify-content: flex-end;
}

.vini-bot-bubble {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  max-width: min(88%, 360px);
  box-sizing: border-box;
  flex: 0 0 auto;
  padding: 14px 16px;
  border-radius: 20px;
  white-space: pre-line;
  line-height: 1.85;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.vini-bot-message.is-user .vini-bubble,
.vini-bot-message.is-user .vini-bot-bubble {
  border-bottom-left-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vini-bot-message.is-bot .vini-bot-bubble {
  border-bottom-right-radius: 8px;
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.18), rgba(124, 58, 237, 0.24));
  border: 1px solid rgba(125, 211, 252, 0.22);
}

.vini-bot-message.is-pending .vini-bot-bubble {
  border-bottom-right-radius: 8px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.72), rgba(59, 130, 246, 0.14));
  border: 1px dashed rgba(125, 211, 252, 0.28);
}

.vini-bot-composer {
  display: grid;
  gap: 12px;
}

.vini-bot-composer .field-textarea {
  min-height: 92px;
  resize: vertical;
}

.vini-bot-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vini-bot-composer-actions small {
  color: var(--text-secondary);
}

.vini-bot-source-strip {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.vini-bot-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.vini-bot-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vini-bot-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: viniBotTyping 1.15s ease-in-out infinite;
}

.vini-bot-typing-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.vini-bot-typing-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes viniBotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes viniBotTyping {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .vini-bot-widget {
    right: 16px;
    bottom: 96px;
    gap: 8px;
  }

  .vini-bot-trigger {
    width: 68px;
    height: 68px;
  }

  .vini-bot-widget-hint {
    font-size: .74rem;
    min-height: 28px;
    padding: 5px 10px;
  }

  .vini-bot-chat-log {
    min-height: 300px;
    max-height: 48vh;
  }

  .vini-bot-composer-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.auction-action.is-disabled {
  opacity: 0.62;
  filter: grayscale(0.12);
  cursor: not-allowed;
}

.auction-action.is-active-auction {
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(250, 204, 21, 0.18)),
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border-color: rgba(251, 191, 36, 0.38);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.16), 0 18px 42px rgba(245, 158, 11, 0.22);
  animation: auctionPulse 1.8s ease-in-out infinite;
}

.auction-buy-card,
.auction-layout,
.auction-empty-shell {
  display: grid;
  gap: 12px;
}

.auction-loading-shell {
  display: grid;
  gap: 18px;
}

.auction-layout {
  grid-template-columns: 1fr;
}

.auction-hero-card,
.auction-status-panel,
.auction-archive-panel {
  border: 1px solid rgba(251, 191, 36, 0.18);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(124, 58, 237, 0.05));
}

.auction-archive-panel {
  margin-top: 10px;
}

.auction-hero-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
  gap: 20px;
  overflow: hidden;
}

.auction-hero-card.product-card {
  cursor: default;
}

.auction-hero-card.product-card:hover {
  transform: translateY(-4px);
}

.auction-hero-card-live {
  position: relative;
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow:
    0 0 0 1px rgba(253, 224, 71, 0.32),
    0 0 0 6px rgba(245, 158, 11, 0.05),
    0 22px 58px rgba(2, 6, 23, 0.42),
    0 0 34px rgba(245, 158, 11, 0.18);
  animation: auctionHeroGlow 4.8s ease-in-out infinite;
}

.auction-hero-card-live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 196, 0.18);
}

.auction-hero-media {
  display: grid;
  align-content: start;
}

.auction-hero-copy,
.auction-bid-panel {
  display: grid;
  gap: 14px;
}

.auction-card-head {
  align-items: start;
  justify-content: center;
  text-align: center;
}

.auction-card-head > div {
  display: flex;
  flex-wrap: wrap;
  justify-items: center;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.auction-card-head .card-head {
  margin: 0;
}

.auction-card-head .eyebrow {
  text-align: center;
}

.auction-card-head .status-badge {
  margin-inline: auto;
  justify-self: center;
  text-align: center;
  min-width: 148px;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.18), 0 0 20px rgba(16, 185, 129, 0.18);
}

.auction-day-badge,
.auction-live-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
}

.auction-day-badge {
  background:
    linear-gradient(145deg, rgba(18, 24, 42, 0.94), rgba(41, 24, 74, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e9d5ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 30px rgba(2, 6, 23, 0.18);
}

.auction-live-badge {
  text-align: center !important;
}

.auction-live-badge.status-badge.approved {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center !important;
}

.auction-feature-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(217, 119, 6, 0.18));
  border: 1px solid rgba(251, 191, 36, 0.26);
  color: #fde68a;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.14);
}

.auction-product-title-shell {
  min-height: 94px;
  padding: 12px 14px;
}

.auction-product-title-shell .product-title {
  font-size: clamp(1.02rem, 0.94rem + 0.4vw, 1.34rem) !important;
  font-weight: 1000;
  line-height: 1.45;
  text-shadow: 0 2px 18px rgba(91, 33, 182, 0.16), 0 0 22px rgba(245, 158, 11, 0.08);
}

.auction-product-title-shell .product-title-text {
  white-space: normal;
  text-wrap: balance;
}

.auction-hero-topline {
  display: flex;
  justify-content: center;
}

.auction-hero-meta-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.auction-preview-meta {
  justify-content: center;
}

.auction-preview-meta .product-meta-badge,
.auction-inline-meta-badge {
  width: auto;
}

.auction-inline-meta-badge,
.auction-inline-product-code {
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.auction-inline-meta-badge {
  position: relative;
  border: 1px solid rgba(251, 191, 36, 0.26);
  background:
    radial-gradient(circle at top, rgba(251, 191, 36, 0.14), transparent 58%),
    linear-gradient(145deg, rgba(24, 18, 7, 0.9), rgba(42, 20, 68, 0.68));
  color: #fff8cc;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 196, 0.1),
    0 0 0 1px rgba(253, 224, 71, 0.06),
    0 14px 26px rgba(2, 6, 23, 0.18),
    0 0 20px rgba(245, 158, 11, 0.12);
}

.auction-inline-meta-badge .product-meta-badge-text {
  color: #fff8cc;
  font-weight: 900;
}

.auction-inline-product-code {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #dbeafe;
  white-space: nowrap;
}

.auction-price-chips,
.auction-archive-detail-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.auction-price-chips .product-meta-badge,
.auction-archive-detail-stats .product-meta-badge {
  min-width: 160px;
  justify-content: center;
  text-align: center;
}

.auction-price-chips .product-meta-badge {
  position: relative;
  min-width: 190px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(251, 191, 36, 0.34);
  background:
    radial-gradient(circle at top, rgba(251, 191, 36, 0.18), transparent 58%),
    linear-gradient(160deg, rgba(24, 18, 7, 0.92), rgba(42, 20, 68, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 196, 0.12),
    0 0 0 1px rgba(253, 224, 71, 0.08),
    0 18px 34px rgba(2, 6, 23, 0.24),
    0 0 24px rgba(245, 158, 11, 0.16);
}

.auction-price-chips .product-meta-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%, transparent 62%, rgba(251, 191, 36, 0.08));
}

.auction-price-chips .product-meta-badge-label {
  color: rgba(254, 240, 138, 0.92);
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.01em;
}

.auction-price-chips .product-meta-badge-value {
  color: #fff8cc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1.08rem;
  font-weight: 1000;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 16px rgba(251, 191, 36, 0.18),
    0 2px 14px rgba(255, 255, 255, 0.06);
}

.auction-price-chips .product-meta-badge-value::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #fde68a 0%, #f59e0b 72%);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.34);
  flex: 0 0 auto;
}

.auction-product-gallery {
  display: grid;
  gap: 14px;
  align-content: start;
}

.auction-product-main-image {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background:
    radial-gradient(circle at 18% 16%, rgba(251, 191, 36, 0.22), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(124, 58, 237, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(4, 7, 17, 0.98), rgba(13, 18, 35, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 248, 196, 0.08);
}

.auction-product-stage {
  cursor: zoom-in;
}

.auction-product-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.auction-product-stage:hover img,
.auction-product-stage:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.06);
}

.auction-gallery-counter {
  position: absolute;
  inset-inline-end: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(4, 8, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.28);
}

.auction-product-thumbs {
  padding-bottom: 2px;
}

.auction-product-thumb {
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.16);
}

.auction-product-thumb.is-active,
.auction-product-thumb:hover,
.auction-product-thumb:focus-visible {
  border-color: rgba(251, 191, 36, 0.62);
  box-shadow: 0 0 0 1px rgba(253, 224, 71, 0.2), 0 14px 26px rgba(245, 158, 11, 0.18);
}

.auction-hero-meta {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.9;
}

.auction-timer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(251, 191, 36, 0.18);
}

.auction-timer-box span {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fde68a;
}

.auction-bid-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  justify-content: center;
}

.auction-bid-stats span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: 18px;
  text-align: center;
  color: #ede9fe;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, rgba(18, 24, 42, 0.92), rgba(41, 24, 74, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 30px rgba(2, 6, 23, 0.18);
}

#auctionBidForm .field-group {
  gap: 12px;
}

#auctionBidForm .field-group span {
  color: #fef3c7;
  font-weight: 800;
}

#auctionBidForm .field-input {
  border-color: rgba(251, 191, 36, 0.34);
  background:
    linear-gradient(160deg, rgba(20, 15, 8, 0.92), rgba(33, 18, 54, 0.72));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 196, 0.08),
    0 0 0 1px rgba(245, 158, 11, 0.08);
}

#auctionBidForm .field-input::placeholder {
  color: rgba(254, 240, 138, 0.52);
}

#auctionBidForm .field-input:focus {
  border-color: rgba(251, 191, 36, 0.74);
  box-shadow:
    0 0 0 4px rgba(245, 158, 11, 0.14),
    0 0 28px rgba(251, 191, 36, 0.14);
}

#auctionBidForm .form-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

#auctionBidForm .auction-bid-actions {
  justify-content: center;
}

#auctionBidForm .auction-bid-submit {
  width: min(100%, 240px);
  min-width: 220px;
  justify-content: center;
}

#auctionBidForm .btn[type="submit"] {
  background: linear-gradient(135deg, #f59e0b, #facc15 52%, #d97706);
  border-color: rgba(254, 240, 138, 0.7);
  color: #241300;
  box-shadow:
    0 0 0 1px rgba(254, 240, 138, 0.36),
    0 0 18px rgba(245, 158, 11, 0.34),
    0 0 36px rgba(250, 204, 21, 0.22);
  text-shadow: none;
}

#auctionBidForm .btn[type="submit"]:hover,
#auctionBidForm .btn[type="submit"]:focus-visible {
  filter: brightness(1.04);
  box-shadow:
    0 0 0 1px rgba(254, 240, 138, 0.48),
    0 0 24px rgba(245, 158, 11, 0.42),
    0 0 44px rgba(250, 204, 21, 0.26);
}

.auction-account-card-shell {
  margin-top: 18px;
}

.auction-card-purchase-widget {
  display: grid;
  gap: 14px;
}

.auction-card-purchase-widget-profile {
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 40%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.88), rgba(41, 24, 74, 0.72));
  border: 1px solid rgba(251, 191, 36, 0.22);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.18);
}

.auction-card-purchase-widget-wallet {
  margin-top: 16px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auction-card-inline-form {
  display: grid;
  gap: 12px;
}

.auction-card-inline-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auction-card-inline-form .btn {
  justify-content: center;
}

.auction-archive-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.auction-action.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

.auction-archive-card {
  display: grid;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
  min-width: 0;
  min-height: 100%;
}

.auction-archive-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.auction-archive-card:hover,
.auction-archive-card:focus-visible,
.auction-archive-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.34);
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(124, 58, 237, 0.06));
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.22), 0 0 0 1px rgba(253, 224, 71, 0.14);
}

.auction-archive-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.auction-archive-copy strong {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-archive-copy span {
  color: var(--text-secondary);
  font-size: 0.66rem;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-archive-detail {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: rgba(4, 8, 18, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auction-archive-detail-media {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.26);
}

.auction-archive-detail-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.auction-archive-detail-copy {
  display: grid;
  gap: 12px;
}

.auction-archive-result {
  margin: 0;
  text-align: center;
  color: #fde68a;
  font-weight: 800;
}

.auction-archive-detail .product-title-shell,
.auction-hero-card .product-title-shell {
  width: 100%;
}

.auction-hero-card .product-title-kicker {
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.16);
  color: #fde68a;
}

.auction-hero-card .product-code {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dbeafe;
}

button.auction-archive-card,
button.auction-archive-detail-media {
  font: inherit;
  color: inherit;
}

button.auction-archive-card:focus-visible,
button.auction-archive-detail-media:focus-visible,
button.auction-product-thumb:focus-visible,
button.auction-product-stage:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(253, 224, 71, 0.34);
}

@keyframes auctionPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.16), 0 18px 42px rgba(245, 158, 11, 0.18);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.26), 0 22px 52px rgba(245, 158, 11, 0.28);
  }
}

@keyframes auctionHeroGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(253, 224, 71, 0.3),
      0 0 0 6px rgba(245, 158, 11, 0.04),
      0 22px 58px rgba(2, 6, 23, 0.42),
      0 0 28px rgba(245, 158, 11, 0.16);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(253, 224, 71, 0.45),
      0 0 0 7px rgba(245, 158, 11, 0.07),
      0 26px 62px rgba(2, 6, 23, 0.46),
      0 0 42px rgba(245, 158, 11, 0.24);
  }
}

@media (max-width: 980px) {
  .auction-layout,
  .auction-hero-card {
    grid-template-columns: 1fr;
  }

  .auction-archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .auction-archive-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #auctionModal {
    padding: 0;
    align-items: stretch;
  }

  #auctionModal .modal-panel {
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  #auctionModal .modal-body {
    padding: 14px 12px 24px;
  }

  #auctionModal .modal-head {
    padding-top: 26px;
    padding-bottom: 12px;
  }

  #auctionModal .modal-head::before {
    min-width: 160px;
    max-width: calc(100% - 92px);
    font-size: 0.78rem;
  }

  .auction-card-head > div,
  .auction-hero-meta-line {
    flex-direction: column;
  }

  .auction-layout.is-compact {
    gap: 14px;
  }

  .auction-hero-card.is-compact {
    padding: 12px;
    gap: 12px;
    animation: none;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.2);
  }

  .auction-hero-card-live.is-compact::after {
    display: none;
  }

  .auction-product-gallery.is-compact {
    gap: 10px;
  }

  .auction-product-main-image {
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 248, 196, 0.05);
  }

  .auction-product-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .auction-product-thumb,
  .auction-product-thumb:hover,
  .auction-product-thumb:focus-visible,
  .auction-product-thumb.is-active {
    box-shadow: none;
    transform: none;
  }

  .auction-mobile-gallery-note,
  .auction-archive-mobile-note {
    text-align: center;
  }

  .auction-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .auction-price-chips .product-meta-badge,
  .auction-archive-detail-stats .product-meta-badge {
    min-width: calc(50% - 5px);
    padding: 12px 10px;
    box-shadow:
      inset 0 1px 0 rgba(255, 248, 196, 0.08),
      0 10px 20px rgba(2, 6, 23, 0.16);
  }

  #auctionBidForm .form-actions {
    justify-content: center;
  }

  #auctionBidForm .auction-bid-submit,
  .auction-bid-stats span,
  .auction-price-chips .product-meta-badge {
    min-width: 100%;
  }

  .auction-bid-stats span {
    min-height: 48px;
    padding: 10px 12px;
    box-shadow: none;
  }

  .auction-timer-box {
    padding: 12px 14px;
  }

  .auction-product-title-shell {
    min-height: 0;
    padding: 8px 6px;
  }

  .auction-archive-card {
    padding: 6px;
    border-radius: 14px;
    box-shadow: none;
    transition: border-color var(--transition), background var(--transition);
  }

  .auction-archive-card:hover,
  .auction-archive-card:focus-visible,
  .auction-archive-card.is-active {
    transform: none;
    box-shadow: none;
  }

  .auction-archive-card.is-compact .auction-archive-copy strong {
    font-size: 0.7rem;
  }

  .auction-archive-card.is-compact .auction-archive-copy span {
    font-size: 0.62rem;
  }

  .auction-archive-detail.is-compact {
    margin-top: 14px;
    padding: 12px;
    gap: 12px;
    border-radius: 18px;
  }

  .auction-archive-detail.is-compact .auction-archive-detail-media {
    box-shadow: none;
  }

  .auction-feature-kicker,
  .auction-day-badge,
  .auction-inline-meta-badge,
  .auction-inline-product-code {
    box-shadow: none;
  }
}

.auction-product-picker-shell {
  display: grid;
  gap: 16px;
}

.auction-product-picker-grid {
  align-items: stretch;
}

.auction-product-picker-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.auction-product-picker-card.is-selected {
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2), 0 18px 40px rgba(245, 158, 11, 0.14);
}

.auction-product-picker-card .product-card {
  min-height: 100%;
}

.auction-product-picker-trigger {
  width: 100%;
  justify-content: center;
}

.auction-selected-product-card,
.auction-selected-product-placeholder {
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  #accountModal .account-nav {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 2px;
    margin-inline: -2px;
  }

  #accountModal .account-nav::-webkit-scrollbar {
    display: none;
  }

  #accountModal .account-tab,
  #accountModal .logout-tab {
    flex: 0 0 88px;
    scroll-snap-align: center;
  }

  #accountModal .account-tab.is-active,
  #accountModal .logout-tab.is-active {
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.18);
  }

  #accountModal .account-content {
    display: grid;
    gap: 12px;
  }

  #accountModal .panel-heading,
  #accountModal .card-head,
  #accountModal .ticket-item-header,
  #accountModal .message-item-header,
  #accountModal .project-card-head,
  #accountModal .sales-document-head {
    align-items: flex-start;
    text-align: right;
  }

  #accountModal .panel-heading .form-actions,
  #accountModal .card-head .form-actions,
  #accountModal .ticket-item-header .form-actions,
  #accountModal .message-item-header .form-actions,
  #accountModal .project-card-head-actions {
    width: 100%;
    justify-content: stretch;
  }

  #accountModal [data-account-panel="profile"] .ticket-compose,
  #accountModal [data-account-panel="wallet"] .wallet-action-primary,
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary,
  #accountModal [data-account-panel="orders"] .order-item,
  #accountModal [data-account-panel="mailbox"] .message-item,
  #accountModal [data-account-panel="tickets"] .ticket-item,
  #accountModal [data-account-panel="creator"] .content-card,
  #accountModal [data-account-panel="projects"] .content-card,
  #accountModal [data-account-panel="faq"] .content-card {
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.18);
    border-color: rgba(216, 180, 254, 0.12);
  }

  #accountModal [data-account-panel="profile"] .account-grid,
  #accountModal [data-account-panel="wallet"] .wallet-summary-grid,
  #accountModal [data-account-panel="projects"] .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #accountModal [data-account-panel="mailbox"] .message-list,
  #accountModal [data-account-panel="tickets"] .ticket-list,
  #accountModal [data-account-panel="projects"] .message-stack,
  #accountModal [data-account-panel="creator"] .message-stack,
  #accountModal [data-account-panel="faq"] .faq-list {
    display: grid;
    gap: 10px;
  }

  #accountModal [data-account-panel="mailbox"] .message-item,
  #accountModal [data-account-panel="tickets"] .ticket-item {
    border: 1px solid rgba(216, 180, 254, 0.12);
    background: linear-gradient(160deg, rgba(10, 18, 32, 0.84), rgba(19, 26, 45, 0.74));
  }

  #accountModal [data-account-panel="mailbox"] .mailbox-content,
  #accountModal [data-account-panel="tickets"] .ticket-thread,
  #accountModal [data-account-panel="tickets"] .ticket-reply-box {
    padding: 12px;
    border-radius: 16px;
    margin-top: 10px;
  }

  #accountModal [data-account-panel="mailbox"] .message-item-header > div:first-child,
  #accountModal [data-account-panel="tickets"] .ticket-item-header > div:first-child {
    min-width: 0;
  }

  #accountModal [data-account-panel="mailbox"] .message-item-header h4,
  #accountModal [data-account-panel="tickets"] .ticket-item-header h4,
  #accountModal [data-account-panel="faq"] .faq-card h4 {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  #accountModal [data-account-panel="mailbox"] .message-item-header p,
  #accountModal [data-account-panel="tickets"] .ticket-item-header p {
    margin: 4px 0 0;
    font-size: 0.72rem;
  }

  #accountModal [data-account-panel="creator"] .panel-grid.two-columns,
  #accountModal [data-account-panel="projects"] .panel-grid.two-columns,
  #accountModal [data-account-panel="faq"] .panel-grid.two-columns {
    grid-template-columns: 1fr;
  }

  #accountModal [data-account-panel="creator"] .creator-profile-grid,
  #accountModal [data-account-panel="creator"] .creator-approved-grid,
  #accountModal [data-account-panel="creator"] .field-grid,
  #accountModal [data-account-panel="projects"] .field-grid,
  #accountModal [data-account-panel="projects"] .project-card-grid {
    grid-template-columns: 1fr;
  }

  #accountModal [data-account-panel="creator"] .creator-slot-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #accountModal [data-account-panel="creator"] .preview-card-media {
    min-height: 150px;
  }

  #accountModal [data-account-panel="creator"] .preview-card-actions,
  #accountModal [data-account-panel="creator"] .form-actions,
  #accountModal [data-account-panel="projects"] .form-actions,
  #accountModal [data-account-panel="faq"] .form-actions {
    gap: 8px;
  }

  #accountModal [data-account-panel="creator"] .form-actions > *,
  #accountModal [data-account-panel="projects"] .form-actions > *,
  #accountModal [data-account-panel="faq"] .form-actions > *,
  #accountModal [data-account-panel="mailbox"] .form-actions > *,
  #accountModal [data-account-panel="tickets"] .form-actions > * {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

  #accountModal [data-account-panel="projects"] .project-card {
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(10, 18, 32, 0.84), rgba(19, 26, 45, 0.74));
    border: 1px solid rgba(216, 180, 254, 0.12);
  }

  #accountModal [data-account-panel="projects"] .project-card-head {
    display: grid;
    gap: 10px;
    margin-bottom: 0;
  }

  #accountModal [data-account-panel="projects"] .project-card-head > div:first-child,
  #accountModal [data-account-panel="projects"] .project-card-body {
    min-width: 0;
  }

  #accountModal [data-account-panel="projects"] .project-card-head h2,
  #accountModal [data-account-panel="projects"] .project-card-preview p,
  #accountModal [data-account-panel="projects"] .project-card .helper-text {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #accountModal [data-account-panel="projects"] .project-card-head-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #accountModal [data-account-panel="creator"] .status-badge,
  #accountModal [data-account-panel="projects"] .status-badge,
  #accountModal [data-account-panel="creator"] .form-actions .status-badge,
  #accountModal [data-account-panel="projects"] .form-actions .status-badge {
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    justify-content: center;
    text-align: center;
    align-self: center;
    padding-inline: 14px;
  }

  #accountModal [data-account-panel="projects"] .project-card-head-actions .btn,
  #accountModal [data-account-panel="projects"] .project-card-head-actions .status-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  #accountModal [data-account-panel="projects"] .project-card-head-actions .status-badge {
    width: fit-content;
  }

  #accountModal [data-account-panel="faq"] .faq-audience-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #accountModal [data-account-panel="faq"] .faq-audience-chip {
    width: 100%;
    justify-content: center;
  }

  #projectChatThreadModal .project-message-card {
    gap: 6px;
  }

  #projectChatThreadModal .project-message-meta {
    width: 100%;
    max-width: 100%;
    gap: 6px;
  }

  #projectChatThreadModal .project-message-statuses {
    width: 100%;
    justify-content: flex-start;
  }

  #projectChatThreadModal .project-message-bubble {
    width: 100%;
    padding: 12px 14px;
    border-radius: 18px 18px 18px 10px;
  }

  #projectChatThreadModal .project-message-card.is-own .project-message-bubble {
    border-radius: 18px 18px 10px 18px;
  }

  #projectChatThreadModal .project-chat-reply-draft {
    padding: 8px 10px;
    border-radius: 14px;
  }

  #projectChatThreadModal .ticket-attachments {
    gap: 8px;
  }

  #projectChatThreadModal .ticket-attachment-pill {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 576px) {
  #accountModal .account-tab,
  #accountModal .logout-tab {
    flex-basis: 82px;
  }

  #accountModal [data-account-panel="profile"] .account-grid,
  #accountModal [data-account-panel="wallet"] .wallet-summary-grid,
  #accountModal [data-account-panel="projects"] .account-grid,
  #accountModal [data-account-panel="orders"] .order-item-meta {
    grid-template-columns: 1fr;
  }

  #accountModal [data-account-panel="profile"] .ticket-compose,
  #accountModal [data-account-panel="wallet"] .wallet-action-primary,
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary,
  #accountModal [data-account-panel="mailbox"] .message-item,
  #accountModal [data-account-panel="tickets"] .ticket-item,
  #accountModal [data-account-panel="projects"] .project-card,
  #accountModal [data-account-panel="creator"] .content-card,
  #accountModal [data-account-panel="faq"] .faq-card {
    padding: 11px;
    border-radius: 16px;
  }

  #accountModal [data-account-panel="mailbox"] .message-item-header,
  #accountModal [data-account-panel="tickets"] .ticket-item-header,
  #accountModal [data-account-panel="projects"] .project-card-head {
    gap: 8px;
  }

  #accountModal [data-account-panel="mailbox"] .form-actions,
  #accountModal [data-account-panel="tickets"] .form-actions,
  #accountModal [data-account-panel="projects"] .project-card-head-actions {
    grid-template-columns: 1fr;
  }

  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .form-actions > .btn-primary {
    min-width: 136px;
    max-width: 200px;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions {
    max-width: 100%;
  }

  #accountModal [data-account-panel="orders"] .order-return-note {
    gap: 5px;
  }

  #accountModal [data-account-panel="creator"] .stepper {
    grid-template-columns: 1fr;
  }

  #accountModal [data-account-panel="faq"] .faq-audience-switcher {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #accountModal .modal-body {
    padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
  }

  #accountModal .account-layout {
    gap: 16px;
  }

  #accountModal .account-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 0 0 6px;
    margin: 0;
    scroll-snap-type: none;
    scrollbar-width: auto;
  }

  #accountModal .account-nav::-webkit-scrollbar {
    display: none;
  }

  #accountModal .account-tab,
  #accountModal .logout-tab {
    flex: none;
    width: 100%;
    min-height: 64px;
    padding: 10px 6px;
    border-radius: 18px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    scroll-snap-align: none;
  }

  #accountModal .account-tab .account-tab-label,
  #accountModal .logout-tab .account-tab-label {
    font-size: 0.75rem;
    line-height: 1.45;
  }

  #accountModal .account-tab-badge-slot {
    top: 6px;
    inset-inline-start: 6px;
  }

  #accountModal .account-content {
    display: block;
  }

  #accountModal .account-panel.is-active {
    display: grid;
    gap: 14px;
  }

  #accountModal .panel-grid,
  #accountModal .message-list,
  #accountModal .ticket-list,
  #accountModal .faq-list {
    gap: 12px;
  }

  #accountModal .content-card,
  #accountModal .account-metric,
  #accountModal .info-card,
  #accountModal .copy-field,
  #accountModal .order-item,
  #accountModal .order-detail,
  #accountModal .ticket-compose,
  #accountModal .message-item,
  #accountModal .ticket-item,
  #accountModal .wallet-action-primary,
  #accountModal .wallet-action-secondary,
  #accountModal .wallet-callout,
  #accountModal .order-delivery-card,
  #accountModal .order-delivery-item-card,
  #accountModal .order-download-card,
  #accountModal .order-guide-card,
  #accountModal .order-password-box,
  #accountModal .mailbox-content,
  #accountModal .ticket-thread,
  #accountModal .ticket-reply-box {
    padding: 14px;
    border-radius: 18px;
  }

  #accountModal .panel-heading,
  #accountModal .card-head,
  #accountModal .message-item-header,
  #accountModal .ticket-item-header,
  #accountModal .sales-document-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    text-align: right;
    margin-bottom: 0;
  }

  #accountModal .panel-heading .form-actions,
  #accountModal .card-head .form-actions,
  #accountModal .message-item-header .form-actions,
  #accountModal .ticket-item-header .form-actions,
  #accountModal .ticket-compose .form-actions,
  #accountModal .order-detail .form-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: stretch;
  }

  #accountModal .panel-heading .form-actions > *,
  #accountModal .card-head .form-actions > *,
  #accountModal .message-item-header .form-actions > *,
  #accountModal .ticket-item-header .form-actions > *,
  #accountModal .ticket-compose .form-actions > *,
  #accountModal .order-detail .form-actions > * {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  #accountModal .status-badge {
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  #accountModal [data-account-panel="profile"] .panel-heading {
    text-align: center;
    justify-items: center;
  }

  #accountModal [data-account-panel="profile"].account-panel.is-active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
  }

  #accountModal [data-account-panel="profile"] > .panel-heading,
  #accountModal [data-account-panel="profile"] > .account-grid {
    grid-column: 1 / -1;
  }

  #accountModal [data-account-panel="profile"] > .auction-account-card-shell,
  #accountModal [data-account-panel="profile"] > .ticket-compose {
    grid-column: 1 / -1;
  }

  #accountModal [data-account-panel="profile"] .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #accountModal [data-account-panel="profile"] .account-metric,
  #accountModal [data-account-panel="profile"] .copy-field {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    min-height: 116px;
    text-align: center;
  }

  #accountModal [data-account-panel="profile"] .account-metric-copy,
  #accountModal [data-account-panel="profile"] .account-metric-copy > div {
    justify-items: center;
    text-align: center;
    width: 100%;
  }

  #accountModal [data-account-panel="profile"] .copy-field button,
  #accountModal [data-account-panel="profile"] .account-metric-copy button {
    width: 40px;
    margin-inline-start: 0;
  }

  #accountModal [data-account-panel="profile"] .ticket-compose,
  #accountModal [data-account-panel="profile"] .auction-card-purchase-widget-profile {
    text-align: right;
    justify-items: stretch;
    gap: 10px;
    min-width: 0;
    height: 100%;
  }

  #accountModal [data-account-panel="profile"] .ticket-compose .form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  #accountModal [data-account-panel="profile"] .ticket-compose .form-actions > * {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  #accountModal [data-account-panel="profile"] .auction-account-card-shell {
    margin-top: 0;
    min-width: 0;
  }

  #accountModal [data-account-panel="profile"] .auction-card-purchase-widget-profile .card-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: right;
  }

  #accountModal [data-account-panel="profile"] .auction-card-inline-form .form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  #accountModal [data-account-panel="profile"] .auction-card-inline-form .form-actions > * {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  #accountModal [data-account-panel="wallet"] .wallet-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-quick-grid,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid,
  #accountModal [data-account-panel="wallet"] .panel-grid.two-columns,
  #accountModal [data-account-panel="wallet"] .wallet-notice.compact-wallet-notice,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .field-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary,
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .content-card,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .info-card {
    text-align: right;
  }

  #accountModal [data-account-panel="wallet"] .card-head,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .card-head,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .info-card .card-head {
    text-align: right;
    justify-content: space-between;
    align-items: flex-start;
  }

  #accountModal [data-account-panel="wallet"] .wallet-compact-metric {
    min-height: 98px;
    text-align: center;
    justify-items: center;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .form-actions,
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary .form-actions,
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .form-actions,
  #accountModal [data-account-panel="wallet"] .panel-heading .form-actions {
    max-width: 100%;
    margin-inline: 0;
  }

  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .form-actions {
    justify-content: center;
  }

  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .form-actions > .btn-primary {
    flex: 0 1 auto;
    width: auto;
    min-width: 156px;
    max-width: 220px;
    margin-inline: auto;
  }

  #accountModal [data-account-panel="wallet"] .wallet-action-primary .form-actions > [data-action="open-wallet"] {
    flex: 0 1 auto;
    width: auto;
    min-width: 156px;
    max-width: 220px;
    margin-inline: auto;
  }

  #accountModal [data-account-panel="wallet"] .panel-heading .form-actions > [data-action="open-wallet"],
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary .form-actions > [data-action="open-wallet"],
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .form-actions > [data-action="open-wallet"] {
    flex: 0 1 auto;
    width: auto;
    min-width: 156px;
    max-width: 220px;
    margin-inline: auto;
  }

  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .form-actions > .btn:not(.btn-primary) {
    flex: 1 1 100%;
    width: 100%;
  }

  #accountModal [data-account-panel="orders"] .order-list {
    display: grid;
    gap: 12px;
  }

  #accountModal [data-account-panel="orders"] .order-item {
    gap: 10px;
    text-align: center;
  }

  #accountModal [data-account-panel="orders"] .order-item-header {
    display: grid;
    gap: 10px;
    justify-items: center;
  }

  #accountModal [data-account-panel="orders"] .order-item-header > div:first-child {
    width: 100%;
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
  }

  #accountModal [data-account-panel="orders"] .order-item-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  #accountModal [data-account-panel="orders"] .order-item-meta .meta-chip {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
    align-items: stretch;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions > .status-badge {
    grid-column: 1 / -1;
    margin-inline: auto;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions > [data-action="open-return-modal"],
  #accountModal [data-account-panel="orders"] .order-header-actions > [data-action="cancel-return-request"] {
    order: 1;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions > [data-action="toggle-order"] {
    order: 2;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions > [data-action="open-return-tracking"] {
    order: 3;
    grid-column: 1 / -1;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions > .order-return-timer {
    grid-column: 1 / -1;
    order: 4;
    justify-content: center;
    margin-inline: auto;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions > * {
    width: 100%;
    min-width: 0;
  }

  #accountModal [data-account-panel="orders"] .order-return-note {
    display: none;
  }

  #accountModal [data-account-panel="orders"] .order-detail,
  #accountModal [data-account-panel="orders"] .order-detail .message-stack {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: right;
  }

  #accountModal [data-account-panel="orders"] .order-detail .form-actions > * {
    flex: 1 1 calc(50% - 4px);
  }

  #accountModal [data-account-panel="orders"] .order-delivery-grid,
  #accountModal [data-account-panel="orders"] .order-delivery-item-head {
    grid-template-columns: 1fr;
  }

  #accountModal [data-account-panel="orders"] .order-delivery-item-head {
    justify-items: center;
    text-align: center;
    gap: 10px;
  }

  #accountModal [data-account-panel="orders"] .order-delivery-item-thumb {
    width: 72px;
    height: 72px;
  }

  #accountModal [data-account-panel="orders"] .order-delivery-item-copy {
    justify-items: center;
    text-align: center;
  }

  #accountModal [data-account-panel="favorites"] .products-grid.account-favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #accountModal [data-account-panel="creator"] .panel-grid.two-columns,
  #accountModal [data-account-panel="creator"] .creator-profile-grid,
  #accountModal [data-account-panel="creator"] .creator-approved-grid,
  #accountModal [data-account-panel="creator"] .field-grid,
  #accountModal [data-account-panel="creator"] .creator-slot-grid,
  #accountModal [data-account-panel="projects"] .panel-grid.two-columns,
  #accountModal [data-account-panel="projects"] .field-grid,
  #accountModal [data-account-panel="projects"] .project-card-grid,
  #accountModal [data-account-panel="faq"] .faq-audience-switcher {
    grid-template-columns: 1fr;
  }

  #accountModal [data-account-panel="creator"] .preview-card-media {
    min-height: 150px;
  }

  #accountModal [data-account-panel="creator"] .form-actions,
  #accountModal [data-account-panel="projects"] .form-actions,
  #accountModal [data-account-panel="mailbox"] .form-actions,
  #accountModal [data-account-panel="tickets"] .form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  #accountModal [data-account-panel="creator"] .form-actions > *,
  #accountModal [data-account-panel="projects"] .form-actions > *,
  #accountModal [data-account-panel="mailbox"] .form-actions > *,
  #accountModal [data-account-panel="tickets"] .form-actions > * {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  #accountModal [data-account-panel="creator"] .status-badge,
  #accountModal [data-account-panel="projects"] .status-badge {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    justify-content: center;
    text-align: center;
    padding-inline: 14px;
  }

  #accountModal [data-account-panel="projects"] .project-card {
    gap: 12px;
    text-align: right;
  }

  #accountModal [data-account-panel="projects"] .project-card-head {
    display: grid;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 0;
  }

  #accountModal [data-account-panel="projects"] .project-card-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  #accountModal [data-account-panel="projects"] .project-card-head-actions .status-badge {
    flex: 0 0 auto;
    width: auto;
  }

  #accountModal [data-account-panel="projects"] .project-card-head-actions .btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  #accountModal [data-account-panel="projects"] .project-card-preview {
    gap: 10px;
  }

  #accountModal [data-account-panel="mailbox"] .message-item,
  #accountModal [data-account-panel="tickets"] .ticket-item {
    text-align: right;
  }

  #accountModal [data-account-panel="mailbox"] .message-item-header > div:first-child,
  #accountModal [data-account-panel="tickets"] .ticket-item-header > div:first-child {
    width: 100%;
    min-width: 0;
  }

  #accountModal [data-account-panel="faq"] .faq-audience-chip {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  #accountModal .modal-body {
    padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
  }

  #accountModal .account-tab,
  #accountModal .logout-tab {
    flex-basis: auto;
    min-height: 64px;
    border-radius: 16px;
  }

  #accountModal [data-account-panel="wallet"] .wallet-summary-grid,
  #accountModal [data-account-panel="orders"] .order-item-meta,
  #accountModal [data-account-panel="favorites"] .products-grid.account-favorites-grid {
    grid-template-columns: 1fr;
  }

  #accountModal .account-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #accountModal [data-account-panel="profile"].account-panel.is-active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #accountModal [data-account-panel="profile"] > .panel-heading,
  #accountModal [data-account-panel="profile"] > .account-grid {
    grid-column: 1 / -1;
  }

  #accountModal [data-account-panel="profile"] .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #accountModal .content-card,
  #accountModal .account-metric,
  #accountModal .info-card,
  #accountModal .copy-field,
  #accountModal .order-item,
  #accountModal .order-detail,
  #accountModal .ticket-compose,
  #accountModal .message-item,
  #accountModal .ticket-item,
  #accountModal .wallet-action-primary,
  #accountModal .wallet-action-secondary,
  #accountModal .wallet-callout,
  #accountModal .order-delivery-card,
  #accountModal .order-delivery-item-card,
  #accountModal .order-download-card,
  #accountModal .order-guide-card,
  #accountModal .order-password-box,
  #accountModal .mailbox-content,
  #accountModal .ticket-thread,
  #accountModal .ticket-reply-box {
    padding: 12px;
    border-radius: 16px;
  }

  #accountModal .panel-heading .form-actions > *,
  #accountModal .card-head .form-actions > *,
  #accountModal .message-item-header .form-actions > *,
  #accountModal .ticket-item-header .form-actions > *,
  #accountModal .ticket-compose .form-actions > *,
  #accountModal .order-detail .form-actions > *,
  #accountModal [data-account-panel="creator"] .form-actions > *,
  #accountModal [data-account-panel="projects"] .form-actions > *,
  #accountModal [data-account-panel="mailbox"] .form-actions > *,
  #accountModal [data-account-panel="tickets"] .form-actions > *,
  #accountModal [data-account-panel="projects"] .project-card-head-actions .btn {
    flex: 1 1 100%;
  }

  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .form-actions > .btn-primary {
    min-width: 144px;
    max-width: 200px;
  }

  #accountModal [data-account-panel="wallet"] .panel-heading .form-actions > [data-action="open-wallet"],
  #accountModal [data-account-panel="wallet"] .wallet-action-primary .form-actions > [data-action="open-wallet"],
  #accountModal [data-account-panel="wallet"] .wallet-action-secondary .form-actions > [data-action="open-wallet"],
  #accountModal [data-account-panel="wallet"] .wallet-detail-grid .form-actions > [data-action="open-wallet"] {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 144px;
    max-width: 200px;
    width: auto;
    margin-inline: auto;
  }

  #accountModal [data-account-panel="profile"] .ticket-compose .form-actions,
  #accountModal [data-account-panel="profile"] .auction-card-inline-form .form-actions {
    grid-template-columns: 1fr;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions {
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  #accountModal [data-account-panel="wallet"] .wallet-summary-grid {
    grid-template-columns: 1fr;
  }

  #accountModal .account-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #accountModal [data-account-panel="profile"].account-panel.is-active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #accountModal [data-account-panel="profile"] .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .wallet-withdrawal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .wallet-withdrawal-actions > * {
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    flex: 1 1 100%;
    justify-content: center;
    align-items: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .wallet-withdrawal-submit,
  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm .wallet-withdrawal-charge,
  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm [data-panel-section="bankForm"],
  #accountModal [data-account-panel="wallet"] #withdrawalRequestForm [data-panel-section="releaseSchedule"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

#accountModal [data-account-panel="orders"] .order-item,
#accountModal [data-account-panel="orders"] .order-item-header,
#accountModal [data-account-panel="orders"] .order-item-header > div:first-child,
#accountModal [data-account-panel="orders"] .order-detail,
#accountModal [data-account-panel="orders"] .order-detail > div,
#accountModal [data-account-panel="orders"] .order-detail .info-card,
#accountModal [data-account-panel="orders"] .order-return-note {
  text-align: center;
}

#accountModal [data-account-panel="orders"] .order-item-header,
#accountModal [data-account-panel="orders"] .order-item-header > div:first-child,
#accountModal [data-account-panel="orders"] .order-detail > div {
  justify-items: center;
}

#accountModal [data-account-panel="orders"] .order-item-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "price date"
    "gift gift";
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  align-items: stretch;
  justify-items: stretch;
  direction: ltr;
}

#accountModal [data-account-panel="orders"] .order-item-meta .meta-chip {
  width: 100%;
  justify-content: center;
  text-align: center;
  direction: rtl;
}

#accountModal [data-account-panel="orders"] .order-item-meta .meta-chip-price {
  grid-area: price;
}

#accountModal [data-account-panel="orders"] .order-item-meta .meta-chip-date {
  grid-area: date;
}

#accountModal [data-account-panel="orders"] .order-item-meta .meta-chip-gift {
  grid-area: gift;
}

#accountModal [data-account-panel="orders"] .order-header-actions {
  justify-content: center;
}

#accountModal [data-account-panel="orders"] .order-header-actions > .status-badge,
#accountModal [data-account-panel="orders"] .order-return-note .status-badge {
  margin-inline: auto;
}

#accountModal [data-account-panel="orders"] .order-return-note small,
#accountModal [data-account-panel="orders"] .order-detail p,
#accountModal [data-account-panel="orders"] .order-detail strong,
#accountModal [data-account-panel="orders"] .order-item h4 {
  text-align: center;
}

#accountModal [data-account-panel="orders"] .order-detail {
  justify-items: center;
}

#accountModal [data-account-panel="orders"] .order-detail > div {
  display: grid;
  gap: 6px;
  width: 100%;
  justify-items: center;
  align-content: start;
}

#accountModal [data-account-panel="orders"] .order-detail .message-stack {
  width: 100%;
  justify-items: center;
}

#accountModal [data-account-panel="orders"] .order-detail .message-stack > * {
  width: 100%;
  text-align: center;
}

#accountModal [data-account-panel="orders"] .order-list {
  width: 100%;
  grid-template-columns: 1fr;
  justify-items: stretch;
}

#accountModal [data-account-panel="orders"] .order-item {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  justify-self: stretch;
}

@media (max-width: 430px) {
  #accountModal [data-account-panel="orders"] .order-item-meta {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "price date"
      "gift gift";
  }
}

@media (max-width: 768px) {
  #accountModal [data-account-panel="orders"] .order-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  #accountModal [data-account-panel="orders"] .order-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  #accountModal [data-account-panel="orders"] .order-item > * {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  #accountModal [data-account-panel="orders"] .order-item-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }

  #accountModal [data-account-panel="orders"] .order-item-header > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 8px;
  }

  #accountModal [data-account-panel="orders"] .order-item h4,
  #accountModal [data-account-panel="orders"] .order-item-meta,
  #accountModal [data-account-panel="orders"] .order-header-actions,
  #accountModal [data-account-panel="orders"] .order-detail,
  #accountModal [data-account-panel="orders"] .order-detail > div,
  #accountModal [data-account-panel="orders"] .order-detail .message-stack {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  #accountModal [data-account-panel="orders"] .order-item-meta {
    justify-items: stretch;
  }

  #accountModal [data-account-panel="orders"] .order-header-actions {
    max-width: none;
  }

  #accountModal [data-account-panel="projects"] .account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

html[lang="en"] #catalogHint,
html[lang="en"] .panel-heading,
html[lang="en"] .panel-heading .form-actions,
html[lang="en"] .account-metric,
html[lang="en"] .account-metric-copy,
html[lang="en"] .wallet-notice,
html[lang="en"] .wallet-callout,
html[lang="en"] .mailbox-content,
html[lang="en"] .ticket-item,
html[lang="en"] .ticket-compose,
html[lang="en"] .project-card,
html[lang="en"] .project-card-grid,
html[lang="en"] .project-card-preview,
html[lang="en"] .project-chat-sidebar-head,
html[lang="en"] .project-chat-list-content,
html[lang="en"] .project-chat-thread-title,
html[lang="en"] .project-chat-thread-title p,
html[lang="en"] .project-chat-fact,
html[lang="en"] .project-chat-inline-card,
html[lang="en"] .project-chat-final-warning,
html[lang="en"] .project-chat-final-timer,
html[lang="en"] .project-chat-pinned-main,
html[lang="en"] .project-message-reply-preview,
html[lang="en"] .order-delivery-copy,
html[lang="en"] .order-delivery-item-copy,
html[lang="en"] .order-guide-card,
html[lang="en"] .product-gift-shell,
html[lang="en"] .product-gift-highlight,
html[lang="en"] .product-gift-highlight div,
html[lang="en"] .faq-card,
html[lang="en"] .faq-answer,
html[lang="en"] .content-card,
html[lang="en"] .info-card {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .panel-heading,
html[lang="en"] .card-head,
html[lang="en"] .project-chat-thread-top,
html[lang="en"] .order-delivery-head,
html[lang="en"] .ticket-item-header,
html[lang="en"] .message-item-header,
html[lang="en"] .order-item-header {
  direction: ltr;
}

html[lang="en"] .panel-heading .form-actions,
html[lang="en"] .order-item-header .form-actions,
html[lang="en"] .ticket-compose .form-actions,
html[lang="en"] .wallet-action-primary .form-actions,
html[lang="en"] .project-chat-actions,
html[lang="en"] .project-card-head-actions,
html[lang="en"] .project-chat-thread-actions-bar,
html[lang="en"] .project-chat-final-delivery-meta,
html[lang="en"] .order-header-actions {
  justify-content: flex-start;
}

html[lang="en"] .project-chat-list-head,
html[lang="en"] .project-chat-list-meta,
html[lang="en"] .project-chat-thread-facts,
html[lang="en"] .wallet-summary-grid,
html[lang="en"] .account-grid,
html[lang="en"] .order-item-meta {
  direction: ltr;
}

html[lang="en"] .project-chat-pinned-strip,
html[lang="en"] .project-message-reply-preview {
  box-shadow: inset -3px 0 0 rgba(56, 189, 248, 0.65);
}

html[lang="en"] .field-input[type="file"]::file-selector-button,
html[lang="en"] .field-input[type="file"]::-webkit-file-upload-button {
  margin-inline-end: 0;
  margin-inline-start: 12px;
}

html[lang="en"] .copy-field button,
html[lang="en"] .account-metric-copy button {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

html[lang="en"] .project-chat-latest-btn {
  right: auto;
  left: 18px;
}
