:root {
  --brick-red: #e94b35;
  --brick-red-dark: #cf3c28;
  --sunbeam-yellow: #f6c445;
  --builder-blue: #2f8cff;
  --fresh-green: #2fbf71;
  --ink: #172033;
  --slate: #5d6678;
  --cloud: #f5f7fa;
  --warm-white: #fffdf8;
  --line-gray: #e4e8ef;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.1);
  --soft-shadow: 0 10px 26px rgba(23, 32, 51, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--warm-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.drawer-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

.site-trustbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  min-height: 37px;
  padding: 0 56px;
  border-bottom: 1px solid var(--line-gray);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.trustbar-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  white-space: nowrap;
}

.trustbar-item:not(:last-child)::after {
  position: absolute;
  right: 22px;
  width: 1px;
  height: 18px;
  background: var(--line-gray);
  content: "";
}

.trustbar-paypal {
  justify-self: end;
}

.trustbar-item::before {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px;
  content: "";
}

.trustbar-shipping::before {
  border-radius: 3px;
  box-shadow: 7px 6px 0 -5px currentColor, 17px 6px 0 -5px currentColor;
}

.trustbar-returns::before {
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 999px;
  transform: rotate(35deg);
}

.trustbar-secure::before {
  border-radius: 4px;
  background:
    linear-gradient(var(--white), var(--white)) center 5px / 8px 7px no-repeat,
    currentColor;
}

.trustbar-paypal::before {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 3px;
  background: #142c8e;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 56px;
  padding: 0 56px;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line-gray);
  backdrop-filter: blur(18px);
}

@media (min-width: 1041px) {
  .site-header {
    min-height: 60px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

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

.brand-word {
  display: inline-flex;
  align-items: center;
  font-size: 29px;
  font-weight: 950;
  line-height: 1;
}

.brand-word span:nth-child(1),
.brand-word span:nth-child(2) {
  color: var(--brick-red);
}

.brand-word span:nth-child(3),
.brand-word span:nth-child(6) {
  color: var(--sunbeam-yellow);
}

.brand-word span:nth-child(4),
.brand-word span:nth-child(7) {
  color: var(--builder-blue);
}

.brand-word span:nth-child(5) {
  color: var(--fresh-green);
}

.brand-word span:nth-child(8),
.brand-word span:nth-child(9) {
  color: var(--ink);
}

.footer-brand .brand-word span:nth-child(8),
.footer-brand .brand-word span:nth-child(9) {
  color: var(--white);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--white);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.5) 0 6px, transparent 7px),
    linear-gradient(135deg, var(--brick-red), var(--builder-blue));
  font-size: 13px;
  font-weight: 900;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: var(--slate);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brick-red);
}

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

.icon-button,
.wishlist-pill,
.cart-pill,
.nav-toggle {
  min-height: 40px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
}

.search-trigger {
  justify-content: space-between;
  min-width: 280px;
  padding: 0 13px 0 16px;
  color: var(--slate);
  text-align: left;
}

.search-trigger b {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.search-trigger b::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(45deg);
  content: "";
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.wishlist-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: var(--white);
}

.wishlist-icon {
  color: var(--brick-red);
  font-size: 16px;
  line-height: 1;
}

.wishlist-pill [data-wishlist-count] {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(233, 75, 53, 0.1);
  color: var(--brick-red);
  font-weight: 950;
}

.cart-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 16px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.cart-icon::before {
  position: absolute;
  top: -7px;
  left: 2px;
  width: 10px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  content: "";
}

.cart-pill [data-cart-count] {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--sunbeam-yellow);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.page-section {
  padding: 72px 40px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.narrow-container {
  max-width: 820px;
}

.hero {
  overflow: hidden;
  min-height: 0;
  padding: 50px 56px 40px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 1) 0%, rgba(255, 253, 248, 0.94) 34%, rgba(255, 253, 248, 0.22) 62%),
    url("assets/homepage/hero-generated.png") center right / auto 100% no-repeat;
  border-bottom: 1px solid var(--line-gray);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(310px, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 40px;
  max-width: 1180px;
  min-height: 284px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(47, 140, 255, 0.18);
  border-radius: 999px;
  color: var(--builder-blue);
  background: rgba(47, 140, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.hero h1,
.section-heading h1,
.section-heading h2,
.product-info h1 {
  margin: 18px 0 16px;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(46px, 5vw, 62px);
  line-height: 1.03;
}

.hero p {
  max-width: 540px;
  margin: 0 0 28px;
  color: var(--slate);
  font-size: 20px;
  line-height: 1.55;
}

.hero-card {
  display: none;
}

.hero-card strong {
  display: block;
  margin-bottom: 8px;
}

.hero-card p {
  margin: 0;
  font-size: 14px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: var(--brick-red);
  color: var(--white);
  box-shadow: 0 12px 22px rgba(233, 75, 53, 0.2);
}

.btn-primary:hover {
  background: var(--brick-red-dark);
}

.btn-secondary {
  border-color: var(--line-gray);
  background: var(--white);
  color: var(--ink);
}

.btn-blue {
  background: var(--builder-blue);
  color: var(--white);
}

.btn-paypal {
  background: #ffc439;
  color: #142c8e;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.trust-item,
.metric-card,
.category-card,
.product-card,
.manual-card,
.panel,
.cart-line,
.policy-card {
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
}

.trust-item {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: none;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
}

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

.section-heading h1,
.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 46px);
}

.section-heading p {
  max-width: 610px;
  margin: 0;
  color: var(--slate);
  line-height: 1.6;
}

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

.categories-section {
  padding-top: 14px;
  padding-bottom: 8px;
}

.category-card {
  position: relative;
  display: grid;
  grid-template-columns: 118px 1fr 24px;
  align-items: center;
  min-height: 124px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 247, 250, 0.94));
  box-shadow: none;
}

.category-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--sunbeam-yellow);
  color: var(--ink);
  font-weight: 900;
}

.category-thumb {
  overflow: hidden;
  display: block;
  width: 104px;
  height: 86px;
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.03);
}

.category-copy h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.category-copy p {
  margin: 0;
  font-size: 13px;
}

.category-arrow {
  color: var(--ink);
  font-weight: 950;
}

.category-card h3,
.product-card h3,
.manual-card h3,
.panel h3,
.policy-card h3 {
  margin: 0 0 8px;
}

.category-card p,
.product-card p,
.manual-card p,
.panel p,
.policy-card p {
  margin: 0;
  color: var(--slate);
  line-height: 1.5;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

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

.catalog-grid {
  grid-template-columns: repeat(4, 1fr);
}

.manual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.catalog-hero {
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.9), rgba(255, 253, 248, 1) 260px),
    var(--warm-white);
}

.catalog-count {
  display: grid;
  place-items: center;
  min-width: 104px;
  padding: 14px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
}

.catalog-count strong {
  font-size: 28px;
}

.catalog-count span {
  color: var(--slate);
  font-size: 12px;
  font-weight: 900;
}

.product-card {
  overflow: hidden;
  box-shadow: none;
}

.product-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 138px;
  background: var(--cloud);
}

.product-image img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 8px 10px 0;
  background: var(--white);
}

.pos-1,
.pos-1 img {
  object-position: 6% 50%;
}

.pos-2,
.pos-2 img {
  object-position: 35% 50%;
}

.pos-3,
.pos-3 img {
  object-position: 65% 50%;
}

.pos-4,
.pos-4 img {
  object-position: 94% 50%;
}

.badge-row {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(23, 32, 51, 0.08);
}

.badge-blue {
  color: var(--builder-blue);
  background: rgba(47, 140, 255, 0.11);
}

.badge-green {
  color: #147344;
  background: rgba(47, 191, 113, 0.14);
}

.badge-yellow {
  color: #765400;
  background: rgba(246, 196, 69, 0.2);
}

.badge-red {
  color: var(--brick-red);
  background: rgba(233, 75, 53, 0.12);
}

.product-body {
  padding: 10px 12px 12px;
}

.product-body h3 {
  min-height: 38px;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.35;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--slate);
  font-size: 11px;
  font-weight: 800;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 5px 0 8px;
  color: var(--slate);
  font-size: 11px;
  font-weight: 800;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 17px;
  font-weight: 950;
}

.mini-button {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 0;
  font-weight: 900;
}

.mini-button::before {
  content: "+";
  font-size: 19px;
}

.best-sellers-section {
  padding-top: 8px;
  background: var(--warm-white);
}

.best-sellers-section .section-heading {
  margin-bottom: 12px;
}

.view-all-link {
  color: var(--builder-blue);
  font-size: 13px;
  font-weight: 900;
}

.home-trust-strip {
  margin-top: 18px;
}

.paypal-trust {
  color: #142c8e;
}

.cloud-band {
  background: var(--cloud);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(310px, 0.95fr);
  gap: 34px;
  align-items: start;
}

.product-page {
  padding-bottom: 72px;
}

.product-content-shell {
  max-width: 1536px;
  padding-right: 32px;
  padding-left: 32px;
}

.product-detail-layout,
.product-lower-layout,
.product-page .review-section {
  width: min(100%, 1472px);
  margin-right: auto;
  margin-left: auto;
}

.product-top-trust {
  border-bottom: 1px solid var(--line-gray);
  background: var(--cloud);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.product-top-trust .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  min-height: 38px;
  align-items: center;
}

.product-breadcrumb {
  margin-top: 22px;
  margin-bottom: 18px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(640px, 1.54fr) minmax(360px, 0.9fr) minmax(238px, 240px);
  gap: 30px;
  align-items: start;
}

.gallery {
  position: sticky;
  top: 102px;
  z-index: 4;
}

.gallery.zoom-layer-active {
  z-index: 300;
}

.gallery-main {
  overflow: hidden;
  height: 560px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.product-gallery-main {
  position: relative;
  overflow: visible;
  height: auto;
  aspect-ratio: 1.68 / 1;
  box-shadow: none;
}

.product-gallery-main.zoom-active {
  cursor: crosshair;
}

.zoom-lens,
.zoom-preview {
  position: absolute;
  z-index: 320;
  display: none;
  pointer-events: none;
}

.zoom-lens {
  width: 210px;
  height: 210px;
  border: 2px solid var(--builder-blue);
  border-radius: var(--radius);
  background: rgba(47, 140, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  transform: translate(-50%, -50%);
}

.zoom-preview {
  top: 0;
  left: calc(100% + 24px);
  width: 840px;
  height: 840px;
  max-width: min(840px, 58vw);
  max-height: min(840px, calc(100vh - 130px));
  border: 3px solid rgba(47, 140, 255, 0.52);
  border-radius: var(--radius);
  background-color: var(--white);
  background-repeat: no-repeat;
  box-shadow:
    0 36px 110px rgba(23, 32, 51, 0.42),
    0 16px 42px rgba(47, 140, 255, 0.24),
    0 0 0 10px rgba(255, 255, 255, 0.96);
}

.product-gallery-main.zoom-active .zoom-lens,
.product-gallery-main.zoom-active .zoom-preview {
  display: block;
}

.product-gallery-main.zoom-disabled .zoom-lens,
.product-gallery-main.zoom-disabled .zoom-preview {
  display: none;
}

.gallery-age-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--sunbeam-yellow);
  color: var(--ink);
  font-weight: 950;
}

.gallery-heart,
.gallery-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-gray);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-weight: 950;
}

.gallery-heart {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  font-size: 24px;
}

.gallery-heart.active {
  border-color: rgba(233, 75, 53, 0.28);
  color: var(--brick-red);
  background: rgba(233, 75, 53, 0.1);
}

.gallery-arrow {
  top: 50%;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  font-size: 28px;
}

.gallery-arrow-left {
  left: 18px;
}

.gallery-arrow-right {
  right: 18px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.thumb-row button {
  position: relative;
  overflow: hidden;
  height: 86px;
  padding: 0;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
}

.thumb-row button.active {
  border-color: var(--builder-blue);
  box-shadow: 0 0 0 2px rgba(47, 140, 255, 0.14);
}

.product-thumb-row img {
  object-fit: contain;
  padding: 5px;
}

.video-badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
}

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

.product-info h1 {
  margin-top: 0;
  margin-bottom: 7px;
  font-size: clamp(30px, 2.35vw, 34px);
  line-height: 1.08;
}

.product-subtitle {
  margin: 0 0 8px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.5;
}

.product-rating {
  margin: 8px 0 14px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--builder-blue);
}

.purchase-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.stars {
  color: #e2a900;
}

.price-large {
  margin: 4px 0 13px;
  font-size: 36px;
  font-weight: 950;
}

.icon-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  margin: 0 0 16px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
}

.icon-spec {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  padding: 8px 10px;
  border-right: 1px solid var(--line-gray);
}

.icon-spec:last-child {
  border-right: 0;
}

.icon-spec-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--builder-blue);
  background: rgba(47, 140, 255, 0.1);
  font-weight: 950;
}

.icon-spec-age .icon-spec-mark {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
}

.icon-spec-difficulty .icon-spec-mark {
  color: #ff8a00;
  background: rgba(255, 138, 0, 0.12);
}

.spec-icon::before,
.spec-icon::after {
  position: absolute;
  content: "";
  box-sizing: border-box;
}

.spec-icon-age::before {
  top: 6px;
  left: 9px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.spec-icon-age::after {
  right: 6px;
  bottom: 6px;
  left: 6px;
  height: 9px;
  border: 2px solid currentColor;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom: 0;
}

.spec-icon-pieces::before,
.spec-icon-pieces::after {
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.spec-icon-pieces::before {
  top: 6px;
  left: 6px;
}

.spec-icon-pieces::after {
  right: 6px;
  bottom: 6px;
  background: rgba(47, 140, 255, 0.12);
}

.spec-icon-difficulty::before {
  bottom: 6px;
  left: 6px;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 7px -4px 0 currentColor, 14px -8px 0 currentColor;
}

.spec-icon-difficulty::after {
  right: 6px;
  bottom: 5px;
  left: 6px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.25;
}

.spec-icon-manual::before {
  inset: 5px 7px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background:
    linear-gradient(currentColor, currentColor) 5px 6px / 10px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 5px 11px / 8px 2px no-repeat;
}

.spec-icon-manual::after {
  top: 5px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  background: var(--white);
}

.icon-spec strong,
.icon-spec small {
  display: block;
}

.icon-spec strong {
  font-size: 11px;
  line-height: 1.25;
}

.icon-spec small {
  margin-top: 2px;
  color: var(--slate);
  font-size: 9px;
  font-weight: 800;
}

.product-description {
  margin: 0 0 14px;
  color: var(--slate);
  line-height: 1.6;
}

.stock-line {
  margin-bottom: 12px;
  color: #147344;
  font-weight: 900;
}

.product-qty-row {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.product-buy-actions {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.product-buy-actions .btn {
  min-height: 56px;
  font-size: 16px;
}

.product-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-gray);
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
}

.product-trust-bar span {
  min-width: 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.spec {
  padding: 13px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 900;
}

.spec span {
  display: block;
  margin-bottom: 4px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
}

.buy-box {
  padding: 18px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.qty {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
}

.qty button,
.qty input {
  width: 42px;
  height: 40px;
  border: 0;
  background: var(--white);
  text-align: center;
  font-weight: 900;
}

.qty input {
  border-right: 1px solid var(--line-gray);
  border-left: 1px solid var(--line-gray);
}

.buy-box .btn {
  width: 100%;
  margin-top: 10px;
}

.microcopy {
  margin-top: 14px;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.5;
}

.manual-card {
  margin-top: 18px;
  padding: 18px;
  border-color: rgba(47, 140, 255, 0.24);
  background: linear-gradient(135deg, rgba(47, 140, 255, 0.08), rgba(255, 255, 255, 0.95));
}

.product-side-panel {
  display: grid;
  gap: 14px;
}

.product-manual-card {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  min-height: 330px;
  padding: 24px 22px;
  border: 1px solid rgba(47, 140, 255, 0.35);
  background:
    radial-gradient(circle at 92% 8%, rgba(47, 140, 255, 0.13) 0 52px, transparent 54px),
    var(--white);
  box-shadow: 0 16px 38px rgba(47, 140, 255, 0.1);
}

.manual-status {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--builder-blue);
  background: rgba(47, 140, 255, 0.1);
  font-size: 10px;
  font-weight: 950;
}

.manual-hero-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--builder-blue);
  color: var(--white);
  font-size: 32px;
  font-weight: 950;
}

.product-manual-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.12;
}

.product-manual-card p {
  margin: 0 0 18px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.45;
}

.manual-feature-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 850;
}

.manual-feature-list span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--fresh-green);
  font-weight: 950;
}

.product-manual-card .btn {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
}

.why-card,
.payment-card {
  padding: 18px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.04);
}

.why-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.45;
}

.why-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--fresh-green);
  font-weight: 950;
}

.payment-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 6px 10px;
  color: var(--slate);
  font-size: 12px;
}

.payment-card strong {
  color: var(--ink);
}

.secure-mark {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
}

.secure-mark::before {
  width: 13px;
  height: 16px;
  border: 2px solid var(--white);
  border-top: 0;
  border-radius: 3px;
  content: "";
}

.payment-badges {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.payment-badges b {
  display: grid;
  place-items: center;
  min-height: 28px;
  border: 1px solid var(--line-gray);
  border-radius: 6px;
  background: var(--cloud);
  color: var(--ink);
  font-size: 10px;
  font-weight: 950;
}

.product-lower-layout {
  display: grid;
  grid-template-columns: minmax(640px, 1.54fr) minmax(360px, 0.9fr) minmax(238px, 240px);
  gap: 30px;
  align-items: start;
  margin-top: 32px;
}

.product-tabs-card {
  grid-column: 1;
  overflow: hidden;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-gray);
}

.product-tabs button {
  min-height: 54px;
  border: 0;
  border-right: 1px solid var(--line-gray);
  background: var(--white);
  color: var(--slate);
  font-weight: 900;
}

.product-tabs button:last-child {
  border-right: 0;
}

.product-tabs button.active {
  color: var(--builder-blue);
  box-shadow: inset 0 -3px 0 var(--builder-blue);
}

.product-tab-body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 24px;
  padding: 28px;
}

.product-tab-body[hidden] {
  display: none;
}

.product-tab-body p,
.product-tab-body li {
  color: var(--slate);
  line-height: 1.6;
}

.product-tab-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.product-tab-body img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}

.tab-spec-list,
.tab-care-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.tab-spec-list span,
.tab-care-list span {
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--cloud);
  color: var(--ink);
  font-weight: 850;
}

.tab-spec-list strong,
.tab-care-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--slate);
  font-size: 11px;
  text-transform: uppercase;
}

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

.tab-kit-grid span {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(47, 140, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(47, 140, 255, 0.06);
  color: var(--ink);
  font-weight: 900;
}

.tab-kit-grid b {
  color: var(--builder-blue);
  font-size: 12px;
}

.tab-alert {
  padding: 12px 14px;
  border: 1px solid rgba(233, 75, 53, 0.22);
  border-radius: var(--radius);
  background: rgba(233, 75, 53, 0.08);
  color: var(--brick-red) !important;
  font-weight: 900;
}

.tab-review-score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: center;
  margin: 12px 0 16px;
}

.tab-review-score strong {
  grid-row: span 2;
  font-size: 46px;
  line-height: 1;
}

.tab-review-score span {
  color: #e2a900;
  font-weight: 950;
}

.tab-review-score small {
  color: var(--slate);
  font-weight: 850;
}

.tab-rating-bars {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.tab-rating-bars span {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--slate);
  font-size: 13px;
  font-weight: 900;
}

.tab-rating-bars i {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: var(--line-gray);
}

.tab-rating-bars i::before {
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: var(--builder-blue);
  content: "";
}

.you-may-like {
  grid-column: 2 / span 2;
  min-width: 0;
}

.compact-heading {
  margin-bottom: 14px;
}

.compact-heading .carousel-controls {
  display: inline-flex;
  gap: 8px;
}

.carousel-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-gray);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.carousel-controls button:hover {
  border-color: var(--builder-blue);
  color: var(--builder-blue);
}

.carousel-controls button:disabled {
  cursor: not-allowed;
  border-color: var(--line-gray);
  color: #b7c0ce;
  background: var(--cloud);
  opacity: 0.65;
}

.recommend-carousel {
  overflow: hidden;
}

.recommend-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 42px) / 4);
  grid-template-columns: none;
  gap: 14px;
  transition: transform 260ms ease;
  will-change: transform;
}

.recommend-grid .product-card {
  min-width: 0;
}

.recommend-grid .product-image {
  aspect-ratio: 1 / 0.8;
}

.recommend-grid .product-body {
  padding: 12px;
}

.recommend-grid .product-card h3 {
  font-size: 13px;
  line-height: 1.25;
}

.recommend-grid .product-meta,
.recommend-grid .rating {
  font-size: 12px;
}

.recommend-grid .product-actions {
  grid-template-columns: 1fr;
}

.recommend-grid .product-actions .btn-light {
  display: none;
}

.manual-card .manual-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.manual-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--builder-blue);
  color: var(--white);
  font-weight: 900;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.panel {
  padding: 20px;
}

.product-toolbar,
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.catalog-controls select {
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-gray);
  border-radius: 999px;
  background: var(--white);
  color: var(--slate);
  font-weight: 900;
}

.filter-chip.active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.wishlist-grid {
  align-items: start;
}

.wishlist-item {
  display: grid;
  gap: 10px;
}

.wishlist-remove {
  justify-self: start;
  padding: 0;
}

.wishlist-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.wishlist-empty h3,
.wishlist-empty p {
  margin: 0;
}

.instructions-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.manual-search {
  padding: 24px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.manual-download-page {
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.88), rgba(255, 255, 255, 1) 360px),
    var(--warm-white);
}

.manual-download-shell {
  display: grid;
  gap: 24px;
}

.manual-download-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.manual-download-hero h1 {
  max-width: 760px;
  margin: 8px 0 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
}

.manual-download-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--slate);
  line-height: 1.55;
}

.btn[disabled],
.btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

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

.manual-download-card,
.manual-product-panel {
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.manual-download-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  min-height: 420px;
  padding: 34px;
  align-items: center;
}

.manual-file-icon {
  display: grid;
  place-items: center;
  width: 150px;
  height: 190px;
  border: 2px solid rgba(47, 140, 255, 0.28);
  border-radius: 18px 18px 18px 4px;
  color: var(--builder-blue);
  background:
    linear-gradient(135deg, transparent 0 78%, rgba(47, 140, 255, 0.16) 79% 100%),
    var(--warm-white);
  font-size: 34px;
  font-weight: 950;
}

.manual-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.manual-status-pill.ready {
  color: #137a36;
  background: rgba(50, 186, 89, 0.13);
}

.manual-status-pill.pending {
  color: #8a6500;
  background: rgba(255, 214, 85, 0.24);
}

.manual-download-card h2 {
  margin: 18px 0 10px;
  font-size: 42px;
  line-height: 1;
}

.manual-download-card p {
  max-width: 560px;
  margin: 0;
  color: var(--slate);
  line-height: 1.55;
}

.manual-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.manual-note {
  max-width: 560px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(47, 140, 255, 0.18);
  border-radius: var(--radius);
  color: var(--slate);
  background: rgba(47, 140, 255, 0.06);
  font-size: 14px;
  line-height: 1.5;
}

.manual-note strong {
  color: var(--ink);
}

.manual-product-panel {
  padding: 18px;
}

.manual-product-image img {
  width: 100%;
  aspect-ratio: 1 / 0.74;
  object-fit: contain;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--warm-white);
}

.manual-product-panel h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.manual-product-panel p {
  margin: 0;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.5;
}

.manual-spec-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.manual-spec-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-gray);
  color: var(--slate);
  font-size: 13px;
  font-weight: 850;
}

.manual-spec-list b {
  color: var(--ink);
}

.manual-support-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.manual-support-links a {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field-input,
.table-input,
.table-select,
.field select,
.field textarea {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.field-input {
  max-width: 360px;
}

.table-input,
.table-select {
  min-width: 180px;
  font-size: 13px;
  font-weight: 800;
}

.settings-form {
  max-width: 760px;
}

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

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

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

.checkout-form h3 {
  margin: 18px 0 12px;
}

.checkout-form h3:first-child {
  margin-top: 0;
}

.checkout-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.checkout-three {
  display: grid;
  grid-template-columns: 1fr 110px 130px;
  gap: 12px;
}

.payment-choice {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(47, 140, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(47, 140, 255, 0.06);
}

.payment-choice p {
  margin: 4px 0 0;
  color: var(--slate);
  font-size: 13px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-gray);
}

.checkout-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--cloud);
}

.checkout-item span {
  display: block;
  margin-top: 4px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 800;
}

.success-panel {
  display: grid;
  justify-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 28px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.success-panel h1 {
  margin: 18px 0 8px;
  font-size: clamp(34px, 5vw, 54px);
}

.success-panel p {
  margin: 0 0 22px;
  color: var(--slate);
}

.cart-line {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  margin-bottom: 12px;
}

.cart-line img {
  width: 112px;
  height: 86px;
  object-fit: cover;
  border-radius: var(--radius);
}

.summary-box {
  position: sticky;
  top: 102px;
  padding: 20px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.summary-box .btn {
  width: 100%;
  margin-top: 10px;
}

.panel > .btn,
.checkout-form > .btn {
  width: fit-content;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  color: var(--slate);
  font-weight: 800;
}

.summary-total {
  padding-top: 14px;
  border-top: 1px solid var(--line-gray);
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.track-layout {
  grid-template-columns: minmax(300px, 0.72fr) minmax(460px, 1.28fr);
}

.track-result-panel {
  position: static;
}

.track-result-card {
  display: grid;
  gap: 18px;
}

.track-result-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.track-result-head h3 {
  margin: 6px 0 0;
  font-size: 30px;
}

.track-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--builder-blue);
  background: rgba(47, 140, 255, 0.1);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.track-status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.track-status-grid div,
.tracking-panel,
.track-items {
  padding: 14px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--cloud);
}

.track-status-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 900;
}

.track-status-grid strong {
  color: var(--ink);
  font-size: 14px;
}

.tracking-panel h4,
.track-items h4 {
  margin: 0 0 12px;
  font-size: 16px;
}

.tracking-panel .btn {
  width: fit-content;
  min-width: 190px;
}

.track-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.track-timeline span {
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  color: var(--slate);
  background: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.track-timeline span.active {
  border-color: rgba(50, 186, 89, 0.28);
  color: #137a36;
  background: rgba(50, 186, 89, 0.1);
}

.track-item-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line-gray);
}

.track-item-line:first-of-type {
  border-top: 0;
}

.track-item-line span,
.track-item-line strong {
  font-size: 13px;
  line-height: 1.4;
}

.track-item-line span {
  color: var(--ink);
  font-weight: 900;
}

.track-item-line strong {
  color: var(--slate);
  text-align: right;
}

.track-empty-result h3 {
  margin-top: 0;
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: calc(100vh - 76px);
  background: var(--cloud);
}

.admin-body {
  min-height: 100vh;
  background: var(--cloud);
}

.admin-login-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98), rgba(245, 247, 250, 0.92)),
    url("assets/homepage/hero-generated.png") center right / cover no-repeat;
}

.admin-login-card {
  width: min(440px, 100%);
  padding: 30px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  margin: 24px 0 8px;
  font-size: 34px;
}

.admin-login-card p {
  margin: 0 0 20px;
  color: var(--slate);
  line-height: 1.6;
}

.login-error {
  padding: 11px 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(233, 75, 53, 0.22);
  border-radius: var(--radius);
  color: var(--brick-red);
  background: rgba(233, 75, 53, 0.08);
  font-weight: 900;
}

.admin-sidebar {
  padding: 24px 16px;
  border-right: 1px solid var(--line-gray);
  background: var(--white);
}

.admin-sidebar .brand {
  margin-bottom: 24px;
}

.admin-sidebar a {
  display: block;
  padding: 11px 12px;
  border-radius: var(--radius);
  color: var(--slate);
  font-weight: 900;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
  color: var(--ink);
  background: var(--cloud);
}

.admin-logout {
  width: 100%;
  min-height: 40px;
  margin-top: 18px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brick-red);
  font-weight: 900;
}

.admin-main {
  padding: 28px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-top h1 {
  margin: 0 0 8px;
  font-size: 34px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
}

.order-admin-grid {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.metric-card {
  padding: 16px;
}

.metric-card span {
  display: block;
  color: var(--slate);
  font-size: 12px;
  font-weight: 900;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.table-panel,
.editor-panel {
  overflow: hidden;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 790px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line-gray);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--slate);
  background: var(--cloud);
  font-size: 12px;
  font-weight: 950;
}

td {
  font-size: 14px;
  font-weight: 800;
}

.table-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-product img {
  width: 54px;
  height: 44px;
  border-radius: var(--radius);
  object-fit: cover;
}

.selected-row {
  background: rgba(47, 140, 255, 0.06);
}

.order-detail-panel {
  display: grid;
  gap: 14px;
}

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

.order-detail-head h3 {
  margin: 4px 0 0;
  font-size: 24px;
}

.order-detail-block {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--cloud);
}

.order-detail-block strong {
  color: var(--ink);
  font-size: 13px;
}

.order-detail-block span,
.order-detail-block label {
  color: var(--slate);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.order-detail-block label {
  display: grid;
  gap: 6px;
}

.order-detail-block input {
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.row-actions {
  display: flex;
  gap: 7px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--builder-blue);
  font-weight: 900;
}

.danger-button {
  color: var(--brick-red);
}

.editor-panel {
  padding: 18px;
}

.upload-box {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 96px;
  padding: 16px;
  border: 1px dashed var(--builder-blue);
  border-radius: var(--radius);
  color: var(--builder-blue);
  background: rgba(47, 140, 255, 0.06);
  text-align: center;
  font-weight: 900;
  cursor: pointer;
}

.upload-box input,
.table-file-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-box small {
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
}

.table-file-upload {
  position: relative;
  display: inline-grid;
  align-items: center;
  min-width: 180px;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px dashed rgba(47, 140, 255, 0.45);
  border-radius: var(--radius);
  color: var(--builder-blue);
  background: rgba(47, 140, 255, 0.06);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.policy-card {
  min-height: 150px;
  padding: 22px;
}

.content-hero {
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.92), rgba(255, 253, 248, 1) 300px),
    var(--warm-white);
}

.split-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.split-hero h1,
.narrow-container h1 {
  margin: 16px 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.03;
}

.split-hero p,
.narrow-container p {
  margin: 0 0 24px;
  color: var(--slate);
  font-size: 18px;
  line-height: 1.65;
}

.content-visual {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.content-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card,
.contact-card,
.faq-item {
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.value-card {
  display: block;
  min-height: 210px;
  padding: 22px;
}

.value-card h3 {
  margin: 18px 0 8px;
}

.value-card p {
  margin: 0;
  color: var(--slate);
  line-height: 1.55;
}

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

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  min-height: 58px;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 950;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--slate);
  line-height: 1.6;
}

.contact-card {
  display: grid;
  gap: 6px;
  max-width: 420px;
  padding: 18px;
  margin-top: 22px;
}

.contact-card a {
  color: var(--builder-blue);
  font-weight: 900;
}

.review-section {
  margin-top: 52px;
}

.product-page .review-section {
  margin-top: 52px;
}

.review-summary {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.review-score-card,
.review-bars {
  padding: 18px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.review-score-card {
  display: grid;
  justify-items: start;
  gap: 4px;
}

.review-score-card strong {
  font-size: 46px;
  line-height: 1;
}

.review-score-card small {
  color: var(--slate);
  font-weight: 850;
}

.review-bars {
  display: grid;
  gap: 12px;
}

.review-bars span {
  display: grid;
  grid-template-columns: 62px 1fr 36px;
  gap: 12px;
  align-items: center;
  color: var(--slate);
  font-size: 13px;
  font-weight: 900;
}

.review-bars i {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: var(--line-gray);
}

.review-bars i::before {
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: var(--sunbeam-yellow);
  content: "";
}

.review-bars em {
  color: var(--ink);
  font-style: normal;
  text-align: right;
}

.review-grid,
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card,
.help-card {
  display: block;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.review-card h3,
.help-card h3 {
  margin: 10px 0 8px;
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(47, 140, 255, 0.1);
  color: var(--builder-blue);
  font-size: 13px;
  font-weight: 950;
}

.review-card-head strong,
.review-card-head small {
  display: block;
}

.review-card-head small {
  margin-top: 3px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 850;
}

.review-card p,
.help-card p,
.help-intro {
  color: var(--slate);
  line-height: 1.6;
}

.review-card strong,
.help-card span {
  display: inline-block;
  margin-top: 14px;
  color: var(--builder-blue);
  font-weight: 900;
}

.support-mini-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 22px;
}

.support-mini-grid .value-card {
  min-height: 160px;
}

.compact-success {
  padding: 28px 18px;
  box-shadow: none;
}

.compact-success h3 {
  margin: 14px 0 8px;
}

.empty-state {
  padding: 36px;
  border: 1px dashed var(--line-gray);
  border-radius: var(--radius);
  color: var(--slate);
  background: var(--white);
  text-align: center;
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding: 48px 40px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
}

.site-footer a {
  display: block;
  margin: 9px 0;
}

.site-footer p {
  max-width: 360px;
  line-height: 1.6;
}

.footer-brand {
  color: var(--white);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-row span {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.search-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: start;
  justify-content: center;
  padding: 90px 24px;
  background: rgba(23, 32, 51, 0.42);
}

.search-drawer.open {
  display: flex;
}

.search-panel {
  width: min(720px, 100%);
  padding: 22px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.close-button {
  display: block;
  margin-left: auto;
  margin-bottom: 12px;
  border: 0;
  background: transparent;
  color: var(--slate);
  font-weight: 900;
}

.search-panel label {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 950;
}

.search-panel input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 1040px) {
  .site-trustbar {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 18px;
    min-height: auto;
    padding: 9px 18px;
    font-size: 12px;
  }

  .trustbar-item:not(:last-child)::after {
    display: none;
  }

  .trustbar-paypal {
    justify-self: start;
  }

  .site-header {
    grid-template-columns: auto auto 1fr;
    gap: 14px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    right: 18px;
    left: 18px;
    z-index: 25;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line-gray);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .header-actions {
    justify-self: end;
  }

  .icon-button {
    display: none;
  }

  .hero-inner,
  .product-layout,
  .product-detail-layout,
  .product-lower-layout,
  .manual-download-layout,
  .track-layout,
  .instructions-hero,
  .cart-layout,
  .checkout-layout,
  .split-hero,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .gallery,
  .product-side-panel,
  .summary-box {
    position: static;
  }

  .product-top-trust .container {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .product-gallery-main {
    height: 500px;
  }

  .zoom-lens,
  .zoom-preview {
    display: none !important;
  }

  .product-tabs-card,
  .you-may-like {
    grid-column: auto;
  }

  .recommend-grid {
    grid-auto-columns: calc((100% - 14px) / 2);
  }

  .track-status-grid,
  .track-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-tab-body {
    grid-template-columns: 1fr 220px;
  }

  .manual-download-hero {
    display: grid;
  }

  .manual-download-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .category-grid,
  .product-grid,
  .catalog-grid,
  .manual-grid,
  .value-grid,
  .review-grid,
  .review-summary,
  .help-grid,
  .metrics,
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .admin-sidebar {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-trustbar {
    grid-template-columns: 1fr 1fr;
    padding-right: 14px;
    padding-left: 14px;
  }

  .trustbar-item {
    gap: 7px;
    white-space: normal;
  }

  .trustbar-item::before {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
  }

  .trustbar-paypal::before {
    width: 14px;
    height: 14px;
  }

  .page-section,
  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.82) 52%, rgba(255, 253, 248, 0.5) 100%),
      url("assets/homepage/hero-generated.png") center bottom / cover no-repeat;
  }

  .hero-inner {
    min-height: 690px;
    align-items: start;
  }

  .hero-card {
    justify-self: start;
  }

  .category-grid,
  .product-grid,
  .catalog-grid,
  .manual-grid,
  .details-grid,
  .policy-grid,
  .value-grid,
  .review-grid,
  .help-grid,
  .support-mini-grid,
  .metrics,
  .trust-strip,
  .site-footer,
  .spec-grid,
  .checkout-two,
  .checkout-three {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .product-toolbar,
  .admin-toolbar,
  .admin-top {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-controls {
    justify-content: stretch;
  }

  .catalog-controls select,
  .catalog-controls .field-input {
    width: 100%;
    max-width: none;
  }

  .gallery-main {
    height: 380px;
  }

  .product-page {
    padding-bottom: 48px;
  }

  .product-content-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .product-top-trust .container,
  .icon-spec-grid,
  .product-trust-bar,
  .product-tabs,
  .product-tab-body,
  .tab-spec-list,
  .tab-care-list,
  .tab-kit-grid,
  .recommend-grid {
    grid-auto-columns: 100%;
  }

  .tab-rating-bars span {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .review-summary,
  .review-bars span,
  .payment-badges {
    grid-template-columns: 1fr;
  }

  .track-status-grid,
  .track-timeline {
    grid-template-columns: 1fr;
  }

  .track-result-head,
  .track-item-line {
    display: grid;
  }

  .track-item-line strong {
    text-align: left;
  }

  .product-breadcrumb {
    margin-top: 16px;
  }

  .product-gallery-main {
    height: 390px;
  }

  .gallery-main img {
    padding: 18px;
  }

  .gallery-age-badge,
  .gallery-heart {
    top: 12px;
  }

  .gallery-age-badge {
    left: 12px;
  }

  .gallery-heart {
    right: 12px;
  }

  .gallery-arrow-left {
    left: 12px;
  }

  .gallery-arrow-right {
    right: 12px;
  }

  .product-thumb-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .icon-spec {
    border: 1px solid var(--line-gray);
  }

  .icon-spec:last-child {
    border-bottom: 1px solid var(--line-gray);
  }

  .product-tabs button {
    border-right: 0;
    border-bottom: 1px solid var(--line-gray);
  }

  .product-tabs button:last-child {
    border-bottom: 0;
  }

  .product-tab-body {
    padding: 22px;
  }

  .product-tab-body img {
    max-height: 220px;
  }

  .cart-line {
    grid-template-columns: 88px 1fr;
  }

  .cart-line img {
    width: 88px;
    height: 72px;
  }

  .cart-line .row-actions {
    grid-column: 1 / -1;
  }

  .manual-download-hero h1 {
    font-size: 36px;
  }

  .manual-download-hero,
  .manual-download-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .manual-download-card {
    padding: 22px;
  }

  .manual-file-icon {
    width: 112px;
    height: 142px;
    font-size: 26px;
  }

  .manual-download-card h2 {
    font-size: 31px;
  }

  .manual-support-links {
    grid-template-columns: 1fr;
  }
}
