* {
  box-sizing: border-box;
}

/* Product detail full-screen overrides */
.product-detail-page {
  width: 100%;
  min-height: 100vh;
  background: #fff;
}

.detail-store-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0 clamp(12px, 2vw, 28px) 38px;
  box-shadow: none;
}

.detail-hero {
  margin-inline: calc(-1 * clamp(12px, 2vw, 28px));
  padding-inline: clamp(12px, 6vw, 120px);
}

.detail-store-page .detail-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px 0 20px;
  border-bottom: 1px solid #e7ebf2;
}

.detail-store-page .detail-about-text {
  display: block;
  margin: 0;
  max-width: 760px;
  color: #3a465c;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.detail-store-page .detail-about-text.detail-point-list {
  padding-left: 1.2rem;
  list-style: disc;
}

.detail-store-page .detail-about-text.detail-point-list li {
  color: #3a465c;
  font-size: 14px;
  line-height: 1.55;
}

/* Fluid responsive guardrails */
img,
svg,
video,
canvas {
  max-width: 100%;
}

input,
textarea,
select,
button {
  max-width: 100%;
}

.detail-store-page .detail-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px 0 20px;
  border-bottom: 1px solid #e7ebf2;
}

.detail-store-page .detail-about-text {
  display: block;
  margin: 0;
  max-width: 760px;
  color: #3a465c;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.detail-store-page .detail-about-text.detail-point-list {
  padding-left: 1.2rem;
  list-style: disc;
}

.detail-store-page .detail-about-text.detail-point-list li {
  color: #3a465c;
  font-size: 14px;
  line-height: 1.55;
}

/* Product detail marketplace layout */
.product-detail-page {
  background: #eef2f7;
}

.detail-store-page {
  width: min(1240px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 28px 38px;
  color: #151b2d;
  background: #fff;
  box-shadow: 0 20px 70px rgba(20, 30, 55, 0.14);
}

.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  margin-bottom: 10px;
}

.detail-menu,
.detail-cart {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #463cff;
  background: #f1f3ff;
  font-size: 15px;
  font-weight: 900;
}

.detail-store-brand {
  font-size: 15px;
  font-weight: 900;
}

.detail-store-brand span {
  color: #315cff;
}

.detail-hero {
  position: relative;
  min-height: 300px;
  padding: 18px 0 26px;
  color: #121827;
  background:
    radial-gradient(circle at 78% 38%, rgba(83, 89, 255, 0.14), transparent 30%),
    #fff;
  overflow: hidden;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  pointer-events: none;
}

.detail-hero.has-badge-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 25, 31, 0.72), rgba(10, 25, 31, 0.42));
  pointer-events: none;
}

.detail-batch {
  position: absolute;
  right: 28px;
  top: -12px;
  color: rgba(83, 89, 255, 0.08);
  font-size: clamp(130px, 19vw, 250px);
  line-height: 0.78;
  font-weight: 900;
  letter-spacing: -10px;
  pointer-events: none;
}

.detail-batch span {
  display: block;
  margin: 0 0 8px 20px;
  color: rgba(83, 89, 255, 0.16);
  font-size: 22px;
  letter-spacing: 18px;
}

.detail-product-identity {
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  overflow: visible;
}

.detail-logo {
  width: 180px;
  height: 180px;
  border: 1px solid #e0e7f0;
  border-radius: 18px;
  object-fit: contain;
  background: #081226;
  box-shadow: 0 16px 38px rgba(20, 30, 55, 0.14);
}

.detail-badge-bg {
  position: absolute;
  left: 118px;
  top: 42px;
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0.13;
  pointer-events: none;
}

.detail-kicker {
  margin: 4px 0 2px;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.detail-product-identity h1 {
  margin: 0 0 5px;
  color: #111827;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: none;
}

.detail-subtitle {
  max-width: 360px;
  margin: 0 0 14px;
  color: #42506a;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-pills span {
  padding: 6px 10px;
  border: 1px solid #dfe6f4;
  border-radius: 999px;
  color: #4b5670;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

.detail-content {
  min-height: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-top: 1px solid #e7ebf2;
}

.detail-section-label {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: #5c3cff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-section-label::after {
  content: "VorldX Store";
  color: #9aa4b7;
  letter-spacing: 7px;
}

.detail-about-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.6fr) minmax(0, 1fr);
  gap: 40px;
  padding: 16px 0 20px;
  border-bottom: 1px solid #e7ebf2;
}

.detail-about-grid-single {
  grid-template-columns: 1fr;
  gap: 8px;
}

.detail-about-heading {
  max-width: 100%;
}

.detail-overline {
  margin: 0 0 8px;
  color: #315cff !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-about-grid h2 {
  margin: 0;
  max-width: 320px;
  color: #101727;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.3px;
}

.detail-content p,
.detail-content li {
  color: #3a465c;
  font-size: 14px;
  line-height: 1.55;
}

.detail-about-text {
  white-space: pre-wrap;
}

.detail-point-list {
  margin: 0;
  padding-left: 1.2rem;
}

.detail-point-list li + li {
  margin-top: 0.45rem;
}

.detail-subtitle.detail-point-list {
  padding-left: 1.1rem;
}

.detail-features {
  padding: 16px 0 18px;
  border-bottom: 1px solid #e7ebf2;
}

.detail-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
}

.detail-feature-card {
  min-height: 92px;
  padding: 10px 14px;
  border-left: 1px solid #e7ebf2;
}

.detail-feature-card:first-child {
  border-left: 0;
}

.detail-feature-card span {
  color: #6e79ff;
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}

.detail-feature-card p {
  margin: 8px 0 0;
  color: #273146;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.detail-child,
.detail-price-row,
.detail-action-row {
  padding: 18px 0;
  border-bottom: 1px solid #e7ebf2;
}

.detail-price-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.detail-price-row strong {
  color: #101727;
  font-size: 24px;
}

.detail-buy {
  min-height: 44px;
  border-radius: 6px;
  background: linear-gradient(135deg, #4839ff, #7b3cff);
}

.detail-action-row {
  display: flex;
  justify-content: flex-end;
}

.detail-action-row .detail-buy {
  width: min(320px, 100%);
}

#review {
  margin: 22px 0 12px;
  color: #101727;
  font-size: 20px;
}

.review-form,
.review-item {
  border-color: #e7ebf2;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 760px) {
  .detail-store-page {
    width: min(360px, calc(100% - 20px));
    padding: 12px 14px 18px;
    border-radius: 22px;
  }

  .detail-topbar {
    height: 28px;
    margin-bottom: 8px;
  }

  .detail-menu,
  .detail-cart {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .detail-store-brand {
    font-size: 11px;
  }

  .detail-hero {
    min-height: 178px;
    padding: 8px 0 14px;
  }

  .detail-batch {
    right: -2px;
    top: 24px;
    font-size: 104px;
    letter-spacing: -5px;
  }

  .detail-batch span {
    margin-left: 16px;
    font-size: 10px;
    letter-spacing: 7px;
  }

  .detail-product-identity {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }

  .detail-logo {
    width: 72px;
    height: 72px;
    border-radius: 12px;
  }

  .detail-badge-bg {
    left: 38px;
    top: 18px;
    width: 64px;
    height: 64px;
  }

  .detail-kicker {
    margin-top: 0;
    font-size: 9px;
  }

  .detail-product-identity h1 {
    font-size: 27px;
  }

  .detail-subtitle {
    margin-bottom: 8px;
    font-size: 9.5px;
    line-height: 1.3;
  }

  .detail-pills {
    gap: 5px;
  }

  .detail-pills span {
    padding: 4px 6px;
    font-size: 7px;
  }

  .detail-section-label {
    padding: 7px 0;
    font-size: 8px;
  }

  .detail-section-label::after {
    letter-spacing: 3px;
  }

  .detail-about-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 0 12px;
  }

  .detail-overline {
    font-size: 8px !important;
  }

  .detail-about-grid h2 {
    font-size: 18px;
  }

  .detail-content p,
  .detail-content li {
    font-size: 9.5px;
    line-height: 1.5;
  }

  .detail-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-feature-card {
    min-height: 72px;
    padding: 8px 6px;
  }

  .detail-feature-card:nth-child(3n + 1) {
    border-left: 0;
  }

  .detail-feature-card span {
    font-size: 21px;
  }

  .detail-feature-card p {
    font-size: 7.2px;
  }

  .detail-price-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-price-row strong {
    font-size: 15px;
  }

  .detail-buy {
    width: 100%;
  }

  #review {
    font-size: 15px;
  }
}

:root {
  --ink: #091127;
  --muted: #4e5872;
  --blue: #155df7;
  --violet: #8038ff;
  --panel: #ffffff;
  --line: #e6e9f4;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}

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

.page-shell {
  width: 100%;
  min-width: 320px;
  margin: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 153px;
  height: auto;
  object-fit: contain;
}

.brand span,
h1 span,
.footer-bottom span {
  color: #315cff;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 0 auto;
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a {
  padding: 30px 0 27px;
  color: #17213a;
  border-bottom: 3px solid transparent;
}

.desktop-nav .active {
  color: #243cff;
  border-color: #7b4cff;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.nav-search input {
  width: 170px;
  height: 34px;
  border: 1px solid #cfd6e8;
  border-radius: 5px;
  padding: 0 10px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  outline: 0;
  background: #fff;
}

.nav-search input:focus {
  border-color: #315cff;
  box-shadow: 0 0 0 3px rgba(49, 92, 255, 0.1);
}

.nav-search button {
  height: 34px;
  border: 0;
  border-radius: 5px;
  padding: 0 13px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  background: linear-gradient(120deg, #264dff, #963dff);
  cursor: pointer;
}

.contact-btn,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 47px;
  padding: 0 32px;
  border-radius: 5px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(120deg, #264dff, #963dff);
  box-shadow: 0 10px 24px rgba(84, 67, 255, 0.24);
}

.menu-btn {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 6px;
}

.menu-btn span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #101827;
}

.mobile-nav {
  display: none;
}

.hero {
  min-height: 520px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px clamp(24px, 4.7vw, 80px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 34%, rgba(255, 255, 255, 0.05) 67%),
    url("assets/hero.png") center / cover no-repeat;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  margin: 0 0 16px;
  padding: 8px 15px;
  border: 1px solid #dddafe;
  border-radius: 999px;
  color: #3a37ff;
  background: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(64, 65, 255, 0.08);
}

.hero h1 {
  max-width: 570px;
  margin: 0 0 14px;
  font-size: clamp(40px, 4.3vw, 64px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: #365cff;
  background: linear-gradient(110deg, #2864ff, #8b31ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  max-width: 540px;
  margin: 0 0 22px;
  color: #4a5367;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero .primary-btn,
.hero .secondary-btn {
  min-width: 226px;
  min-height: 54px;
  gap: 12px;
  border-radius: 10px;
  font-size: 15px;
}

.hero .secondary-btn {
  border-color: #d7dcf0;
  color: #10172d;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 25px rgba(40, 58, 110, 0.08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-proof div {
  min-width: 158px;
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 10px;
  align-items: center;
  color: #14203b;
}

.hero-proof div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(109, 119, 160, 0.22);
}

.hero-proof span {
  grid-row: span 2;
  color: #6c2cff;
  font-size: 21px;
  line-height: 1;
}

.hero-proof strong {
  font-size: 12px;
  line-height: 1.15;
}

.hero-proof small {
  color: #5a6680;
  font-size: 11px;
  font-weight: 600;
}

.hero-categories {
  position: absolute;
  left: clamp(16px, 4.4vw, 74px);
  right: clamp(16px, 4.4vw, 74px);
  bottom: 22px;
  min-height: 68px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 50px rgba(50, 56, 130, 0.12);
  backdrop-filter: blur(12px);
}

.hero-categories a {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #10172d;
  font-size: 14px;
  font-weight: 900;
  border-left: 1px solid #dfe4f2;
}

.hero-categories a:first-child {
  margin-left: 14px;
  border-left: 0;
  border-radius: 10px;
  color: #6d2cff;
  background: #f4f5ff;
}

.hero-categories a span {
  color: #6735ff;
  font-size: 20px;
}

.secondary-btn {
  display: inline-flex;
  min-height: 47px;
  min-width: 178px;
  align-items: center;
  justify-content: center;
  border: 1px solid #8e98bd;
  border-radius: 5px;
  color: #263052;
  font-size: 13px;
  font-weight: 800;
}

.hero-art {
  position: relative;
  height: clamp(260px, 28vw, 360px);
  display: grid;
  place-items: center;
  min-width: 0;
}

.x-mark {
  position: relative;
  width: clamp(250px, 28vw, 360px);
  height: clamp(216px, 24vw, 310px);
  filter: drop-shadow(0 28px 28px rgba(43, 57, 214, 0.3));
  transform: perspective(650px) rotateY(-14deg) rotateX(3deg);
}

.bar {
  position: absolute;
  left: 39%;
  top: -4%;
  width: 25.5%;
  height: 107%;
  border-radius: 24px 24px 14px 14px;
  background: linear-gradient(135deg, #15c5ff 0%, #145cff 42%, #8845ff 74%, #c33cff 100%);
  box-shadow: inset -15px 0 25px rgba(255, 255, 255, 0.22);
}

.bar-left {
  transform: rotate(-38deg);
}

.bar-right {
  transform: rotate(38deg);
  background: linear-gradient(135deg, #8e3dff 0%, #1d6cff 48%, #20c3ff 100%);
}

.orbit {
  position: absolute;
  width: min(445px, 100%);
  height: clamp(78px, 9vw, 118px);
  border: 1px solid rgba(62, 84, 255, 0.42);
  border-radius: 50%;
}

.orbit-one {
  transform: rotate(-14deg);
}

.orbit-two {
  transform: rotate(-34deg);
}

.dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #6d75ff;
  box-shadow: 0 0 18px rgba(67, 82, 255, 0.6);
}

.dot-a { right: 142px; top: 62px; }
.dot-b { right: 195px; bottom: 86px; }
.dot-c { left: 106px; top: 142px; }

.glow-ring {
  position: absolute;
  bottom: 28px;
  width: min(472px, 100%);
  height: clamp(42px, 5vw, 64px);
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.95);
  background: radial-gradient(ellipse, rgba(94, 122, 255, 0.22), transparent 62%);
  box-shadow: 0 0 25px rgba(57, 92, 255, 0.22);
}

.products {
  padding: 30px clamp(16px, 5vw, 65px) 31px;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.section-heading h2,
.about h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.section-heading span,
.tiny-rule {
  display: block;
  width: 50px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #225cff, #9744ff);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 396px));
  justify-content: center;
  gap: 36px;
}

.product-search {
  width: min(760px, 100%);
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
}

.product-search input {
  min-width: 0;
  border: 1px solid #cfd6e8;
  border-radius: 6px;
  padding: 0 18px;
  min-height: 48px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  outline: 0;
  background: #fff;
  box-shadow: 0 8px 22px rgba(30, 45, 83, 0.06);
}

.product-search input:focus {
  border-color: #315cff;
  box-shadow: 0 0 0 3px rgba(49, 92, 255, 0.12);
}

.product-search .primary-btn {
  min-height: 48px;
  border: 0;
  cursor: pointer;
}

.search-clear {
  min-width: 94px;
  min-height: 48px;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
}

.product-results {
  min-height: 120px;
}

.product-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed #cfd6e8;
  border-radius: 8px;
  background: #fbfcff;
  font-size: 14px;
  font-weight: 700;
}

.product-card {
  width: 100%;
  min-height: 420px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(30, 45, 83, 0.11);
  min-width: 0;
  overflow: hidden;
}

.product-card-head {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 34px;
  overflow: hidden;
}

.icon {
  width: 72px;
  height: 72px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
  overflow: hidden;
  padding: 6px;
  background-clip: padding-box;
}

.icon img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.blue { background: #dfeeff; }
.violet { background: #eee8ff; }
.sky { background: #e3f2ff; }
.pink { background: #ffe5f0; }
.mint { background: #ddf8f1; }
.purple { background: #f0e8ff; }

.product-card h3 {
  margin: 0;
  font-size: 25px;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-badge-bg {
  position: absolute;
  right: 0;
  top: 50%;
  width: 86px;
  height: 86px;
  object-fit: contain;
  opacity: 0.22;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.product-card-head .icon,
.product-card-head h3 {
  position: relative;
  z-index: 1;
}

.product-status {
  display: inline-flex;
  margin: -8px 0 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #315cff;
  background: #eef2ff;
  font-size: 10px;
  font-weight: 800;
  text-transform: capitalize;
}

.product-card p {
  min-height: 0;
  margin: 0 0 28px;
  color: #4c5367;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 500;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card a {
  color: #253cff;
  font-size: 13px;
  font-weight: 800;
}

.product-card-bottom {
  --product-action-height: 82px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-top: auto;
}

.product-price {
  display: flex;
  width: 100%;
  min-height: var(--product-action-height);
  height: var(--product-action-height);
  align-items: center;
  padding: 12px 13px;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  color: #008037;
  background: #fbfcff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  white-space: pre-line;
}

.visit-link {
  margin-top: 0;
  width: 100%;
  min-height: var(--product-action-height);
  height: var(--product-action-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  background: #0772ac;
  font-size: 20px;
  font-weight: 800;
}

.visit-link.muted {
  color: #8a93aa;
}

.product-card-bottom .product-price {
  color: #111827 !important;
  background: #fff1a8;
  border-color: #ffd34d;
}

.product-card-bottom .visit-link,
.product-card-bottom .visit-link:visited {
  color: #fff;
  background: #087db4;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
  padding: 0 clamp(24px, 6vw, 99px) 14px;
}

.tiny-rule {
  margin: 9px 0 15px;
}

.about p {
  margin: 0 0 22px;
  color: #30394f;
  font-size: 14px;
  line-height: 1.5;
}

.primary-btn.small {
  min-height: 40px;
  padding: 0 24px;
}

.city-art {
  position: relative;
  height: 190px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, #372472 0%, #3c65d0 42%, #100a30 100%);
}

.sunset {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 109, 193, 0.55), transparent 18%),
    radial-gradient(circle at 58% 24%, rgba(45, 203, 255, 0.3), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
}

.skyline {
  position: absolute;
  left: 12%;
  right: 8%;
  bottom: 38px;
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.skyline span {
  flex: 1;
  min-width: 18px;
  border: 1px solid rgba(87, 177, 255, 0.5);
  background: linear-gradient(180deg, rgba(27, 174, 255, 0.64), rgba(10, 21, 86, 0.94));
  box-shadow: 0 0 18px rgba(55, 128, 255, 0.46);
}

.skyline span:nth-child(1) { height: 44%; }
.skyline span:nth-child(2) { height: 76%; }
.skyline span:nth-child(3) { height: 58%; }
.skyline span:nth-child(4) { height: 92%; }
.skyline span:nth-child(5) { height: 66%; }
.skyline span:nth-child(6) { height: 84%; }
.skyline span:nth-child(7) { height: 50%; }
.skyline span:nth-child(8) { height: 98%; }
.skyline span:nth-child(9) { height: 71%; }

.road {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -34px;
  height: 95px;
  background:
    linear-gradient(94deg, transparent 44%, rgba(255, 70, 241, 0.75) 48%, transparent 52%),
    linear-gradient(84deg, transparent 42%, rgba(63, 203, 255, 0.65) 47%, transparent 51%),
    rgba(5, 10, 32, 0.9);
  transform: perspective(450px) rotateX(58deg);
}

.contact-section {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: clamp(18px, 4vw, 40px);
  border: 1px solid #e0e6ef;
  border-radius: 0;
  background: rgba(8, 18, 37, 0.64);
  box-shadow: none;
  overflow-y: auto;
}

.contact-section:target {
  display: block;
}

.contact-section::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(8, 18, 37, 0.64);
}

.contact-section > * {
  width: min(1120px, 100%);
  margin-inline: auto;
  background: #fff;
}

.contact-section > .contact-heading {
  border-radius: 8px 8px 0 0;
  padding: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 34px) 18px;
}

.contact-section > .contact-intro {
  max-width: min(1120px, 100%);
  padding: 16px clamp(18px, 3vw, 34px) 22px;
}

.contact-section > .contact-layout {
  border-radius: 0 0 8px 8px;
  padding: 22px clamp(18px, 3vw, 34px) clamp(18px, 3vw, 34px);
}

.contact-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dfe5f0;
}

.contact-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border-radius: 50%;
  color: #1f2a44;
  background: #eef4ff;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.contact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #1267ff, #7b32ff);
  font-weight: 900;
}

.contact-heading h2,
.contact-reasons h3,
.contact-form h3 {
  margin: 0;
  color: #091127;
}

.contact-heading .tiny-rule {
  margin: 8px 0 0;
}

.contact-intro {
  max-width: 720px;
  margin: 16px 0 22px;
  color: #4e5872;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
}

.contact-reasons {
  display: grid;
  gap: 18px;
  align-content: start;
  padding-right: clamp(12px, 2vw, 28px);
  border-right: 1px solid #e5ebf5;
}

.contact-reasons h3,
.contact-form h3 {
  color: #1267ff;
  font-size: 18px;
}

.contact-reason {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.contact-reason span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #1267ff;
  background: #eef4ff;
  font-weight: 900;
}

.contact-reason strong {
  display: block;
  margin-bottom: 4px;
  color: #111827;
  font-size: 13px;
}

.contact-reason p {
  margin: 0;
  color: #536079;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(30, 45, 83, 0.08);
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #536079;
  font-size: 12px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd7e6;
  border-radius: 6px;
  padding: 12px 14px;
  color: #091127;
  font: inherit;
  font-size: 13px;
  outline: 0;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #315cff;
  box-shadow: 0 0 0 3px rgba(49, 92, 255, 0.1);
}

.contact-form .primary-btn {
  justify-self: end;
  min-height: 42px;
  border: 0;
  cursor: pointer;
}

.footer {
  color: #fff;
  background: linear-gradient(120deg, #081225, #071733 55%, #071023);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(150px, 0.82fr) minmax(240px, 1.15fr);
  gap: clamp(24px, 4vw, 44px);
  padding: 30px clamp(24px, 6vw, 99px) 25px;
}

.brand.light {
  display: inline-flex;
  margin-bottom: 12px;
}

.brand.light .brand-logo {
  width: clamp(160px, 13vw, 220px);
  transform: none;
  transform-origin: center;
}

.footer p,
.footer a {
  color: #c8d2e8;
  font-size: 12px;
  line-height: 1.65;
}

.footer h3 {
  margin: 0 0 13px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.socials {
  display: flex;
  gap: 13px;
  margin-top: 18px;
}

.socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
}

.newsletter form {
  display: flex;
  height: 42px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 15px;
  color: #fff;
  background: transparent;
  outline: 0;
}

.newsletter button {
  width: 44px;
  border: 0;
  color: #fff;
  font-size: 20px;
  background: linear-gradient(135deg, #2454ff, #a141ff);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 16px clamp(24px, 6vw, 99px);
  background: rgba(0, 0, 0, 0.16);
}

.footer-bottom p {
  margin: 0;
}

.footer-copyright {
  padding: 14px 16px;
  text-align: center;
  background: rgba(0, 0, 0, 0.24);
}

.footer-copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.footer-ecosystem-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-ecosystem-btn:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.product-detail-page {
  min-height: 100vh;
  background: #f8f8f8;
}

.detail-hero {
  padding: 24px clamp(24px, 6vw, 120px) 46px;
  color: #fff;
  background: linear-gradient(120deg, #122c32, #244d5c);
}

.detail-hero-bg {
  opacity: 0.48;
}

.detail-breadcrumb {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: 800;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 40px;
  align-items: start;
}

.detail-product-identity {
  position: relative;
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  overflow: hidden;
}

.detail-logo {
  width: 144px;
  height: 144px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  object-fit: contain;
  background: #fff;
}

.detail-product-identity h1 {
  margin: -8px 0 18px;
  font-size: 34px;
  line-height: 1.1;
  text-transform: uppercase;
}

.detail-badge-bg {
  position: absolute;
  left: 188px;
  top: 42px;
  width: 142px;
  height: 142px;
  object-fit: contain;
  opacity: 0.26;
  pointer-events: none;
}

.detail-logo,
.detail-product-identity h1 {
  position: relative;
  z-index: 1;
}

.detail-buy-box {
  text-align: right;
}

.detail-buy-box p {
  margin: 0 0 26px;
  font-size: 30px;
  font-weight: 900;
}

.detail-buy {
  width: 100%;
  background: #28a1e4;
}

.detail-action-row .detail-buy {
  width: min(320px, 100%);
}

.detail-body {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 58px;
  padding: 14px clamp(24px, 6vw, 120px) 0;
}

.detail-sidebar {
  padding: 28px 12px;
  background: #fff;
}

.detail-sidebar a {
  display: block;
  margin: 0 0 34px;
  color: #000;
  font-size: 23px;
}

.detail-sidebar .active {
  width: max-content;
  padding-bottom: 14px;
  color: #2454ff;
  border-bottom: 3px solid #3c74ff;
  font-weight: 800;
}

.claim-btn {
  width: 194px;
  padding: 13px 20px;
  border-radius: 10px;
  color: #fff !important;
  background: #35a6e8;
  text-align: center;
  font-weight: 800;
}

.detail-content {
  min-height: 500px;
  padding: 48px 36px;
  background: #fff;
  box-shadow: 0 0 18px rgba(30, 45, 83, 0.08);
}

.detail-title-row {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.detail-title-row h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
}

.detail-title-row span {
  padding: 18px 22px;
  border: 1px solid #ffc928;
  border-radius: 10px;
  color: #111827;
  background: #fff4c7;
  font-size: 18px;
  font-weight: 800;
}

.detail-content p,
.detail-content li {
  color: #354057;
  font-size: 26px;
  line-height: 1.35;
}

.review-form {
  display: grid;
  gap: 14px;
  margin: 18px 0 26px;
  padding: 22px;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  background: #fbfcff;
}

.review-star-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
}

.review-star-option {
  cursor: pointer;
}

.review-star-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-star-option span {
  color: #cfd6e8;
  font-size: 28px;
  line-height: 1;
}

.review-star-option.is-active span,
.review-stars {
  color: #f6b400;
  font-size: 28px;
  line-height: 1;
}

.review-star-option:hover span,
.review-star-option:hover ~ .review-star-option span,
.review-star-option input:checked ~ span {
  color: #f6b400;
}

.review-form textarea {
  width: 100%;
  min-height: 116px;
  border: 1px solid #cfd6e8;
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  resize: vertical;
  outline: 0;
}

.review-form textarea:focus {
  border-color: #315cff;
  box-shadow: 0 0 0 3px rgba(49, 92, 255, 0.12);
}

.review-form .primary-btn {
  width: max-content;
  border: 0;
  cursor: pointer;
}

.review-message {
  margin: 0;
  font-size: 14px !important;
  font-weight: 800;
}

.review-message[data-type="success"] {
  color: #087f5b;
}

.review-message[data-type="error"] {
  color: #c92a2a;
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-item {
  padding: 18px;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  background: #fff;
}

.review-item p,
.review-empty {
  margin: 10px 0 0;
  font-size: 17px !important;
  line-height: 1.5 !important;
}

.advantages-panel {
  margin: 32px 0;
  padding: 38px;
  border-radius: 14px;
  color: #fff;
  background: #35a6e8;
}

.advantages-panel h3 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 30px;
}

.advantages-panel li {
  color: #fff;
}

.detail-error,
.product-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
}

.content-page {
  min-height: calc(100vh - 78px);
  padding: 42px clamp(20px, 6vw, 99px) 58px;
  background:
    radial-gradient(circle at 86% 8%, rgba(106, 80, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 58%, #ffffff 100%);
}

.content-hero {
  max-width: 870px;
  margin: 0 auto 28px;
  text-align: center;
}

.content-hero .eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #2d3cff;
  background: #f0edff;
  font-size: 11px;
  font-weight: 800;
}

.content-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.content-hero p {
  margin: 0 auto;
  max-width: 690px;
  color: #4a5367;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 600;
}

.content-panel {
  width: min(930px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(30, 45, 83, 0.08);
}

.content-panel h2 {
  margin: 28px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.content-panel h2:first-child {
  margin-top: 0;
}

.content-panel p,
.content-panel li {
  color: #30394f;
  font-size: 15px;
  line-height: 1.72;
}

.content-panel p {
  margin: 0 0 13px;
}

.content-panel ul {
  margin: 0 0 14px 20px;
  padding: 0;
}

.admin-page {
  background: #f4f6fb;
}

[hidden] {
  display: none !important;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 76% 18%, rgba(125, 67, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff, #f3f6ff);
}

.login-card {
  width: min(420px, 100%);
  padding: 30px;
  border: 1px solid #dfe4f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(30, 45, 83, 0.12);
}

.login-card .brand {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 32px;
}

.login-card h1 {
  margin: 0 0 20px;
  font-size: 28px;
}

.login-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #1a2440;
  font-size: 13px;
  font-weight: 800;
}

.login-card input {
  width: 100%;
  border: 1px solid #cfd6e8;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.login-card input:focus {
  border-color: #315cff;
  box-shadow: 0 0 0 3px rgba(49, 92, 255, 0.12);
}

.admin-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto;
}

.admin-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid #dfe4f1;
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 0%, rgba(115, 68, 255, 0.14), transparent 32%),
    #ffffff;
  box-shadow: 0 18px 55px rgba(30, 45, 83, 0.08);
}

.admin-kicker {
  margin: 0 0 5px;
  color: #315cff;
  font-size: 13px;
  font-weight: 800;
}

.admin-hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

.admin-hero p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-home {
  min-width: 120px;
  background: #fff;
}

.admin-actions {
  display: flex;
  gap: 12px;
}

.admin-logout {
  min-width: 104px;
  border-color: #ffd0d0;
  color: #c92a2a;
  background: #fff5f5;
  cursor: pointer;
}

.admin-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  margin-top: 24px;
}

.admin-form,
.admin-products {
  padding: 24px;
  border: 1px solid #dfe4f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(30, 45, 83, 0.07);
}

.admin-form h2,
.admin-section-title h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #1a2440;
  font-size: 13px;
  font-weight: 800;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid #cfd6e8;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  outline: 0;
  background: #fff;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  border-color: #315cff;
  box-shadow: 0 0 0 3px rgba(49, 92, 255, 0.12);
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.admin-message {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-message[data-type="success"] {
  color: #087f5b;
}

.admin-message[data-type="error"] {
  color: #c92a2a;
}

.admin-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.admin-section-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-search {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  margin: 0 0 16px;
}

.admin-search input {
  min-width: 0;
  border: 1px solid #cfd6e8;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  outline: 0;
  background: #fff;
}

.admin-search input:focus {
  border-color: #315cff;
  box-shadow: 0 0 0 3px rgba(49, 92, 255, 0.12);
}

.admin-search .primary-btn {
  min-height: 45px;
  border: 0;
  cursor: pointer;
}

.admin-search .search-clear {
  min-height: 45px;
}

.admin-product-list {
  display: grid;
  gap: 12px;
}

.admin-product-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #fbfcff;
}

.admin-product-item .icon {
  margin: 0;
}

.admin-product-item h3 {
  margin: 0 0 5px;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.admin-status {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #315cff;
  background: #eef2ff;
  font-size: 10px;
  vertical-align: middle;
  text-transform: capitalize;
}

.admin-link {
  display: inline-block;
  margin-top: 6px;
  color: #253cff;
  font-size: 12px;
  font-weight: 800;
  word-break: break-all;
}

.admin-logo-form,
.admin-badge-form,
.admin-link-form,
.admin-detail-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
  max-width: 520px;
}

.admin-logo-form input,
.admin-badge-form input,
.admin-link-form input,
.admin-detail-form input,
.admin-detail-form textarea {
  min-width: 0;
  border: 1px solid #dde3ef;
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  background: #fff;
}

.admin-logo-form input:focus,
.admin-badge-form input:focus,
.admin-link-form input:focus,
.admin-detail-form input:focus,
.admin-detail-form textarea:focus {
  outline: none;
  border-color: #315cff;
  box-shadow: 0 0 0 3px rgba(49, 92, 255, 0.12);
}

.admin-product-item .admin-logo-form button,
.admin-product-item .admin-badge-form button,
.admin-product-item .admin-link-form button,
.admin-product-item .admin-detail-form button {
  border-color: #d8e4ff;
  color: #253cff;
  background: #eef4ff;
  white-space: nowrap;
}

.admin-detail-form {
  grid-template-columns: 1fr;
}

.admin-product-item p,
.empty-state {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.admin-product-item button {
  border: 1px solid #ffd0d0;
  border-radius: 6px;
  padding: 9px 13px;
  color: #c92a2a;
  font-weight: 800;
  background: #fff5f5;
  cursor: pointer;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .site-header {
    padding: 0 32px;
  }

  .desktop-nav {
    gap: 20px;
  }

  .nav-search input {
    width: 140px;
  }

  .hero {
    min-height: 470px;
    padding: 28px 56px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .products {
    padding-left: 42px;
    padding-right: 42px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 180px));
  }

  .about,
  .footer-grid,
  .footer-bottom {
    padding-left: 56px;
    padding-right: 56px;
  }
}

@media (max-width: 900px) and (min-width: 761px) {
  .hero,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: left;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.84) 48%, rgba(255, 255, 255, 0.22) 100%),
      url("assets/hero.png") center / cover no-repeat;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

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

  .newsletter {
    grid-column: 1 / -1;
  }

  .admin-hero {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    background: #fff;
  }

  .page-shell {
    border-radius: 8px;
    box-shadow: none;
  }

  .site-header {
    height: 42px;
    padding: 0 16px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-logo {
    width: 102px;
  }

  .contact-btn {
    display: inline-flex;
    width: auto;
    min-height: 30px;
    padding: 0 12px;
    font-size: 9px;
  }

  .mobile-nav {
    display: none;
    padding: 8px 16px 14px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .mobile-nav.open {
    display: grid;
    gap: 9px;
  }

  .mobile-nav a {
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
  }

  .mobile-search input,
  .mobile-search button {
    height: 34px;
    font-size: 11px;
  }

  .mobile-search input {
    width: 100%;
  }

  .hero {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 18px 16px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(244, 241, 255, 0.78) 100%),
      url("assets/hero.png") 64% center / cover no-repeat;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    display: inline-flex;
    margin: 0 0 8px;
    padding: 5px 8px;
    border-radius: 999px;
    color: #2d3cff;
    background: rgba(255, 255, 255, 0.78);
    font-size: 8px;
    font-weight: 800;
  }

  .hero h1 {
    max-width: 300px;
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.07;
  }

  .hero-text {
    max-width: 300px;
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: row;
    gap: 8px;
    margin-bottom: 12px;
  }

  .hero .primary-btn,
  .hero .secondary-btn {
    width: auto;
    min-width: 0;
    min-height: 34px;
    padding: 0 12px;
    font-size: 10px;
  }

  .hero-proof {
    display: none;
  }

  .hero-categories {
    left: 12px;
    right: 12px;
    bottom: 16px;
    min-height: 64px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }

  .hero-categories a {
    height: 32px;
    justify-content: flex-start;
    padding: 0 10px;
    gap: 8px;
    font-size: 11px;
  }

  .hero-categories a:first-child {
    margin-left: 0;
  }

  .hero-categories a span {
    font-size: 15px;
  }

  .products {
    padding: 15px 16px 10px;
  }

  .section-heading {
    margin-bottom: 15px;
  }

  .section-heading h2,
  .about h2 {
    font-size: 14px;
  }

  .section-heading span,
  .tiny-rule {
    width: 35px;
    height: 2px;
    margin-top: 6px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 14px;
  }

  .product-search {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }

  .product-search input,
  .product-search .primary-btn,
  .product-search .search-clear {
    min-height: 36px;
    font-size: 10px;
  }

  .product-empty {
    padding: 18px 12px;
    font-size: 10px;
  }

  .product-card {
    width: 100%;
    min-height: 280px;
    padding: 18px;
    border-radius: 6px;
  }

  .product-card-head {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 18px;
  }

  .icon {
    width: 48px;
    height: 48px;
    font-size: 15px;
    padding: 4px;
  }

  .product-card h3 {
    font-size: 18px;
  }

  .product-badge-bg {
    width: 58px;
    height: 58px;
  }

  .product-card p {
    margin-bottom: 18px;
    font-size: 15px;
    -webkit-line-clamp: 3;
  }

  .product-card a,
  .visit-link {
    margin-top: 0;
    font-size: 14px;
  }

  .product-card-bottom {
    --product-action-height: 52px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-price {
    font-size: 13px;
  }

  .about {
    display: block;
    padding: 7px 16px 13px;
  }

  .about p {
    margin-bottom: 12px;
    font-size: 10.5px;
    line-height: 1.45;
  }

  .about .primary-btn {
    width: auto;
    min-height: 34px;
    padding: 0 14px;
  }

  .city-art {
    display: none;
  }

  .contact-section {
    margin: 0;
    padding: 14px;
  }

  .contact-heading {
    gap: 12px;
    padding-bottom: 14px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
  }

  .contact-intro {
    margin: 12px 0 16px;
    font-size: 11px;
  }

  .contact-layout,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .contact-reasons {
    padding-right: 0;
    border-right: 0;
    gap: 12px;
  }

  .contact-form {
    padding: 14px;
  }

  .contact-form .primary-btn {
    width: 100%;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 16px;
    gap: 26px;
    text-align: left;
  }

  .footer-brand p {
    display: none;
  }

  .footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 0;
    width: 100%;
    gap: 12px;
  }

  .footer-links h3 {
    width: 100%;
    margin-bottom: 4px;
    text-align: left;
  }

  .brand.light {
    margin-bottom: 0;
    font-size: 23px;
  }

  .brand.light .brand-logo {
    width: 160px;
    transform: none;
    transform-origin: center;
  }

  .socials {
    display: flex;
    justify-content: center;
    margin-top: 0;
  }

  .socials a {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 16px;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 11px;
    margin: 0;
  }

  .footer-ecosystem-btn {
    margin-top: 0;
    min-height: 34px;
    padding: 0 16px;
    font-size: 11px;
  }

  .content-page {
    min-height: calc(100vh - 42px);
    padding: 24px 16px 34px;
  }

  .content-hero {
    margin-bottom: 18px;
    text-align: left;
  }

  .content-hero .eyebrow {
    margin-bottom: 10px;
    padding: 4px 9px;
    font-size: 9px;
  }

  .content-hero h1 {
    font-size: 29px;
  }

  .content-hero p {
    font-size: 12px;
    line-height: 1.55;
  }

  .content-panel {
    padding: 20px 16px;
    border-radius: 6px;
  }

  .content-panel h2 {
    margin-top: 22px;
    font-size: 16px;
  }

  .content-panel p,
  .content-panel li {
    font-size: 11px;
    line-height: 1.65;
  }

  .detail-hero {
    padding: 18px 16px 28px;
  }

  .detail-breadcrumb {
    margin-bottom: 22px;
    font-size: 13px;
  }

  .detail-hero-grid,
  .detail-product-identity,
  .detail-body {
    grid-template-columns: 1fr;
  }

  .detail-product-identity {
    gap: 16px;
  }

  .detail-logo {
    width: 96px;
    height: 96px;
  }

  .detail-product-identity h1 {
    margin: 0 0 12px;
    font-size: 28px;
  }

  .detail-badge-bg {
    left: 62px;
    top: 26px;
    width: 96px;
    height: 96px;
  }

  .detail-buy-box {
    text-align: left;
  }

  .detail-buy-box p {
    margin-bottom: 14px;
    font-size: 22px;
  }

  .detail-body {
    gap: 12px;
    padding: 12px 16px 28px;
  }

  .detail-sidebar {
    display: none;
  }

  .detail-content {
    padding: 24px 16px;
  }

  .detail-title-row h2 {
    font-size: 24px;
  }

  .detail-title-row span {
    padding: 12px;
    font-size: 13px;
  }

  .detail-content p,
  .detail-content li {
    font-size: 15px;
  }

  .review-form {
    padding: 16px;
  }

  .review-star-option span,
  .review-stars {
    font-size: 24px;
  }

  .review-form .primary-btn {
    width: 100%;
  }

  .review-item p,
  .review-empty {
    font-size: 13px !important;
  }

  .advantages-panel {
    padding: 22px;
  }

  .advantages-panel h3 {
    font-size: 22px;
  }

  .admin-shell {
    width: calc(100% - 24px);
    margin: 12px auto;
  }

  .admin-hero,
  .admin-layout,
  .admin-row,
  .admin-product-item {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-hero {
    padding: 18px;
    gap: 14px;
  }

  .admin-hero .brand {
    font-size: 26px;
  }

  .admin-hero h1 {
    font-size: 26px;
  }

  .admin-home {
    width: 100%;
  }

  .admin-layout {
    gap: 14px;
    margin-top: 14px;
  }

  .admin-form,
  .admin-products {
    padding: 16px;
  }

  .admin-product-item {
    gap: 10px;
    justify-items: start;
  }

  .admin-search {
    grid-template-columns: 1fr;
  }

  .admin-product-item button {
    width: 100%;
  }
}

/* Product detail full-screen final overrides */
.product-detail-page {
  width: 100%;
  min-height: 100vh;
  background: #fff;
}

.detail-store-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0 clamp(12px, 2vw, 28px) 38px;
  box-shadow: none;
}

.detail-hero {
  margin-inline: calc(-1 * clamp(12px, 2vw, 28px));
  padding-inline: clamp(12px, 6vw, 120px);
}

.detail-store-page .detail-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px 0 20px;
  border-bottom: 1px solid #e7ebf2;
}

.detail-store-page .detail-about-text {
  display: block;
  margin: 0;
  max-width: 760px;
  color: #3a465c;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.detail-store-page .detail-about-text.detail-point-list {
  padding-left: 1.2rem;
  list-style: disc;
}

.detail-store-page .detail-about-text.detail-point-list li {
  color: #3a465c;
  font-size: 14px;
  line-height: 1.55;
}

/* Final responsive fit overrides */
.page-shell,
.site-header,
.hero,
.products,
.about,
.footer,
.content-page,
.admin-shell,
.detail-store-page {
  max-width: 100%;
}

.site-header {
  min-height: clamp(48px, 7vw, 78px);
  height: auto;
  gap: 12px;
}

.brand-logo {
  width: clamp(96px, 14vw, 153px);
}

.brand.light .brand-logo {
  width: clamp(160px, 13vw, 220px);
  transform: none;
}

.contact-btn,
.primary-btn,
.secondary-btn {
  white-space: nowrap;
}

.hero {
  min-height: clamp(360px, 58vw, 520px);
  padding: clamp(18px, 4vw, 36px) clamp(16px, 5vw, 80px);
  background-position: center;
}

.hero h1 {
  width: min(100%, 570px);
  font-size: clamp(30px, 5.1vw, 64px);
}

.hero-text {
  width: min(100%, 540px);
  font-size: clamp(12px, 1.45vw, 16px);
}

.hero-proof {
  max-width: min(100%, 640px);
}

.hero-proof div {
  min-width: min(158px, 100%);
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  align-items: stretch;
}

.product-card {
  min-height: clamp(300px, 37vw, 420px);
  padding: clamp(18px, 3vw, 30px);
}

.product-card h3 {
  font-size: clamp(18px, 2.2vw, 25px);
}

.product-card p {
  font-size: clamp(14px, 2vw, 23px);
}

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

.about {
  grid-template-columns: minmax(0, 0.82fr) minmax(min(100%, 320px), 1fr);
}

.footer-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(130px, 0.82fr) minmax(min(100%, 220px), 1.15fr);
}

.content-page {
  padding-inline: clamp(16px, 6vw, 99px);
}

.content-panel {
  width: min(930px, 100%);
}

.admin-shell {
  width: min(1180px, calc(100% - clamp(24px, 5vw, 40px)));
}

.admin-layout {
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
}

.admin-product-item {
  grid-template-columns: 54px minmax(0, 1fr) auto;
}

.detail-store-page {
  width: 100%;
}

@media (max-width: 980px) {
  .hero {
    min-height: clamp(340px, 62vw, 470px);
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.86) 52%, rgba(255, 255, 255, 0.22) 100%),
      url("assets/hero.png") center / cover no-repeat;
  }

  .hero-proof {
    gap: 12px;
  }

  .hero-proof div + div {
    padding-left: 12px;
  }

  .about,
  .footer-grid,
  .admin-layout,
  .detail-body,
  .detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 20px;
  }

  .newsletter {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    min-width: 0;
    border-radius: 0;
  }

  .site-header {
    min-height: 46px;
    padding: 8px 12px;
  }

  .brand-logo {
    width: clamp(82px, 30vw, 112px);
  }

  .brand.light .brand-logo {
    width: 160px;
    transform: none;
  }

  .contact-btn {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 9px;
  }

  .hero {
    min-height: clamp(320px, 92vw, 430px);
    padding: 18px 14px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 54%, rgba(244, 241, 255, 0.76) 100%),
      url("assets/hero.png") 64% center / cover no-repeat;
  }

  .eyebrow {
    font-size: clamp(7px, 2.4vw, 9px);
    white-space: normal;
  }

  .hero h1 {
    max-width: min(305px, 84vw);
    font-size: clamp(25px, 8vw, 34px);
  }

  .hero-text {
    max-width: min(310px, 86vw);
    font-size: clamp(10px, 3.2vw, 12px);
  }

  .hero-proof {
    display: none;
  }

  .product-search,
  .admin-search,
  .admin-row,
  .admin-product-item,
  .admin-logo-form,
  .admin-badge-form,
  .admin-link-form,
  .contact-layout,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .newsletter {
    width: min(100%, 360px);
  }

  .content-hero,
  .content-panel {
    text-align: left;
  }

  .contact-section {
    margin: 0;
  }

  .contact-reasons {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 8px;
  }

  .contact-btn {
    padding-inline: 8px;
  }

  .hero {
    min-height: 300px;
  }

  .product-card-head {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .icon {
    width: 42px;
    height: 42px;
  }
}
