/* =========================================================================
   Sprinter theme layer, loaded after style.css.
   Premium automotive look: black chrome, white canvas, grey surfaces,
   one blue accent, serif display headings over a clean sans text face,
   pill-shaped controls.
   ========================================================================= */

:root {
    --sp-black: #000000;
    --sp-surface-dark: #141414;
    --sp-line-dark: #2b2b2b;
    --sp-ink: #333333;
    --sp-grey-700: #4f4f4f;
    --sp-grey-600: #696969;
    --sp-grey-400: #9f9f9f;
    --sp-grey-300: #bbbbbb;
    --sp-grey-200: #e8e8e8;
    --sp-grey-100: #f8f8f8;
    --sp-white: #ffffff;
    --sp-blue: #0078d6;
    --sp-blue-hover: #0088f5;
    --sp-green: #198025;

    --sp-font-text: 'Inter', Arial, Helvetica, sans-serif;
    --sp-font-title: 'Noto Serif Display', Georgia, 'Times New Roman', serif;

    --sp-radius-pill: 9999px;
    --sp-radius: 4px;
}

/* ---------- Base typography ---------- */
html, body {
    background: var(--sp-white);
}
body {
    font-family: var(--sp-font-text);
    color: var(--sp-ink);
    letter-spacing: .2px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, .h1, .h2, .h3,
.top_sales_title, .product-big-title-area h2, .section-title {
    font-family: var(--sp-font-title);
    font-weight: 400;
    color: var(--sp-black);
    letter-spacing: 0;
}
a { color: var(--sp-blue); }
a:hover, a:focus { color: var(--sp-blue-hover); }

/* ---------- Wordmark ---------- */
.sp-wordmark,
.sp-wordmark:hover,
.sp-wordmark:focus {
    display: inline-block;
    font-family: var(--sp-font-title);
    font-weight: 400;
    font-size: 26px;
    line-height: 1;
    letter-spacing: .24em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--sp-white);
    text-decoration: none;
}
.sp-wordmark--dark,
.sp-wordmark--dark:hover,
.sp-wordmark--dark:focus { color: var(--sp-black); }

/* ---------- Top bar ---------- */
.top-header {
    background: var(--sp-black);
    box-shadow: none;
    border-bottom: 1px solid var(--sp-line-dark);
}
.top-header__nav a,
.top-header__info a {
    color: var(--sp-grey-400);
    font-size: 12px;
}
.top-header__nav a:hover,
.top-header__info a:hover { color: var(--sp-white); text-decoration: none; }
.top-header__nav a:not(:last-child):after,
.top-header__logout:before,
.top-header-bookmarks:before { background-color: var(--sp-grey-700); }
.top-header__login:before {
    content: "";
    display: block;
    width: .7px;
    height: 11px;
    background-color: var(--sp-grey-700);
    margin-right: 10px;
}
.top-header__phones a:before,
.top-header-bookmarks__ico:before { filter: brightness(0) invert(.72); }
.top-header-bookmarks__btn:hover .top-header-bookmarks__ico:before,
.top-header__phones a:hover:before { filter: brightness(0) invert(1); }

/* ---------- Main header ---------- */
.main-header {
    background: var(--sp-black);
    box-shadow: none;
}
.main-header__row { padding: 14px 0; }
.main-header__logo {
    width: auto;
    margin-right: 36px;
}
.main-header__currency-item { color: var(--sp-grey-300); font-size: 13px; }
.main-header__currency-item a,
.main-header__currency-item a.currency-eur {
    color: var(--sp-grey-300) !important;
    border: 1px solid var(--sp-grey-700);
    border-radius: var(--sp-radius-pill);
}

.main-header__search #search_input {
    height: 44px;
    border-radius: var(--sp-radius-pill);
    box-shadow: none;
    padding-left: 22px;
    font-size: 15px;
    color: var(--sp-ink);
}
.main-header__search #search_form #button_search {
    height: 44px;
    width: 64px;
    border-radius: 0 var(--sp-radius-pill) var(--sp-radius-pill) 0;
    box-shadow: none;
    background-color: var(--sp-blue);
}
.main-header__search #search_form #button_search:hover,
.main-header__search #search_form #button_search:active {
    background-color: var(--sp-blue-hover);
    background-image: url(./img/search-ico-white.svg);
}

.main-header__user-id {
    background: var(--sp-blue);
    border-color: var(--sp-blue);
    box-shadow: none;
    border-radius: var(--sp-radius-pill) var(--sp-radius-pill) 0 0;
}
.main-header__user-balance {
    background: var(--sp-surface-dark);
    color: var(--sp-grey-300);
    border-radius: 0 0 var(--sp-radius-pill) var(--sp-radius-pill);
}
.main-header__user-balance:hover { background: var(--sp-line-dark); color: var(--sp-white); }

.main-header__cart #button-cart {
    background: transparent;
    border: 1px solid var(--sp-grey-700);
    border-radius: var(--sp-radius-pill);
    color: var(--sp-white);
    min-height: 44px;
    padding: 10px 18px 10px 60px;
    overflow: hidden;
}
.main-header__cart #button-cart:hover { border-color: var(--sp-grey-400); color: var(--sp-white); }
.main-header__cart #button-cart:before {
    height: 100%;
    top: 0;
    border-radius: var(--sp-radius-pill);
    border: none;
    background-color: var(--sp-blue);
}
.main-header__cart #button-cart:hover:before,
.main-header__cart #button-cart:active:before {
    background-color: var(--sp-blue-hover);
    background-image: url(./img/cart-ico-white.svg);
}
.main-header__cart .main-header__cart-amount { color: var(--sp-white); font-weight: 600; }

/* ---------- Main navigation ---------- */
@media (min-width: 768px) {
    /* below 768px .header-nav is the transparent slide-out menu layer; leave it alone */
    .header-nav {
        background: var(--sp-white);
        color: var(--sp-ink);
        box-shadow: none;
        border-bottom: 1px solid var(--sp-grey-200);
    }
}
.header-nav__list > li > a {
    color: var(--sp-ink);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 20px 11px;
}
.header-nav__list > li > a:hover,
.header-nav__list > li > a:focus { color: var(--sp-black); }
.header-nav-line { background: var(--sp-blue); height: 2px; }
.header-nav__list > li > ul {
    border: 1px solid var(--sp-grey-200);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .08));
}
.header-nav__list > li > ul a:hover {
    background-color: var(--sp-grey-100);
    color: var(--sp-black);
}

/* ---------- Mobile header ---------- */
.mobile-header {
    background: var(--sp-black);
    box-shadow: none;
}
.mobile-header .sp-wordmark { font-size: 20px; }
.mobile-header__search .input-text {
    border-radius: var(--sp-radius-pill);
}

/* ---------- Buttons ---------- */
.sp-btn,
.btn-primary,
.btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--sp-radius-pill);
    font-family: var(--sp-font-text);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .2px;
    padding: 11px 23px;
    border: 1px solid transparent;
    transition: background-color .2s, border-color .2s, color .2s;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
}
.sp-btn--primary,
.btn-primary,
.btn-success {
    background-color: var(--sp-blue);
    border-color: var(--sp-blue);
    color: var(--sp-white);
}
.sp-btn--primary:hover,
.btn-primary:hover, .btn-primary:focus,
.btn-success:hover, .btn-success:focus {
    background-color: var(--sp-blue-hover);
    border-color: var(--sp-blue-hover);
    color: var(--sp-white);
}
.sp-btn--ghost {
    background: transparent;
    border-color: var(--sp-grey-600);
    color: var(--sp-white);
}
.sp-btn--ghost:hover,
.sp-btn--ghost:focus {
    border-color: var(--sp-white);
    color: var(--sp-white);
}

/* ---------- Home hero ---------- */
.sp-hero {
    background: radial-gradient(120% 140% at 85% 0%, #2a2a2a 0%, #0b0b0b 45%, #000 70%);
    color: var(--sp-white);
    margin: 0 0 48px;
    padding: 96px 0 88px;
}
.header-nav + .mobile-header + .content-wrap .sp-hero,
.content-wrap > .sp-hero:first-child { margin-top: -30px; }
.sp-hero__content { max-width: 720px; }
.sp-hero__eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--sp-grey-400);
    margin: 0 0 20px;
}
.sp-hero__title {
    font-family: var(--sp-font-title);
    font-weight: 400;
    font-size: 64px;
    line-height: 72px;
    color: var(--sp-white);
    margin: 0;
}
.sp-hero__text {
    font-size: 18px;
    line-height: 28px;
    color: var(--sp-grey-300);
    max-width: 560px;
    margin: 28px 0 36px;
}
.sp-hero__search {
    display: flex;
    align-items: center;
    max-width: 640px;
    background: var(--sp-white);
    border-radius: var(--sp-radius-pill);
    padding: 6px;
}
.sp-hero__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 18px;
    font-size: 16px;
    color: var(--sp-ink);
}
.sp-hero__search .sp-btn { flex-shrink: 0; }
.sp-hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* ---------- Product blocks ---------- */
.top_sales_title {
    font-size: 34px;
    line-height: 44px;
}
.top_sales_item {
    border-radius: var(--sp-radius);
    border-color: var(--sp-grey-200);
}
.top_sales_item_price,
.product-price { color: var(--sp-black); }

/* ---------- Forms ---------- */
.form-control:focus {
    border-color: var(--sp-blue);
    box-shadow: 0 0 0 3px rgba(0, 120, 214, .15);
}

/* ---------- Login / password pages ---------- */
.login-section {
    background-image: none;
    background-color: var(--sp-white);
}
.login-section-logo { line-height: 1; margin-bottom: 24px; }
.login-section-logo .sp-wordmark { font-size: 40px; }

/* ---------- Footer ---------- */
.footer-bottom-area {
    background: var(--sp-black);
    color: var(--sp-grey-400);
    border-top: 0;
    padding: 32px 0;
}
.footer-bottom-area a { color: var(--sp-grey-300); }
.footer-bottom-area a:hover { color: var(--sp-white); }
.copyrignt-text {
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--sp-grey-400);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .sp-hero { padding: 72px 0 64px; }
    .sp-hero__title { font-size: 48px; line-height: 56px; }
}
@media (max-width: 768px) {
    .sp-hero { padding: 48px 0 44px; margin-bottom: 32px; }
    .sp-hero__title { font-size: 34px; line-height: 42px; }
    .sp-hero__text { font-size: 16px; line-height: 24px; margin: 18px 0 24px; }
    .sp-hero__input { height: 44px; font-size: 15px; padding: 0 12px; }
    .sp-hero__search .sp-btn { padding: 10px 18px; font-size: 15px; }
    .login-section-logo .sp-wordmark { font-size: 30px; }
}

/* style.css uppercases every submit button; the new look keeps sentence case */
input[type="submit"],
button[type="submit"],
.sp-hero__search .sp-btn { text-transform: none; }

/* Login / password form: light field with a fine underline, pill submit */
.login-section-field .form-control {
    background: var(--sp-grey-100);
    border: 0;
    border-bottom: 1px solid var(--sp-grey-600);
    border-radius: var(--sp-radius) var(--sp-radius) 0 0;
    box-shadow: none;
    color: var(--sp-ink);
}
.login-section-field .form-control:focus {
    border-bottom: 2px solid var(--sp-blue);
    box-shadow: none;
}
.login-section-submit {
    border-radius: var(--sp-radius-pill);
    background: var(--sp-blue);
    border-color: var(--sp-blue);
    font-weight: 700;
    letter-spacing: .2px;
}
.login-section-submit:hover,
.login-section-submit:focus { background: var(--sp-blue-hover); border-color: var(--sp-blue-hover); }
.login-forgot-link { color: var(--sp-grey-600); }
.login-forgot-link:hover { color: var(--sp-black); }

/* Hero search field: no inherited input chrome */
.sp-hero__search .sp-hero__input,
.sp-hero__search .sp-hero__input:focus {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: var(--sp-radius-pill);
    background: transparent;
}

/* Mobile header: outlined round controls on black instead of blue tiles */
@media (max-width: 767px) {
    .mobile-header__burger,
    .mobile-header__cart {
        background-color: transparent !important;
        border: 1px solid var(--sp-grey-700) !important;
        border-radius: var(--sp-radius-pill) !important;
        box-shadow: none !important;
    }
    .mobile-header__search .input-text,
    .mobile-header__search input[type="text"] {
        border-radius: var(--sp-radius-pill) 0 0 var(--sp-radius-pill) !important;
        box-shadow: none !important;
    }
    .mobile-header__search input[type="submit"],
    .mobile-header__search .button {
        border-radius: 0 var(--sp-radius-pill) var(--sp-radius-pill) 0 !important;
        background-color: var(--sp-blue) !important;
        box-shadow: none !important;
    }
}

/* Mobile slide-out menu */
@media (max-width: 767px) {
    .mobile-top-panel__block { background: var(--sp-black); }
    .mobile-currency { border-radius: var(--sp-radius-pill); }
    .header-nav__list { background: var(--sp-grey-100); }
    .mobile-menu-links__item { color: var(--sp-ink); }
}

/* Registration page */
.sp-registration-title { background: var(--sp-grey-100); padding: 40px 0 32px; margin-bottom: 32px; }
.sp-registration-title h2 { font-size: 40px; line-height: 48px; margin: 0; }
.sp-registration { padding-bottom: 56px; }
.sp-registration label { font-weight: 500; font-size: 14px; color: var(--sp-ink); }
.sp-registration .form-control {
    height: 44px;
    background: var(--sp-grey-100);
    border: 0;
    border-bottom: 1px solid var(--sp-grey-600);
    border-radius: var(--sp-radius) var(--sp-radius) 0 0;
    box-shadow: none;
}
.sp-registration .form-control:focus { border-bottom: 2px solid var(--sp-blue); box-shadow: none; }
.sp-registration label img { display: block; margin: 8px 0 4px; border-radius: var(--sp-radius); }
.sp-registration__login { clear: both; padding-top: 16px; text-align: right; color: var(--sp-grey-600); }
.login-register { text-align: center; margin-top: 18px; color: var(--sp-grey-600); font-size: 14px; }
.login-register a { font-weight: 600; }
@media (min-width: 768px) {
    .sp-registration-title { margin-top: -30px; }
}
