/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════
   REFERENCE STOREFRONT SKINS — the presentation of the Reference-Based Templates (StorefrontSkins): newegg, startech, ryans,
   techland. Every rule is scoped to a skin's own classes (.rhd--*, .site--skin-*, .rc--*, .rp--*, .rl--*), so no other website or
   template is touched. Linked by the public site and by the Admin (whose template preview documents use the Admin's stylesheets).
   Original styling — no reference stylesheet, logo, image or brand mark is used.
   ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── Skin tokens (one identity each) ─────────────────────────────────────────────────────────────────────────── */
.rhd--newegg, .site--skin-newegg, .rsk--newegg {
    --r-ink: #13254f; --r-ink2: #1c3468; --r-accent: #f7a21b; --r-accent-ink: #13254f; --r-link: #1d5fc4; --r-bg: #f3f5f9;
    --r-card: #ffffff; --r-text: #1c1f26; --r-muted: #5b6473; --r-line: #dde2ea; --r-price: #1c1f26; --r-sale: #c62828;
    --r-ok: #1e7f3a; --r-radius: 4px; --r-font: "Archivo", "Inter", system-ui, sans-serif;
}
.rhd--startech, .site--skin-startech, .rsk--startech {
    --r-ink: #081621; --r-ink2: #ffffff; --r-accent: #ef4a23; --r-accent-ink: #ffffff; --r-blue: #3749bb; --r-link: #3749bb; --r-bg: #f2f4f8;
    --r-card: #ffffff; --r-text: #111827; --r-muted: #666e7a; --r-line: #e5e7eb; --r-price: #ef4a23; --r-sale: #ef4a23;
    --r-ok: #15803d; --r-radius: 8px; --r-font: "Poppins", "Inter", system-ui, sans-serif;
}
.rhd--ryans, .site--skin-ryans, .rsk--ryans {
    --r-ink: #121212; --r-ink2: #1f1f1f; --r-accent: #00a651; --r-accent-ink: #ffffff; --r-link: #00843f; --r-bg: #f6f7f6;
    --r-card: #ffffff; --r-text: #161616; --r-muted: #5a605a; --r-line: #e1e4e1; --r-price: #00a651; --r-sale: #d32f2f;
    --r-ok: #00843f; --r-radius: 2px; --r-font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}
.rhd--techland, .site--skin-techland, .rsk--techland {
    --r-ink: #0e1117; --r-ink2: #12161f; --r-accent: #e11d48; --r-accent-ink: #ffffff; --r-cyan: #22d3ee; --r-link: #22d3ee; --r-bg: #0b0d12;
    --r-card: #151922; --r-text: #e7eaf0; --r-muted: #9ba4b4; --r-line: #262c38; --r-price: #ff4d6d; --r-sale: #e11d48;
    --r-ok: #34d399; --r-radius: 10px; --r-font: "Oswald", "Roboto", system-ui, sans-serif;
}

/* ══ HEADER ═══════════════════════════════════════════════════════════════════════════════════════════════════ */
.rhd { position: sticky; top: 0; z-index: 60; color: #fff; font-family: "Inter", system-ui, sans-serif; font-size: 14px; line-height: 1.3; }
.rhd *, .rhd *::before, .rhd *::after { box-sizing: border-box; }
.rhd [hidden] { display: none !important; }
.rhd a { color: inherit; text-decoration: none; }
.rhd ul { list-style: none; margin: 0; padding: 0; }
.rhd button { font: inherit; cursor: pointer; }
.rhd__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rhd__wrap { max-width: 1440px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 16px; min-width: 0; }
.rhd__main { background: var(--r-ink); }
.rhd__main .rhd__wrap { min-height: 70px; }
.rhd__brand { font-family: var(--r-font); font-weight: 800; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; color: #fff; }
.rhd__burger { display: none; border: 0; background: transparent; color: inherit; padding: 4px; }
.rhd__search { flex: 1 1 auto; display: flex; min-width: 0; max-width: 760px; height: 44px; background: #fff; border-radius: 4px; overflow: hidden; }
.rhd__q { flex: 1 1 auto; min-width: 0; border: 0; padding: 0 16px; font: inherit; font-size: 15px; color: #111827; background: transparent; outline: none; }
.rhd__q::-webkit-search-cancel-button { display: none; }
.rhd__go { flex: 0 0 auto; width: 58px; border: 0; background: var(--r-accent); color: var(--r-accent-ink); display: grid; place-items: center; }
.rhd__search:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--r-accent) 45%, transparent); }
.rhd__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; flex: 0 0 auto; }
.rhd__icon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: #fff; }
.rhd__iconlabel { opacity: .85; }
.rhd__badge { position: absolute; top: -7px; right: -9px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--r-accent); color: var(--r-accent-ink);
    font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.rhd__lang { display: inline-flex; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; overflow: hidden; }
.rhd__langbtn { border: 0; background: transparent; color: inherit; padding: 5px 10px; font-size: 12px; font-weight: 700; }
.rhd__langbtn.is-on { background: rgba(255,255,255,.18); }
.rhd__cta { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 4px; background: var(--r-accent); color: var(--r-accent-ink); font-weight: 700; white-space: nowrap; }
.rhd__tile { display: flex; align-items: center; gap: 10px; }
.rhd__tileicon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--r-accent); }
.rhd__tiletext { display: flex; flex-direction: column; line-height: 1.2; }
.rhd__tiletext small { opacity: .7; font-size: 12px; }
.rhd__pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 600; white-space: nowrap; }

.rhd__nav { background: var(--r-ink2); }
.rhd__nav .rhd__wrap { min-height: 46px; gap: 8px; }
.rhd__navlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; flex: 1 1 auto; min-width: 0; }
.rhd__navitem { position: relative; }
.rhd__navitem > a { display: flex; align-items: center; gap: 6px; padding: 13px 12px; font-weight: 600; white-space: nowrap; }
.rhd__navicon { display: inline-grid; color: var(--r-cyan, var(--r-accent)); }
.rhd__drop { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; padding: 8px 0; background: #fff; color: #1c1f26;
    border-radius: 0 0 6px 6px; box-shadow: 0 14px 30px rgba(0,0,0,.16); z-index: 70; }
.rhd__drop a { display: block; padding: 8px 16px; font-weight: 500; }
.rhd__drop a:hover { background: #f3f5f9; color: var(--r-link); }
@media (hover: hover) and (min-width: 961px) { .rhd__navitem:hover > .rhd__drop { display: block; } }

/* "All Categories" (department menu) */
.rhd__dept { position: relative; flex: 0 0 auto; }
.rhd__deptbtn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 0; background: rgba(255,255,255,.08); color: inherit; font-weight: 700; white-space: nowrap; }
.rhd__deptpanel { display: none; position: absolute; left: 0; top: 100%; width: 290px; padding: 6px 0; background: #fff; color: #1c1f26;
    border-radius: 0 0 6px 6px; box-shadow: 0 16px 36px rgba(0,0,0,.2); z-index: 80; }
.rhd__dept.is-open .rhd__deptpanel { display: block; }
@media (hover: hover) and (min-width: 961px) { .rhd__dept:hover .rhd__deptpanel { display: block; } }
.rhd__deptitem { position: relative; }
.rhd__deptitem > a { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-weight: 500; }
.rhd__deptitem > a:hover, .rhd__deptitem > a:focus-visible { background: #f3f5f9; color: var(--r-link); }
.rhd__deptitem small { margin-left: auto; color: #8a93a3; font-size: 12px; }
.rhd__depticon { display: inline-grid; color: #6b7686; }
.rhd__deptname { min-width: 0; }
.rhd__deptsub { display: none; position: absolute; left: 100%; top: 0; min-width: 230px; padding: 6px 0; background: #fff; box-shadow: 0 16px 36px rgba(0,0,0,.18); border-radius: 0 6px 6px 0; }
.rhd__deptsub a { display: block; padding: 8px 16px; }
.rhd__deptsub a:hover { background: #f3f5f9; color: var(--r-link); }
@media (hover: hover) and (min-width: 961px) { .rhd__deptitem:hover > .rhd__deptsub { display: block; } }

.rhd__deal { display: inline-flex; align-items: center; gap: 6px; color: var(--r-accent); font-weight: 800; white-space: nowrap; margin-left: auto; }

/* drawer + bottom bar (phone / tablet) */
.rhd__drawer { position: fixed; inset: 0 auto 0 0; width: min(86vw, 340px); background: #fff; color: #1c1f26; z-index: 1001; overflow-y: auto; padding-bottom: 24px; box-shadow: 12px 0 40px rgba(0,0,0,.25); }
.rhd__scrim { position: fixed; inset: 0; background: rgba(8,12,20,.5); z-index: 1000; }
.rhd__drawerhead { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--r-ink); color: #fff; font-size: 17px; }
.rhd__close { border: 0; background: transparent; color: inherit; }
.rhd__drawerlabel { margin: 16px 18px 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a93a3; }
.rhd__drawerlist a { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid #eef0f4; font-weight: 500; }
.rhd__bottom { display: none; }

/* — Newegg-inspired: two navy rows, wide search with an orange button, deals link on the right — */
.rhd--newegg .rhd__nav { background: #1c3468; border-top: 1px solid rgba(255,255,255,.08); }
.rhd--newegg .rhd__go { color: #13254f; }
.rhd--newegg .rhd__deptbtn { background: transparent; }

/* — Star Tech-inspired: dark bar with offer tile and blue PC Builder, a WHITE category bar under it — */
.rhd--startech .rhd__search { max-width: 640px; border-radius: 4px; }
.rhd--startech .rhd__go { background: transparent; color: #444; }
.rhd--startech .rhd__cta { background: var(--r-blue); color: #fff; }
.rhd--startech .rhd__nav { background: #fff; color: #111827; box-shadow: 0 1px 0 #e5e7eb, 0 6px 14px rgba(8,22,33,.06); }
.rhd--startech .rhd__navitem > a { font-weight: 500; padding: 14px 12px; }
.rhd--startech .rhd__navitem > a:hover { color: var(--r-accent); }
.rhd--startech .rhd__badge { background: var(--r-accent); color: #fff; }

/* — Ryans-inspired: light utility strip, black bar with green category button / search / builder, dark category bar — */
.rhd__util { background: #f1f1f1; color: #333; font-size: 12px; }
.rhd__util .rhd__wrap { min-height: 32px; justify-content: space-between; }
.rhd__utillinks { display: flex; gap: 18px; }
.rhd__utillinks a:hover { color: var(--r-accent); }
.rhd--ryans .rhd__util .rhd__lang { border-color: #c8c8c8; }
.rhd--ryans .rhd__util .rhd__langbtn.is-on { background: var(--r-accent); color: #fff; }
.rhd--ryans .rhd__dept--main .rhd__deptbtn { height: 42px; border-radius: 4px; background: var(--r-accent); color: #fff; }
.rhd--ryans .rhd__search { border: 2px solid var(--r-accent); border-radius: 4px; }
.rhd--ryans .rhd__nav { background: #1f1f1f; font-size: 13px; }
.rhd--ryans .rhd__navitem > a { font-weight: 600; padding: 12px 11px; color: #e9e9e9; }
.rhd--ryans .rhd__navitem > a:hover { color: var(--r-accent); }

/* — Techland-inspired: charcoal bar, rounded dark search, offer pill + red builder pill, icon category row — */
.rhd--techland .rhd__main { border-bottom: 1px solid #1f2430; }
.rhd--techland .rhd__search { background: #1a1f2b; border-radius: 999px; border: 1px solid #2a3140; }
.rhd--techland .rhd__q { color: #e7eaf0; }
.rhd--techland .rhd__q::placeholder { color: #8d96a8; }
.rhd--techland .rhd__go { background: var(--r-accent); color: #fff; border-radius: 0 999px 999px 0; }
.rhd--techland .rhd__cta { border-radius: 999px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 6px 18px rgba(225,29,72,.35); }
.rhd--techland .rhd__nav { background: #12161f; border-bottom: 1px solid #1f2430; }
.rhd--techland .rhd__deptbtn { background: var(--r-accent); border-radius: 6px; height: 36px; }
.rhd--techland .rhd__navitem > a { text-transform: uppercase; font-size: 13px; letter-spacing: .03em; }

@media (max-width: 1180px) {
    .rhd__iconlabel, .rhd__tiletext small { display: none; }
    .rhd--startech .rhd__tiletext { display: none; }
}
@media (max-width: 960px) {
    .rhd__util, .rhd__nav, .rhd__dept--main, .rhd__cta, .rhd__tile, .rhd__pill, .rhd__actions .rhd__lang { display: none !important; }
    .rhd__burger { display: inline-grid; }
    .rhd__main .rhd__wrap { flex-wrap: wrap; gap: 8px 12px; padding: 8px 14px 10px; min-height: 0; }
    .rhd__brand { flex: 1 1 auto; font-size: 19px; }
    .rhd__search { order: 10; flex: 1 1 100%; max-width: none; height: 42px; }
    .rhd__actions { gap: 14px; }
    .rhd__bottom { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; height: 60px;
        background: var(--r-ink); color: #fff; box-shadow: 0 -6px 18px rgba(0,0,0,.18); padding-bottom: env(safe-area-inset-bottom); }
    .rhd__bottom > a, .rhd__bottom > button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        border: 0; background: transparent; color: inherit; font-size: 11px; font-weight: 600; }
    .rhd__bottom i { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--r-accent); color: #fff;
        font-style: normal; font-size: 10px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
    body:has(.rhd__bottom) .pub-main { padding-bottom: 64px; }
}

/* ══ STOREFRONT CONTENT (inside .site) ════════════════════════════════════════════════════════════════════════ */
.site.site--skin { background: var(--r-bg); color: var(--r-text); }
.site.site--skin .ss { padding-block: 22px; background: transparent; }
.site.site--skin .ss.ss--tone-dark, .site.site--skin .ss.ss--tone-accent, .site.site--skin .ss.ss--tone-muted { background: transparent; color: inherit; }
.site.site--skin .ss__inner.rs-inner { max-width: 1440px; padding-inline: 20px; }
.site.site--skin .ss-demo { max-width: 1400px; margin: 0 auto 8px; }

/* Shelf head */
.rs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.rs-head__eyebrow { margin: 0 0 2px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--r-accent); }
.rs-head__title { margin: 0; font-family: var(--r-font); font-size: 24px; font-weight: 800; color: var(--r-text); letter-spacing: -.01em; }
.rs-head__sub { margin: 4px 0 0; color: var(--r-muted); font-size: 14px; }
.site.site--skin a.rs-head__all { flex: 0 0 auto; font-weight: 700; color: var(--r-link); text-decoration: none; white-space: nowrap; }
.site--skin-newegg .rs-head { border-bottom: 2px solid var(--r-line); padding-bottom: 8px; }
.site--skin-newegg .rs-head__title { text-transform: uppercase; font-size: 21px; color: var(--r-ink); }
.site--skin-startech .rs-head { flex-direction: column; align-items: center; text-align: center; }
.site--skin-startech .rs-head__title { font-size: 26px; font-weight: 700; }
.site--skin-ryans .rs-head { border-bottom: 1px solid var(--r-line); padding-bottom: 8px; }
.site--skin-ryans .rs-head__title { font-size: 20px; position: relative; padding-bottom: 8px; margin-bottom: -9px; border-bottom: 3px solid var(--r-accent); }
.site--skin-techland .rs-head__title { text-transform: uppercase; letter-spacing: .02em; padding-left: 12px; border-left: 4px solid var(--r-accent); color: #fff; }
.site.site--skin-techland a.rs-head__all { color: #fff; background: rgba(255,255,255,.08); padding: 7px 14px; border-radius: 999px; font-size: 13px; }

/* Hero */
.rh-hero { display: grid; gap: 12px; align-items: stretch; }
.rh-hero--newegg { grid-template-columns: 250px minmax(0, 1fr) 300px; }
.rh-hero--startech { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.rh-hero--ryans { grid-template-columns: minmax(0, 1fr); }
.rh-hero--ryans .rh-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
.rh-hero--techland { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); }
.rh-main { position: relative; min-height: 400px; overflow: hidden; border-radius: var(--r-radius); background: var(--r-ink); color: #fff; isolation: isolate; }
.rh-main__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.rh-main::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,14,28,.86) 0%, rgba(8,14,28,.55) 45%, rgba(8,14,28,.05) 100%); }
.rh-main__copy { position: relative; max-width: 560px; padding: 44px 40px; }
.rh-main__eyebrow { margin: 0 0 10px; display: inline-block; padding: 4px 10px; border-radius: 3px; background: var(--r-accent); color: var(--r-accent-ink); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.rh-main__title { margin: 0 0 10px; font-family: var(--r-font); font-size: clamp(26px, 3vw, 40px); line-height: 1.12; font-weight: 800; color: #fff; }
.rh-main__sub { margin: 0 0 22px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.88); }
.site.site--skin a.rh-main__cta { display: inline-flex; align-items: center; height: 46px; padding: 0 26px; border-radius: var(--r-radius); background: var(--r-accent); color: var(--r-accent-ink); font-weight: 800; text-decoration: none; }
.rh-main__dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; }
.rh-main__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); }
.rh-main__dots i.is-on { width: 26px; border-radius: 6px; background: var(--r-accent); }
.rh-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; min-width: 0; }
.site.site--skin a.rh-banner { position: relative; display: flex; align-items: flex-end; min-height: 190px; overflow: hidden; border-radius: var(--r-radius); color: #fff; text-decoration: none; isolation: isolate; background: var(--r-ink); }
.rh-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.rh-banner:hover .rh-banner__img { transform: scale(1.04); }
.rh-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,10,20,.85) 0%, rgba(5,10,20,.25) 60%, transparent 100%); }
.rh-banner__copy { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; }
.rh-banner__badge { align-self: flex-start; padding: 3px 8px; border-radius: 3px; background: var(--r-accent); color: var(--r-accent-ink); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.rh-banner__title { font-family: var(--r-font); font-size: 19px; font-weight: 800; }
.rh-banner__text { font-size: 13px; opacity: .9; }
.rh-rail { background: var(--r-card); border: 1px solid var(--r-line); border-radius: var(--r-radius); padding: 6px 0; overflow: hidden; }
.rh-rail__title { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; font-weight: 800; color: var(--r-ink); border-bottom: 1px solid var(--r-line); }
.rh-rail ul { list-style: none; margin: 0; padding: 0; }
.site.site--skin a.rh-rail__link { display: flex; align-items: center; gap: 10px; padding: 8px 16px; color: var(--r-text); text-decoration: none; font-size: 14px; }
.site.site--skin a.rh-rail__link:hover { background: #eef3fb; color: var(--r-link); }
.rh-rail__icon { display: inline-grid; color: #6b7686; }
.rh-rail__name { flex: 1 1 auto; min-width: 0; }
.rh-rail__chev { color: #9aa3b2; }
/* Newegg: the main banner in the middle, promos stacked right; Techland: a framed dark banner */
.rh-hero--newegg .rh-main { min-height: 420px; }
.rh-hero--startech .rh-main { min-height: 420px; }
.rh-hero--startech .rh-main::after { background: linear-gradient(0deg, rgba(8,22,33,.88) 0%, rgba(8,22,33,.2) 55%, transparent 100%); }
.rh-hero--startech .rh-main__copy { position: absolute; left: 0; bottom: 0; }
.rh-hero--ryans .rh-main { min-height: 360px; border-radius: 0; }
.rh-hero--ryans .rh-main::after { background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,0) 100%); }
.rh-hero--ryans a.rh-banner { min-height: 150px; border-radius: 0; }
.rh-hero--techland .rh-main { min-height: 430px; box-shadow: 0 0 0 1px #262c38, 0 18px 50px rgba(225,29,72,.18); }
.rh-hero--techland .rh-main::after { background: radial-gradient(120% 90% at 0% 100%, rgba(225,29,72,.55), transparent 60%), linear-gradient(90deg, rgba(11,13,18,.92), rgba(11,13,18,.2)); }
.rh-hero--techland .rh-main__title { text-transform: uppercase; letter-spacing: .01em; }
.rh-hero--techland a.rh-banner { box-shadow: 0 0 0 1px #262c38; }

/* Department tiles */
.rt { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site.site--skin a.rt__tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; text-decoration: none; color: var(--r-text); text-align: center; }
.rt__visual { position: relative; display: grid; place-items: center; overflow: hidden; }
.rt__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rt__icon { position: relative; display: grid; place-items: center; }
.rt__name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.rt__count { font-size: 12px; color: var(--r-muted); }
/* Newegg: round thumbnails in a row of eight */
.rt--newegg { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); background: var(--r-card); border: 1px solid var(--r-line); padding: 18px; border-radius: var(--r-radius); }
.rt--newegg .rt__visual { width: 96px; height: 96px; border-radius: 50%; background: #e9eef6; }
.rt--newegg .rt__icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--r-ink); position: absolute; right: -2px; bottom: -2px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.rt--newegg .rt__icon svg { width: 18px; height: 18px; }
.site.site--skin-newegg a.rt__tile:hover .rt__name { color: var(--r-link); text-decoration: underline; }
/* Star Tech: white icon cards, eight across */
.rt--startech { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); grid-auto-rows: 1fr; }
.rt--startech a.rt__tile { background: var(--r-card); border-radius: 12px; padding: 22px 10px 16px; box-shadow: 0 1px 2px rgba(17,24,39,.05); transition: box-shadow .2s, transform .2s; }
.site.site--skin-startech a.rt__tile:hover { box-shadow: 0 10px 24px rgba(17,24,39,.12); transform: translateY(-2px); }
.rt--startech .rt__visual { width: 56px; height: 56px; color: var(--r-accent); }
.rt--startech .rt__icon svg { width: 40px; height: 40px; }
.rt--startech .rt__name { font-weight: 500; }
/* Ryans: a single row of round icons */
.rt--ryans { grid-auto-flow: column; grid-auto-columns: minmax(118px, 1fr); overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.rt--ryans a.rt__tile { padding: 12px 6px; background: var(--r-card); border: 1px solid var(--r-line); }
.rt--ryans .rt__visual { width: 64px; height: 64px; border-radius: 50%; background: #effaf3; color: var(--r-accent); }
.rt--ryans .rt__icon svg { width: 32px; height: 32px; }
.rt--ryans .rt__name { font-size: 13px; }
.site.site--skin-ryans a.rt__tile:hover { border-color: var(--r-accent); }
/* Techland: picture tiles with a name over a dark scrim */
.rt--techland { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.rt--techland a.rt__tile { height: auto; width: 100%; aspect-ratio: 4 / 3; justify-content: flex-end; align-items: flex-start; padding: 14px; overflow: hidden; border-radius: var(--r-radius); background: var(--r-card);
    box-shadow: 0 0 0 1px var(--r-line); color: #fff; text-align: left; isolation: isolate; }
.rt--techland .rt__visual { position: absolute; inset: 0; z-index: -1; }
.rt--techland .rt__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,13,18,.95), rgba(11,13,18,.2) 70%); }
.rt--techland .rt__icon { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px; background: rgba(225,29,72,.9); color: #fff; z-index: 1; }
.rt--techland .rt__icon svg { width: 20px; height: 20px; }
.rt--techland .rt__name { font-family: var(--r-font); font-size: 17px; text-transform: uppercase; letter-spacing: .02em; }
.rt--techland .rt__count { color: #c9d1de; }
.site.site--skin-techland a.rt__tile:hover { box-shadow: 0 0 0 2px var(--r-accent); }

/* Banners */
.rb { display: grid; gap: 12px; }
.rb--n2 { grid-template-columns: 1fr 1fr; }
.rb--n3 { grid-template-columns: repeat(3, 1fr); }
.site.site--skin a.rb__banner { position: relative; display: flex; align-items: flex-end; min-height: 180px; overflow: hidden; border-radius: var(--r-radius); color: #fff; text-decoration: none; isolation: isolate; background: var(--r-ink); }
.rb__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.rb__banner:hover .rb__img { transform: scale(1.04); }
.rb__banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,10,20,.85), rgba(5,10,20,.15)); }
.rb__copy { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; }
.rb__title { font-family: var(--r-font); font-size: 22px; font-weight: 800; }
.rb__text { font-size: 14px; opacity: .9; }
.rb__go { margin-top: 6px; font-weight: 800; color: var(--r-accent); }
.rb--techland .rb__banner::after { background: linear-gradient(90deg, rgba(225,29,72,.75), rgba(11,13,18,.4)); }
.rb--techland .rb__go { color: #fff; }

/* Product grids & rails inside a skin */
.site.site--skin .ss-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.site.site--skin .ss-shop .ss-products { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.site.site--skin .ss-products--list { grid-template-columns: 1fr; }
.site.site--skin .ss-rail { gap: 12px; padding-bottom: 8px; }
.site.site--skin .ss-rail__item { flex: 0 0 236px; }
.site.site--skin .ss-rail__hint { display: none; }

/* ══ PRODUCT CARD ═══════════════════════════════════════════════════════════════════════════════════════════════ */
.rc { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; background: var(--r-card); color: var(--r-text); border-radius: var(--r-radius); font-size: 14px; }
.rc__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.rc__imglink { display: block; width: 100%; height: 100%; }
.rc__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rc__img.ss-art { display: grid; place-items: center; background: linear-gradient(160deg, #f5f7fb, #e7ecf4); color: #9aa6b8; }
.rc__img.ss-art .ss-art__motif svg { width: 46%; height: auto; }
.rc__save { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 3px; background: var(--r-sale); color: #fff; font-size: 12px; font-weight: 800; }
.rc__tools { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; }
.rc:hover .rc__tools, .rc:focus-within .rc__tools { opacity: 1; transform: none; }
@media (hover: none) { .rc__tools { opacity: 1; transform: none; } }
.rc__tool { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--r-line); background: #fff; color: #333; display: grid; place-items: center; cursor: pointer; position: static; }
.rc__tool.is-on { color: var(--r-sale); }
.rc__body { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; padding: 12px 14px 14px; min-width: 0; }
.rc__brandrow { display: flex; align-items: center; gap: 8px; margin: 0; min-height: 18px; }
.rc__brand { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--r-muted); }
.rc__title { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.site.site--skin a.rc__titlelink { color: var(--r-text); text-decoration: none; }
.site.site--skin a.rc__titlelink:hover { color: var(--r-link); text-decoration: underline; }
.rc__specs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--r-muted); }
.rc__specs li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc__k { font-weight: 700; color: var(--r-text); }
.rc__summary { margin: 0; font-size: 13px; color: var(--r-muted); }
.rc__price { margin-top: auto; }
.rc__price p { margin: 0; }
.rc__now strong { font-size: 20px; font-weight: 800; color: var(--r-price); }
.rc__was { font-size: 12.5px; color: var(--r-muted); }
.rc__strike { margin-left: 8px; font-size: 13px; color: var(--r-muted); }
.rc__avail { margin: 0; font-size: 12.5px; font-weight: 700; }
.rc__avail--in { color: var(--r-ok); }
.rc__avail--low { color: #b45309; }
.rc__avail--out { color: var(--r-sale); }
.rc__actions { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.site.site--skin .rc__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: var(--r-radius);
    background: var(--r-accent); color: var(--r-accent-ink); font: inherit; font-weight: 800; font-size: 14px; text-decoration: none; cursor: pointer; transition: filter .15s; }
.site.site--skin .rc__btn:hover { filter: brightness(1.06); }
.site.site--skin .rc__btn--off { background: #e5e7eb; color: #6b7280; cursor: not-allowed; }
.rc .ss-compare { align-self: flex-start; font-size: 12.5px; }

/* Newegg card: bordered, brand + stars, spec bullets, big price with small sign, orange add-to-cart */
.rc--newegg { border: 1px solid var(--r-line); border-radius: 2px; }
.rc--newegg:hover { box-shadow: 0 4px 18px rgba(19,37,79,.14); }
.rc--newegg .rc__brand { color: var(--r-ink); font-size: 11px; }
.rc--newegg .rc__title { -webkit-line-clamp: 4; font-weight: 500; }
.site.site--skin-newegg a.rc__titlelink { color: #1f2a44; }
.rc--newegg .rc__specs li::before { content: "• "; color: #9aa3b2; }
.rc--newegg .rc__was s { margin-right: 6px; }
.rc--newegg .rc__pct { color: var(--r-sale); font-weight: 700; }
.rc--newegg .rc__now { display: flex; align-items: flex-start; gap: 1px; }
.rc--newegg .rc__cur { font-size: 13px; font-weight: 800; margin-top: 3px; }
.rc--newegg .rc__now strong { font-size: 22px; }
.site.site--skin-newegg .rc__btn { background: var(--r-accent); color: #13254f; border-radius: 3px; }
/* Star Tech card: centred, key-feature bullets under a rule, orange price centre, blue Buy Now */
.rc--startech { border-radius: 10px; box-shadow: 0 1px 2px rgba(17,24,39,.06); text-align: left; }
.rc--startech:hover { box-shadow: 0 12px 26px rgba(17,24,39,.12); }
.rc--startech .rc__media { margin: 12px 12px 0; }
.rc--startech .rc__title { font-weight: 500; -webkit-line-clamp: 2; }
.site.site--skin-startech a.rc__titlelink:hover { color: var(--r-accent); text-decoration: none; }
.rc--startech .rc__specs { padding: 8px 0; border-bottom: 1px solid var(--r-line); }
.rc--startech .rc__specs li { white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.rc--startech .rc__specs li::before { content: "▪ "; color: #c2c6cc; }
.rc--startech .rc__price { text-align: center; padding-top: 6px; }
.rc--startech .rc__now strong { font-size: 18px; font-weight: 700; }
.rc--startech .rc__avail { text-align: center; }
.site.site--skin-startech .rc__btn { background: #eef1fb; color: var(--r-blue); border-radius: 6px; font-weight: 600; }
.site.site--skin-startech .rc__btn:hover { background: var(--r-blue); color: #fff; filter: none; }
.rc--startech .ss-compare { align-self: center; }
/* Ryans card: flat, dense "Name - Value" specs, green special price over regular price, outline add-to-cart */
.rc--ryans { border: 1px solid var(--r-line); border-radius: 0; }
.rc--ryans:hover { border-color: var(--r-accent); }
.rc--ryans .rc__title { font-size: 13.5px; -webkit-line-clamp: 2; }
.rc--ryans .rc__specs { font-size: 12px; }
.rc--ryans .rc__specs li::before { content: "● "; font-size: 8px; color: var(--r-accent); vertical-align: middle; }
.rc--ryans .rc__k { font-weight: 600; color: var(--r-muted); }
.rc--ryans .rc__label { font-size: 12px; color: var(--r-muted); }
.rc--ryans .rc__now strong { font-size: 17px; color: var(--r-price); }
.site.site--skin-ryans .rc__btn { background: #fff; color: var(--r-accent); border: 1px solid var(--r-accent); border-radius: 2px; font-weight: 700; }
.site.site--skin-ryans .rc__btn:hover { background: var(--r-accent); color: #fff; filter: none; }
/* Techland card: dark, glowing border on hover, red price, red cart button */
.rc--techland { border: 1px solid var(--r-line); }
.rc--techland:hover { border-color: var(--r-accent); box-shadow: 0 10px 30px rgba(225,29,72,.18); }
.rc--techland .rc__media { background: #fff; border-radius: var(--r-radius) var(--r-radius) 0 0; }
.rc--techland .rc__title { -webkit-line-clamp: 2; }
.site.site--skin-techland a.rc__titlelink { color: #f3f5f9; }
.site.site--skin-techland a.rc__titlelink:hover { color: var(--r-cyan); }
.rc--techland .rc__brand { color: var(--r-cyan); }
.rc--techland .rc__specs li::before { content: "› "; color: var(--r-cyan); }
.rc--techland .rc__k { color: #d9dee8; }
.rc--techland .rc__now strong { color: var(--r-price); }
.rc--techland .ss-compare { color: #c9d1de; }
/* list view (any skin) */
.rc--list { flex-direction: row; }
.rc--list .rc__media { flex: 0 0 200px; aspect-ratio: auto; min-height: 180px; }
.rc--list .rc__specs li { white-space: normal; }

/* ══ LISTING ═══════════════════════════════════════════════════════════════════════════════════════════════════ */
.site.site--skin .ss-shop.rl { max-width: 1440px; }
.rl-top { margin: 0 0 14px; padding: 16px 18px; background: var(--r-card); border-radius: var(--r-radius); border: 1px solid var(--r-line); }
.rl-top__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rl-top__title { margin: 0; font-family: var(--r-font); font-size: 24px; font-weight: 800; color: var(--r-text); }
.rl-top__count { color: var(--r-muted); font-size: 14px; }
.rl-top__intro { margin: 8px 0 0; color: var(--r-muted); font-size: 14px; line-height: 1.6; }
.rl-chips, .rl-brands { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.site.site--skin a.rl-chip { display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--r-line); background: var(--r-card); color: var(--r-text); text-decoration: none; font-size: 13px; font-weight: 600; }
.site.site--skin a.rl-chip:hover, .site.site--skin a.rl-chip.is-on { border-color: var(--r-accent); color: var(--r-accent); }
.rl-brand { padding: 7px 14px; border: 1px solid var(--r-line); background: var(--r-card); color: var(--r-text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; border-radius: var(--r-radius); }
.rl-brand.is-on, .rl-brand:hover { border-color: var(--r-accent); color: var(--r-accent); }
.rl-top--newegg { border-radius: 0; border-width: 0 0 2px; background: transparent; padding: 0 0 10px; }
.rl-top--newegg .rl-top__title { color: var(--r-ink); }
.rl-top--startech .rl-chips a.rl-chip { border-radius: 6px; }
.rl-top--ryans { border-radius: 0; }
.rl-top--techland .rl-top__title { text-transform: uppercase; color: #fff; }
.rl-top--techland .rl-brand { background: transparent; color: #d7dce6; border-radius: 999px; }

/* the shared listing chrome restyled per skin */
.site.site--skin .rl .ss-crumbs { font-size: 13px; color: var(--r-muted); }
.site.site--skin .rl .ss-shop__bar { background: var(--r-card); border: 1px solid var(--r-line); border-radius: var(--r-radius); padding: 10px 12px; }
.site.site--skin .rl .ss-filters { background: var(--r-card); border: 1px solid var(--r-line); border-radius: var(--r-radius); color: var(--r-text); }
.site.site--skin .rl .ss-filters__label { font-weight: 800; }
.site.site--skin .rl .ss-select, .site.site--skin .rl .ss-input { background: var(--r-card); color: var(--r-text); border-color: var(--r-line); }
.site.site--skin .rl .ss-pager__page--on { background: var(--r-accent); color: var(--r-accent-ink); border-color: var(--r-accent); }
.site--skin-newegg .rl .ss-filters { border-radius: 0; }
.site--skin-newegg .rl .ss-refine__summary { font-weight: 800; color: var(--r-ink); text-transform: uppercase; font-size: 12.5px; letter-spacing: .03em; }
.site--skin-startech .rl .ss-filters { border: 0; box-shadow: 0 1px 2px rgba(17,24,39,.06); }
.site--skin-startech .rl .ss-refine__group { background: #fff; border-bottom: 1px solid var(--r-line); }
.site--skin-ryans .rl .ss-filters__head { background: var(--r-accent); color: #fff; }
.site--skin-ryans .rl .ss-filters__head p { font-size: 0; }
.site--skin-ryans .rl .ss-filters__head p::before { content: "Filter By"; font-size: 15px; font-weight: 800; }
.site--skin-ryans .rl .ss-filters { border-radius: 0; }
.site--skin-techland .rl .ss-filters, .site--skin-techland .rl .ss-shop__bar { background: #12161f; }
.site--skin-techland .rl .ss-chip { background: #1a1f2b; color: #e7eaf0; }
@media (min-width: 961px) {
    .site--skin-ryans .rl .ss-filters__head { display: flex; padding: 10px 14px; margin: -1px -1px 8px; }
}

/* ══ PRODUCT PAGE ══════════════════════════════════════════════════════════════════════════════════════════════ */
.rp { display: grid; gap: 24px; align-items: start; max-width: 1400px; margin: 0 auto; padding: 18px 20px 6px; color: var(--r-text); }
.rp--newegg { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 300px; }
.rp--startech, .rp--ryans, .rp--techland { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.rp--techland, .rp--startech { background: var(--r-card); border-radius: var(--r-radius); padding: 22px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.rp--techland { border: 1px solid var(--r-line); }
.rp-gallery { position: relative; background: #fff; border-radius: var(--r-radius); padding: 10px; border: 1px solid var(--r-line); }
.rp-save { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 5px 10px; border-radius: 4px; background: var(--r-sale); color: #fff; font-weight: 800; font-size: 13px; }
.rp-note { margin: 8px 4px 2px; font-size: 12px; color: #6b6b6b; }
.rp-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.site.site--skin a.rp-brandlink { color: var(--r-link); font-weight: 700; text-decoration: none; font-size: 14px; }
.rp-title { margin: 0; font-family: var(--r-font); font-size: 26px; line-height: 1.25; font-weight: 700; color: var(--r-text); }
.rp--startech .rp-title { color: var(--r-blue); font-weight: 600; }
.rp--techland .rp-title { color: #fff; }
.rp-meta { margin: 0; color: var(--r-muted); font-size: 13.5px; }
.rp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rp-chips li { padding: 7px 12px; border-radius: 999px; background: #f2f4f8; font-size: 13px; color: #555; }
.rp-chips strong { color: #111827; }
.rp-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rp-facts li { display: flex; gap: 6px; padding: 7px 11px; border: 1px solid var(--r-line); border-radius: 6px; font-size: 13px; color: var(--r-muted); }
.rp-facts strong { color: var(--r-text); }
.rp-stock { margin: 0; font-weight: 800; }
.rp-stock--in { color: var(--r-ok); }
.rp-stock--out { color: var(--r-sale); }
.rp-key__title { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.rp-key__list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.rp-key__k { font-weight: 700; }
.site.site--skin a.rp-key__more { display: inline-block; margin-top: 8px; color: var(--r-accent); font-weight: 700; text-decoration: underline; }
.rp--ryans .rp-key { border: 1px solid var(--r-line); padding: 12px 14px; background: #fafbfa; }
.rp--ryans .rp-key__list { list-style: none; padding: 0; }
.rp-price__title { margin: 0 0 8px; font-weight: 800; font-size: 16px; }
.rp-price__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.rp-price__card { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: 1px solid var(--r-line); border-radius: 8px; }
.rp-price__card.is-on { border: 2px solid var(--r-blue, var(--r-accent)); }
.rp-price__card strong { font-size: 22px; font-weight: 800; color: var(--r-price); }
.rp-price__card span { font-size: 13px; color: var(--r-muted); }
.rp-price__card s { font-size: 13px; color: var(--r-muted); }
.rp-price__row { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.rp-price__row strong { font-size: 26px; color: var(--r-price); }
.rp-price__row--was { color: var(--r-muted); }
.rp--techland .rp-price__card { background: #10141c; }
.rp--techland .rp-price__card.is-on { border-color: var(--r-accent); }
.rp-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: var(--r-radius); font: inherit; font-weight: 800; cursor: pointer; }
.rp-btn:disabled { opacity: .5; cursor: not-allowed; }
.rp-btn--cart { background: var(--r-accent); color: var(--r-accent-ink); }
.rp-btn--buy { background: var(--r-ink); color: #fff; }
.rp--startech .rp-btn--buy { background: var(--r-blue); }
.rp--ryans .rp-btn--cart { background: var(--r-accent); border-radius: 2px; }
.rp--techland .rp-btn--buy { background: #1f2533; }
.rp-icon { width: 46px; height: 46px; border-radius: var(--r-radius); border: 1px solid var(--r-line); background: transparent; color: inherit; display: grid; place-items: center; position: static; }
.rp-buy .ss-compare { font-size: 13px; }
.rp-box { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 12px; padding: 18px; background: #fff; border: 1px solid var(--r-line); border-radius: 4px; }
.rp-box__was { margin: 0; color: var(--r-muted); font-size: 14px; }
.rp-box__was span { color: var(--r-sale); font-weight: 700; margin-left: 6px; }
.rp-box__now { margin: 0; display: flex; align-items: flex-start; gap: 2px; color: var(--r-text); }
.rp-box__cur { font-size: 18px; font-weight: 800; margin-top: 6px; }
.rp-box__now strong { font-size: 40px; font-weight: 800; line-height: 1; }
.rp-box .rp-buy { flex-direction: column; align-items: stretch; }
.rp-box .rp-btn { width: 100%; }
.rp-box .rp-btn--cart { background: var(--r-accent); color: #13254f; }
.rp-box__seller { margin: 0; font-size: 13px; color: var(--r-muted); border-top: 1px solid var(--r-line); padding-top: 10px; }
/* details tabs */
.rp-tabs { max-width: 1400px; margin: 18px auto 0; padding: 0 20px 24px; }
.rp-tabs__radio { position: absolute; opacity: 0; pointer-events: none; }
.rp-tabs__bar { display: flex; gap: 4px; border-bottom: 2px solid var(--r-line); }
.rp-tabs__tab { padding: 12px 20px; font-weight: 800; cursor: pointer; color: var(--r-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.rp-tabs__panel { display: none; padding: 18px 0 0; }
.rp-tabs__radio:nth-of-type(1):checked ~ .rp-tabs__bar .rp-tabs__tab--spec,
.rp-tabs__radio:nth-of-type(2):checked ~ .rp-tabs__bar .rp-tabs__tab--desc { color: var(--r-text); border-bottom-color: var(--r-accent); }
.rp-tabs__radio:nth-of-type(1):checked ~ .rp-tabs__panel--spec,
.rp-tabs__radio:nth-of-type(2):checked ~ .rp-tabs__panel--desc { display: block; }
.rp-spectable { width: 100%; border-collapse: collapse; background: var(--r-card); }
.rp-spectable caption { text-align: left; font-weight: 800; padding: 10px 14px; background: color-mix(in srgb, var(--r-accent) 12%, var(--r-card)); color: var(--r-text); }
.rp-spectable th, .rp-spectable td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--r-line); font-size: 14px; vertical-align: top; }
.rp-spectable th { width: 30%; font-weight: 600; color: var(--r-muted); }
.rp-empty { color: var(--r-muted); }
.rp--techland ~ .rp-tabs .rp-tabs__tab, .site--skin-techland .rp-tabs__tab { color: #9ba4b4; }

/* ══ CART CONFIRMATION (public site) ════════════════════════════════════════════════════════════════════════════ */
.rcart { position: fixed; z-index: 1200; color: #1c1f26; background: #fff; font-family: "Inter", system-ui, sans-serif; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.rcart [hidden] { display: none !important; }
.rcart__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-weight: 800; }
.rcart__ok { display: inline-flex; align-items: center; gap: 8px; color: #1e7f3a; }
.rcart__close { border: 0; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: inherit; }
.rcart__line { display: flex; gap: 12px; padding: 12px 18px; border-top: 1px solid #eef0f4; }
.rcart__img { width: 64px; height: 64px; object-fit: contain; border: 1px solid #eef0f4; border-radius: 4px; background: #f6f7f9; flex: 0 0 auto; }
.rcart__name { margin: 0 0 4px; font-weight: 600; font-size: 14px; }
.rcart__meta { margin: 0; font-size: 13px; color: #5b6473; }
.rcart__sum { display: flex; justify-content: space-between; padding: 12px 18px; border-top: 1px solid #eef0f4; font-weight: 700; }
.rcart__actions { display: flex; gap: 10px; padding: 0 18px 18px; }
.rcart__actions a, .rcart__actions button { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 4px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font: inherit; }
.rcart__view { background: #eef1f6; color: #1c1f26; }
.rcart__checkout { background: var(--r-accent); color: var(--r-accent-ink); }
.rcart-scrim { position: fixed; inset: 0; z-index: 1199; background: rgba(8,12,20,.45); }
.rcart--newegg, .rcart--techland { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 32px)); border-radius: 6px; }
.rcart--techland { background: #151922; color: #e7eaf0; }
.rcart--techland .rcart__line, .rcart--techland .rcart__sum { border-color: #262c38; }
.rcart--techland .rcart__view { background: #1f2533; color: #e7eaf0; }
.rcart--startech { top: 0; right: 0; bottom: 0; width: min(380px, 100vw); display: flex; flex-direction: column; }
.rcart--startech .rcart__actions { margin-top: auto; }
.rcart--ryans { top: 120px; right: 20px; width: min(380px, calc(100vw - 32px)); border-top: 4px solid var(--r-accent); }

/* ══ RESPONSIVE ════════════════════════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .rh-hero--newegg { grid-template-columns: 220px minmax(0, 1fr); }
    .rh-hero--newegg .rh-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
    .rp--newegg { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .rp--newegg .rp-box { grid-column: 1 / -1; position: static; }
}
@media (max-width: 960px) {
    .rh-hero, .rh-hero--newegg, .rh-hero--startech, .rh-hero--techland { grid-template-columns: minmax(0, 1fr); }
    .rh-rail { display: none; }
    .rh-side, .rh-hero--newegg .rh-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
    .rh-main { min-height: 300px !important; }
    .rh-main__copy { padding: 26px 22px; }
    .rb--n3 { grid-template-columns: 1fr 1fr; }
    .rp, .rp--newegg, .rp--startech, .rp--ryans, .rp--techland { grid-template-columns: minmax(0, 1fr); padding: 14px; }
    .rp-box { position: static; }
    .rc--list .rc__media { flex-basis: 130px; min-height: 130px; }
}
@media (max-width: 600px) {
    .site.site--skin .ss__inner.rs-inner { padding-inline: 12px; }
    .rh-side, .rh-hero--newegg .rh-side, .rh-hero--ryans .rh-side { grid-template-columns: minmax(0, 1fr); }
    .site.site--skin a.rh-banner { min-height: 150px; }
    .rh-main__title { font-size: 25px; }
    .rb--n2, .rb--n3 { grid-template-columns: minmax(0, 1fr); }
    .site.site--skin .ss-products, .site.site--skin .ss-shop .ss-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .rc__body { padding: 10px; }
    .rc__now strong { font-size: 17px !important; }
    .rt--newegg { grid-template-columns: repeat(3, 1fr); padding: 12px; }
    .rt--newegg .rt__visual { width: 76px; height: 76px; }
    .rt--startech { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .rt--techland { grid-template-columns: repeat(2, 1fr); }
    .rs-head__title { font-size: 19px !important; }
    .rp-title { font-size: 21px; }
    .rc--list { flex-direction: column; }
    .rc--list .rc__media { flex-basis: auto; aspect-ratio: 1 / 1; }
    .rcart--ryans { right: 16px; top: 90px; }
}
@media (prefers-reduced-motion: reduce) {
    .rh-banner__img, .rb__img, .rc__tools, .rt--startech a.rt__tile { transition: none !important; }
}

/* The wishlist heart beside the product page's buttons sits in the row (the shared card heart is positioned over a picture). */
.site.site--skin .rp-buy .rp-icon.ss-wish { position: static !important; inset: auto !important; transform: none !important; flex: 0 0 auto; }
.site.site--skin .rc__tools .rc__tool.ss-wish { position: static !important; inset: auto !important; transform: none !important; }

/* Skin boxes size with their padding (a tile / banner at width:100% never grows past its grid column). */
.site.site--skin .rt, .site.site--skin .rt *, .site.site--skin .rb *, .site.site--skin .rh-hero *, .site.site--skin .rc, .site.site--skin .rc *,
.site.site--skin .rl-top, .site.site--skin .rl-top *, .site.site--skin .rp, .site.site--skin .rp *, .site.site--skin .rp-tabs * { box-sizing: border-box; }
