/*
 * Sandbox Computers - THE NEW HOME PAGE styles. Started 6 Oct 2026. Loaded on the front page only (after sbx-design.css).
 */
.sbx-home { font-family: var(--rd-font); color: var(--rd-text); line-height: 1.55; }
.sbx-home h1, .sbx-home h2, .sbx-home h3 { font-family: var(--rd-font); color: inherit; letter-spacing: -.015em; margin: 0; }
.sbx-home p { margin: 0 0 14px; }
.sbx-home a { text-underline-offset: 3px; }
.sbx-hi { width: 26px; height: 26px; flex: 0 0 auto; }
.sbx-small { font-size: 14px; color: var(--rd-muted); }
.sbx-btn-light { background: #fff; color: var(--rd-navy-800) !important; }
.sbx-btn-light:hover { background: #e8f1fb; }
.sbx-btn-outline { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); }
.sbx-btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.sbx-btn .sbx-hi { width: 20px; height: 20px; }

/* ---- hero */
.rd-hero { background: radial-gradient(900px 420px at 82% 0%, rgba(20,121,214,.38), transparent 62%), linear-gradient(180deg, var(--rd-navy-800), var(--rd-navy-900)); color: #fff; padding: 56px 0 60px; }
.rd-hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.sbx-eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rd-blue-bright); font-weight: 800; margin: 0 0 14px !important; }
.rd-hero h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.07; font-weight: 800; color: #fff; max-width: 17ch; }
.sbx-lead { font-size: clamp(17px, 1.5vw, 20px); color: #c9d6e4; max-width: 52ch; margin: 18px 0 26px !important; }
.rd-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.sbx-chips-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sbx-chips-row li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 14px; font-weight: 600; color: #e6eef7; }
.sbx-chips-row .sbx-hi { width: 18px; height: 18px; color: var(--rd-blue-bright); }
.rd-hero-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 16px; padding: 18px 18px 16px; color: var(--rd-text) !important; text-decoration: none; box-shadow: 0 30px 60px rgba(0,0,0,.4); transition: transform .2s; }
.rd-hero-card:hover { transform: translateY(-3px); }
.rd-hero-img { width: 100%; height: 300px; object-fit: contain; border-radius: 8px; background: #fff; }
.rd-hero-tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--rd-green); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.rd-hero-name { font-weight: 700; font-size: 16px; line-height: 1.3; margin-top: 10px; }
.rd-hero-go { color: var(--rd-blue); font-weight: 700; margin-top: 6px; font-size: 15px; }

/* ---- sections */
.sbx-sec { padding: 56px 0; }
.sbx-alt { background: #fff; }
.sbx-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: 0 0 24px; }
.sbx-sec-head h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.sbx-more { font-weight: 700; color: var(--rd-blue); text-decoration: none; }
.sbx-more:hover { text-decoration: underline; }

/* ---- quick tiles */
.sbx-quick { padding: 0; margin-top: -26px; position: relative; z-index: 3; }
.sbx-quick-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sbx-q { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: #fff; border-radius: 12px; box-shadow: var(--rd-shadow-m); text-decoration: none; color: var(--rd-text) !important; border: 1px solid var(--rd-line); transition: transform .15s, box-shadow .15s; }
.sbx-q:hover { transform: translateY(-3px); border-color: var(--rd-blue); }
.sbx-q .sbx-hi { color: var(--rd-blue); width: 32px; height: 32px; margin-bottom: 6px; }
.sbx-q b { font-size: 16px; font-weight: 800; }
.sbx-q span { font-size: 14px; color: var(--rd-muted); }
.sbx-quick + .sbx-sec { padding-top: 64px; }

/* ---- ready-made PCs */
.sbx-pc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sbx-pc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rd-line); border-radius: 12px; padding: 14px; box-shadow: var(--rd-shadow-s); }
.sbx-pc-img { display: block; height: 190px; margin-bottom: 10px; border-radius: 8px; overflow: hidden; background: #fff; }
.sbx-pc-img img { width: 100%; height: 100%; object-fit: contain; }
.sbx-pc h3 { font-size: 16px; font-weight: 700; line-height: 1.3; min-height: 3.9em; }
.sbx-pc h3 a { color: var(--rd-text) !important; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sbx-pc h3 a:hover { color: var(--rd-blue) !important; }
.sbx-pc ul.sbx-spec-lines { list-style: none !important; margin: 8px 0 12px !important; padding: 0 !important; font-size: 13px; line-height: 1.5; color: #3d4b58; }
.sbx-pc ul.sbx-spec-lines li { position: relative; margin: 0 !important; padding: 0 0 0 14px !important; }
.sbx-pc ul.sbx-spec-lines li::before { content: ""; position: absolute; left: 1px; top: .58em; width: 5px; height: 5px; border-top: 2px solid var(--rd-blue); border-right: 2px solid var(--rd-blue); transform: rotate(45deg); }
.sbx-pc ul.sbx-spec-lines li b { color: var(--rd-text); font-weight: 600; margin-right: 4px; }
.sbx-pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--rd-line); }
.sbx-pc-price { font-size: 22px; font-weight: 800; color: var(--rd-text); }
.sbx-pc-price .amount, .sbx-pc-price bdi { color: inherit; }
.sbx-pc-price del { font-size: 14px; font-weight: 500; color: var(--rd-muted); }
.sbx-pc-price ins { text-decoration: none; }
.sbx-pc-foot .sbx-btn { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* ---- what we do */
.sbx-do-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sbx-do { background: var(--rd-bg); border: 1px solid var(--rd-line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; }
.sbx-price-tag { align-self: flex-start; background: #e3f4ea; color: var(--rd-green); font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.sbx-tag-blue { background: #e4f0fc; color: var(--rd-blue-dark); }
.sbx-do h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.sbx-do p { color: #3d4b58; font-size: 15px; }
.sbx-do a { margin-top: auto; font-weight: 700; color: var(--rd-blue); text-decoration: none; }
.sbx-do a:hover { text-decoration: underline; }

/* ---- why us */
.sbx-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sbx-why .sbx-hi { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: #e4f0fc; color: var(--rd-blue-dark); box-sizing: content-box; margin-bottom: 12px; }
.sbx-why h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.sbx-why p { color: #3d4b58; font-size: 15px; margin: 0; }

/* ---- categories */
.sbx-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.sbx-cat { display: flex; flex-direction: column; gap: 2px; padding: 18px; background: var(--rd-bg); border: 1px solid var(--rd-line); border-radius: 12px; text-decoration: none; color: var(--rd-text) !important; transition: border-color .15s, transform .15s; }
.sbx-cat:hover { border-color: var(--rd-blue); transform: translateY(-2px); background: #fff; }
.sbx-cat .sbx-hi { color: var(--rd-blue); width: 30px; height: 30px; margin-bottom: 8px; }
.sbx-cat-n { font-weight: 800; font-size: 16px; }
.sbx-cat-c { font-size: 13px; color: var(--rd-muted); }

/* ---- reviews */
.rd-reviews { background: linear-gradient(180deg, var(--rd-navy-800), var(--rd-navy-900)); color: #fff; }
.sbx-rev-in { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.sbx-rev-score { display: flex; flex-direction: column; align-items: center; padding: 24px 36px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.sbx-rev-score b { font-size: 64px; line-height: 1; font-weight: 800; }
.rd-stars { display: flex; gap: 2px; color: #f5b301; margin: 6px 0 4px; }
.rd-stars .sbx-hi { width: 22px; height: 22px; fill: #f5b301; }
.sbx-rev-score small { font-size: 13px; color: #c9d6e4; }
.sbx-rev-copy h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.sbx-rev-copy p { color: #c9d6e4; max-width: 56ch; }

/* ---- find us */
.sbx-find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; align-items: stretch; }
.sbx-find-info h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin-bottom: 14px; }
.sbx-find-info address { display: flex; gap: 10px; align-items: flex-start; font-style: normal; font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.sbx-find-info address .sbx-hi { color: var(--rd-blue); margin-top: 2px; }
.sbx-hours-light th, .sbx-hours-light td { color: var(--rd-text) !important; padding: 4px 18px 4px 0; font-size: 16px; text-align: left; border: 0; background: none; }
.sbx-hours-light th { font-weight: 700; }
.sbx-find-info p .sbx-btn { margin: 0 8px 8px 0; }
.sbx-map { min-height: 340px; border-radius: 14px; overflow: hidden; box-shadow: var(--rd-shadow-s); border: 1px solid var(--rd-line); background: #dfe7ef; }
.sbx-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---- FAQ */
.sbx-faq { max-width: 860px; }
.sbx-faq h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin-bottom: 18px; }
.sbx-q-a { background: #fff; border: 1px solid var(--rd-line); border-radius: 10px; margin: 0 0 10px; }
.sbx-alt .sbx-q-a { background: var(--rd-bg); }
.sbx-q-a summary { cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 700; font-size: 17px; list-style: none; position: relative; }
.sbx-q-a summary::-webkit-details-marker { display: none; }
.sbx-q-a summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--rd-blue); }
.sbx-q-a[open] summary::after { content: "\2212"; }
.sbx-q-a p { padding: 0 18px 16px; margin: 0; color: #3d4b58; font-size: 16px; }

/* ---- closing call to action */
.rd-cta { background: linear-gradient(135deg, var(--rd-blue-dark), var(--rd-navy-800)); color: #fff; padding: 52px 0; text-align: center; }
.rd-cta h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: #fff; margin-bottom: 8px; }
.rd-cta p { color: #d7e6f6; font-size: 18px; }
.rd-cta p .sbx-btn { margin: 6px 6px 0; }

/* ---- tablets and phones */
@media (max-width: 1100px) {
  .sbx-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sbx-pc-grid, .sbx-do-grid, .sbx-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rd-hero { padding: 36px 0 44px; }
  .rd-hero-in { grid-template-columns: 1fr; gap: 28px; }
  .rd-hero-img { height: 240px; }
  .sbx-find { grid-template-columns: 1fr; }
  .sbx-rev-in { grid-template-columns: 1fr; gap: 20px; }
  .sbx-rev-score { align-self: flex-start; }
}
@media (max-width: 640px) {
  .sbx-sec { padding: 40px 0; }
  .sbx-quick { margin-top: -18px; }
  .sbx-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sbx-q { padding: 14px; }
  .sbx-q:last-child { grid-column: 1 / -1; }
  .sbx-pc-grid, .sbx-do-grid, .sbx-why-grid { grid-template-columns: 1fr; }
  .rd-hero-cta .sbx-btn { flex: 1 1 100%; }
  .sbx-chips-row li { font-size: 13px; }
  .sbx-pc { display: grid; grid-template-columns: 110px 1fr; gap: 4px 12px; }
  .sbx-pc-img { grid-row: 1 / 3; height: 110px; margin: 0; }
  .sbx-pc h3 { min-height: 0; font-size: 15px; }
  .sbx-pc ul.sbx-spec-lines { grid-column: 1 / -1; }
  .sbx-pc-foot { grid-column: 1 / -1; }
  .sbx-map, .sbx-map iframe { min-height: 280px; }
}

/* ---- the OLD home page (in the site's custom CSS) used the same class names (.rd-hero, .sbx-sub ...) and a green tick on every list item. Beat both. */
body.sbx-rd .sbx-home .rd-hero { margin: 0; }
body.sbx-rd .sbx-home .rd-hero h1 { color: #fff !important; font-size: clamp(32px, 4.4vw, 56px) !important; line-height: 1.07 !important; font-weight: 800 !important; margin: 0 0 4px !important; max-width: 17ch; }
body.sbx-rd .sbx-home .rd-hero .sbx-eyebrow { color: var(--rd-blue-bright) !important; }
body.sbx-rd .sbx-home .rd-hero .sbx-lead { color: #c9d6e4 !important; font-size: clamp(17px, 1.5vw, 20px) !important; max-width: 52ch; }
body.sbx-rd .sbx-home .rd-hero .sbx-chips-row li { color: #e6eef7 !important; }
body.sbx-rd .sbx-home ul li::before, body.sbx-rd .sbx-home ol li::before { content: none !important; }
body.sbx-rd .sbx-home ul.sbx-spec-lines li::before { content: "" !important; position: absolute; left: 1px; top: .58em; width: 5px; height: 5px; border: 0; border-top: 2px solid var(--rd-blue); border-right: 2px solid var(--rd-blue); background: none; margin: 0; transform: rotate(45deg); }
body.sbx-rd .sbx-home h2::after, body.sbx-rd .sbx-home h3::after { content: none !important; }
body.sbx-rd .sbx-home .sbx-sec-head h2 { margin: 0 !important; padding: 0 !important; }
body.sbx-rd .sbx-home .rd-reviews h2, body.sbx-rd .sbx-home .rd-cta h2 { color: #fff !important; }
body.sbx-rd .sbx-home .rd-reviews p, body.sbx-rd .sbx-home .rd-cta p { color: #d7e6f6 !important; }
body.sbx-rd .sbx-home .sbx-rev-score b { color: #fff !important; }
/* 8 Oct 2026, Stephen: "Shop by category ... 6 on the top and one under it, this does not look right". Seven tiles now sit in ONE row on a wide screen, and on narrower screens wrap in even rows with the short last row CENTRED (never one tile left alone at the edge). */
.sbx-cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sbx-cat-grid > * { box-sizing: border-box; min-width: 0; flex: 0 0 calc((100% - 12px) / 2); }
@media (min-width: 480px) { .sbx-cat-grid > * { flex: 0 0 calc((100% - 24px) / 3); } }
@media (min-width: 720px) { .sbx-cat-grid > * { flex: 0 0 calc((100% - 36px) / 4); } }
@media (min-width: 1180px) { .sbx-cat-grid > * { flex: 0 0 calc((100% - 72px) / 7); } }
