.used-page { background: #edf3f2; }
.used-page .site-nav { gap: 16px; }

.used-hero {
  padding: 168px 0 88px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 12%, rgba(51,209,198,.2), transparent 34%),
    linear-gradient(135deg, #071522 0%, #0b2739 100%);
}
.used-hero-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: end; }
.used-hero h1 { margin: 17px 0 0; font-size: clamp(46px, 5.8vw, 76px); line-height: 1.03; letter-spacing: -.05em; }
.used-hero h1 em { color: var(--cyan); font-style: normal; }
.used-hero p { margin: 0 0 28px; color: #b3c6ce; font-size: 18px; }

.stock-strip { color: #dbe7ea; background: #0d293b; border-block: 1px solid rgba(255,255,255,.08); }
.stock-strip .shell { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 74px; font-size: 13px; }
.stock-strip span:first-child { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-weight: 800; }
.stock-strip i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); }
.stock-strip strong { color: var(--cyan); }

.refurbished-standard { padding: 72px 0 0; }
.refurbished-standard-card {
  display: grid; grid-template-columns: 145px minmax(0, 1.15fr) minmax(280px, .85fr); gap: 34px; align-items: center;
  padding: clamp(28px, 4vw, 48px); border: 1px solid #cbdadb; border-radius: 24px; background: var(--white);
  box-shadow: 0 18px 45px rgba(7,21,34,.07);
}
.grade-emblem {
  display: grid; place-items: center; align-content: center; aspect-ratio: 1; color: var(--white); border-radius: 50%;
  background: linear-gradient(145deg, #ff8426, #ec5d00); box-shadow: 0 15px 30px rgba(236,93,0,.25);
}
.grade-emblem strong { font-size: clamp(46px, 5vw, 66px); line-height: .9; letter-spacing: -.06em; }
.grade-emblem span { margin-top: 7px; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.refurbished-standard-copy h2 { margin: 10px 0 14px; font-size: clamp(29px, 3.1vw, 43px); line-height: 1.08; letter-spacing: -.04em; }
.refurbished-standard-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.grade-chat-button { margin-top: 21px; color: var(--ink); border-color: var(--cyan); background: var(--cyan); }
.grade-chat-button:hover { color: var(--white); border-color: var(--ink); background: var(--ink); }
.refurbished-checklist { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.refurbished-checklist li { position: relative; padding: 15px 0 15px 31px; border-bottom: 1px solid #e2e9ea; }
.refurbished-checklist li:last-child { border-bottom: 0; }
.refurbished-checklist li::before { content: "✓"; position: absolute; top: 15px; left: 0; display: grid; place-items: center; width: 20px; height: 20px; color: #075e59; border-radius: 50%; background: #d9f8f4; font-size: 11px; font-weight: 900; }
.refurbished-checklist strong, .refurbished-checklist span { display: block; }
.refurbished-checklist strong { font-size: 13px; }
.refurbished-checklist span { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.used-catalog-section { padding: 94px 0 112px; }
.catalog-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.catalog-heading h2, .used-contact-band h2, .product-information h2 { margin: 10px 0 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -.04em; }
.catalog-heading p { margin: 0; color: var(--muted); font-size: 16px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 42px 0 25px; }
.category-filters button {
  display: inline-flex; align-items: center; gap: 9px; min-height: 45px; padding: 9px 16px;
  color: #38505d; border: 1px solid #c8d7d9; border-radius: 999px; background: rgba(255,255,255,.7);
  font-weight: 800; cursor: pointer; transition: .2s ease;
}
.category-filters button:hover, .category-filters button.is-active { color: var(--ink); border-color: var(--cyan); background: var(--cyan); }
.category-filters span { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 99px; background: rgba(7,21,34,.1); font-size: 11px; }
.catalog-status { margin: 22px 0; color: var(--muted); }
.catalog-status:empty { display: none; }
.used-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.public-used-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #d2ddde; border-radius: 19px; background: var(--white); box-shadow: 0 14px 36px rgba(7,21,34,.06); transition: transform .25s ease, box-shadow .25s ease; }
.public-used-card:hover { transform: translateY(-5px); box-shadow: 0 25px 55px rgba(7,21,34,.13); }
.used-card-image { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; border-bottom: 1px solid #e3eaeb; }
.used-card-image img { position: absolute; inset: 13px; width: calc(100% - 26px); height: calc(100% - 26px); object-fit: contain; }
.used-card-image .availability-badge { position: absolute; top: 13px; left: 13px; }
.grade-badge { display: inline-flex; align-items: center; padding: 7px 10px; color: #fff; border-radius: 999px; background: #f06b14; font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.grade-badge-card { position: absolute; top: 13px; right: 13px; box-shadow: 0 4px 14px rgba(7,21,34,.16); }
.availability-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: #075e59; border-radius: 999px; background: #d9f8f4; font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.availability-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-dark); }
.availability-badge.is-reserved { color: #805c00; background: #fff1bc; }
.availability-badge.is-reserved::before { background: #d69700; }
.availability-badge.is-sold { color: #8b3131; background: #ffe0e0; }
.availability-badge.is-sold::before { background: #c94a4a; }
.used-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.used-card-category { color: var(--cyan-dark); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.used-card-body h3 { margin: 8px 0 9px; font-size: 19px; line-height: 1.3; letter-spacing: -.02em; }
.used-card-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.used-card-footer { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-top: auto; padding-top: 22px; }
.used-card-price { color: var(--cyan-dark); font-size: 23px; line-height: 1; }
.used-card-link { color: var(--ink); border-bottom: 1px solid #a9b7bc; font-size: 12px; font-weight: 900; }
.catalog-empty { grid-column: 1 / -1; padding: 60px 25px; color: var(--muted); border: 1px dashed #adc2c4; border-radius: 18px; background: rgba(255,255,255,.55); text-align: center; }
.catalog-empty strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 20px; }

.used-contact-band { padding: 78px 0; color: var(--white); background: var(--ink); }
.used-contact-band .shell { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.used-contact-band h2 { font-size: clamp(34px, 4vw, 52px); }
.used-contact-band p { max-width: 700px; margin: 16px 0 0; color: #9eb3bd; }
.used-contact-band .shell > div:last-child { display: flex; gap: 12px; }

.product-detail-main { min-height: 75vh; padding: 118px 0 105px; }
.product-breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; color: #6c7c84; font-size: 12px; }
.product-breadcrumbs a:hover { color: var(--cyan-dark); }
.detail-loading { width: var(--shell); margin: 40px auto; }
.public-product-detail { width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; }
.product-gallery, .product-buy-panel, .product-information { border: 1px solid #d1ddde; border-radius: 22px; background: var(--white); }
.product-gallery { min-width: 0; padding: 18px; }
.product-main-image { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; border-radius: 15px; background: #fff; cursor: zoom-in; }
.product-main-image img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 13px; }
.product-thumbnail { position: relative; aspect-ratio: 4 / 3; padding: 3px; overflow: hidden; border: 1px solid #d4dfe0; border-radius: 9px; background: #fff; cursor: pointer; }
.product-thumbnail.is-active { border: 2px solid var(--cyan); }
.product-thumbnail img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.product-buy-panel { padding: clamp(27px, 4vw, 47px); }
.product-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.product-badges > span:first-child { padding: 6px 10px; color: #2c5c68; border-radius: 99px; background: #e7eff0; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.product-buy-panel h1 { margin: 19px 0 14px; font-size: clamp(31px, 4vw, 47px); line-height: 1.1; letter-spacing: -.04em; }
.product-short-description { color: var(--muted); }
.detail-price { display: block; margin: 27px 0; color: var(--cyan-dark); font-size: 35px; }
.grade-assurance { margin-bottom: 13px; padding: 16px; color: #fff; border-radius: 13px; background: linear-gradient(135deg, #172c3d, #0d4d55); }
.grade-assurance strong, .grade-assurance span { display: block; }
.grade-assurance strong { font-size: 14px; }
.grade-assurance span { margin-top: 4px; color: #c5dfe1; font-size: 12px; line-height: 1.5; }
.ready-callout { display: flex; gap: 13px; padding: 16px; border: 1px solid #b9ddd9; border-radius: 13px; background: #ecf9f7; }
.ready-callout i { flex: 0 0 auto; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--cyan-dark); box-shadow: 0 0 0 5px rgba(14,143,140,.1); }
.ready-callout strong, .ready-callout span { display: block; }
.ready-callout span { margin-top: 2px; color: #55717b; font-size: 12px; }
.ready-callout.is-reserved { border-color: #ebcf7b; background: #fff8df; }
.ready-callout.is-reserved i { background: #d69700; }
.ready-callout.is-sold { border-color: #e8b6b6; background: #fff0f0; }
.ready-callout.is-sold i { background: #c94a4a; }
.product-cta-stack { display: grid; gap: 10px; margin-top: 22px; }
.detail-contact-button { color: var(--ink); border-color: #b6c5c9; background: transparent; }
.chat-photo-button { border-color: var(--cyan-dark); background: #e8f8f6; }
.photo-honesty-note { margin: 14px 0 0; color: #536d77; font-size: 11px; line-height: 1.55; text-align: center; }
.no-checkout-note { margin: 15px 0 0; color: #6b7e87; font-size: 11px; text-align: center; }
.product-information { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: clamp(28px, 5vw, 58px); }
.product-information h2 { font-size: clamp(27px, 3vw, 38px); }
.product-information p { color: var(--muted); }
.warranty-line { margin-top: 25px; padding: 13px 15px; border-left: 3px solid var(--cyan); background: #eef7f6; }
.product-specs { margin: 22px 0 0; }
.product-specs > div { display: grid; grid-template-columns: minmax(110px,.7fr) 1fr; gap: 15px; padding: 11px 0; border-bottom: 1px solid #e0e7e8; }
.product-specs dt { color: #72838b; font-size: 12px; }
.product-specs dd { margin: 0; font-size: 13px; font-weight: 800; }
.product-lightbox { width: fit-content; max-width: calc(100vw - 32px); height: fit-content; max-height: calc(100vh - 32px); padding: 0; overflow: visible; border: 0; background: transparent; box-shadow: none; }
.product-lightbox::backdrop { background: rgba(2,13,22,.87); }
.product-lightbox img { display: block; width: auto; height: auto; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.product-lightbox button { position: absolute; z-index: 2; top: 8px; right: 8px; width: 40px; height: 40px; color: var(--ink); border: 0; border-radius: 50%; background: rgba(237,243,242,.94); box-shadow: 0 4px 18px rgba(0,0,0,.2); font-size: 25px; cursor: pointer; }

@media (max-width: 900px) {
  .used-page .site-nav { gap: 9px; font-size: 12px; }
  .used-hero-layout, .catalog-heading, .public-product-detail, .product-information { grid-template-columns: 1fr; }
  .used-hero-layout, .catalog-heading, .product-information { gap: 34px; }
  .refurbished-standard-card { grid-template-columns: 110px 1fr; }
  .refurbished-checklist { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .refurbished-checklist li { padding: 15px 18px 15px 31px; border-right: 1px solid #e2e9ea; border-bottom: 0; }
  .refurbished-checklist li:last-child { border-right: 0; }
  .used-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .used-contact-band .shell { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 620px) {
  .used-hero { padding: 128px 0 63px; }
  .used-hero h1 { font-size: clamp(34px, 10.5vw, 48px); hyphens: manual; overflow-wrap: break-word; }
  .used-hero p { font-size: 16px; }
  .stock-strip .shell { flex-direction: column; align-items: flex-start; gap: 5px; padding-block: 17px; }
  .refurbished-standard { padding-top: 42px; }
  .refurbished-standard-card { grid-template-columns: 1fr; gap: 24px; padding: 25px 20px; border-radius: 19px; }
  .grade-emblem { width: 108px; }
  .grade-emblem strong { font-size: 49px; }
  .refurbished-checklist { grid-column: auto; grid-template-columns: 1fr; }
  .refurbished-checklist li { padding: 14px 0 14px 31px; border-right: 0; border-bottom: 1px solid #e2e9ea; }
  .refurbished-checklist li:last-child { border-bottom: 0; }
  .grade-chat-button { width: 100%; text-align: center; }
  .used-catalog-section { padding: 68px 0 82px; }
  .category-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .category-filters button { justify-content: space-between; }
  .used-product-grid { grid-template-columns: 1fr; }
  .used-contact-band .shell > div:last-child { display: grid; }
  .product-detail-main { padding: 104px 0 83px; }
  .public-product-detail { gap: 16px; }
  .product-gallery { padding: 10px; }
  .product-thumbnails { grid-template-columns: repeat(4, 1fr); }
  .product-buy-panel { padding: 26px 21px; }
  .product-information { padding: 29px 21px; }
  .product-lightbox { max-width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
  .product-lightbox img { max-width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
}
