/*
 * TechNest 2 (D-066): an electronics store laid out like the big Bangladeshi computer shops.
 * Dark header bar with a wide search and shortcuts, a white category bar with drop-downs, white
 * cards on a light grey page. Every colour and size below comes from Customize: the basic
 * settings (--p, --text, --bgc, --container, --base…) and TechNest's own (--technest-*).
 */
.t-technest {
    --tn-head: var(--technest-headerBg, #081621);
    /* Dark panels (slides, mobile bottom bar) stay dark whatever the Header background is. */
    --tn-dark: #081621;
    --tn-accent: var(--technest-accent, #ef4a23);
    --tn-blue: var(--technest-buyColor, #3749bb);
    --tn-price: var(--technest-priceColor, #d51e0b);
    --tn-savebg: var(--technest-saveBg, #6e2594);
    --tn-menu-bg: var(--technest-menuBg, #fff);
    --tn-menu-c: var(--technest-menuText, #222);
    --tn-muted: var(--technest-mutedColor, #666);
    --tn-sub: #838383;
    --tn-ink: var(--text, #111);
    --tn-card: #fff;
    --tn-line: #eee;
    --tn-soft: #f1f3f5;
    --tn-red: var(--tn-price);
    --tn-green: #0d7a3f;
    --tn-r: 5px;
    --tn-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    --tn-ico: var(--technest-iconSize, 24px);
    --tn-h2: var(--technest-sectionTitle, 20px);
    background: var(--bgc, #f2f4f8);
    color: var(--tn-ink);
    line-height: 1.15;
}
.t-technest .wrap {
    max-width: var(--container, 1360px);
    padding-left: 15px;
    padding-right: 15px;
}
.tn-t {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.tn-ico {
    flex: none;
    vertical-align: middle;
}
.show-s {
    display: none;
}

/* Header bar */
.tn-head {
    position: relative;
    z-index: 40;
    background: var(--tn-head);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
/* A light Header background gets dark text (set in partials/header from its brightness). */
.tn-head.is-light {
    border-bottom: 1px solid #e5e7eb;
}
.tn-head.is-light .tn-search input {
    border: 1px solid #d1d5db;
}
.tn-head a {
    text-decoration: none;
}
.tn-hbar-in {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Customize → Header → Header height. */
    min-height: var(--technest-headerHeight, 82px);
}
.tn-burger,
.tn-find,
.tn-mcart,
.tn-drawer-head,
.tn-shade {
    display: none;
}
.tn-logo {
    flex: none;
    display: flex;
    align-items: center;
    color: var(--tn-head-fg, #fff);
}
/* Customize → Site identity → Logo image size; the theme's own 52px limit until one is chosen. */
.tn-logo img {
    max-height: var(--logo-max, 52px);
    width: var(--logo-w, auto);
    height: var(--logo-h, auto);
    max-width: 320px;
    object-fit: contain;
}
.tn-logo-text {
    font-size: var(--logo, 26px);
    font-weight: 700;
    color: var(--tn-head-fg, #fff);
    letter-spacing: -0.01em;
}
.tn-search {
    position: relative;
    flex: 0 1 var(--technest-searchWidth, 620px);
    margin: 0;
}
.tn-search input {
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 4px;
    padding: 0 44px 0 20px;
    font: inherit;
    font-size: 15px;
    background: #fff;
    color: #000;
}
.tn-search button {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 42px;
    border: 0;
    background: none;
    color: #000;
    cursor: pointer;
}
.tn-acts {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.tn-head .tn-act {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 0 18px;
    color: var(--tn-accent);
}
.tn-act .tn-ico {
    width: var(--tn-ico);
    height: var(--tn-ico);
}
.tn-act span {
    display: flex;
    flex-direction: column;
}
.tn-act b {
    color: var(--tn-head-fg, #fff);
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}
.tn-act small {
    color: var(--tn-head-sub, var(--tn-sub));
    font-size: 11px;
    line-height: 16px;
}
.tn-act:hover b,
.tn-act:focus-visible b {
    color: var(--tn-accent);
}
/* The PC Builder plugin's link, shown as the header's button. */
.tn-hl {
    margin-left: 18px;
}
.tn-hl a {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 20px;
    border-radius: 4px;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--technest-builderBg, #3749bb) 55%, #22b7f5),
        var(--technest-builderBg, #3749bb)
    );
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.tn-hl a:hover,
.tn-hl a:focus-visible {
    filter: brightness(1.1);
}
.tn-head a:focus-visible,
.tn-head button:focus-visible,
.tn-head input:focus-visible {
    outline: 2px solid var(--tn-accent);
    outline-offset: 2px;
}

/* Category bar and drop-downs */
.tn-cats {
    background: var(--tn-menu-bg);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
/* Sticky header (Customize → Header). One bar alone sticks by letting the header box go
   (display: contents), so the bar sticks to the page instead of only inside the header. */
.tn-head.tn-stick-all {
    position: sticky;
    top: 0;
}
.tn-head.tn-stick-main,
.tn-head.tn-stick-cats {
    display: contents;
}
.tn-stick-main .tn-hbar,
.tn-stick-cats .tn-hbar {
    position: relative;
    z-index: 40;
    background: var(--tn-head);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
.tn-stick-main .tn-hbar {
    position: sticky;
    top: 0;
}
@media (min-width: 901px) {
    .tn-stick-cats .tn-cats {
        position: sticky;
        top: 0;
        z-index: 39;
    }
}
@media (max-width: 900px) {
    /* The category bar is a drawer on phones: the logo bar sticks instead. */
    .tn-stick-cats .tn-hbar {
        position: sticky;
        top: 0;
    }
}
.tn-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2px;
    list-style: none;
    margin: 0 auto;
    min-height: 50px;
}
.tn-mi {
    position: relative;
}
.tn-ml {
    display: block;
    padding: 0 7px;
    line-height: 50px;
    font-size: var(--nav, 14px);
    font-weight: 600;
    color: var(--tn-menu-c);
    white-space: nowrap;
}
.tn-mi:hover > .tn-ml,
.tn-ml:focus-visible {
    color: var(--tn-accent);
}
.tn-drop,
.tn-fly {
    display: none;
    position: absolute;
    z-index: 50;
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 5px 0;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
.tn-drop {
    top: 100%;
    left: 0;
    border-top: 3px solid var(--tn-accent);
}
.tn-fly {
    top: -5px;
    left: 100%;
}
.tn-mi:hover > .tn-drop,
.tn-mi:focus-within > .tn-drop,
.tn-drop li:hover > .tn-fly,
.tn-drop li:focus-within > .tn-fly {
    display: block;
}
.tn-drop li {
    position: relative;
}
.tn-drop a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 15px;
    line-height: 19px;
    font-size: 14px;
    color: #222;
}
.tn-drop li.has > a::after {
    content: '›';
    color: var(--tn-accent);
}
.tn-drop a:hover,
.tn-drop a:focus-visible {
    background: var(--tn-accent);
    color: #fff;
}
.tn-drop li.has > a:hover::after,
.tn-drop li.has > a:focus-visible::after {
    color: #fff;
}
.tn-bottom,
.tn-float {
    display: none;
}

/* Floating Compare and Cart on wide screens */
@media (min-width: 901px) {
    .tn-float {
        position: fixed;
        right: 20px;
        bottom: 20px;
        z-index: 35;
        display: grid;
        gap: 12px;
    }
    .tn-float a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 58px;
        height: 58px;
        border-radius: 4px;
        background: var(--tn-head);
        color: var(--tn-head-fg, #fff);
        font-size: 10px;
        text-transform: uppercase;
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    }
    .tn-float a:hover,
    .tn-float a:focus-visible {
        background: var(--tn-accent);
    }
}

/* Footer */
.tn-foot {
    background: var(--tn-fbg, var(--fbg, #081621));
    color: var(--tn-fc, var(--tn-sub));
    padding-top: 50px;
    font-size: 14px;
    line-height: 20px;
}
.tn-foot a {
    color: var(--tn-fc, var(--tn-sub));
    text-decoration: none;
}
.tn-foot a:hover,
.tn-foot a:focus-visible {
    color: #fff;
}
.tn-foot-in {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 300px;
    gap: 30px 50px;
    padding-bottom: 40px;
}
/* The Footer Builder's own columns, once one shows widgets (D-118). */
.tn-foot-own {
    grid-template-columns: var(--tn-fcols, repeat(4, minmax(0, 1fr)));
}
.tn-foot-own ul,
.tn-foot .wmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tn-foot-own li {
    margin: 0 0 14px;
}
.tn-foot-own p {
    margin: 0 0 12px;
}
.tn-foot .sw {
    margin: 0 0 24px;
}
.tn-foot h2,
.tn-foot .sw-h {
    margin: 0 0 30px;
    color: var(--tn-fh, #fff);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
}
.tn-foot .tn-sbox {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 20px;
    padding: 10px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
}
.tn-sbox span {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.tn-sbox small {
    font-size: 12px;
    color: var(--tn-sub);
}
.tn-sbox b {
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    color: var(--tn-accent);
}
.tn-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 20px;
}
/* A Navigation menu widget in a footer column: one or two link columns (D-118). */
.tn-foot-own .tn-links {
    grid-template-columns: repeat(var(--tn-lcols, 1), minmax(0, 1fr));
}
/* Footer menus from widgets: compact rows, like the big computer shops' footers. */
.tn-foot-own .tn-links li {
    margin: 0 0 8px;
    padding: 0;
    line-height: 1.5;
}
.tn-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tn-links li {
    margin: 0 0 20px;
}
.tn-contact p {
    margin: 0 0 12px;
}
.tn-contact b {
    color: #fff;
    font-weight: 400;
}
.tn-foot .tn-contact a {
    color: var(--tn-accent);
}
.tn-foot .tn-contact .tn-sbox {
    color: #fff;
}
.tn-foot .tn-contact .tn-sbox b {
    color: var(--tn-accent);
}
.tn-foot-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}
.tn-foot .socials {
    display: flex;
    gap: 10px;
}
.tn-foot .socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.tn-foot .socials svg {
    display: none;
}
/* The bottom bar (copyright line): Footer Builder → Bottom bar sets its colours and zones. */
.tn-foot-bottom-bar {
    background: var(--tn-bbg, transparent);
}
.tn-foot-bottom-bar .tn-foot-bottom {
    border-top: 0;
}
.tn-foot-bottom-bar a,
.tn-foot-bottom-bar .sw-social a {
    color: inherit;
}
.tn-fb-z {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.tn-fb-center {
    justify-content: center;
}
.tn-fb-right {
    justify-content: flex-end;
}
.tn-foot-bottom-bar .tn-foot-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
}
@media (max-width: 700px) {
    .tn-foot-bottom-bar .tn-foot-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .tn-fb-z {
        justify-content: center;
    }
}
.tn-foot-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    line-height: 26px;
}

/* A light footer background gets dark text (set in partials/footer from its brightness). */
.tn-foot.is-light {
    --tn-sub: #4b5563;
    color: var(--tn-fc, #4b5563);
}
.tn-foot.is-light a:hover,
.tn-foot.is-light a:focus-visible {
    color: var(--tn-accent);
}
.tn-foot.is-light h2,
.tn-foot.is-light .sw-h,
.tn-foot.is-light .tn-contact b {
    color: var(--tn-fh, #111827);
}
.tn-foot.is-light .tn-sbox,
.tn-foot.is-light .tn-contact .tn-sbox {
    border-color: rgba(0, 0, 0, 0.12);
    color: #111827;
}
.tn-foot.is-light .tn-sbox span {
    border-left-color: rgba(0, 0, 0, 0.15);
}
.tn-foot.is-light .tn-foot-social,
.tn-foot.is-light .tn-foot-bottom {
    border-top-color: rgba(0, 0, 0, 0.1);
}
.tn-foot.is-light .socials a {
    background: rgba(0, 0, 0, 0.08);
    color: #111827;
}
.tn-foot.is-light .tn-sbox b {
    color: var(--tn-accent);
}
/* The core widget list draws a faint line under each link; TechNest's footer lists have none. */
.tn-foot .tn-links li,
.tn-foot .sw li {
    border: 0;
}

/* Buttons and links */
.tn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid var(--p, #1d5bff);
    background: var(--p, #1d5bff);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
}
.tn-btn:hover,
.tn-btn:focus-visible {
    filter: brightness(1.1);
}
.tn-btn.lg {
    padding: 13px 24px;
    font-size: 15px;
}
.tn-btn.ghost {
    background: #fff;
    color: var(--p, #1d5bff);
}
.tn-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    filter: none;
}
.tn-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: none;
    padding: 4px 0;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--p, #1d5bff);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.t-technest .muted {
    color: var(--tn-muted);
}

/* Page frame */
.tn-page,
.tn-shop,
.tn-pd-wrap {
    padding-top: 14px;
    padding-bottom: 48px;
}
.tn-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--tn-muted);
    margin: 0 0 14px;
}
.tn-crumb a {
    color: inherit;
}
.tn-crumb > * + *::before {
    content: '›';
    margin-right: 6px;
}
.tn-shop-h {
    background: var(--tn-card);
    border-radius: var(--tn-r);
    padding: 18px 22px;
    margin: 0 0 18px;
}
.tn-shop-h h1 {
    margin: 0;
    font-size: 24px;
}
.tn-shop-h p {
    margin: 6px 0 0;
    color: var(--tn-muted);
}
.tn-chips-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}
.tn-chips-nav a {
    display: block;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--tn-line);
    font-size: 14px;
    color: inherit;
    text-decoration: none;
}
.tn-chips-nav a:hover,
.tn-chips-nav a:focus-visible {
    border-color: var(--p, #1d5bff);
    color: var(--p, #1d5bff);
}
.tn-empty {
    background: var(--tn-card);
    border-radius: var(--tn-r);
    padding: 40px 20px;
    text-align: center;
}
.tn-empty p {
    margin: 0 0 14px;
    font-size: 17px;
}

/* Product grid and cards */
.tn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.tn-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--tn-card);
    border-radius: var(--tn-r);
    box-shadow: var(--tn-shadow);
    overflow: hidden;
    transition: box-shadow 0.15s;
}
.tn-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.tn-save {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 1;
    background: var(--tn-savebg);
    color: #fff;
    font-size: 12px;
    line-height: 14px;
    padding: 3px 10px;
    border-radius: 0 20px 20px 0;
}
.tn-save.static {
    position: static;
    display: inline-block;
    border-radius: 20px;
}
.tn-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 15px 15px 0;
    color: #c4c9d4;
}
.tn-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.tn-card-body {
    padding: 15px 15px 0;
}
.tn-card-name {
    margin: 0;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}
.tn-card-name a {
    color: #111;
    text-decoration: none;
}
.tn-card-name a:hover,
.tn-card-name a:focus-visible {
    color: var(--tn-accent);
    text-decoration: underline;
}
.tn-keys {
    margin: 10px 0 0;
    padding: 10px 0 0 14px;
    border-top: 1px solid var(--tn-line);
    list-style: disc;
    font-size: 13px;
    line-height: 16px;
    color: var(--tn-muted);
}
.tn-keys li {
    padding: 0 0 10px;
}
.tn-card-foot {
    margin-top: auto;
    padding: 10px 15px 15px;
}
.tn-card-foot form {
    margin: 0;
}
.tn-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0 5px;
    margin: 0 0 10px;
    padding-top: 10px;
    border-top: 1px solid var(--tn-line);
    font-size: 17px;
    line-height: 22px;
    font-weight: 600;
    color: var(--tn-price);
}
.tn-price s {
    font-size: 12px;
    color: var(--tn-muted);
}
.tn-cbuy,
.tn-ccmp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    font: inherit;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}
.tn-cbuy {
    background: color-mix(in srgb, var(--tn-blue) 6%, #fff);
    color: var(--tn-blue);
    font-weight: 600;
}
.tn-cbuy:hover,
.tn-cbuy:focus-visible {
    background: var(--tn-blue);
    color: #fff;
}
.tn-ccmp {
    background: none;
    color: var(--tn-muted);
}
.tn-ccmp:hover,
.tn-ccmp:focus-visible {
    color: var(--tn-blue);
}

/* Shop page: filters and results */
.tn-shop-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.tn-filt-btn {
    display: none;
}
.tn-filters form {
    display: grid;
    gap: 12px;
}
.tn-fbox {
    margin: 0;
    background: var(--tn-card);
    border: 0;
    border-radius: var(--tn-r);
    padding: 14px 16px 16px;
}
.tn-fbox legend {
    float: left;
    width: 100%;
    font-weight: 700;
    font-size: 15px;
    padding: 0 0 10px;
    margin: 0 0 10px;
    border-bottom: 1px solid var(--tn-line);
}
.tn-range {
    clear: both;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.tn-range span {
    display: block;
    font-size: 12px;
    color: var(--tn-muted);
    margin-bottom: 3px;
}
.tn-range input,
.tn-sort select,
.tn-field select,
.tn-qty input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #c9d0dc;
    border-radius: 6px;
    font: inherit;
    background: #fff;
    color: var(--tn-ink);
}
.tn-check {
    clear: both;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 14px;
    cursor: pointer;
}
.tn-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--p, #1d5bff);
}
.tn-fbtns {
    display: flex;
    align-items: center;
    gap: 14px;
}
.tn-fbtns .tn-btn {
    flex: 1;
}
.tn-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--tn-card);
    border-radius: var(--tn-r);
    padding: 10px 14px;
    margin: 0 0 14px;
}
.tn-bar p {
    margin: 0;
    font-size: 14px;
    color: var(--tn-muted);
}
.tn-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.tn-sort select {
    width: auto;
}
.tn-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 24px 0 0;
}
.tn-pager a,
.tn-pager span {
    min-width: 40px;
    padding: 8px 12px;
    text-align: center;
    border-radius: 8px;
    background: var(--tn-card);
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.tn-pager a:hover,
.tn-pager a:focus-visible {
    color: var(--p, #1d5bff);
}
.tn-pager .on {
    background: var(--p, #1d5bff);
    color: #fff;
}

.tn-alert {
    border: 1px solid #f5c2c7;
    background: #fdf0f1;
    color: #7a0d1d;
    border-radius: var(--tn-r);
    padding: 12px 16px;
    margin: 0 0 16px;
}
.tn-alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

/* Offers */
.tn-offer-band {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 26px;
    border-radius: 14px;
    margin: 0 0 18px;
    background: linear-gradient(110deg, #0b1220, #3b0a17 70%, #c8102e 140%);
    color: #fff;
}
.tn-offer-band h1 {
    margin: 0;
    color: #fff;
    font-size: 28px;
}
.tn-offer-band p {
    margin: 4px 0 0;
    opacity: 0.9;
}

/* Inherited pages (posts, cart, checkout, account): full-strength meta text on the grey page. */
.t-technest .meta,
.t-technest .crumb {
    opacity: 1;
}
.t-technest .cart,
.t-technest .co-sum,
.t-technest .acct-form {
    background: var(--tn-card);
    border-radius: var(--tn-r);
}
.t-technest .sbtn {
    background: var(--p, #1d5bff);
    border-radius: 8px;
}

/* Phones */
@media (max-width: 900px) {
    .hide-s {
        display: none !important;
    }
    .show-s {
        display: block;
    }
    .tn-shop-grid {
        grid-template-columns: 1fr;
    }
    .tn-filt-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        justify-self: start;
        padding: 9px 16px;
        border-radius: 8px;
        background: var(--tn-card);
        border: 1px solid var(--tn-line);
        font-weight: 700;
        cursor: pointer;
    }
    #tn-filt:focus-visible ~ .tn-filt-btn {
        outline: 2px solid var(--p, #1d5bff);
    }
    .tn-filters {
        display: none;
    }
    #tn-filt:checked ~ .tn-filters {
        display: block;
    }
    .tn-bar {
        padding: 10px;
    }
    .tn-sort label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }
    .tn-shop-h {
        padding: 14px 16px;
    }
    .tn-shop-h h1 {
        font-size: 20px;
    }
    .tn-offer-band {
        padding: 18px;
    }
}

/* TechNest 2 header, cards and footer on tablets and phones */
@media (max-width: 1200px) {
    .tn-act small {
        display: none;
    }
    .tn-act {
        padding-left: 12px;
    }
    .tn-foot-in {
        grid-template-columns: 1fr 1fr;
    }
    .tn-about {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}
@media (max-width: 900px) {
    .t-technest {
        padding-bottom: 61px;
    }
    .tn-hbar-in {
        min-height: 50px;
        gap: 8px;
        justify-content: space-between;
    }
    .tn-burger,
    .tn-find,
    .tn-mcart {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: var(--tn-head-fg, #fff);
        cursor: pointer;
    }
    .tn-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .tn-logo img {
        max-height: 48px;
        max-width: 180px;
    }
    .tn-logo-text {
        font-size: 20px;
    }
    .tn-hbar-in > .tn-find {
        margin-left: auto;
    }
    .tn-acts {
        display: none;
    }
    .tn-search {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 8px 15px;
        background: var(--tn-head);
    }
    .tn-search button {
        right: 15px;
        top: 8px;
    }
    #tn-find:checked ~ .tn-hbar .tn-search {
        display: block;
    }
    #tn-nav:focus-visible ~ .tn-hbar .tn-burger,
    #tn-find:focus-visible ~ .tn-hbar .tn-find {
        outline: 2px solid #fff;
        border-radius: 4px;
    }
    .tn-cats {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 60;
        width: 290px;
        max-width: 85vw;
        overflow-y: auto;
        visibility: hidden;
        transform: translateX(-100%);
        transition:
            transform 0.2s,
            visibility 0.2s;
        box-shadow: none;
    }
    #tn-nav:checked ~ .tn-cats {
        visibility: visible;
        transform: none;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    }
    #tn-nav:checked ~ .tn-shade {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 55;
        background: rgba(0, 0, 0, 0.45);
    }
    .tn-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        height: 50px;
        background: var(--tn-head);
        color: var(--tn-head-fg, #fff);
        font-weight: 600;
    }
    .tn-drawer-head label {
        cursor: pointer;
    }
    .tn-menu {
        display: block;
        padding: 0;
    }
    .tn-mi {
        border-bottom: 1px solid var(--tn-line);
    }
    .tn-ml {
        padding: 0 15px;
        line-height: 44px;
    }
    .tn-drop,
    .tn-fly,
    .tn-mi:hover > .tn-drop,
    .tn-drop li:hover > .tn-fly {
        display: block;
        position: static;
        box-shadow: none;
        border: 0;
        padding: 0 0 8px 12px;
        min-width: 0;
    }
    .tn-drop li.has > a::after {
        content: none;
    }
    .tn-bottom {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 45;
        display: flex;
        height: 61px;
        background: var(--tn-dark);
    }
    .tn-bottom a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        color: #fff;
        font-size: 11px;
        text-decoration: none;
    }
    .tn-bot-hl {
        flex: 1;
        display: flex;
    }
    .tn-bot-hl a::before {
        content: '';
        width: 22px;
        height: 22px;
        background: currentColor;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='6' y='6' width='12' height='12' rx='1'/%3E%3Cpath d='M9 2v4M15 2v4M9 18v4M15 18v4M2 9h4M2 15h4M18 9h4M18 15h4'/%3E%3C/svg%3E")
            center / contain no-repeat;
    }
    .tn-bottom a:focus-visible {
        outline: 2px solid #fff;
        outline-offset: -4px;
    }
    .tn-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .tn-card-img,
    .tn-card-body {
        padding: 10px 10px 0;
    }
    .tn-card-foot {
        padding: 8px 10px 10px;
    }
    .tn-card-name {
        font-size: 14px;
    }
    .tn-keys {
        display: none;
    }
    .tn-foot-in {
        grid-template-columns: 1fr;
    }
    .tn-about {
        grid-row: auto;
    }
    .tn-links {
        grid-template-columns: 1fr 1fr;
    }
    .tn-foot-social,
    .tn-foot-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* TechNest 2 homepage: banner slider 1004 × 512 with two 310 × 247 banners beside it */
.tn-home {
    padding-bottom: 50px;
}
.tn-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 16px;
    margin-top: 30px;
}
.tn-slider {
    position: relative;
    min-width: 0;
}
.tn-slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    border-radius: 8px;
    aspect-ratio: 1004 / 512;
    background: var(--tn-dark);
}
.tn-slides::-webkit-scrollbar {
    display: none;
}
.tn-slides:focus-visible {
    outline: 3px solid var(--tn-accent);
    outline-offset: 2px;
}
.tn-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}
.tn-slide > img,
.tn-side > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tn-slide.drawn {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 40px 50px 50px 60px;
    background:
        radial-gradient(circle at 78% 50%, rgba(255, 255, 255, 0.16) 0 28%, transparent 29%),
        linear-gradient(115deg, var(--tn-dark) 0%, #16245e 55%, var(--tn-accent) 135%);
}
.tn-slide-txt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.tn-kicker {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffb59f;
}
.tn-slide-name {
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
}
.tn-slide-save {
    padding: 4px 14px;
    border-radius: 20px;
    background: var(--tn-savebg);
    font-size: 14px;
}
.tn-slide-price {
    font-size: 32px;
    font-weight: 700;
    color: #ffd25e;
}
.tn-slide-go {
    margin-top: 6px;
    padding: 0 28px;
    line-height: 44px;
    border-radius: 30px;
    background: var(--tn-accent);
    font-size: 15px;
    font-weight: 600;
}
.tn-slide.drawn:hover .tn-slide-go,
.tn-slide.drawn:focus-visible .tn-slide-go {
    background: #fff;
    color: var(--tn-accent);
}
.tn-slide-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 0;
    color: rgba(255, 255, 255, 0.8);
}
.tn-slide-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}
.tn-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}
.tn-dots a {
    display: block;
    width: 30px;
    height: 8px;
    background: rgba(255, 255, 255, 0.75);
}
.tn-dots a:first-child,
.tn-dots a:hover,
.tn-dots a:focus-visible {
    background: var(--tn-accent);
}
.tn-sides {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}
.tn-side {
    display: block;
    overflow: hidden;
    min-height: 0;
    border-radius: 8px;
    aspect-ratio: 310 / 247;
    color: #fff;
    text-decoration: none;
}
.tn-side.drawn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 24px 28px;
}
.tn-side.one {
    background:
        radial-gradient(circle at 100% 0, rgba(34, 183, 245, 0.55), transparent 55%),
        linear-gradient(160deg, #0a2a8a, var(--tn-blue));
}
.tn-side.two {
    background:
        radial-gradient(circle at 100% 100%, rgba(255, 166, 0, 0.5), transparent 55%),
        linear-gradient(160deg, #3b0d12, var(--tn-accent));
}
.tn-side-k {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
}
.tn-side-t {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}
.tn-side-go {
    padding: 0 18px;
    line-height: 34px;
    border-radius: 20px;
    background: #fff;
    color: #081621;
    font-size: 14px;
    font-weight: 600;
}
.tn-side.drawn:hover .tn-side-go,
.tn-side.drawn:focus-visible .tn-side-go {
    background: var(--tn-accent);
    color: #fff;
}
.tn-slide:focus-visible,
.tn-side:focus-visible {
    outline: 3px solid var(--tn-accent);
    outline-offset: -3px;
}

/* Notice line: the date and the shop's notice, scrolling right to left */
.tn-notice {
    overflow: hidden;
    margin: 30px 0 0;
    height: 40px;
    border-radius: 20px;
    background: #fff;
    font-size: 14px;
    line-height: 40px;
    color: #666;
    white-space: nowrap;
}
.tn-notice-in {
    display: inline-block;
    padding-left: 100%;
    animation: tn-marquee 30s linear -8s infinite;
}
.tn-notice:hover .tn-notice-in {
    animation-play-state: paused;
}
@keyframes tn-marquee {
    to {
        transform: translateX(-100%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .tn-notice-in {
        padding: 0 20px;
        animation: none;
    }
}

/* Four quick links */
.tn-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.tn-tiles a {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 80px;
    padding: 10px 20px;
    border-radius: 5px;
    background: #fff;
    box-shadow: var(--tn-shadow);
    color: #666;
    font-size: 15px;
    line-height: 20px;
    text-decoration: none;
}
.tn-tiles span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.tn-tiles b {
    color: #111;
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
}
.tn-tile-ico {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--tn-accent);
    color: #fff;
}
.tn-tiles a:hover b,
.tn-tiles a:focus-visible b {
    color: var(--tn-accent);
}
.tn-tiles a:focus-visible {
    outline: 2px solid var(--tn-accent);
}

/* Section headings, Featured Category */
.tn-block {
    margin-top: 60px;
}
.tn-block-h {
    margin-bottom: 25px;
    text-align: center;
}
.tn-block-h h2 {
    margin: 0 0 6px;
    font-size: var(--tn-h2);
    line-height: 1.3;
    font-weight: 700;
    color: #000;
}
.tn-block-h p {
    margin: 0;
    font-size: 15px;
    color: #111;
}
.tn-cat-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 20px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tn-cat-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-height: 134px;
    padding: 30px 10px 20px;
    border-radius: 15px;
    background: #fff;
    color: #01132d;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.15s;
}
.tn-cat-grid .tn-ico {
    color: #01132d;
}
.tn-cat-grid a:hover,
.tn-cat-grid a:focus-visible {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    color: var(--tn-accent);
}

/* Store banner */
.tn-stores {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 70px;
    min-height: 135px;
    padding: 20px 30px 20px 40px;
    border-radius: 4px;
    background: linear-gradient(90deg, #10c0ec 0%, var(--tn-blue) 50%, #00207e 100%);
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}
.tn-stores-t {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.tn-stores-t b {
    font-size: 30px;
    line-height: 1.2;
}
.tn-stores-go {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 50px;
    line-height: 58px;
    border-radius: 30px;
    background: #f0991a;
    color: #081621;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}
.tn-stores:hover .tn-stores-go,
.tn-stores:focus-visible .tn-stores-go {
    background: #fff;
}

/* Flash-sale boxes, one per category */
.tn-deal {
    margin-top: 50px;
    padding: 40px 42px;
    border: 2px solid transparent;
    border-radius: 15px;
    background:
        linear-gradient(#dfe1fd, #dfe1fd) padding-box,
        linear-gradient(110deg, var(--tn-accent), #8a6be0 50%, #10c0ec) border-box;
}
.tn-deal-h {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.tn-deal-h h2 {
    margin: 0 0 6px;
    font-size: var(--tn-h2);
    line-height: 1.3;
    font-weight: 600;
    color: #081621;
}
.tn-deal-h p {
    margin: 0;
    font-size: 15px;
    color: #111;
}
.tn-show {
    flex: none;
    padding: 0 22px;
    line-height: 42px;
    border-radius: 4px;
    background: var(--tn-blue);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.tn-show:hover,
.tn-show:focus-visible {
    background: var(--tn-dark);
}
.tn-deal-row {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.tn-deal-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 5px;
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.18) 0 30%, transparent 31%),
        linear-gradient(160deg, var(--tn-accent), #6d1406);
    color: #fff;
    text-align: center;
    text-decoration: none;
}
.tn-deal-art b {
    font-size: 26px;
    line-height: 1.2;
}
.tn-deal-art span {
    padding: 0 16px;
    line-height: 30px;
    border-radius: 20px;
    background: #fff;
    color: var(--tn-accent);
    font-size: 14px;
    font-weight: 600;
}

/* Product rows, brands, Show all, the Home page's text */
.tn-home-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.tn-more {
    margin: 20px 0 0;
}
.tn-more a {
    display: block;
    line-height: 40px;
    border-radius: 4px;
    background: var(--tn-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}
.tn-more a:hover,
.tn-more a:focus-visible {
    background: var(--tn-dark);
}
.tn-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tn-brands a {
    display: block;
    padding: 0 22px;
    line-height: 46px;
    border-radius: 5px;
    background: #fff;
    box-shadow: var(--tn-shadow);
    color: #111;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.tn-brands a:hover,
.tn-brands a:focus-visible {
    color: var(--tn-accent);
}
.tn-home-text {
    margin-top: 60px;
    font-size: 14px;
    line-height: 22px;
    color: #111;
}
.tn-home-text h2 {
    font-size: 20px;
}
.tn-home-text h3 {
    font-size: 16px;
}

@media (max-width: 1200px) {
    .tn-hero {
        grid-template-columns: minmax(0, 1fr) 260px;
    }
    .tn-slide.drawn {
        padding: 30px 30px 40px 40px;
    }
    .tn-slide-name {
        font-size: 30px;
    }
    .tn-side-t {
        font-size: 21px;
    }
    .tn-tiles {
        gap: 15px;
    }
    .tn-tiles a {
        gap: 12px;
        padding: 10px 14px;
    }
    .tn-tiles b {
        font-size: 16px;
    }
    .tn-cat-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .tn-deal {
        padding: 30px;
    }
    .tn-deal-row,
    .tn-home-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .tn-deal-art {
        display: none;
    }
}
@media (max-width: 900px) {
    .tn-hero {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 15px;
    }
    .tn-slide.drawn {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 10px;
        padding: 16px 16px 26px 20px;
    }
    .tn-slide-txt {
        gap: 6px;
    }
    .tn-kicker {
        font-size: 11px;
        letter-spacing: 1px;
    }
    .tn-slide-name {
        font-size: 18px;
    }
    .tn-slide-save {
        display: none;
    }
    .tn-slide-price {
        font-size: 16px;
    }
    .tn-slide-go {
        margin-top: 2px;
        padding: 0 14px;
        line-height: 30px;
        font-size: 13px;
    }
    .tn-dots {
        bottom: 8px;
        gap: 6px;
    }
    .tn-dots a {
        width: 18px;
        height: 5px;
    }
    .tn-sides {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        gap: 12px;
    }
    .tn-side.drawn {
        gap: 6px;
        padding: 14px;
    }
    .tn-side-k {
        font-size: 11px;
        letter-spacing: 1px;
    }
    .tn-side-t {
        font-size: 16px;
    }
    .tn-side-go {
        padding: 0 12px;
        line-height: 28px;
        font-size: 12px;
    }
    .tn-notice {
        margin-top: 15px;
    }
    .tn-tiles {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 30px;
    }
    .tn-tiles a {
        min-height: 54px;
        justify-content: flex-start;
        padding: 8px 10px;
        gap: 10px;
        font-size: 0;
    }
    .tn-tiles b {
        font-size: 14px;
        line-height: 18px;
    }
    .tn-tile-ico {
        width: 36px;
        height: 36px;
    }
    .tn-block {
        margin-top: 40px;
    }
    .tn-block-h h2 {
        font-size: 18px;
    }
    .tn-block-h p {
        font-size: 14px;
    }
    .tn-cat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }
    .tn-cat-grid a {
        gap: 8px;
        min-height: 100px;
        padding: 16px 4px 10px;
        border-radius: 10px;
        font-size: 12px;
        line-height: 16px;
    }
    .tn-cat-grid .tn-ico {
        width: 34px;
        height: 34px;
    }
    .tn-stores {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 40px;
        min-height: 0;
        padding: 18px;
        font-size: 14px;
    }
    .tn-stores > .tn-ico {
        width: 30px;
        height: 30px;
    }
    .tn-stores-t {
        flex: 1 1 200px;
    }
    .tn-stores-t b {
        font-size: 20px;
    }
    .tn-stores-go {
        padding: 0 20px;
        line-height: 40px;
        font-size: 14px;
    }
    .tn-deal {
        margin-top: 30px;
        padding: 15px;
    }
    .tn-deal-h {
        align-items: center;
    }
    .tn-deal-h h2 {
        font-size: 17px;
    }
    .tn-deal-h p {
        font-size: 13px;
    }
    .tn-show {
        padding: 0 12px;
        line-height: 34px;
        font-size: 13px;
    }
    .tn-deal-row,
    .tn-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

/* Product page: a white band with the gallery and facts, then tabs and Similar Product */
.tn-pd-top {
    background: #fff;
    padding: 20px 0 40px;
}
.tn-pdp .tn-crumb {
    margin: 0 0 25px;
    font-size: 14px;
    color: #111;
}
.tn-pdp .tn-crumb > * + *::before {
    content: '/';
    margin: 0 6px 0 4px;
    color: #666;
}
.tn-pdp .tn-crumb a {
    color: #111;
    text-decoration: none;
}
.tn-pdp .tn-crumb a:hover,
.tn-pdp .tn-crumb a:focus-visible {
    color: var(--tn-accent);
}
.tn-pdp .tn-crumb span[aria-current] {
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
}
.tn-sharebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 16px;
}
.tn-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.tn-share a {
    display: flex;
    color: #081621;
}
.tn-share a:hover,
.tn-share a:focus-visible {
    color: var(--tn-accent);
}
.tn-sharebar form {
    margin: 0;
}
.tn-sharebar button {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: none;
    font: inherit;
    color: #111;
    cursor: pointer;
}
.tn-sharebar button:hover,
.tn-sharebar button:focus-visible {
    color: var(--tn-accent);
}
.tn-pd {
    display: grid;
    grid-template-columns: minmax(0, 537px) minmax(0, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.tn-gal {
    position: relative;
}
.tn-g {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.tn-gal-main figure {
    display: none;
    margin: 0;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
}
.tn-gal-main figure:first-child {
    display: flex;
}
.tn-gal-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.tn-noimg {
    color: #c4c9d4;
}
.tn-g:checked ~ .tn-gal-main figure {
    display: none;
}
.tn-g:nth-of-type(1):checked ~ .tn-gal-main figure:nth-child(1),
.tn-g:nth-of-type(2):checked ~ .tn-gal-main figure:nth-child(2),
.tn-g:nth-of-type(3):checked ~ .tn-gal-main figure:nth-child(3),
.tn-g:nth-of-type(4):checked ~ .tn-gal-main figure:nth-child(4),
.tn-g:nth-of-type(5):checked ~ .tn-gal-main figure:nth-child(5),
.tn-g:nth-of-type(6):checked ~ .tn-gal-main figure:nth-child(6),
.tn-g:nth-of-type(7):checked ~ .tn-gal-main figure:nth-child(7),
.tn-g:nth-of-type(8):checked ~ .tn-gal-main figure:nth-child(8) {
    display: flex;
}
.tn-thumbs {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.tn-thumbs label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 59px;
    height: 59px;
    padding: 5px;
    border: 1px solid #eee;
    margin-left: -1px;
    background: #fff;
    cursor: pointer;
}
.tn-thumbs img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.tn-g:nth-of-type(1):checked ~ .tn-thumbs label:nth-child(1),
.tn-g:nth-of-type(2):checked ~ .tn-thumbs label:nth-child(2),
.tn-g:nth-of-type(3):checked ~ .tn-thumbs label:nth-child(3),
.tn-g:nth-of-type(4):checked ~ .tn-thumbs label:nth-child(4),
.tn-g:nth-of-type(5):checked ~ .tn-thumbs label:nth-child(5),
.tn-g:nth-of-type(6):checked ~ .tn-thumbs label:nth-child(6),
.tn-g:nth-of-type(7):checked ~ .tn-thumbs label:nth-child(7),
.tn-g:nth-of-type(8):checked ~ .tn-thumbs label:nth-child(8) {
    border-color: var(--tn-accent);
    position: relative;
}
.tn-g:focus-visible ~ .tn-thumbs {
    outline: 2px solid var(--tn-accent);
    outline-offset: 4px;
}
.tn-pd-info h1 {
    margin: 0 0 15px;
    font-size: 24px;
    line-height: 30px;
    font-weight: 400;
    color: var(--tn-blue);
}
.tn-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 6px;
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
}
.tn-facts li {
    padding: 6px 12px;
    border-radius: 30px;
    background: #f2f4f8;
    font-size: 14px;
    line-height: 20px;
    color: #666;
}
.tn-facts b,
.tn-facts a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
}
.tn-facts s {
    color: #666;
    font-size: 13px;
}
.tn-facts b.bad {
    color: var(--tn-price);
}
.tn-h3 {
    margin: 25px 0 10px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    color: #111;
}
.tn-feat {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
    line-height: 30px;
    color: #111;
}
.tn-more-info {
    display: inline-block;
    margin-top: 6px;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--tn-accent);
    color: var(--tn-accent);
    font-size: 16px;
    text-decoration: none;
}
.tn-lead {
    font-size: 16px;
    line-height: 26px;
}
.tn-pay {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    max-width: 720px;
}
.tn-pay-opt {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 4px;
}
.tn-pay-opt.on {
    border-color: var(--tn-blue);
}
.tn-pay-dot {
    flex: none;
    width: 22px;
    height: 22px;
    border: 2px solid #888;
    border-radius: 50%;
}
.tn-pay-opt.on .tn-pay-dot {
    border-color: #1d6fe8;
    box-shadow: inset 0 0 0 4px #fff;
    background: #1d6fe8;
}
.tn-pay-opt > span:last-child {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
}
.tn-pay-opt b {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #111;
}
.tn-pay-opt s {
    font-size: 16px;
    color: #666;
}
.tn-pay-opt small,
.tn-pay-opt em {
    flex-basis: 100%;
    font-size: 13px;
    line-height: 20px;
    font-style: normal;
    color: #111;
}
.tn-pay-opt em {
    color: #666;
}
.tn-buy {
    margin-top: 20px;
}
.tn-buy .tn-field {
    display: grid;
    gap: 6px;
    max-width: 420px;
    margin-bottom: 14px;
    font-weight: 600;
}
.tn-buy-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}
.tn-qty {
    width: 140px;
}
.tn-qty input {
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 0;
    text-align: center;
}
.tn-buy-row .tn-btn {
    min-width: 200px;
    height: 42px;
    border-radius: 4px;
    font-size: 15px;
}
.tn-pd-more {
    margin-top: 16px;
}
.tn-pd-more:empty {
    display: none;
}

.tn-pd-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
    padding-top: 30px;
    padding-bottom: 50px;
}
.tn-pd-body.solo {
    grid-template-columns: 1fr;
}
.tn-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.tn-tabs a {
    padding: 0 20px;
    line-height: 40px;
    border-radius: 5px;
    background: #fff;
    box-shadow: var(--tn-shadow);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.tn-tabs a:first-child,
.tn-tabs a:hover,
.tn-tabs a:focus-visible {
    background: var(--tn-price);
    color: #fff;
}
.tn-sec {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--tn-shadow);
    font-size: 15px;
    line-height: 24px;
}
.tn-sec h2 {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    color: #000;
}
.tn-spec {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.tn-spec tbody + tbody .g th {
    border-top: 20px solid #fff;
}
.tn-spec col.n {
    width: 250px;
}
.tn-spec th,
.tn-spec td {
    padding: 10px 20px;
    border-bottom: 1px solid #ecedef;
    text-align: left;
    vertical-align: top;
    font-size: 15px;
    line-height: 22px;
}
.tn-spec th {
    font-weight: 400;
    color: #666;
}
.tn-spec td {
    color: #000;
    white-space: pre-line;
}
.tn-spec .g th {
    padding: 10px 20px;
    border-bottom: 0;
    border-radius: 5px;
    background: color-mix(in srgb, var(--tn-blue) 5%, #fff);
    color: var(--tn-blue);
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
}

/* Description, Q&A boxes, Questions and Reviews (D-068) */
.tn-desc-body {
    color: #01132d;
    font-size: 15px;
    line-height: 26px;
}
.tn-desc-body > :first-child {
    margin-top: 0;
}
.tn-desc-body h2,
.tn-desc-body h3 {
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    color: #000;
}
.tn-desc-body h3 {
    font-size: 17px;
}
.tn-desc-body p {
    margin: 0 0 10px;
}
.tn-desc-body a {
    color: var(--tn-price);
}
.tn-desc-body img {
    max-width: 100%;
    height: auto;
}
.tn-faq h2 {
    margin-bottom: 20px;
}
.tn-faq p {
    margin: 0;
    color: #01132d;
    line-height: 26px;
    white-space: pre-line;
}
.tn-qr-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.tn-qr-head h2 {
    margin: 0;
}
.tn-qr-head p {
    margin: 0;
    color: #666;
    line-height: 26px;
}
.tn-outline {
    flex: none;
    padding: 0 20px;
    border: 2px solid var(--tn-blue);
    border-radius: 4px;
    color: var(--tn-blue);
    font-size: 14px;
    font-weight: 600;
    line-height: 38px;
    text-decoration: none;
    transition:
        background 0.2s,
        color 0.2s;
}
.tn-outline:hover,
.tn-outline:focus-visible {
    background: var(--tn-blue);
    color: #fff;
}
.tn-qr-ok {
    margin: 15px 0 0;
    padding: 10px 14px;
    border-radius: 4px;
    background: #e8f6ee;
    color: #146c43;
}
.tn-qr-note {
    flex: none;
    font-size: 14px;
}
.tn-qr-empty {
    padding: 50px 0 40px;
    text-align: center;
}
.tn-qr-ico {
    display: inline-grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--tn-blue) 5%, #fff);
    color: var(--tn-blue);
}
.tn-qr-empty p {
    margin: 20px 0 0;
    color: #666;
    font-size: 14px;
}
.tn-stars {
    display: inline-flex;
    gap: 1px;
    vertical-align: middle;
}
.tn-stars svg {
    fill: #dfe2e8;
}
.tn-stars svg.on {
    fill: #f7931e;
}
.tn-avg {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 15px;
    font-size: 20px;
    line-height: 26px;
}
.tn-review,
.tn-qa {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.tn-review-t,
.tn-qa-q {
    margin: 8px 0;
    color: #000;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.tn-qa-q {
    margin-top: 0;
    font-weight: 600;
}
.tn-by {
    margin: 0;
    color: #666;
    font-size: 13px;
}
.tn-by b {
    font-weight: 600;
    color: var(--tn-blue);
}
.tn-qa-a {
    margin: 10px 0 0;
    padding: 10px 14px;
    border-left: 3px solid var(--tn-blue);
    background: #f7f8fc;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.tn-qr-form {
    display: grid;
    gap: 8px;
    max-width: 640px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.tn-qr-form label {
    font-weight: 600;
}
.tn-qr-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font: inherit;
}
.tn-qr-btns {
    display: flex;
    align-items: center;
    gap: 16px;
}
.tn-err {
    margin: 0;
    color: #d51e0b;
    font-size: 14px;
}
.tn-rate {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 2px;
    margin: 0 0 6px;
    padding: 0;
    border: 0;
}
.tn-rate legend {
    width: 100%;
    margin-bottom: 6px;
    font-weight: 600;
}
.tn-rate input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.tn-rate label {
    cursor: pointer;
    line-height: 0;
}
.tn-rate svg {
    fill: #dfe2e8;
    transition: fill 0.15s;
}
.tn-rate input:checked ~ label svg,
.tn-rate label:hover svg,
.tn-rate label:hover ~ label svg {
    fill: #f7931e;
}
.tn-rate input:focus-visible + label {
    outline: 2px solid var(--tn-blue);
    outline-offset: 2px;
}
.tn-related {
    padding: 0 20px 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--tn-shadow);
}
.tn-related h2 {
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: var(--tn-blue);
    text-align: center;
}
.tn-related ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.tn-related li {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.tn-related li:last-child {
    border-bottom: 0;
}
.tn-rel-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    color: #b7c0d3;
}
.tn-rel-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.tn-rel-n {
    color: #111;
    font-size: 15px;
    line-height: 20px;
    text-decoration: none;
}
.tn-rel-n:hover,
.tn-rel-n:focus-visible {
    color: var(--tn-accent);
}
.tn-rel-p {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 8px;
    margin: 8px 0 6px;
}
.tn-rel-p b {
    font-size: 16px;
    font-weight: 400;
    color: var(--tn-price);
}
.tn-rel-p s {
    font-size: 13px;
    color: #666;
}
.tn-related form {
    margin: 0;
}
.tn-related button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}
.tn-related button:hover,
.tn-related button:focus-visible {
    color: var(--tn-accent);
}

@media (max-width: 1100px) {
    .tn-pd {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    }
    .tn-pd-body {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .tn-pd-top {
        padding: 12px 0 24px;
    }
    .tn-pdp .tn-crumb {
        margin-bottom: 12px;
        font-size: 12px;
    }
    .tn-sharebar {
        min-height: 44px;
        padding: 0 14px;
        font-size: 14px;
    }
    .tn-pd {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 18px;
    }
    .tn-gal-main figure {
        max-height: 320px;
    }
    .tn-pd-info h1 {
        font-size: 20px;
        line-height: 26px;
    }
    .tn-facts li {
        font-size: 13px;
    }
    .tn-feat {
        font-size: 14px;
        line-height: 26px;
    }
    .tn-pay {
        grid-template-columns: 1fr;
    }
    .tn-buy-row {
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 10px;
    }
    .tn-qty {
        width: auto;
    }
    .tn-buy-row .tn-btn {
        min-width: 0;
    }
    .tn-buy-row .tn-btn.ghost {
        grid-column: 1 / -1;
    }
    .tn-pd-body {
        padding-top: 20px;
    }
    .tn-tabs a {
        padding: 0 12px;
        line-height: 36px;
        font-size: 13px;
    }
    .tn-sec {
        padding: 14px;
    }
    .tn-spec th,
    .tn-spec td {
        padding: 8px 10px;
        font-size: 14px;
    }
    .tn-spec col.n {
        width: 42%;
    }
    .tn-tabs .hide-xs {
        display: none;
    }
    .tn-qr-head {
        flex-wrap: wrap;
    }
    .tn-qr-head h2,
    .tn-sec h2 {
        font-size: 18px;
    }
    .tn-avg {
        font-size: 17px;
    }
}

/* The PC Builder plugin's home tile, as a TechNest banner strip */
.t-technest .pcb-tile {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 50px;
    padding: 22px 30px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--tn-dark), var(--tn-blue));
    color: #fff;
    font-size: 15px;
}
.t-technest .pcb-tile b {
    color: #fff;
    font-size: 20px;
}
.t-technest .pcb-tile:hover,
.t-technest .pcb-tile:focus-visible {
    filter: brightness(1.15);
}
@media (max-width: 900px) {
    .t-technest .pcb-tile {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 18px;
    }
}

/* Category bar on one row: the script moves what doesn't fit into More */
.tn-menu.one-row {
    flex-wrap: nowrap;
}
.tn-menu.one-row > .tn-mi {
    flex: none;
}
.tn-more-mi {
    margin-left: auto;
}
.tn-more-mi > button.tn-ml {
    border: 0;
    background: none;
    font: inherit;
    font-size: var(--nav, 14px);
    font-weight: 600;
    line-height: 50px;
    cursor: pointer;
}
.tn-menu.one-row {
    gap: 0;
}
.tn-more-drop {
    right: 0;
    left: auto;
}
.tn-more-drop li[hidden],
.tn-mi[hidden] {
    display: none;
}

/* Category page (D-067): white band with pills, 265px filter sidebar, Show and Sort By bar */
.tn-shop {
    padding-bottom: 50px;
}
.tn-shop-top {
    margin-bottom: 15px;
    padding: 20px 0 15px;
    background: #fff;
    border-bottom: 1px solid #e5e8ec;
}
.tn-shop .tn-crumb {
    margin: 0 0 15px;
    font-size: 14px;
    color: #111;
}
.tn-shop .tn-crumb > * + *::before {
    content: '/';
    margin: 0 6px 0 4px;
    color: #666;
}
.tn-shop .tn-crumb a {
    color: #111;
    text-decoration: none;
}
.tn-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tn-pills a {
    display: block;
    padding: 0 14px;
    line-height: 34px;
    border: 1px solid #eee;
    border-radius: 30px;
    color: #111;
    font-size: 14px;
    text-decoration: none;
}
.tn-pills a:hover,
.tn-pills a:focus-visible {
    border-color: var(--tn-accent);
    color: var(--tn-accent);
}
.tn-shop-grid {
    display: grid;
    grid-template-columns: 265px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
.tn-filters form {
    display: grid;
    gap: 15px;
    padding: 0;
    background: none;
    box-shadow: none;
}
.tn-filters .tn-fbox {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: #fff;
    box-shadow: var(--tn-shadow);
}
.tn-fbox summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    list-style: none;
}
.tn-fbox summary::-webkit-details-marker {
    display: none;
}
.tn-fbox summary::after {
    content: '';
    width: 7px;
    height: 7px;
    border: solid #444;
    border-width: 2px 2px 0 0;
    transform: rotate(-45deg);
}
.tn-fbox:not([open]) summary {
    border-bottom: 0;
}
.tn-fbox:not([open]) summary::after {
    transform: rotate(135deg);
}
.tn-fbox summary:focus-visible {
    outline: 2px solid var(--tn-accent);
    outline-offset: -2px;
}
.tn-fbox > .tn-range,
.tn-fbox > .tn-check:first-of-type {
    margin-top: 15px;
}
.tn-fbox > .tn-range {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px 20px;
}
.tn-range label {
    flex: 0 1 90px;
}
.tn-range input {
    height: 32px;
    border-radius: 0;
    text-align: center;
}
.tn-filters .tn-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 6px 20px;
    font-size: 14px;
    line-height: 20px;
    color: #111;
    cursor: pointer;
}
.tn-fbox > .tn-check:last-child {
    padding-bottom: 15px;
}
.tn-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--tn-accent);
}
.tn-fbtns {
    display: flex;
    align-items: center;
    gap: 14px;
}
.tn-filter-form.js .tn-apply,
.tn-sort.js .tn-apply {
    display: none;
}
.tn-results .tn-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    margin: 0 0 15px;
    padding: 10px 20px;
    min-height: 60px;
    border-radius: 5px;
    background: #fff;
    box-shadow: var(--tn-shadow);
}
.tn-bar h1 {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: #111;
}
.tn-results .tn-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}
.tn-results .tn-sort label {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
}
.tn-results .tn-sort select {
    width: auto;
    height: 32px;
    padding: 0 8px;
    border: 0;
    border-radius: 3px;
    background: #f2f4f8;
    font-size: 14px;
}
.tn-results .tn-sort select#tn-sort {
    min-width: 150px;
}
.tn-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tn-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tn-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.tn-pager-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 5px;
    background: #fff;
    box-shadow: var(--tn-shadow);
}
.tn-pager-row p {
    margin: 0;
    font-size: 14px;
    color: #666;
}
.tn-pager-row .tn-pager {
    margin: 0;
}
@media (max-width: 1200px) {
    .tn-cols-4,
    .tn-cols-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .tn-shop-top {
        padding: 12px 0;
    }
    .tn-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .tn-pills a {
        white-space: nowrap;
    }
    .tn-shop-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .tn-results .tn-bar {
        padding: 10px 12px;
    }
    .tn-results .tn-sort select#tn-sort {
        min-width: 0;
    }
    .tn-cols-3,
    .tn-cols-4,
    .tn-cols-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

/* Cart and checkout (D-069): white boxes, Order Summary beside them */
.tn-cart-page {
    padding-bottom: 50px;
}
.tn-cart-page .tn-crumb {
    margin: 20px 0;
}
.tn-page-h {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 28px;
    font-weight: 400;
    color: #000;
}
.tn-cart-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: start;
}
.tn-box {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
    background: #fff;
    box-shadow: var(--tn-shadow);
}
.tn-box-h {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    color: #111;
}
.tn-box-h.ico .tn-ico {
    color: var(--tn-accent);
}
.tn-hide {
    display: none;
}
.tn-cart-lines {
    margin: 0;
    padding: 0;
    list-style: none;
}
.tn-cart-lines li {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto 130px 34px;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}
.tn-cart-lines li + li {
    border-top: 1px solid #eee;
}
.tn-cart-lines li.bad {
    background: #fff5f5;
}
.tn-cl-img {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    color: #c7cbd3;
}
.tn-cl-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.tn-cl-name a {
    color: #111;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
}
.tn-cl-name a:hover {
    color: var(--tn-accent);
}
.tn-cl-name small {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 12px;
}
.tn-step {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.tn-step input {
    order: 2;
    width: 44px;
    height: 34px;
    border: solid #ddd;
    border-width: 0 1px;
    text-align: center;
    -moz-appearance: textfield;
}
.tn-step input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
.tn-step button {
    order: 3;
    width: 34px;
    border: 0;
    background: none;
    font-size: 18px;
    cursor: pointer;
}
.tn-step button.m {
    order: 1;
}
.tn-step button:hover {
    color: var(--tn-blue);
}
.tn-cl-price {
    margin: 0;
    text-align: right;
}
.tn-cl-price b {
    display: block;
    font-size: 16px;
    color: #111;
}
.tn-cl-price small {
    color: #666;
    font-size: 12px;
}
.tn-cl-x {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: #666;
    cursor: pointer;
}
.tn-cl-x:hover,
.tn-cl-x:focus-visible {
    background: #fff0ed;
    color: var(--tn-price);
}
.tn-also h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}
.tn-also > p {
    margin: 4px 0 15px;
    color: #666;
    font-size: 14px;
}
.tn-also ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tn-also li {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
    background: #fff;
    box-shadow: var(--tn-shadow);
}
.tn-also-img {
    display: grid;
    place-items: center;
    height: 90px;
    border-right: 1px solid #eee;
    color: #c7cbd3;
}
.tn-also-img img {
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
}
.tn-also-n {
    display: block;
    color: #111;
    font-size: 13px;
    line-height: 18px;
    text-decoration: none;
}
.tn-also .tn-rel-p {
    margin: 6px 0 8px;
}
.tn-soft {
    display: block;
    width: 100%;
    padding: 0 10px;
    border: 0;
    border-radius: 4px;
    background: color-mix(in srgb, var(--tn-blue) 8%, #fff);
    color: var(--tn-blue);
    font-size: 13px;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.tn-soft:hover,
.tn-soft:focus-visible {
    background: var(--tn-blue);
    color: #fff;
}
.tn-sum {
    position: sticky;
    top: 70px;
}
.tn-extra {
    padding: 12px;
    border: 2px dashed #ddd;
    border-radius: 5px;
    background: #f9fafb;
}
.tn-extra-h {
    margin: 0 0 10px;
    font-size: 13px;
}
.tn-extra-h b,
.tn-extra-h span {
    display: block;
}
.tn-extra-h span {
    color: #666;
}
.tn-coupon {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}
.tn-coupon input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 10px;
    border: 0;
    font-size: 13px;
}
.tn-coupon button {
    padding: 0 16px;
    border: 0;
    border-left: 1px solid #ddd;
    background: #f2f4f8;
    color: var(--tn-blue);
    font-weight: 600;
    cursor: pointer;
}
.tn-coupon.on {
    align-items: center;
    padding-left: 10px;
    font-size: 13px;
}
.tn-coupon.on span {
    flex: 1;
}
.tn-coupon.on button {
    height: 38px;
}
.tn-totals {
    margin: 15px 0;
}
.tn-totals div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.tn-totals dt {
    color: #111;
}
.tn-totals dd {
    margin: 0;
    font-weight: 600;
    color: #111;
}
.tn-totals .t dt {
    font-weight: 700;
}
.tn-totals .t dd {
    color: var(--tn-price);
    font-size: 20px;
}
.tn-sum-note {
    margin: -5px 0 15px;
    color: #666;
    font-size: 13px;
}
.tn-wide {
    display: block;
    width: 100%;
    text-align: center;
}
.tn-terms {
    display: flex;
    gap: 8px;
    margin: 0 0 15px;
    font-size: 13px;
    line-height: 18px;
}
.tn-terms input {
    margin-top: 2px;
    accent-color: var(--tn-blue);
}
.tn-terms a {
    color: var(--tn-price);
    font-weight: 600;
}
.tn-cart-empty {
    padding: 60px 0 40px;
    text-align: center;
}
.tn-cart-ico {
    display: inline-grid;
    place-items: center;
    width: 180px;
    height: 180px;
    border: 28px solid #e8eaf1;
    border-radius: 50%;
    background: var(--tn-blue);
    background-clip: padding-box;
    color: #fff;
}
.tn-cart-empty h1 {
    margin: 30px 0 6px;
    color: var(--tn-blue);
    font-size: 18px;
}
.tn-cart-empty p {
    margin: 0 0 15px;
    font-size: 15px;
}
.tn-co-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--tn-blue) 10%, #fff);
}
.tn-co-band p {
    margin: 0;
    font-size: 14px;
}
.tn-co-band b,
.tn-co-band span {
    display: block;
}
.tn-co-band span {
    color: #666;
    font-size: 13px;
}
.tn-co-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 20px;
}
.tn-f {
    display: grid;
    gap: 6px;
    margin: 0;
}
.tn-f.wide {
    grid-column: 1 / -1;
}
.tn-f label {
    font-size: 13px;
    font-weight: 600;
    color: #111;
}
.tn-f input,
.tn-f textarea {
    width: 100%;
    padding: 0 10px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font: inherit;
    font-size: 14px;
}
.tn-f textarea {
    height: auto;
    padding: 10px;
}
.tn-f [aria-invalid='true'] {
    border-color: #d51e0b;
}
.tn-co-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.tn-radios {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}
.tn-radios legend {
    margin-bottom: 10px;
    color: #666;
    font-size: 13px;
}
.tn-radios label {
    display: flex;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}
.tn-radios input {
    margin-top: 3px;
    accent-color: var(--tn-blue);
}
.tn-radios small {
    display: block;
    color: #666;
    font-size: 12px;
}
/* Payment Method box (D-083): each method on its own line, "We Accept" under it. */
.tn-pay {
    gap: 0;
}
.tn-pay label {
    padding: 10px 0;
    border-bottom: 1px solid #f2f2f2;
    line-height: 20px;
}
.tn-pay label:last-of-type {
    border-bottom: 0;
}
.tn-pay label:has(input:checked) {
    color: #111;
    font-weight: 600;
}
.tn-pay label:has(input:checked) small {
    font-weight: 400;
}
.tn-accept {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 13px;
}
.tn-accept ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.tn-accept li {
    padding: 3px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
    color: #333;
    font-size: 12px;
    font-weight: 600;
}
.tn-co-lines {
    margin: 0;
    padding: 0;
    list-style: none;
}
.tn-co-lines li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    font-size: 14px;
}
.tn-alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 5px;
    background: #fff0ed;
    color: #a3200e;
    font-size: 14px;
}
.tn-muted {
    color: #666;
}
@media (max-width: 960px) {
    .tn-cart-grid {
        grid-template-columns: 1fr;
    }
    .tn-sum {
        position: static;
    }
}
@media (max-width: 640px) {
    .tn-page-h {
        font-size: 20px;
    }
    .tn-box {
        padding: 14px;
    }
    .tn-cart-lines li {
        grid-template-columns: 60px minmax(0, 1fr) 34px;
        grid-template-areas:
            'img name x'
            'img step price';
        gap: 8px 10px;
    }
    .tn-cl-img {
        grid-area: img;
        width: 60px;
        height: 60px;
    }
    .tn-cl-name {
        grid-area: name;
    }
    .tn-cart-lines .tn-step {
        grid-area: step;
        justify-self: start;
    }
    .tn-cl-price {
        grid-area: price;
        justify-self: end;
    }
    .tn-cart-lines li > form:last-child {
        grid-area: x;
    }
    .tn-also ul,
    .tn-co-fields,
    .tn-co-2 {
        grid-template-columns: 1fr;
    }
    .tn-co-band {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

/* Search suggestions under the header search (D-069) */
.tn-sugg {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 60;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.tn-sugg[hidden] {
    display: none;
}
.tn-sugg-i {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    border-bottom: 1px solid #eee;
    color: #111;
    text-decoration: none;
}
.tn-sugg-i:hover,
.tn-sugg-i.on,
.tn-sugg-i:focus-visible {
    background: #f2f4f8;
}
.tn-sugg-img {
    display: grid;
    flex: none;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 3px;
    background: #f7f8fa;
}
.tn-sugg-img svg {
    color: #b8bec9;
}
.tn-sugg-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.tn-sugg-t {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.tn-sugg-n {
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tn-sugg-p {
    color: var(--tn-price);
    font-size: 14px;
    font-weight: 600;
}
.tn-sugg-p s {
    margin-left: 4px;
    color: #999;
    font-size: 12px;
    font-weight: 400;
}
.tn-sugg-all {
    display: block;
    padding: 10px 14px;
    background: #fafbfc;
    color: var(--tn-blue);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}
.tn-sugg-all:hover {
    background: var(--tn-blue);
    color: #fff;
}
.tn-sugg-none {
    margin: 0;
    padding: 14px;
    color: #666;
    font-size: 14px;
}

/* Info pages (D-073): About, policies, Contact, like startech.com.bd */
.tn-info {
    padding: 0 0 50px;
}
.tn-info .tn-crumb {
    margin: 20px 0;
}
.tn-info-box {
    padding: 30px 40px 40px;
    border-radius: var(--tn-r);
    background: #fff;
    box-shadow: var(--tn-shadow);
    color: #333;
    font-size: 15px;
    line-height: 1.7;
}
.tn-info-box h1 {
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    color: #111;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}
.tn-info-lead {
    margin: -6px 0 20px;
    color: var(--tn-muted);
}
.tn-info-body {
    max-width: none;
}
.tn-info-body h2 {
    margin: 28px 0 10px;
    color: #111;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}
.tn-info-body h3 {
    margin: 20px 0 8px;
    color: #111;
    font-size: 16px;
    font-weight: 600;
}
.tn-info-body > :first-child {
    margin-top: 0;
}
.tn-info-body p,
.tn-info-body ul,
.tn-info-body ol {
    margin: 0 0 14px;
}
.tn-info-body ul,
.tn-info-body ol {
    padding-left: 22px;
}
.tn-info-body li {
    margin-bottom: 6px;
}
.tn-info-body a {
    color: var(--tn-accent);
}
.tn-info-body table {
    width: 100%;
    margin: 0 0 16px;
    border-collapse: collapse;
}
.tn-info-body th,
.tn-info-body td {
    padding: 10px 12px;
    border: 1px solid #eee;
    text-align: left;
}
.tn-info-body th {
    background: #f2f4f8;
}
.tn-ccards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}
.tn-ccards li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-radius: var(--tn-r);
    background: #fff;
    box-shadow: var(--tn-shadow);
}
.tn-ccards-i {
    display: grid;
    flex: none;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #eef0fc;
    color: var(--tn-blue);
}
.tn-ccards small {
    display: block;
    color: var(--tn-muted);
    font-size: 13px;
}
.tn-ccards a,
.tn-ccards b {
    color: #111;
    font-weight: 600;
    word-break: break-word;
}
.tn-ccards a:hover,
.tn-ccards a:focus-visible {
    color: var(--tn-accent);
}
@media (max-width: 767px) {
    .tn-info-box {
        padding: 20px 16px 24px;
        font-size: 14px;
    }
    .tn-info-box h1 {
        font-size: 20px;
        line-height: 28px;
    }
}

/* Search page box (D-075), like startech.com.bd: keyword, category, two options, Search */
.tn-srch {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) auto;
    align-items: end;
    gap: 12px 15px;
    margin: 0 0 15px;
    padding: 18px 20px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #f9fafb;
}
.tn-srch label > span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #111;
}
.tn-srch input[type='search'],
.tn-srch select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font: inherit;
    font-size: 14px;
    color: #111;
}
.tn-srch input:focus-visible,
.tn-srch select:focus-visible {
    outline: 2px solid var(--tn-accent);
    outline-offset: 0;
    border-color: var(--tn-accent);
}
.tn-srch .tn-btn {
    height: 40px;
    padding: 0 28px;
}
.tn-srch-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    grid-column: 1 / -1;
    grid-row: 2;
}
.tn-srch-opts .tn-check {
    margin: 0;
}
.tn-srch > .tn-btn {
    grid-column: 3;
    grid-row: 1;
}
.tn-sfound a[aria-current='page'] {
    border-color: var(--tn-accent);
    color: var(--tn-accent);
}
.tn-sfound small {
    color: #666;
    font-size: 12px;
}
@media (max-width: 767px) {
    .tn-srch {
        grid-template-columns: minmax(0, 1fr);
        padding: 15px;
    }
    .tn-srch > .tn-btn,
    .tn-srch-opts {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Product page (D-078): sale countdown, quantity − / + and the line total, like startech.com.bd */
.tn-countdown {
    margin: 16px 0 18px;
}
.tn-countdown p {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tn-accent);
}
.tn-countdown ol {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tn-countdown li {
    display: grid;
    justify-items: center;
    min-width: 58px;
    padding: 6px 4px;
    border-radius: 6px;
    background: #081621;
    color: #fff;
}
.tn-countdown b {
    font-size: 22px;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.tn-countdown span {
    font-size: 11px;
    color: #c5ccd6;
}
.tn-buy-row .tn-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
}
.tn-buy-row .tn-qty label {
    font-size: 14px;
    color: #666;
}
.tn-pstep {
    display: flex;
    align-items: stretch;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.tn-pstep button {
    width: 40px;
    border: 0;
    background: #f2f4f8;
    color: #111;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.tn-pstep button:hover,
.tn-pstep button:focus-visible {
    background: var(--tn-blue, #3749bb);
    color: #fff;
}
.tn-pstep input {
    width: 56px;
    height: 100%;
    border: 0;
    border-inline: 1px solid #ddd;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}
.tn-pstep input::-webkit-outer-spin-button,
.tn-pstep input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}
.tn-line-total {
    margin: 0;
    font-size: 14px;
    color: #666;
}
.tn-line-total b {
    font-size: 18px;
    color: var(--tn-accent);
}
@media (max-width: 767px) {
    .tn-buy-row .tn-qty,
    .tn-buy-row .tn-line-total {
        grid-column: 1 / -1;
    }
    .tn-buy-row .tn-btn {
        grid-column: 1 / -1;
    }
}

/* A footer Text widget written in its Visual or HTML tab. */
.tn-foot .tn-wtext p { margin: 0 0 8px; }
.tn-foot .tn-wtext a { color: inherit; text-decoration: underline; }
.tn-foot .tn-wtext ul { margin: 0 0 8px; padding-left: 18px; }

/* Footer Builder About column: the footer logo (Customize → Site identity) */
.tn-foot-logo {
    display: block;
    max-width: 220px;
    max-height: 80px;
    width: auto;
    height: auto;
    margin-bottom: 12px;
}

/* Cart count badge (filled by the footer script; hidden while empty). */
.tn-mcart,
.tn-float a {
    position: relative;
}
.tn-cc {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4a23;
    color: #fff;
    font: 700 11px/18px system-ui, sans-serif;
    text-align: center;
}
.tn-cc[hidden] {
    display: none;
}
