@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap");

.storefront-app {
  --product-cover-ratio: 1672 / 941;
  background: #f3f6f9;
  color: var(--vz-body-color);
  font-family: "Nunito", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.storefront-app a {
  text-decoration: none;
}

.storefront-app :where(button, input, select, textarea) {
  font-family: inherit;
}

.storefront-container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.storefront-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--vz-border-color);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.storefront-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #212529;
  font-size: 19px;
  font-weight: 800;
}

.storefront-brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #405189;
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 -3px 0 #0ab39c;
}

.storefront-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.storefront-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 6px;
  color: #495057;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
}

.storefront-nav a:hover,
.storefront-nav a.is-active {
  background: rgba(64, 81, 137, 0.08);
  color: #405189;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(64, 81, 137, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
  padding: 3px;
}

.language-switcher button {
  min-width: 34px;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  background: #405189;
  color: #fff;
}

.mobile-nav-toggle,
.mobile-nav-close,
.mobile-nav-backdrop {
  display: none;
}

.primary-button,
.card-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #0ab39c;
  border-radius: 6px;
  background: #0ab39c;
  color: #fff;
  padding: 0 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.primary-button:hover,
.card-button:hover {
  border-color: #099885;
  background: #099885;
  color: #fff;
}

.secondary-button,
.outline-button,
.copy-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--vz-border-color);
  border-radius: 6px;
  background: var(--vz-secondary-bg);
  color: #405189;
  padding: 0 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.secondary-button:hover,
.outline-button:hover,
.copy-button:hover {
  border-color: #405189;
  background: rgba(64, 81, 137, 0.08);
  color: #405189;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--vz-border-color);
  border-radius: 6px;
  background: var(--vz-secondary-bg);
  color: #405189;
  cursor: pointer;
}

.store-badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: rgba(64, 81, 137, 0.08);
  color: #405189;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.store-badge.is-hot,
.store-badge.is-warning {
  background: rgba(247, 184, 75, 0.15);
  color: #b7791f;
}

.store-badge.is-category {
  background: rgba(10, 179, 156, 0.12);
  color: #0a8f7d;
}

.store-badge.is-type {
  background: rgba(53, 119, 241, 0.1);
  color: #3577f1;
}

.store-badge.is-success {
  background: rgba(10, 179, 156, 0.12);
  color: #0a8f7d;
}

.store-badge.is-danger {
  background: rgba(240, 101, 72, 0.12);
  color: #d84f33;
}

.eyebrow {
  margin: 0 0 8px;
  color: #0ab39c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead,
.toolbar-note,
.muted-text {
  color: var(--vz-secondary-color);
}

.storefront-main {
  min-height: calc(100vh - 70px);
}

.market-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 28px;
  background:
    linear-gradient(135deg, rgba(64, 81, 137, 0.94), rgba(10, 179, 156, 0.86)),
    url("/assets/images/catalog-hero.png") center/cover;
  color: #fff;
}

.market-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.market-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
  gap: 24px;
  align-items: stretch;
}

.market-hero h1,
.detail-hero h1,
.account-hero h1,
.demo-stage h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.market-hero .hero-lead,
.detail-hero .hero-lead,
.account-hero .hero-lead,
.demo-stage .hero-lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 500;
}

.market-search-panel {
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 14px;
  backdrop-filter: blur(14px);
}

.market-search-panel label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.market-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.market-search-row input {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 600;
}

.market-hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  padding: 18px;
  backdrop-filter: blur(16px);
}

.market-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric-tile {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 14px;
}

.metric-tile span {
  display: block;
  color: #111827;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.metric-tile small {
  color: #64748b;
  font-size: 12px;
}

.hero-category-picker {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-category-picker button {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 10px;
  text-align: left;
}

.hero-category-picker button span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.hero-category-picker button strong,
.hero-category-picker button small {
  min-width: 0;
}

.hero-category-picker button small {
  color: rgba(255, 255, 255, 0.66);
}

.hero-category-picker button.is-active {
  border-color: rgba(10, 179, 156, 0.85);
  background: rgba(10, 179, 156, 0.22);
}

.product-initials {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-a, #405189) 86%, #fff), color-mix(in srgb, var(--accent-b, #0ab39c) 86%, #fff)),
    var(--cover-image);
  background-size: cover;
  color: #fff;
  font-weight: 800;
}

.category-strip-section {
  padding: 24px 0;
}

.category-strip-heading,
.products-toolbar,
.section-heading-row,
.signed-in-header,
.payment-address-header,
.demo-admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.category-strip-heading h2,
.products-toolbar h2,
.section-heading-row h2,
.auth-intro h2,
.purchase-panel h2,
.content-band h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.category-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.category-rail button {
  min-height: 94px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  text-align: left;
}

.category-rail button:hover {
  border-color: rgba(64, 81, 137, 0.45);
  box-shadow: 0 4px 18px rgba(56, 65, 74, 0.08);
}

.category-mark {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(64, 81, 137, 0.08);
  color: #405189;
  font-weight: 800;
}

.category-copy span,
.category-copy small {
  display: block;
}

.category-title {
  color: #212529;
  font-weight: 700;
}

.category-copy small,
.category-rail strong {
  color: var(--vz-secondary-color);
}

.catalog-section {
  padding: 0 0 36px;
}

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

.mobile-filter-toggle {
  display: none;
}

.filters,
.products-area,
.content-band,
.purchase-panel,
.hero-gallery-card,
.account-hero-panel,
.checkout-band,
.demo-browser,
.auth-card,
.orders-card {
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(56, 65, 74, 0.04);
}

.filters {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  padding: 18px;
  scrollbar-width: thin;
  scrollbar-color: #cbd3df transparent;
}

.filters::-webkit-scrollbar {
  width: 8px;
}

.filters::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cbd3df;
}

.filter-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 0;
  background: transparent;
  color: #212529;
  padding: 0;
}

.filter-header .eyebrow {
  color: #0ab39c;
}

.filter-header .icon-button {
  border-color: var(--vz-border-color);
  background: var(--vz-secondary-bg);
  color: #405189;
  font-size: 18px;
}

.filter-header h2,
.products-toolbar h2,
.support-grid h2 {
  margin: 0;
  line-height: 1.15;
}

.filter-summary {
  display: grid;
  gap: 4px;
  border: 0;
  border-radius: 8px;
  background: rgba(64, 81, 137, 0.06);
  margin: 16px 0;
  padding: 12px;
}

.filter-summary span {
  color: var(--vz-secondary-color);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.filter-summary strong {
  color: #212529;
  font-size: 14px;
  font-weight: 700;
}

.search-field {
  margin: 0;
  padding: 0;
}

.filter-block {
  padding: 0;
}

.search-field,
.sort-field,
.stack-form label,
.conditional-fields label {
  display: grid;
  gap: 7px;
  color: #495057;
  font-weight: 600;
}

.search-field input,
.sort-field select,
.stack-form input,
.stack-form select,
.stack-form textarea,
.conditional-fields input,
.conditional-fields textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background: #fff;
  color: #212529;
  padding: 0.47rem 0.75rem;
  outline: none;
}

.search-field input:focus,
.sort-field select:focus,
.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus,
.conditional-fields input:focus,
.conditional-fields textarea:focus {
  border-color: #9badfa;
  box-shadow: 0 0 0 0.15rem rgba(64, 81, 137, 0.14);
}

.stack-form textarea,
.conditional-fields textarea {
  min-height: 94px;
  padding-top: 0.7rem;
}

.filter-block {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--vz-border-color);
  margin-top: 16px;
  padding-top: 16px;
}

.filter-block-title span,
.filter-block-title strong,
.filter-block-title small {
  display: block;
}

.filter-block-title small {
  color: var(--vz-secondary-color);
}

.filter-list {
  display: grid;
  gap: 6px;
}

.filter-list button {
  width: 100%;
  min-height: 36px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #495057;
  padding: 0 10px;
  text-align: left;
  font-weight: 600;
}

.filter-list.compact button {
  grid-template-columns: minmax(0, 1fr) auto;
}

.filter-list button i {
  width: 18px;
  display: inline-grid;
  place-items: center;
  color: #98a2b3;
  font-size: 15px;
  transition: transform 0.16s ease, color 0.16s ease;
}

.filter-list button.is-open i {
  transform: rotate(90deg);
  color: #405189;
}

.filter-list button span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.filter-list button:hover,
.filter-list button.is-active {
  border-color: rgba(64, 81, 137, 0.14);
  background: rgba(64, 81, 137, 0.08);
  color: #405189;
}

.filter-list button small {
  min-width: 28px;
  border-radius: 999px;
  background: var(--vz-light);
  color: var(--vz-secondary-color);
  padding: 2px 7px;
  text-align: center;
}

.filter-tree-row.is-child {
  padding-left: 0;
}

.toggle-list {
  display: grid;
  gap: 8px;
}

.toggle-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #495057;
  font-weight: 600;
}

.toggle-list input,
.option-card input {
  width: 16px;
  height: 16px;
  accent-color: #0ab39c;
}

.products-area {
  padding: 18px;
}

.products-toolbar {
  margin-bottom: 14px;
}

.sort-field {
  min-width: 180px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: rgba(10, 179, 156, 0.12);
  color: #0ab39c;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.filter-chip.is-muted {
  background: var(--vz-light);
  color: var(--vz-secondary-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: #fff;
}

.product-card:hover {
  border-color: rgba(64, 81, 137, 0.45);
  box-shadow: 0 10px 30px rgba(56, 65, 74, 0.08);
}

.product-cover {
  position: relative;
  aspect-ratio: var(--product-cover-ratio);
  display: block;
  overflow: hidden;
  background:
    var(--cover-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.product-cover:hover {
  color: #fff;
}

.product-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.58));
}

.product-cover.has-image-cover::after {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.24));
}

.product-initials {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.product-cover-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  justify-self: start;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.product-body h3 a {
  color: #212529;
}

.product-body h3 a:hover {
  color: #405189;
}

.product-body p {
  margin: 0;
  color: var(--vz-secondary-color);
}

.product-compatibility {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  border-radius: 6px;
  background: var(--vz-light);
  color: #495057;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
}

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

.product-purchase-row small,
.product-purchase-row span {
  color: var(--vz-secondary-color);
  font-size: 12px;
}

.product-purchase-row strong {
  display: block;
  color: #0ab39c;
  font-size: 24px;
  line-height: 1;
}

.product-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--vz-border-color);
  padding: 14px 16px;
}

.product-actions a {
  flex: 1;
}

.empty-state {
  border: 1px dashed var(--vz-border-color);
  border-radius: 8px;
  background: var(--vz-light);
  padding: 36px;
  text-align: center;
}

.support-section {
  padding: 0 0 42px;
}

.support-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 8px;
  background: #212529;
  color: #fff;
  padding: 24px;
}

.support-grid h2 {
  max-width: 760px;
  margin: 0;
  font-size: 24px;
}

.detail-hero,
.account-hero,
.demo-stage {
  padding: 42px 0;
  background:
    linear-gradient(135deg, rgba(64, 81, 137, 0.95), rgba(10, 179, 156, 0.78)),
    url("/assets/images/catalog-hero.png") center/cover;
  color: #fff;
}

.detail-hero-grid,
.account-hero-grid,
.demo-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 0.78fr);
  gap: 24px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-gallery-card,
.account-hero-panel {
  padding: 20px;
  color: #212529;
}

.hero-gallery-card span,
.account-hero-panel span {
  color: var(--vz-secondary-color);
}

.hero-gallery-card {
  overflow: hidden;
}

.hero-gallery-main {
  position: relative;
}

.hero-gallery-preview {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #0f172a;
  padding: 0;
  cursor: zoom-in;
}

.hero-gallery-preview img {
  width: 100%;
  aspect-ratio: var(--product-cover-ratio);
  display: block;
  object-fit: cover;
}

.hero-gallery-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.62));
}

.hero-gallery-preview span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #405189;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 800;
}

.hero-gallery-meta {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.hero-gallery-meta span,
.hero-gallery-meta small {
  color: var(--vz-secondary-color);
  font-size: 12px;
  font-weight: 700;
}

.hero-gallery-meta strong {
  color: #212529;
  font-size: 18px;
  line-height: 1.25;
}

.hero-gallery-controls {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  gap: 8px;
}

.hero-gallery-controls .icon-button {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.9);
}

.hero-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-color: rgba(10, 179, 156, 0.45) transparent;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.hero-gallery-thumbs button {
  flex: 0 0 96px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--vz-light);
  padding: 0;
  scroll-snap-align: start;
}

.hero-gallery-thumbs button.is-active {
  border-color: #0ab39c;
}

.hero-gallery-thumbs img {
  width: 100%;
  aspect-ratio: var(--product-cover-ratio);
  display: block;
  object-fit: cover;
}

.purchase-price-summary {
  display: grid;
  gap: 4px;
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: var(--vz-light);
  margin-bottom: 16px;
  padding: 14px;
}

.purchase-price-summary span,
.purchase-price-summary small {
  color: var(--vz-secondary-color);
  font-size: 12px;
  font-weight: 700;
}

.purchase-price-summary strong {
  color: #0ab39c;
  font-size: 36px;
  line-height: 1;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
  padding: 24px 0 42px;
}

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

.content-band,
.purchase-panel,
.checkout-band,
.auth-card,
.orders-card {
  padding: 20px;
}

.detail-summary-band #productSummary {
  font-size: 16px;
  line-height: 1.75;
}

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

.audience-grid article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: var(--vz-light);
  padding: 12px;
  color: #495057;
  font-weight: 600;
}

.audience-grid i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  color: #405189;
  font-size: 18px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border-radius: 8px;
  background: var(--vz-light);
  padding: 10px 12px;
  color: #495057;
  font-weight: 600;
}

.feature-list li::before {
  content: "\eb7b";
  margin-right: 8px;
  color: #0ab39c;
  font-family: remixicon;
}

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

.capability-panel,
.workflow-grid section,
.extra-section,
.inventory-grid article {
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: var(--vz-light);
  padding: 16px;
}

.capability-panel h3,
.workflow-grid h3,
.extra-section h3,
.inventory-grid h3,
.code-panel-heading h3 {
  margin: 0 0 12px;
  color: #212529;
  font-size: 16px;
  font-weight: 700;
}

.capability-panel h3 i {
  color: #0ab39c;
  margin-right: 6px;
}

.compact-check-list,
.step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-check-list li {
  position: relative;
  padding-left: 24px;
  color: #495057;
  line-height: 1.55;
}

.compact-check-list li::before {
  content: "\eb7b";
  position: absolute;
  left: 0;
  top: 1px;
  color: #0ab39c;
  font-family: remixicon;
}

.step-list {
  counter-reset: step;
}

.step-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  color: #495057;
  line-height: 1.55;
}

.step-list li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #405189;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.extra-section-stack {
  display: grid;
  gap: 12px;
}

.extra-section p {
  margin: 0;
  color: #495057;
  line-height: 1.65;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

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

.screenshot-card {
  overflow: hidden;
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.screenshot-card:hover {
  border-color: rgba(64, 81, 137, 0.45);
  box-shadow: 0 12px 28px rgba(56, 65, 74, 0.1);
  transform: translateY(-2px);
}

.screenshot-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: var(--product-cover-ratio);
  display: block;
  object-fit: cover;
}

.screenshot-card strong {
  display: block;
  padding: 10px 12px;
}

.screenshot-card:first-child strong {
  padding: 14px 16px;
  font-size: 15px;
}

.total-box {
  gap: 14px;
}

.empty-note {
  border: 1px dashed var(--vz-border-color);
  border-radius: 8px;
  background: var(--vz-light);
  color: var(--vz-secondary-color);
  padding: 14px;
}

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

.info-grid div {
  border-radius: 8px;
  background: var(--vz-light);
  padding: 12px;
}

.info-grid span,
.info-grid strong {
  display: block;
}

.info-grid span {
  color: var(--vz-secondary-color);
  font-size: 12px;
}

.technical-table {
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  overflow: hidden;
}

.technical-table div {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
}

.technical-table span,
.technical-table strong {
  padding: 11px 13px;
  border-bottom: 1px solid var(--vz-border-color);
}

.technical-table div:nth-child(odd) span,
.technical-table div:nth-child(odd) strong {
  background: var(--vz-light);
}

.technical-table div:last-child span,
.technical-table div:last-child strong {
  border-bottom: 0;
}

.technical-table span {
  color: var(--vz-secondary-color);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.technical-table strong {
  color: #212529;
  font-weight: 600;
}

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

.inventory-grid article div,
.code-chip-list,
.package-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inventory-grid code,
.code-chip-list code,
.package-file-list code {
  max-width: 100%;
  border: 1px solid var(--vz-border-color);
  border-radius: 6px;
  background: #fff;
  color: #405189;
  padding: 5px 7px;
  font-size: 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.code-panel,
.code-disclosure {
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: var(--vz-light);
  padding: 14px;
}

.code-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.code-panel-heading h3 {
  margin-bottom: 0;
}

.code-panel-heading span {
  color: var(--vz-secondary-color);
  font-size: 12px;
  font-weight: 700;
}

.code-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: #212529;
  font-weight: 700;
}

.code-disclosure summary::-webkit-details-marker {
  display: none;
}

.code-disclosure summary::after {
  content: "\ea4e";
  color: #405189;
  font-family: remixicon;
}

.code-disclosure[open] summary {
  margin-bottom: 12px;
}

.code-disclosure[open] summary::after {
  content: "\ea78";
}

.purchase-panel {
  position: sticky;
  top: 88px;
}

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

.option-card {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: var(--vz-light);
  padding: 12px;
}

.option-card span,
.option-card strong,
.option-card small {
  display: block;
}

.option-card small {
  color: var(--vz-secondary-color);
}

.conditional-fields {
  display: grid;
  gap: 12px;
  border-left: 3px solid #0ab39c;
  padding-left: 12px;
}

.total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 8px;
  background: #212529;
  color: #fff;
  padding: 14px;
}

.total-box strong {
  font-size: 28px;
}

.form-note {
  margin: 0;
  color: #f06548;
  font-weight: 600;
}

.comments-list,
.orders-list {
  display: grid;
  gap: 12px;
}

.comment-card,
.order-card {
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: var(--vz-light);
  padding: 14px;
}

.comment-card div,
.order-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.comment-card span {
  color: #f7b84b;
}

.member-note {
  border-radius: 8px;
  background: rgba(247, 184, 75, 0.14);
  color: #b7791f;
  padding: 12px;
}

.gallery-dialog {
  width: min(1840px, calc(100vw - 18px));
  height: min(1120px, calc(100dvh - 18px));
  max-width: none;
  max-height: none;
  margin: auto;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  overflow: visible;
}

.gallery-dialog::backdrop {
  background:
    radial-gradient(circle at 18% 12%, rgba(220, 38, 38, 0.18), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(14, 165, 233, 0.12), transparent 28%),
    rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(8px);
}

.gallery-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(24, 24, 37, 0.96)),
    #071326;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  padding: 62px 16px 14px;
  overflow: hidden;
}

.gallery-frame figure {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
}

.gallery-viewport {
  position: relative;
  min-height: 0;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: auto;
  border-radius: 8px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    #020617;
  background-size: 28px 28px;
  border: 1px solid rgba(226, 232, 240, 0.14);
  padding: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(203, 213, 225, 0.72) transparent;
  touch-action: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.gallery-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  transition: width 0.16s ease, height 0.16s ease, margin 0.16s ease;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  cursor: zoom-in;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

.gallery-frame img.is-zoomed {
  max-width: none;
  max-height: none;
  cursor: grab;
}

.gallery-viewport.is-zoomed {
  display: block;
}

.gallery-viewport.is-panning,
.gallery-viewport.is-panning img {
  cursor: grabbing;
}

.gallery-dialog.is-zoomed .gallery-prev,
.gallery-dialog.is-zoomed .gallery-next {
  opacity: 0.24;
  pointer-events: none;
}

.gallery-frame figcaption {
  min-height: 34px;
  display: flex;
  align-items: center;
  color: rgba(226, 232, 240, 0.82) !important;
  font-size: 13px;
  font-weight: 800;
  margin-top: 0 !important;
  padding: 0 4px;
}

.gallery-close,
.gallery-prev,
.gallery-next,
.gallery-zoom-controls {
  position: absolute;
  z-index: 2;
}

.gallery-close {
  top: 12px;
  right: 12px;
}

.gallery-prev,
.gallery-next {
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.gallery-prev {
  left: 18px;
}

.gallery-next {
  right: 18px;
}

.gallery-zoom-controls {
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.gallery-zoom-controls span {
  min-width: 62px;
  border: 1px solid rgba(226, 232, 240, 0.22);
  border-radius: 6px;
  background: rgba(248, 250, 252, 0.96);
  color: #405189;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.gallery-zoom-controls .icon-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.account-page,
.checkout-page {
  padding-bottom: 42px;
}

.account-section,
.checkout-shell {
  padding: 24px 0;
}

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

.auth-panel {
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: var(--vz-light);
  padding: 16px;
}

.auth-panel-heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.auth-panel-heading > span,
.order-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(64, 81, 137, 0.08);
  color: #405189;
  font-size: 20px;
}

.auth-panel-heading h2 {
  margin: 0;
  font-size: 20px;
}

.auth-panel-heading p {
  margin: 2px 0 0;
  color: var(--vz-secondary-color);
}

.guest-marketing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.guest-marketing article {
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.guest-marketing span {
  color: #0ab39c;
  font-weight: 800;
}

.order-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-card-main {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.order-card-main strong,
.order-card-main span {
  display: block;
}

.order-card-main strong {
  color: #212529;
}

.order-card-main span:not(.order-icon) {
  color: var(--vz-secondary-color);
  font-size: 12px;
}

.payment-box {
  display: grid;
  gap: 18px;
}

.payment-summary,
.payment-address {
  min-width: 0;
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.payment-field > div {
  min-width: 0;
}

.payment-field .copy-button {
  flex: 0 0 auto;
}

.payment-field code {
  white-space: normal;
  word-break: break-word;
}

.payment-status-pill,
.network-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: rgba(10, 179, 156, 0.12);
  color: #0ab39c;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.payment-status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0ab39c;
}

.payment-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.summary-item,
.payment-field {
  border-radius: 8px;
  background: var(--vz-light);
  padding: 12px;
}

.summary-item span,
.payment-field span {
  display: block;
  color: var(--vz-secondary-color);
  font-size: 12px;
  font-weight: 700;
}

.summary-item strong,
.payment-field strong,
.payment-field code {
  display: block;
  overflow-wrap: anywhere;
}

.payment-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-assurance div {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(64, 81, 137, 0.08);
  color: #405189;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.payment-main-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.payment-qr {
  display: grid;
  gap: 8px;
  justify-items: center;
  border: 1px solid var(--vz-border-color);
  border-radius: 8px;
  padding: 14px;
}

.payment-qr img {
  width: 180px;
  height: 180px;
}

.payment-fields {
  display: grid;
  gap: 12px;
}

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

.payment-warning {
  border-radius: 8px;
  background: rgba(247, 184, 75, 0.14);
  color: #b7791f;
  margin: 14px 0 0;
  padding: 10px 12px;
}

.demo-stage-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
}

.demo-browser {
  overflow: hidden;
}

.demo-browser-bar {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--vz-border-color);
  background: var(--vz-light);
  padding: 12px;
}

.demo-browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #f06548;
}

.demo-browser-bar span:nth-child(2) {
  background: #f7b84b;
}

.demo-browser-bar span:nth-child(3) {
  background: #0ab39c;
}

.demo-canvas {
  min-height: 420px;
  padding: 20px;
}

.demo-front-preview,
.demo-admin-preview {
  min-height: 360px;
  border-radius: 8px;
  background: var(--vz-light);
  padding: 18px;
}

.demo-nav {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--vz-border-color);
  padding-bottom: 12px;
}

.demo-product-area {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 32px;
}

.demo-product-image {
  height: 160px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #405189, #0ab39c);
  color: #fff;
  font-size: 42px;
  font-weight: 800;
}

.demo-admin-preview {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
}

.demo-admin-preview aside {
  display: grid;
  align-content: start;
  gap: 8px;
  border-radius: 8px;
  background: #364574;
  color: #fff;
  padding: 16px;
}

.demo-admin-preview aside span {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 10px;
}

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

.demo-settings-grid label {
  display: grid;
  gap: 6px;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.demo-feature-stack {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.demo-feature-stack span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 8px;
  background: rgba(10, 179, 156, 0.08);
  color: #0f5132;
  padding: 9px 10px;
  font-weight: 600;
}

.demo-feature-stack.is-admin {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.demo-feature-stack.is-admin span {
  background: #fff;
  color: #495057;
}

@media (max-width: 1199.98px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-hero-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 0.9fr);
  }

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

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

@media (max-width: 991.98px) {
  .market-hero-grid,
  .catalog-shell,
  .detail-hero-grid,
  .detail-layout,
  .account-hero-grid,
  .demo-stage-grid,
  .demo-admin-preview {
    grid-template-columns: 1fr;
  }

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

  .filters,
  .purchase-panel {
    position: static;
  }

  .storefront-nav {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .payment-main-grid,
  .auth-tabs,
  .guest-marketing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .storefront-container {
    width: min(100% - 20px, 1240px);
  }

  .market-hero {
    padding-top: 28px;
  }

  .market-search-row,
  .products-grid,
  .audience-grid,
  .feature-list,
  .capability-grid,
  .workflow-grid,
  .screenshots-grid,
  .info-grid,
  .inventory-grid,
  .category-rail,
  .payment-summary-grid,
  .demo-product-area,
  .demo-settings-grid,
  .demo-feature-stack.is-admin,
  .auth-panel-heading {
    grid-template-columns: 1fr;
  }

  .screenshot-card:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-frame {
    padding: 62px 8px 12px;
  }

  .gallery-dialog {
    width: calc(100vw - 10px);
    height: calc(100dvh - 10px);
  }

  .gallery-viewport {
    padding: 6px;
  }

  .gallery-prev,
  .gallery-next {
    top: auto;
    bottom: 54px;
    transform: none;
  }

  .gallery-prev {
    left: 12px;
  }

  .gallery-next {
    right: 12px;
  }

  .gallery-zoom-controls {
    left: 10px;
    right: 58px;
    gap: 4px;
  }

  .gallery-zoom-controls span {
    min-width: 50px;
    padding-inline: 6px;
  }

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

  .metric-tile {
    padding: 10px;
  }

  .metric-tile span {
    font-size: 20px;
  }

  .category-strip-heading,
  .products-toolbar,
  .section-heading-row,
  .signed-in-header,
  .payment-address-header,
  .comment-card div,
  .order-card,
  .payment-field,
  .support-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .section-actions {
    justify-content: flex-start;
  }

  .technical-table div {
    grid-template-columns: 1fr;
  }

  .technical-table span {
    border-bottom: 0;
    padding-bottom: 4px;
  }

  .technical-table strong {
    padding-top: 0;
  }

  .hero-gallery-thumbs button {
    flex-basis: 88px;
  }
}

/* Codesla storefront red theme and clearer product covers */
.storefront-app {
  --codesla-red: #d90416;
  --codesla-red-dark: #a60814;
  --codesla-red-soft: rgba(217, 4, 22, 0.1);
  --codesla-red-softer: rgba(217, 4, 22, 0.06);
  --codesla-navy: #071326;
  --codesla-navy-soft: rgba(7, 19, 38, 0.08);
}

.storefront-brand-mark {
  background: var(--codesla-red);
  box-shadow: inset 0 -3px 0 var(--codesla-navy);
}

.storefront-nav a:hover,
.storefront-nav a.is-active {
  background: var(--codesla-red-soft);
  color: var(--codesla-red-dark);
}

.primary-button,
.card-button {
  border-color: var(--codesla-red);
  background: var(--codesla-red);
}

.primary-button:hover,
.card-button:hover {
  border-color: var(--codesla-red-dark);
  background: var(--codesla-red-dark);
}

.secondary-button,
.outline-button,
.copy-button,
.icon-button {
  color: var(--codesla-red-dark);
}

.secondary-button:hover,
.outline-button:hover,
.copy-button:hover {
  border-color: var(--codesla-red);
  background: var(--codesla-red-soft);
  color: var(--codesla-red-dark);
}

.store-badge {
  background: var(--codesla-red-soft);
  color: var(--codesla-red-dark);
}

.store-badge.is-hot,
.store-badge.is-warning,
.store-badge.is-category,
.store-badge.is-success {
  background: rgba(217, 4, 22, 0.1);
  color: var(--codesla-red-dark);
}

.store-badge.is-type {
  background: var(--codesla-navy-soft);
  color: var(--codesla-navy);
}

.eyebrow,
.filter-header .eyebrow {
  color: var(--codesla-red);
}

.market-hero,
.detail-hero,
.account-hero,
.demo-stage {
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.96), rgba(217, 4, 22, 0.78)),
    url("/assets/images/catalog-hero.png") center/cover;
}

.hero-category-picker button.is-active {
  border-color: rgba(217, 4, 22, 0.85);
  background: rgba(217, 4, 22, 0.22);
}

.category-rail button:hover {
  border-color: rgba(217, 4, 22, 0.35);
}

.category-mark,
.filter-summary {
  background: var(--codesla-red-softer);
}

.category-mark,
.filter-header .icon-button,
.filter-list button:hover,
.filter-list button.is-active {
  color: var(--codesla-red-dark);
}

.filter-list button:hover,
.filter-list button.is-active {
  border-color: rgba(217, 4, 22, 0.18);
  background: var(--codesla-red-soft);
}

.toggle-list input,
.option-card input {
  accent-color: var(--codesla-red);
}

.filter-chip {
  background: var(--codesla-red-soft);
  color: var(--codesla-red-dark);
}

.product-card {
  border-color: #e2e8f0;
}

.product-card:hover {
  border-color: rgba(217, 4, 22, 0.28);
  box-shadow: 0 14px 36px rgba(7, 19, 38, 0.1);
}

.product-cover {
  min-height: 0;
  border-bottom: 1px solid #e9edf3;
  padding: 0;
  background:
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent-a, #d90416) 94%, #000), color-mix(in srgb, var(--accent-b, #071326) 92%, #fff)),
    var(--cover-image);
  background-size: auto, cover, cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-cover.has-image-cover {
  aspect-ratio: var(--product-cover-ratio);
  display: block;
  background-color: #fff7f7;
  background-image:
    linear-gradient(135deg, rgba(217, 4, 22, 0.06), rgba(7, 19, 38, 0.04));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-cover-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.product-cover.has-image-cover::after {
  display: none;
}

.product-cover:not(.has-image-cover) {
  min-height: 158px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.15), transparent 28%),
    linear-gradient(135deg, #cf111f, #7d1621 55%, #141b2b);
}

.product-cover:not(.has-image-cover)::after {
  background: linear-gradient(180deg, rgba(7, 19, 38, 0.02), rgba(7, 19, 38, 0.12));
}

.product-cover-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 158px;
  padding: 18px;
}

.product-cover-art.has-real-cover {
  min-height: 0;
  height: 100%;
  display: block;
  padding: 0;
}

.cover-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
}

.cover-art-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--codesla-red-dark);
  box-shadow: 0 18px 38px rgba(7, 19, 38, 0.22);
}

.cover-art-icon i {
  font-size: 36px;
}

.product-initials {
  background: rgba(255, 255, 255, 0.92);
  color: var(--codesla-red-dark);
  box-shadow: 0 10px 24px rgba(7, 19, 38, 0.16);
}

.product-cover-label {
  border: 1px solid rgba(217, 4, 22, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--codesla-red-dark);
  box-shadow: 0 8px 22px rgba(7, 19, 38, 0.12);
}

.product-body h3 a:hover {
  color: var(--codesla-red);
}

.product-body p {
  color: #596273;
  font-weight: 650;
}

.product-compatibility {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #344054;
}

.product-purchase-row strong,
.hero-gallery-meta strong,
.purchase-price-summary strong,
.total-box strong,
.price-block strong,
.total-row strong {
  color: var(--codesla-red);
}

.hero-gallery-preview span,
.gallery-zoom-controls span {
  color: var(--codesla-red-dark);
}

.hero-gallery-thumbs button.is-active {
  border-color: var(--codesla-red);
}

/* Cleaner catalog filter and toolbar alignment */
.catalog-shell {
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 20px;
}

.filters {
  padding: 18px 16px;
}

.filter-header {
  align-items: center;
}

.filter-header .icon-button {
  width: 36px;
  height: 36px;
  border-color: rgba(217, 4, 22, 0.16);
  background: #fff;
  color: var(--codesla-red);
}

.filter-summary {
  border: 1px solid rgba(217, 4, 22, 0.08);
  background: linear-gradient(135deg, rgba(217, 4, 22, 0.06), rgba(217, 4, 22, 0.025));
  margin: 14px 0 16px;
  padding: 12px;
}

.filter-block {
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
}

.filter-block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.filter-block-title small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.filter-list {
  gap: 2px;
}

.filter-list button {
  min-height: 34px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  justify-content: stretch;
  border-color: transparent;
  border-radius: 6px;
  padding: 0 8px;
  color: #475467;
}

.filter-list.compact button {
  grid-template-columns: minmax(0, 1fr) auto;
}

.filter-list button i {
  display: inline-grid;
  place-items: center;
  color: #98a2b3;
  font-size: 15px;
  transition: transform 0.16s ease, color 0.16s ease;
}

.filter-list button.is-open i {
  transform: rotate(90deg);
  color: var(--codesla-red);
}

.filter-list button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
}

.filter-list button small {
  min-width: 24px;
  background: #f2f4f7;
  color: #667085;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 800;
}

.filter-list button:hover,
.filter-list button.is-active {
  border-color: transparent;
  background: rgba(217, 4, 22, 0.075);
  color: var(--codesla-red-dark);
}

.filter-list button.is-active small {
  background: rgba(217, 4, 22, 0.1);
  color: var(--codesla-red-dark);
}

.filter-list button.is-empty {
  color: #98a2b3;
}

.filter-tree-row.is-child {
  padding-left: 0;
}

.filter-tree-row.has-children > button[data-value],
.filter-tree-row.is-child > button[data-value] {
  padding-left: 8px;
  padding-right: 8px;
}

.filter-tree-row.has-children > button[data-value]::after,
.filter-tree-row.is-child > button[data-value] span::before {
  content: none;
  display: none;
}

.filter-tree-row.is-child button {
  min-height: 30px;
  font-size: 13px;
}

.toggle-list {
  gap: 4px;
}

.toggle-list label {
  min-height: 32px;
}

.products-area {
  padding: 16px;
}

.products-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-content: start;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e9edf3;
}

.products-toolbar > div {
  min-width: 0;
}

.sort-field {
  width: min(210px, 100%);
  min-width: 0;
}

.sort-field select {
  min-height: 38px;
}

.active-filters {
  margin-bottom: 14px;
}

.filter-chip {
  min-height: 26px;
  border: 1px solid rgba(217, 4, 22, 0.12);
  background: #fff5f6;
}

.products-toolbar {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px 10px 16px;
}

.products-toolbar > div {
  min-height: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.products-toolbar .eyebrow {
  margin: 0;
  flex: 0 0 auto;
}

.products-toolbar h2 {
  flex: 0 0 auto;
  margin: 0;
  color: #222b3a;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.products-toolbar .toolbar-note {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #7a8493;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.products-toolbar .sort-field {
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border-left: 0;
  background: transparent;
  color: #5f6877;
  padding: 0;
}

.products-toolbar .sort-field span {
  font-size: 12px;
  font-weight: 750;
}

.products-toolbar .sort-field select {
  width: 156px;
  min-height: 34px;
  padding-block: 0;
}

.product-body {
  gap: 9px;
}

.product-meta {
  order: 2;
}

.product-body h3 {
  order: 1;
}

.product-body p {
  order: 3;
}

.product-compatibility {
  order: 4;
}

.product-purchase-row {
  order: 5;
}

.product-meta .store-badge {
  max-width: 100%;
  min-height: 24px;
}

.product-meta .store-badge.is-category {
  background: #fff5f6;
}

.products-grid .product-card .product-body > p,
.products-grid .product-card .product-compatibility {
  display: none;
}

.products-grid .product-card {
  box-shadow: 0 8px 24px rgba(7, 19, 38, 0.045);
}

.products-grid .product-body {
  padding: 14px 16px 12px;
}

.products-grid .product-body h3 {
  min-height: 48px;
  font-size: 17px;
  line-height: 1.28;
}

.products-grid .product-meta {
  min-height: 24px;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #e9edf3;
  padding: 8px 16px 10px;
}

.product-card-footer strong {
  flex: 0 0 auto;
  color: var(--codesla-red);
  font-size: 20px;
  font-weight: 650;
  line-height: 1;
}

.product-card-footer .store-badge.is-category {
  max-width: min(68%, 170px);
  min-width: 0;
  min-height: 24px;
  border: 1px solid rgba(217, 4, 22, 0.12);
  background: #fff5f6;
  color: var(--codesla-red-dark);
  padding: 0 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 650;
}

.product-card-footer .card-button {
  min-height: 38px;
  padding: 0 12px;
}

.products-grid .product-card {
  border-color: #e6ebf2;
  box-shadow: none;
}

.products-grid .product-card:hover {
  border-color: rgba(217, 4, 22, 0.18);
  box-shadow: 0 10px 24px rgba(7, 19, 38, 0.055);
}

.products-grid .product-cover {
  border-bottom-color: #edf1f6;
}

.products-grid .product-body {
  gap: 8px;
  padding: 10px 16px 8px;
}

.products-grid .product-body h3 {
  min-height: 0;
  margin: 0;
  color: #222b3a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.products-grid .product-body h3 a {
  color: inherit;
}

.product-meta .store-badge {
  min-height: 22px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 650;
}

.cover-chip {
  font-weight: 650;
}

.products-grid .product-card {
  min-height: 0;
}

.contact-dock {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1090;
  display: grid;
  gap: 10px;
}

.contact-dock-button {
  position: relative;
  width: 52px;
  min-width: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  padding: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(7, 19, 38, 0.18);
  backdrop-filter: blur(14px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-dock-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(7, 19, 38, 0.24);
}

.contact-dock-button i {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 19px;
}

.contact-dock-button span {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: rgba(7, 19, 38, 0.88);
  color: #fff;
  padding: 0 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  white-space: nowrap;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.contact-dock-button:hover span,
.contact-dock-button:focus-visible span {
  opacity: 1;
  transform: translate(0, -50%);
}

.contact-dock-button.is-whatsapp {
  background: linear-gradient(135deg, #128c7e, #25d366);
}

.contact-dock-button.is-telegram {
  background: linear-gradient(135deg, #1d74b7, #28a8ea);
}

@media (max-width: 991.98px) {
  .catalog-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .products-grid,
  .screenshots-grid,
  .info-grid,
  .inventory-grid,
  .category-rail,
  .payment-summary-grid,
  .demo-product-area,
  .demo-settings-grid,
  .demo-feature-stack.is-admin,
  .auth-panel-heading {
    grid-template-columns: minmax(0, 1fr);
  }

  .filters {
    display: none;
    position: static;
    max-height: none;
    overflow: visible;
  }

  .filters-open .filters {
    display: block;
  }

  .mobile-filter-toggle {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e9edf3;
    border-radius: 8px;
    background: #fff;
    color: #071326;
    padding: 0 14px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(7, 19, 38, 0.045);
  }

  .mobile-filter-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-filter-toggle small {
    display: inline-grid;
    min-height: 24px;
    place-items: center;
    border-radius: 999px;
    background: #f2f4f7;
    color: #667085;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 800;
  }

  .products-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .products-toolbar > div {
    flex-wrap: wrap;
  }

  .products-toolbar .toolbar-note {
    flex-basis: 100%;
  }

  .products-toolbar .sort-field,
  .products-toolbar .sort-field select {
    width: 100%;
  }

  .contact-dock {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .contact-dock-button {
    width: 48px;
    min-width: 48px;
    height: 48px;
    justify-content: center;
    padding: 0;
  }

  .contact-dock-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

/* OpenCart sales storefront redesign */
.opencart-store-page,
.product-detail-redesign {
  background:
    linear-gradient(90deg, rgba(10, 179, 156, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(217, 4, 22, 0.035) 1px, transparent 1px),
    #f7f9fc;
  background-size: 48px 48px, 48px 48px, auto;
  color: #182233;
  font-family: "Nunito", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.opencart-store-page .storefront-navbar,
.product-detail-redesign .storefront-navbar {
  border-bottom-color: rgba(24, 34, 51, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.opencart-store-page .storefront-brand,
.product-detail-redesign .storefront-brand {
  color: #101828;
  font-size: 18px;
  font-weight: 700;
}

.opencart-store-page .storefront-brand-mark,
.product-detail-redesign .storefront-brand-mark {
  background: #d90416;
  box-shadow: inset 0 -3px 0 #0ab39c;
  font-size: 13px;
  letter-spacing: 0;
}

.opencart-store-page .storefront-nav a,
.product-detail-redesign .storefront-nav a {
  color: #475467;
  font-weight: 550;
}

.opencart-store-page .storefront-nav a:hover,
.opencart-store-page .storefront-nav a.is-active,
.product-detail-redesign .storefront-nav a:hover,
.product-detail-redesign .storefront-nav a.is-active {
  background: rgba(217, 4, 22, 0.075);
  color: #b30917;
}

.opencart-eyebrow {
  margin: 0 0 10px;
  color: #b30917;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.opencart-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 46px;
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0) 0 57%, rgba(10, 179, 156, 0.09) 57% 68%, rgba(217, 4, 22, 0.08) 68% 100%),
    linear-gradient(90deg, #fff 0%, #fff 58%, #f1fbf9 58%, #fff4f5 100%);
  border-bottom: 1px solid rgba(24, 34, 51, 0.08);
}

.opencart-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(24, 34, 51, 0.055) 0 1px, transparent 1px 28px),
    linear-gradient(115deg, transparent 0 61%, rgba(255, 255, 255, 0.55) 61% 62%, transparent 62% 100%);
  pointer-events: none;
}

.opencart-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 36px;
  align-items: center;
}

.opencart-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #101828;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  font-weight: 720;
  letter-spacing: 0;
}

.opencart-lead {
  max-width: 640px;
  margin: 20px 0 0;
  color: #475467;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 450;
}

.opencart-search {
  max-width: 650px;
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.opencart-search label,
.opencart-inline-search span,
.opencart-catalog-tools .sort-field span {
  color: #667085;
  font-size: 12px;
  font-weight: 650;
}

.opencart-search > div,
.opencart-inline-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.opencart-search input,
.opencart-inline-search input,
.opencart-catalog-tools select {
  min-height: 48px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #fff;
  color: #182233;
  padding: 0 14px;
  font-size: 15px;
  outline: 0;
  box-shadow: 0 10px 24px rgba(24, 34, 51, 0.05);
}

.opencart-search input:focus,
.opencart-inline-search input:focus,
.opencart-catalog-tools select:focus {
  border-color: rgba(217, 4, 22, 0.35);
  box-shadow: 0 0 0 4px rgba(217, 4, 22, 0.08);
}

.opencart-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.opencart-trust-list span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(24, 34, 51, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #344054;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 550;
}

.opencart-trust-list i {
  color: #0ab39c;
}

.opencart-hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24, 34, 51, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 24, 40, 0.96), rgba(29, 41, 57, 0.96)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 255, 255, 0.06) 22px 23px);
  color: #fff;
  padding: 28px;
  box-shadow: 0 28px 54px rgba(24, 34, 51, 0.18);
}

.opencart-hero-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -60px;
  width: 220px;
  height: 220px;
  transform: rotate(28deg);
  background: linear-gradient(135deg, rgba(217, 4, 22, 0.58), rgba(10, 179, 156, 0.42));
  clip-path: polygon(18% 0, 100% 28%, 78% 100%, 0 72%);
}

.hero-card-flow,
.hero-sales-list,
.opencart-hero-card .outline-button {
  position: relative;
  z-index: 1;
}

.hero-card-flow {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.hero-card-flow > span {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #42d8bc;
  font-size: 24px;
}

.hero-card-flow small {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.hero-card-flow strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 650;
}

.hero-sales-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 24px;
  padding: 0;
  list-style: none;
}

.hero-sales-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.hero-sales-list li::before {
  content: "\eb7b";
  color: #42d8bc;
  font-family: remixicon;
}

.opencart-hero-card .outline-button {
  border-color: rgba(255, 255, 255, 0.28);
  background: #fff;
  color: #b30917;
}

.opencart-catalog-section {
  padding: 40px 0 58px;
}

.opencart-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.opencart-section-heading h2 {
  margin: 0;
  color: #101828;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 700;
}

.opencart-section-heading > p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  font-weight: 550;
}

.opencart-catalog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px;
  margin-bottom: 22px;
}

.opencart-inline-search {
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
}

.opencart-catalog-tools .sort-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

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

.opencart-product-card {
  overflow: hidden;
  border: 1px solid rgba(24, 34, 51, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(24, 34, 51, 0.055);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.opencart-product-card:hover {
  border-color: rgba(217, 4, 22, 0.22);
  box-shadow: 0 18px 40px rgba(24, 34, 51, 0.1);
  transform: translateY(-2px);
}

.opencart-product-card .product-cover {
  aspect-ratio: var(--product-cover-ratio);
  min-height: 0;
  display: block;
  border-bottom: 1px solid rgba(24, 34, 51, 0.08);
  background: #071326;
}

.opencart-product-card .product-cover::after {
  display: none;
}

.opencart-product-card .product-cover-art.has-real-cover {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  padding: 0;
}

.opencart-product-card .product-cover-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #071326;
}

.product-cover-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 24px),
    linear-gradient(135deg, #d90416, #101828);
  color: #fff;
  text-align: center;
}

.product-cover-fallback span,
.product-cover-fallback em {
  font-style: normal;
  font-weight: 550;
}

.product-cover-fallback i {
  font-size: 44px;
}

.product-card-compact-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 16px 18px;
}

.product-card-title {
  color: #101828;
  font-size: 18px;
  line-height: 1.32;
  font-weight: 600;
}

.product-card-title:hover {
  color: #b30917;
}

.product-card-price {
  color: #b30917;
  text-align: right;
}

.catalog-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #b30917;
  font-size: 22px;
  font-weight: 700;
}

.catalog-price del {
  color: #98a2b3;
  font-size: 14px;
  font-weight: 550;
}

.opencart-support-section {
  padding: 34px 0;
  background: #101828;
  color: #fff;
}

.opencart-support-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.opencart-support-section h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.16;
  font-weight: 650;
}

.opencart-support-section .opencart-eyebrow {
  color: #42d8bc;
}

.product-detail-redesign .opencart-product-hero {
  padding: 42px 0;
  background:
    linear-gradient(130deg, #fff 0 54%, #effbf8 54% 68%, #fff3f4 68% 100%),
    repeating-linear-gradient(135deg, rgba(24, 34, 51, 0.055) 0 1px, transparent 1px 30px);
  border-bottom: 1px solid rgba(24, 34, 51, 0.08);
  color: #101828;
}

.product-detail-redesign .detail-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.78fr);
  gap: 30px;
}

.product-detail-redesign .detail-hero h1 {
  max-width: 760px;
  color: #101828;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
  font-weight: 720;
  letter-spacing: 0;
}

.product-detail-redesign .detail-hero .hero-lead {
  max-width: 660px;
  color: #475467;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 450;
}

.product-detail-redesign .secondary-button {
  border-color: #d8dee8;
  background: #fff;
  color: #344054;
}

.product-detail-redesign .hero-gallery-card {
  border: 1px solid rgba(24, 34, 51, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 20px 44px rgba(24, 34, 51, 0.1);
}

.product-detail-redesign .hero-gallery-preview {
  display: block;
  border-radius: 8px;
  background: #fff;
}

.product-detail-redesign .hero-gallery-preview::after {
  display: none;
}

.product-detail-redesign .hero-gallery-preview img,
.product-detail-redesign .hero-gallery-thumbs img {
  background: #fff;
}

.product-detail-redesign .hero-gallery-preview img {
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
}

.product-detail-redesign .hero-gallery-thumbs img {
  object-fit: cover;
}

.product-detail-redesign .hero-gallery-preview span {
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(217, 4, 22, 0.12);
  background: #fff;
  color: #b30917;
  font-weight: 650;
}

.product-detail-redesign .hero-gallery-meta {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: end;
}

.product-detail-redesign .hero-gallery-meta span:first-child {
  grid-column: 1 / -1;
  color: #667085;
  font-size: 12px;
  font-weight: 650;
}

.product-detail-redesign .hero-gallery-title {
  color: #101828;
  font-size: 18px;
  font-weight: 650;
}

.product-detail-redesign .hero-gallery-meta small {
  color: #667085;
  font-weight: 550;
}

.product-detail-redesign .hero-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 8px;
}

.product-detail-redesign .hero-gallery-thumbs button {
  flex: 0 0 100px;
  border-radius: 6px;
  background: #fff;
}

.product-detail-redesign .hero-gallery-thumbs button.is-active {
  border-color: #d90416;
}

.product-detail-redesign .detail-layout {
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 28px;
  padding-top: 28px;
}

.product-detail-redesign .detail-main {
  display: grid;
  gap: 26px;
  border: 1px solid rgba(24, 34, 51, 0.09);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(24, 34, 51, 0.055);
}

.product-detail-redesign .content-band {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 0 26px;
}

.product-detail-redesign .content-band:last-child {
  padding-bottom: 0;
}

.product-detail-redesign .detail-summary-band #productSummary {
  color: #475467 !important;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 450;
}

.product-detail-redesign .content-band h2 {
  color: #101828;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.16;
  font-weight: 680;
}

.soft-count-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(10, 179, 156, 0.2);
  border-radius: 999px;
  background: rgba(10, 179, 156, 0.08);
  color: #087d70;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 650;
}

.product-detail-redesign .feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-detail-redesign .feature-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(24, 34, 51, 0.08);
  border-radius: 8px;
  background: #f8fafc;
  color: #344054;
  padding: 14px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 450;
}

.product-detail-redesign .feature-list li::before {
  content: none;
}

.product-detail-redesign .feature-list i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(10, 179, 156, 0.1);
  color: #0a8f7f;
  font-size: 16px;
}

.product-detail-redesign .screenshots-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-detail-redesign .screenshot-card,
.product-detail-redesign .screenshot-card:first-child {
  grid-column: auto;
  grid-row: auto;
}

.product-detail-redesign .screenshot-card {
  border-color: rgba(24, 34, 51, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(24, 34, 51, 0.045);
}

.product-detail-redesign .screenshot-card img {
  object-fit: contain;
  background: #071326;
}

.product-detail-redesign .screenshot-title {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  color: #344054;
  font-size: 14px;
  font-weight: 550;
}

.product-detail-redesign .product-secondary-band {
  display: none !important;
}

.product-detail-redesign .purchase-panel {
  position: sticky;
  top: 92px;
  border: 1px solid rgba(24, 34, 51, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(24, 34, 51, 0.1);
}

.product-detail-redesign .purchase-panel h2 {
  margin-bottom: 14px;
  color: #101828;
  font-size: 24px;
  font-weight: 650;
}

.product-detail-redesign .purchase-price-summary,
.product-detail-redesign .total-box {
  border-color: rgba(24, 34, 51, 0.1);
  background: #f8fafc;
}

.product-detail-redesign .purchase-price-summary span,
.product-detail-redesign .purchase-price-summary small,
.product-detail-redesign .total-box span {
  color: #667085;
  font-weight: 500;
}

.product-price-value,
.order-total-value {
  color: #101828;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.order-total-value {
  font-size: 25px;
}

.product-detail-redesign .option-card {
  border-color: rgba(24, 34, 51, 0.1);
  background: #fff;
  padding: 12px;
}

.option-title {
  display: block;
  color: #182233;
  font-weight: 600;
}

.product-detail-redesign .option-card small,
.product-detail-redesign .stack-form label,
.product-detail-redesign .form-note {
  font-weight: 500;
}

.product-detail-redesign .conditional-fields {
  border-left-color: rgba(217, 4, 22, 0.55);
  margin-top: -2px;
}

.product-detail-redesign .conditional-fields textarea {
  min-height: 118px;
  resize: vertical;
}

.bank-transfer-box {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(24, 34, 51, 0.1);
  border-radius: 8px;
  background: #f8fafc;
  margin-top: 14px;
  padding: 14px;
}

.bank-transfer-heading {
  display: grid;
  gap: 2px;
}

.bank-transfer-heading span {
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

.bank-transfer-heading h3 {
  margin: 0;
  color: #101828;
  font-size: 17px;
  font-weight: 650;
}

.bank-transfer-box dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.bank-transfer-box dl > div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.bank-transfer-box dt {
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

.bank-transfer-box dd {
  min-width: 0;
  margin: 0;
  color: #182233;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.bank-transfer-box .outline-button {
  width: 100%;
  min-height: 38px;
  background: #fff;
  font-weight: 600;
}

.product-detail-redesign .gallery-frame img {
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .opencart-hero-grid,
  .product-detail-redesign .detail-hero-grid,
  .product-detail-redesign .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-detail-redesign .purchase-panel {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .opencart-hero {
    padding: 28px 0 24px;
  }

  .opencart-hero h1,
  .product-detail-redesign .detail-hero h1 {
    font-size: 34px;
    line-height: 1.02;
  }

  .opencart-lead,
  .product-detail-redesign .detail-hero .hero-lead {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.52;
  }

  .opencart-hero-card {
    display: none;
  }

  .opencart-search {
    margin-top: 18px;
  }

  .opencart-search input,
  .opencart-inline-search input,
  .opencart-catalog-tools select {
    min-height: 44px;
  }

  .opencart-trust-list {
    gap: 8px;
    margin-top: 14px;
  }

  .opencart-trust-list span {
    min-height: 30px;
    font-size: 12px;
  }

  .product-detail-redesign .opencart-product-hero {
    padding: 22px 0 20px;
  }

  .product-detail-redesign .detail-hero-grid {
    gap: 16px;
  }

  .product-detail-redesign .hero-actions {
    gap: 8px;
    margin-top: 16px;
  }

  .product-detail-redesign .hero-actions .primary-button,
  .product-detail-redesign .hero-actions .secondary-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .product-detail-redesign .hero-gallery-card {
    padding: 10px;
  }

  .product-detail-redesign .hero-gallery-preview img {
    max-height: none;
  }

  .product-detail-redesign .hero-gallery-preview span {
    right: 8px;
    bottom: 8px;
    min-height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }

  .product-detail-redesign .hero-gallery-meta,
  .product-detail-redesign .hero-gallery-thumbs {
    display: none;
  }

  .opencart-search > div,
  .opencart-catalog-tools,
  .product-card-compact-body,
  .opencart-support-grid,
  .opencart-section-heading,
  .product-detail-redesign .feature-list,
  .product-detail-redesign .screenshots-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .opencart-section-heading,
  .opencart-support-grid {
    align-items: start;
  }

  .opencart-section-heading {
    flex-direction: column;
    gap: 10px;
  }

  .opencart-products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .product-card-price {
    text-align: left;
  }

  .product-detail-redesign .detail-main {
    padding: 18px;
  }

  .product-detail-redesign .hero-gallery-thumbs button {
    flex-basis: 88px;
  }
}

/* Catalog filters, pagination, and screenshot carousel */
.opencart-catalog-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.mobile-opencart-filter-toggle,
.catalog-filter-backdrop,
.mobile-filter-close {
  display: none;
}

.opencart-filter-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 20px;
  border: 1px solid rgba(24, 34, 51, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px;
  box-shadow: 0 14px 30px rgba(24, 34, 51, 0.055);
}

.filter-panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.filter-panel-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-panel-heading h3 {
  margin: 0;
  color: #101828;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 650;
}

.filter-panel-heading .icon-button {
  width: 36px;
  height: 36px;
  border-color: rgba(217, 4, 22, 0.12);
  background: #fff;
  color: #b30917;
}

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

.filter-group-title {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.opencart-filter-list {
  display: grid;
  gap: 6px;
}

.opencart-filter-list button {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #344054;
  padding: 0 8px 0 10px;
  text-align: left;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.opencart-filter-list button:hover,
.opencart-filter-list button.is-active {
  border-color: rgba(217, 4, 22, 0.12);
  background: #fff5f6;
  color: #b30917;
}

.opencart-filter-list button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opencart-filter-list button small {
  min-width: 28px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f2f4f7;
  color: #667085;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 650;
}

.opencart-filter-list button.is-active small {
  background: rgba(217, 4, 22, 0.1);
  color: #b30917;
}

.opencart-catalog-content {
  min-width: 0;
}

.catalog-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
}

.catalog-status-row p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 550;
}

#activeFilterSummary {
  min-width: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.catalog-pagination button,
.catalog-pagination .pagination-gap {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(24, 34, 51, 0.1);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-size: 14px;
  font-weight: 650;
}

.catalog-pagination button:hover,
.catalog-pagination button.is-active {
  border-color: #d90416;
  background: #d90416;
  color: #fff;
}

.catalog-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.catalog-pagination button:disabled:hover {
  border-color: rgba(24, 34, 51, 0.1);
  background: #fff;
  color: #344054;
}

.catalog-pagination .pagination-gap {
  border-color: transparent;
  background: transparent;
  color: #98a2b3;
}

.product-detail-redesign .screenshots-grid {
  display: block;
}

.screenshots-carousel {
  display: grid;
  gap: 14px;
}

.screenshots-carousel-stage {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 12px;
  align-items: center;
}

.screenshots-carousel-stage .icon-button {
  width: 46px;
  height: 46px;
  border-color: rgba(24, 34, 51, 0.1);
  background: #fff;
  color: #b30917;
  box-shadow: 0 10px 22px rgba(24, 34, 51, 0.08);
}

.screenshots-carousel-stage .icon-button:disabled {
  opacity: 0.42;
}

.screenshot-carousel-main {
  overflow: hidden;
  border: 1px solid rgba(24, 34, 51, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  text-align: left;
  box-shadow: 0 10px 24px rgba(24, 34, 51, 0.06);
}

.screenshot-carousel-main img {
  width: 100%;
  max-height: 520px;
  height: auto;
  aspect-ratio: auto;
  display: block;
  object-fit: initial;
  background: #fff;
}

.screenshots-carousel-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-color: rgba(217, 4, 22, 0.42) transparent;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.screenshots-carousel-thumbs button {
  flex: 0 0 clamp(112px, 16vw, 156px);
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #fff;
  padding: 0;
  scroll-snap-align: start;
}

.screenshots-carousel-thumbs button.is-active {
  border-color: #d90416;
}

.screenshots-carousel-thumbs img {
  width: 100%;
  aspect-ratio: var(--product-cover-ratio);
  display: block;
  object-fit: cover;
  background: #fff;
}

@media (max-width: 991.98px) {
  .opencart-catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .opencart-filter-panel {
    position: static;
  }
}

@media (max-width: 767.98px) {
  body.catalog-filters-open {
    overflow: hidden;
  }

  body.catalog-filters-open .contact-dock {
    display: none;
  }

  .mobile-opencart-filter-toggle {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(217, 4, 22, 0.16);
    border-radius: 8px;
    background: #fff;
    color: #101828;
    padding: 0 14px;
    box-shadow: 0 12px 28px rgba(24, 34, 51, 0.08);
  }

  .mobile-opencart-filter-toggle > span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
  }

  .mobile-opencart-filter-toggle i {
    color: #d90416;
    font-size: 18px;
  }

  .mobile-opencart-filter-toggle small {
    min-width: 0;
    overflow: hidden;
    border-radius: 999px;
    background: #fff5f6;
    color: #b30917;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1088;
    display: block;
    background: rgba(2, 6, 23, 0.58);
    backdrop-filter: blur(4px);
  }

  .catalog-filter-backdrop[hidden] {
    display: none;
  }

  .opencart-filter-panel {
    position: fixed;
    inset: auto 10px 10px;
    z-index: 1089;
    max-height: min(78dvh, 680px);
    gap: 16px;
    overflow-y: auto;
    padding: 16px;
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    -webkit-overflow-scrolling: touch;
  }

  body.catalog-filters-open .opencart-filter-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-filter-close {
    display: inline-grid;
  }

  .catalog-status-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  #activeFilterSummary {
    text-align: left;
    white-space: normal;
  }

  .screenshots-carousel-stage {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .screenshots-carousel-stage .icon-button {
    width: 38px;
    height: 38px;
  }

  .screenshots-carousel-thumbs {
    gap: 8px;
  }
}

/* Cart and separated checkout flow */
.purchase-panel-lead {
  margin: -4px 0 14px;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.product-detail-redesign .purchase-panel .outline-button,
.cart-summary-panel .outline-button,
.cart-summary-panel .primary-button {
  width: 100%;
}

.cart-hero {
  padding: 38px 0;
  border-bottom: 1px solid rgba(24, 34, 51, 0.08);
  background:
    linear-gradient(130deg, #fff 0 58%, #effbf8 58% 70%, #fff3f4 70% 100%),
    repeating-linear-gradient(135deg, rgba(24, 34, 51, 0.045) 0 1px, transparent 1px 30px);
}

.cart-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cart-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #101828;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 720;
}

.cart-hero p:not(.opencart-eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: #475467;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 450;
}

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(24, 34, 51, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #667085;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.checkout-steps span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f2f4f7;
  color: #667085;
  font-size: 12px;
}

.checkout-steps .is-active {
  border-color: rgba(217, 4, 22, 0.24);
  color: #b30917;
}

.checkout-steps .is-active span {
  background: #d90416;
  color: #fff;
}

.cart-shell {
  padding: 30px 0 54px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.cart-item-panel,
.cart-summary-panel,
.cart-empty-state {
  border: 1px solid rgba(24, 34, 51, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 34, 51, 0.065);
}

.cart-item-panel {
  padding: 22px;
}

.cart-item-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.cart-item-heading h2,
.cart-summary-panel h2,
.cart-empty-state h2 {
  margin: 0;
  color: #101828;
  font-size: 24px;
  font-weight: 650;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(24, 34, 51, 0.08);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.cart-item-cover {
  aspect-ratio: var(--product-cover-ratio);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #071326;
  color: #fff;
}

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

.cart-item-cover i {
  font-size: 34px;
}

.cart-item-copy h3 {
  margin: 0 0 6px;
  color: #101828;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 650;
}

.cart-item-copy p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.cart-item-price {
  color: #b30917;
  text-align: right;
}

.cart-item-price > strong {
  color: #101828;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

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

.cart-payment-panel {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  border-top: 1px solid rgba(24, 34, 51, 0.08);
  padding-top: 22px;
}

.cart-section-heading {
  display: grid;
  gap: 4px;
}

.cart-section-heading h2 {
  margin: 0;
  color: #101828;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 650;
}

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

.payment-method-card {
  position: relative;
  min-height: 116px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(24, 34, 51, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.payment-method-card:hover {
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: 0 12px 28px rgba(24, 34, 51, 0.08);
}

.payment-method-card.is-selected {
  border-color: rgba(15, 118, 110, 0.55);
  background: #f3fbf9;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.payment-method-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.payment-method-card:has(input:focus-visible) {
  outline: 3px solid rgba(217, 4, 22, 0.22);
  outline-offset: 3px;
}

.payment-method-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff7f8;
  color: #b30917;
  font-size: 21px;
}

.payment-method-card.is-selected .payment-method-icon {
  background: #dff6f1;
  color: #0f766e;
}

.payment-method-card strong,
.payment-method-card small {
  display: block;
}

.payment-method-card strong {
  color: #101828;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
}

.payment-method-card small {
  margin-top: 5px;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.cart-summary-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.cart-summary-row,
.cart-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-summary-row {
  border-bottom: 1px solid rgba(24, 34, 51, 0.08);
  padding-bottom: 12px;
}

.cart-summary-row span,
.cart-summary-total span {
  color: #667085;
  font-weight: 500;
}

.cart-summary-row strong {
  color: #101828;
  font-weight: 650;
}

.cart-summary-total {
  border-radius: 8px;
  background: #fff7f8;
  padding: 14px;
}

.cart-summary-total strong {
  color: #b30917;
  font-size: 30px;
  font-weight: 700;
}

.cart-empty-state {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 54px 24px;
  text-align: center;
}

.cart-empty-state > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(217, 4, 22, 0.1);
  color: #b30917;
  font-size: 26px;
}

.cart-empty-state p {
  max-width: 440px;
  margin: 0;
  color: #667085;
}

.checkout-item-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-item-list li {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(24, 34, 51, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  padding: 10px 12px;
}

.checkout-item-list span {
  color: #101828;
  font-weight: 600;
}

.checkout-item-list small {
  color: #667085;
  overflow-wrap: anywhere;
}

.checkout-payment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  gap: 18px;
  align-items: start;
}

.checkout-payment-single {
  grid-template-columns: minmax(0, 1fr);
}

.checkout-payment-grid > * {
  min-width: 0;
}

.checkout-payment-grid .payment-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.checkout-payment-grid .payment-field .copy-button {
  width: 100%;
}

.checkout-bank-transfer {
  margin-top: 0;
}

.checkout-bank-transfer .copy-button {
  width: 100%;
}

.checkout-bank-transfer-full {
  width: 100%;
}

.bank-transfer-lead {
  margin: 10px 0 16px;
  color: #475467;
  font-size: 14px;
  line-height: 1.58;
}

.bank-transfer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.payment-instructions {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 14px 16px 14px 34px;
  border-radius: 8px;
  background: #f8fafc;
  color: #475467;
  font-size: 14px;
  line-height: 1.5;
}

.checkout-downloads {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 991.98px) {
  .cart-hero-grid,
  .cart-layout,
  .checkout-payment-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cart-summary-panel {
    position: static;
  }

  .checkout-steps {
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .cart-hero {
    padding: 26px 0;
  }

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

  .payment-method-options,
  .bank-transfer-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .cart-item-heading {
    flex-direction: column;
  }

  .cart-item-heading .outline-button {
    width: 100%;
  }

  .cart-item-price {
    text-align: left;
  }

  .cart-item-cover {
    max-width: 240px;
  }
}

@media (max-width: 767.98px) {
  body.mobile-nav-open {
    overflow: hidden;
  }

  body.mobile-nav-open .storefront-navbar {
    z-index: 1200;
  }

  .storefront-navbar .storefront-container > .d-flex {
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .storefront-brand {
    min-width: 0;
  }

  .storefront-brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-nav-toggle {
    width: 44px;
    height: 42px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid rgba(24, 34, 51, 0.1);
    border-radius: 8px;
    background: #fff;
    color: #101828;
    box-shadow: 0 10px 24px rgba(24, 34, 51, 0.08);
    cursor: pointer;
  }

  .mobile-nav-toggle i {
    font-size: 22px;
    line-height: 1;
  }

  .mobile-nav-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .storefront-navbar .storefront-nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1202;
    width: min(84vw, 320px);
    max-width: calc(100vw - 56px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    border-right: 1px solid rgba(24, 34, 51, 0.1);
    background: #fff;
    box-shadow: 18px 0 44px rgba(24, 34, 51, 0.18);
    transform: translate3d(-106%, 0, 0);
    transition: transform 0.22s ease;
    overscroll-behavior: contain;
  }

  body.mobile-nav-open .storefront-navbar .storefront-nav {
    transform: translate3d(0, 0, 0);
  }

  .storefront-navbar .storefront-nav a,
  .opencart-store-page .storefront-navbar .storefront-nav a,
  .product-detail-redesign .storefront-navbar .storefront-nav a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    border-radius: 8px;
    padding: 0 12px;
    color: #344054;
    font-size: 15px;
    font-weight: 650;
  }

  .mobile-nav-close {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    border: 0;
    border-radius: 8px;
    background: #f3f6f9;
    color: #182233;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
  }

  .mobile-nav-close i {
    color: #d90416;
    font-size: 20px;
    line-height: 1;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: block;
    background: rgba(16, 24, 40, 0.42);
    backdrop-filter: blur(4px);
  }

  .mobile-nav-backdrop[hidden] {
    display: none;
  }

  .storefront-navbar .language-switcher {
    width: 100%;
    justify-content: stretch;
    margin-top: auto;
    background: #f8fafc;
  }

  .storefront-navbar .language-switcher button {
    flex: 1;
  }
}

@media (min-width: 768px) {
  body.mobile-nav-open {
    overflow: auto;
  }
}
