/* gamer skin: inner pages (cart, product listing toolbar, order tracking, contact, blog header, 404)
   Found by scanning every page for light backgrounds that were left over from the original light theme. */

/* ---- product listing toolbar: filter button, "show" and "sort by" boxes (they were white pills) -------------------- */
html body .shop-filter-toggle {
    background: var(--g-s2) !important;
    border: 1px solid #3a3a45 !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    color: #fff;
}

html body .shop-filter-toggle .title, html body .shop-filter-toggle svg, html body .shop-filter-toggle i { color: #fff !important; }
html body .shop-filter-toggle:hover { border-color: var(--g-acc) !important; }

html body .sort-by-product-area .sort-by-product-wrap, html body .sort-by-product-wrap {
    background: var(--g-s2) !important;
    border: 1px solid #3a3a45 !important;
    border-radius: 2px !important;
    box-shadow: none !important;
}

html body .sort-by-product-wrap .sort-by, html body .sort-by-product-wrap span, html body .sort-by-product-wrap svg, html body .sort-by-product-wrap i { color: var(--g-text) !important; }
html body .sort-by-product-wrap select, html body .sort-by-product-wrap .form-select { background-color: transparent !important; color: #fff !important; border: 0 !important; }

/* the little action strip that appears over a product picture */
html body .product-action-wrap { background: var(--g-s2) !important; border: 1px solid #3a3a45; border-radius: 2px; box-shadow: none; }
html body .product-action-wrap a, html body .product-action-wrap button { color: #fff; }
html body .product-action-wrap a:hover { color: var(--g-acc); }

/* ---- cart -------------------------------------------------------------------------------------------------------- */
html body .table--cart thead, html body .table--cart thead th, html body .table--cart thead tr {
    background: var(--g-s2) !important;
    color: #fff !important;
    border-color: var(--g-line) !important;
    border-radius: 0 !important;
}

html body .table--cart thead th { font-weight: 700; padding-top: 14px; padding-bottom: 14px; }
html body .table--cart td, html body .table--cart tbody tr { border-color: var(--g-line) !important; background: transparent !important; }
html body .table--cart .product-thumbnail img, html body .table--cart td img { background: var(--g-s1); border: 1px solid var(--g-line) !important; border-radius: 2px !important; }
html body .table--cart .product-des a, html body .table--cart h6 a, html body .table--cart h6 { color: #fff; }
html body .table--cart .price h4, html body .table--cart .price span, html body .table--cart .price { color: #fff; }
html body .table--cart .text-muted, html body .table--cart small { color: var(--g-text) !important; }
html body .table--cart .action a, html body .table--cart .action i, html body .table--cart .action svg { color: var(--g-text); }
html body .table--cart .action a:hover, html body .table--cart .action a:hover svg { color: var(--g-acc); }

html body .section--shopping-cart .divider-2 { background: var(--g-line); height: 1px; }

html body .cart-totals {
    background: var(--g-s1);
    border: 1px solid var(--g-line) !important;
    border-radius: 3px !important;
    box-shadow: none;
}

html body .cart-totals table td, html body .cart-totals table th, html body .cart-totals .table td { border-color: var(--g-line) !important; background: transparent; color: var(--g-text); }
html body .cart-totals h6, html body .cart-totals .cart_total_label { color: var(--g-text); }
html body .cart-totals .cart_total_amount, html body .cart-totals h4 { color: #fff; }
html body .cart-totals .text-brand { color: var(--g-acc) !important; }

/* ---- order tracking (the card was white inside) ------------------------------------------------------------------- */
html body .login_wrap, html body .login_wrap .padding_eight_all, html body .background-white, html body .padding_eight_all.bg-white {
    background: var(--g-s1) !important;
    border: 1px solid var(--g-line);
    border-radius: 3px !important;
    box-shadow: none;
    color: var(--g-text);
}

html body .login_wrap .padding_eight_all { border: 0; }
html body .login_wrap h1, html body .login_wrap h2, html body .login_wrap h3, html body .login_wrap h4 { color: #fff; }
html body .login_wrap label, html body .login_wrap .form-label { color: #fff; }
html body .login_wrap p { color: var(--g-text); }

/* ---- contact form -------------------------------------------------------------------------------------------------- */
html body button.submit, html body .submit-auto-width {
    background: var(--g-acc) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: var(--g-cut);
    font-weight: 800;
    padding: 14px 46px;
    box-shadow: none !important;
}

html body button.submit:hover, html body .submit-auto-width:hover { background: var(--g-acc-d) !important; }

/* square check box with a white tick wherever a form has one (the login/register card has its own rules in gamer-extra.css) */
html body .form-check-input {
    -webkit-appearance: none;
    appearance: none;
    width: 22px; height: 22px;
    background-color: var(--g-s2);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px;
    border: 1.5px solid #55555f;
    border-radius: 3px;
    cursor: pointer;
}

html body .form-check-input:hover, html body .form-check-input:focus { border-color: var(--g-acc); box-shadow: none; }

html body .form-check-input:checked {
    background-color: var(--g-acc);
    border-color: var(--g-acc);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m5 10.5 3.2 3.2L15 6.8'/%3e%3c/svg%3e");
}

html body .form-check-label { color: var(--g-text); }
html body .form-check-label a { color: var(--g-acc); text-decoration: underline; }

/* the contact map is a bright Google map: darken it so it does not shine out of the page */
html body .google-map-iframe iframe { filter: invert(92%) hue-rotate(180deg) brightness(.92) contrast(.92) saturate(.75); border: 1px solid var(--g-line); }
html body main .ck-content a { color: #fff; text-decoration: underline; text-decoration-color: var(--g-acc); text-underline-offset: 3px; }
html body main .ck-content a:hover { color: var(--g-acc); }
html body main .ck-content h1, html body main .ck-content h2, html body main .ck-content h3 { color: #fff; }

/* ---- blog header (green banner from the old theme) ------------------------------------------------------------------- */
html body .page-header:not(.breadcrumb-wrap) {
    background: var(--g-s1) !important;
    background-image: none !important;
    border: 1px solid var(--g-line);
    border-inline-start: 4px solid var(--g-acc);
    border-radius: 3px !important;
    padding: 34px 30px;
}

html body .page-header:not(.breadcrumb-wrap) .archive-header, html body .page-header:not(.breadcrumb-wrap) .row { background: transparent !important; border: 0; }
html body .page-header:not(.breadcrumb-wrap) h1, html body .page-header:not(.breadcrumb-wrap) h2 { color: #fff; }

/* ---- 404: the stock picture is a cookie on white; a large outlined number instead ------------------------------------- */
html body .page-404 img { display: none; }
html body .page-404 p.mb-20::before {
    content: "404";
    display: block;
    font-size: 170px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 6px;
    color: transparent;
    -webkit-text-stroke: 2px var(--g-acc);
    text-align: center;
}

html body .page-404 .text-grey-700, html body .page-404 p { color: var(--g-text); }

@media (max-width: 575px) {
    html body .page-404 p.mb-20::before { font-size: 110px; }
    html body .page-header:not(.breadcrumb-wrap) { padding: 22px 18px; }
}
