:root {
  --page: #ffffff;
  --hero-bg: #d8d9db;
  --ink: #14141c;
  --muted: #66717d;
  --soft: #eff0f1;
  --line: #eceef1;
  --accent: #f3313a;
  --accent-dark: #d9242e;
  --dark: #111016;
  --footer-text: #8c96a1;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(var(--content), calc(100% - 36px));
  height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  color: #7a838d;
  font-size: 17px;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  position: relative;
  color: #5f6974;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav a.active {
  color: var(--accent);
}

.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
}

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #68727c;
  font-size: 10px;
  font-weight: 800;
}

.tool-button {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.tool-button::before {
  position: absolute;
  inset: 3px;
  border: 2px solid #6b737c;
  border-radius: 50%;
  content: "";
}

.tool-button::after {
  position: absolute;
  width: 7px;
  height: 2px;
  right: 0;
  bottom: 2px;
  background: #6b737c;
  transform: rotate(45deg);
  transform-origin: center;
  content: "";
}

.user-tool::before {
  inset: 4px;
}

.user-tool::after {
  display: none;
}

.cart-link {
  white-space: nowrap;
}

.hero {
  background: var(--hero-bg);
}

.hero-inner {
  width: min(var(--content), calc(100% - 36px));
  min-height: 530px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 47% 53%;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 56px 0 38px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  margin: 24px 0 46px;
  padding: 0;
  color: #4b555e;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.hero-benefits li {
  position: relative;
  padding-left: 24px;
}

.hero-benefits li::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #4d555d;
  color: #fff;
  content: "";
  transform: translateY(-50%);
}

.hero-benefits li::after {
  position: absolute;
  left: 4px;
  top: 50%;
  width: 6px;
  height: 3px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: translateY(-62%) rotate(-45deg);
}

.primary-button,
.product-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
}

.primary-button {
  min-width: 126px;
  padding: 0 24px;
  text-transform: uppercase;
}

.primary-button:hover,
.product-card button:hover {
  background: var(--accent-dark);
}

.hero-visual {
  align-self: stretch;
  min-height: 520px;
  background-image: url("../images/hero/hero-model-new.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
}

.section-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.product-section {
  width: min(var(--content), calc(100% - 36px));
  margin: 18px auto 58px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 24px;
}

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

.product-image {
  width: 100%;
  aspect-ratio: 1.32 / 1;
  margin-bottom: 18px;
  background-color: #e8e9eb;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0)),
    var(--product-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.product-card a {
  display: block;
  min-height: 74px;
  margin: 0 0 12px;
  color: #101018;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.product-card a:hover {
  color: var(--accent);
}

.product-price {
  margin: 0 0 12px;
  color: #737e89;
  font-size: 12px;
  font-weight: 700;
}

.product-category {
  margin: 0 0 14px;
  color: #8e98a2;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card button {
  min-width: 94px;
  padding: 0 14px;
}

.service-strip {
  background: var(--dark);
}

.service-inner {
  width: min(var(--content), calc(100% - 36px));
  min-height: 172px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 26px;
}

.service-item {
  color: #fff;
  text-align: center;
}

.service-icon {
  display: block;
  width: 44px;
  height: 36px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.service-item h3 {
  margin: 0 0 8px;
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  font-weight: 900;
}

.service-item p {
  margin: 0;
  color: #c4c7cc;
  font-size: 12px;
}

.site-footer {
  padding: 0 0 58px;
  background: #fff;
  color: var(--footer-text);
}

.footer-inner {
  width: min(var(--content), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(300px, 1.25fr);
  column-gap: 120px;
  row-gap: 54px;
  padding-top: 58px;
}

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

.footer-action button {
  min-width: 78px;
  min-height: 30px;
  border: 0;
  border-radius: 2px;
  background: #697582;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
}

.site-footer h2 {
  margin: 0 0 24px;
  color: #14141c;
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  font-weight: 900;
}

.footer-links,
.footer-contact {
  font-size: 12px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact p,
.footer-contact address {
  max-width: 540px;
  margin: 0;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact strong {
  color: #66717d;
  font-weight: 800;
}

.footer-contact a {
  color: #66717d;
}

.footer-contact a:hover {
  color: var(--accent);
}

.copyright {
  margin: 72px auto 0;
  width: min(var(--content), calc(100% - 36px));
  color: #b7bec5;
  font-size: 11px;
  text-align: center;
}

.page-title-hero {
  min-height: 285px;
  padding: 86px 18px 72px;
  background: #e9e9ea;
  text-align: center;
}

.breadcrumb {
  margin-bottom: 34px;
  color: #6d7884;
  font-size: 13px;
  font-weight: 700;
}

.page-title-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 900;
  line-height: 1;
}

.products-layout {
  width: min(var(--content), calc(100% - 36px));
  margin: 72px auto 86px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.products-sidebar h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 18px;
  font-weight: 900;
}

.price-filter {
  margin-bottom: 44px;
}

.price-filter button {
  min-width: 72px;
  min-height: 44px;
  margin-bottom: 10px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.price-filter p {
  margin: 0;
  color: #7f8993;
  font-size: 13px;
  font-weight: 700;
}

.top-rated {
  margin-bottom: 46px;
}

.top-rated-list {
  display: grid;
  gap: 24px;
}

.top-rated-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.top-rated-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  background: #eff0f1;
}

.top-rated-item a {
  display: block;
  margin: 0 0 6px;
  color: #6b7580;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.top-rated-item a:hover {
  color: var(--accent);
}

.top-rated-item p {
  margin: 0;
  color: #7e8791;
  font-size: 12px;
  font-weight: 700;
}

.sidebar-promo {
  min-height: 415px;
  padding: 42px 38px;
  background: var(--dark);
  color: #fff;
}

.sidebar-promo h2 {
  margin-bottom: 30px;
  color: #fff;
  font-size: 24px;
  line-height: 1.35;
}

.sidebar-promo p {
  margin: 0 0 28px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
}

.promo-mark {
  display: block;
  width: 15px;
  height: 15px;
  margin: 52px 0 42px;
  background: #d7e7e8;
}

.sidebar-promo strong {
  display: block;
  color: #fff;
  font-size: 12px;
}

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

.catalog-card .product-image {
  aspect-ratio: 1.14 / 1;
}

.catalog-card a {
  min-height: 118px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
}

.catalog-card a:hover {
  color: var(--accent);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr;
    height: auto;
    padding: 20px 0;
    justify-items: center;
  }

  .header-tools {
    justify-self: center;
  }

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

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

@media (max-width: 900px) {
  .products-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .products-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .sidebar-promo {
    grid-column: 1 / -1;
  }

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

@media (max-width: 760px) {
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 24px;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 48px 0 10px;
  }

  .hero-benefits {
    gap: 18px;
    margin-bottom: 28px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .product-section {
    margin-top: 28px;
  }

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

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

  .service-inner {
    grid-template-columns: 1fr 1fr;
    padding: 34px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    row-gap: 42px;
  }

  .page-title-hero {
    min-height: 220px;
    padding: 58px 18px 52px;
  }

  .products-sidebar {
    grid-template-columns: 1fr;
  }

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

  .catalog-card h3 {
    min-height: auto;
  }

  .copyright {
    margin-top: 48px;
  }
}

.product-detail {
  width: min(var(--content), calc(100% - 36px));
  margin: 58px auto 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: start;
}

.detail-image {
  aspect-ratio: 1 / 1;
  background-color: #e8e9eb;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0)),
    var(--product-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.detail-info h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
}

.detail-price {
  margin: 0 0 10px;
  color: #737e89;
  font-size: 18px;
  font-weight: 700;
}

.detail-category {
  margin: 0 0 24px;
  color: #8e98a2;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-desc {
  margin: 0 0 28px;
  color: #4b555e;
  font-size: 14px;
  line-height: 1.75;
}

.detail-info .primary-button {
  min-width: 140px;
}

.breadcrumb a {
  color: #6d7884;
}

.breadcrumb a:hover {
  color: var(--accent);
}

@media (max-width: 760px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact-content {
  width: min(var(--content), calc(100% - 36px));
  margin: 58px auto 72px;
}

.contact-card {
  max-width: 680px;
}

.contact-card h2 {
  margin: 0 0 32px;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 22px;
  font-weight: 900;
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
}

.contact-table th,
.contact-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: #3a4048;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
}

.contact-table th {
  width: 180px;
  color: #66717d;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
}

.contact-table a {
  color: var(--accent);
}

.contact-table a:hover {
  text-decoration: underline;
}

.terms-content {
  width: min(var(--content), calc(100% - 36px));
  margin: 58px auto 72px;
  color: #3a4048;
  font-size: 14px;
  line-height: 1.85;
}

.terms-content h2 {
  margin: 46px 0 16px;
  padding-top: 26px;
  scroll-margin-top: 100px;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 22px;
  font-weight: 900;
}

.terms-content h2:first-of-type {
  margin-top: 0;
}

.terms-content p {
  margin: 0 0 16px;
}

.terms-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.terms-content ol li {
  margin-bottom: 8px;
}

.terms-content a {
  color: var(--accent);
}

.terms-content a:hover {
  text-decoration: underline;
}

@media (max-width: 460px) {
  .header-inner,
  .hero-inner,
  .product-section,
  .products-layout,
  .service-inner,
  .footer-inner {
    width: min(100% - 24px, var(--content));
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .service-inner {
    grid-template-columns: 1fr;
  }
}

/* ── Cart icon in header ── */
.cart-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #68727c;
}

.cart-icon {
  display: block;
  width: 20px;
  height: 18px;
  position: relative;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 0;
  width: 18px;
  height: 13px;
  border: 2px solid #6b737c;
  border-radius: 1px;
}

.cart-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  width: 10px;
  height: 7px;
  border: 2px solid #6b737c;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ── Cart page ── */
.cart-content {
  width: min(var(--content), calc(100% - 36px));
  margin: 58px auto 72px;
}

.cart-empty {
  text-align: center;
  padding: 64px 0;
  color: var(--muted);
  font-size: 15px;
}

.cart-empty p {
  margin: 0 0 24px;
}

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

.cart-table-wrap {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.cart-table thead th {
  padding: 0 12px 14px;
  border-bottom: 2px solid var(--line);
  color: #66717d;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
}

.cart-table tbody tr {
  border-bottom: 1px solid var(--line);
}

.cart-table tbody td {
  padding: 18px 12px;
  vertical-align: middle;
}

.cart-thumb {
  width: 72px;
  height: 72px;
  background-color: #e8e9eb;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.54), rgba(255,255,255,0)),
    var(--product-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  flex-shrink: 0;
}

.cart-img-cell {
  width: 88px;
  padding-left: 0 !important;
}

.cart-name-cell a {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.cart-name-cell a:hover {
  color: var(--accent);
}

.cart-price-cell {
  white-space: nowrap;
  color: #737e89;
  font-weight: 700;
}

.cart-sub-cell {
  white-space: nowrap;
  font-weight: 800;
  color: var(--ink);
}

.cart-remove-cell {
  width: 32px;
  text-align: right;
  padding-right: 0 !important;
}

.cart-remove-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9ca5af;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.cart-remove-btn:hover {
  color: var(--accent);
}

/* qty control */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.qty-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.qty-btn:hover {
  background: var(--line);
}

.qty-value {
  min-width: 34px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

/* order summary */
.cart-summary {
  background: var(--soft);
  padding: 28px 26px 32px;
}

.cart-summary h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 18px;
  font-weight: 900;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: #4b555e;
  font-weight: 700;
}

.summary-total {
  margin-top: 4px;
  border-bottom: none;
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
}

.checkout-btn {
  width: 100%;
  margin-top: 24px;
  min-height: 44px;
  font-size: 13px;
}

/* checkout success overlay */
.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-modal {
  background: #fff;
  padding: 52px 48px 44px;
  max-width: 420px;
  width: calc(100% - 48px);
  text-align: center;
}

.checkout-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #e6f4ea;
  position: relative;
}

.checkout-check::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 27px;
  width: 10px;
  height: 6px;
  border-left: 3px solid #2e7d32;
  border-bottom: 3px solid #2e7d32;
  transform: rotate(-45deg) translateY(-50%);
}

.checkout-modal h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 24px;
  font-weight: 900;
}

.checkout-modal p {
  margin: 0 0 28px;
  color: #4b555e;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cart-table thead {
    display: none;
  }

  .cart-table tbody tr {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    padding: 14px 0;
  }

  .cart-table tbody td {
    padding: 0;
  }

  .cart-img-cell {
    grid-row: 1 / 3;
  }

  .cart-name-cell {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }

  .cart-price-cell {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  .cart-qty-cell {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
  }

  .cart-sub-cell {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    text-align: right;
  }

  .cart-remove-cell {
    grid-column: 1 / -1;
    text-align: right;
    padding-top: 6px !important;
  }
}

/* ── Search ── */
.search-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.search-input {
  width: 0;
  max-width: 0;
  height: 28px;
  padding: 0;
  border: 0;
  border-bottom: 1.5px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  outline: none;
  overflow: hidden;
  transition: max-width 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
  margin-right: 4px;
}

.search-input.open {
  max-width: 180px;
  width: 180px;
  padding: 0 6px;
  border-bottom-color: var(--ink);
}

.search-input::placeholder {
  color: #9ca5af;
}

.search-input::-webkit-search-cancel-button {
  cursor: pointer;
}

.search-empty {
  grid-column: 1 / -1;
  padding: 48px 0;
  color: var(--muted);
  font-size: 14px;
}

/* ── Product specs (color / size selector) ── */
.spec-group {
  margin-bottom: 20px;
}

.spec-label {
  margin: 0 0 10px;
  color: #4b555e;
  font-size: 13px;
  font-weight: 700;
}

.spec-label strong {
  color: var(--ink);
}

.spec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-btn {
  min-width: 42px;
  padding: 0 12px;
  height: 34px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.spec-btn:hover {
  border-color: var(--ink);
}

.spec-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.spec-hint {
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--muted);
}
