/* ==========================================================================
   B-Tech design layer: soft depth ("3D"), calm colours, readable cards.
   Colours come from Appearance > Theme options. To go back to the original
   theme look, delete this file (or empty Appearance > Custom CSS).
   Kept light on purpose: no blur filters and no blend modes (they make scrolling heavy).
   ========================================================================== */

@import url("about.css");

:root {
    --bt-navy: #14233b;
    --bt-blue: #2d6cdf;
    --bt-blue-dark: #1f52b8;
    --bt-ice: #f3f6fb;
    --bt-line: #e4eaf4;
    --bt-shadow-sm: 0 1px 2px rgba(16, 35, 69, .06), 0 6px 16px -6px rgba(16, 35, 69, .14);
    --bt-shadow-md: 0 2px 4px rgba(16, 35, 69, .06), 0 16px 32px -12px rgba(16, 35, 69, .22);
    --bt-shadow-lg: 0 4px 8px rgba(16, 35, 69, .07), 0 28px 56px -16px rgba(16, 35, 69, .34);
    --bt-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---- page: a soft, slightly tinted background instead of pure white ---------------- */
body {
    background: radial-gradient(1100px 520px at 90% -80px, #e6efff 0%, rgba(230, 239, 255, 0) 70%), var(--bt-ice);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1440px; }

h1, h2, h3, h4, h5, h6 { letter-spacing: -.2px; }

::selection { background: rgba(45, 108, 223, .22); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(45, 108, 223, .45);
    outline-offset: 2px;
}

/* ---- header: lifted off the page; solid white when it sticks (a blur behind a moving header is slow) --- */
.header-style-1, .header-style-5 {
    background: #fff;
    box-shadow: 0 10px 30px -18px rgba(16, 35, 69, .45);
    position: relative;
    z-index: 30;
}

.sticky-bar.stick {
    background: #fff !important;
    box-shadow: 0 12px 28px -16px rgba(16, 35, 69, .5);
}

.header-top-ptb-1 { border-bottom-color: var(--bt-line); }

.search-style-2 form {
    border: 1px solid var(--bt-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 2px 4px rgba(16, 35, 69, .06);
}

.search-style-2 form:focus-within {
    border-color: var(--bt-blue);
    box-shadow: inset 0 2px 4px rgba(16, 35, 69, .04), 0 0 0 4px rgba(45, 108, 223, .14);
}

/* main menu: always one row. The menu may shrink (font and spacing follow the screen width)
   instead of dropping its last items onto a second line. */
.header-nav { flex: 1 1 auto; min-width: 0; }

.header-nav .main-menu { flex: 1 1 auto; min-width: 0; }

.main-menu > nav > ul { white-space: nowrap; }

.main-menu.main-menu-padding-1 > nav > ul > li { padding: 0 clamp(6px, .75vw, 14px); }

.main-menu > nav > ul > li > a {
    font-size: clamp(13px, 1.05vw, 16px);
    font-weight: 700;
}

/* ---- main menu drop-downs: a long list (7+ entries) opens as a wide panel in columns -----
   instead of one very tall list. The panel hangs under the whole menu bar, centred, so it can
   never run off the side of the screen. Short lists keep the theme's small drop-down. */
.main-menu > nav > ul > li:has(> ul.sub-menu > li:nth-child(7)) { position: static; }

.main-menu > nav > ul > li:has(> ul.sub-menu > li:nth-child(7)) > ul.sub-menu {
    left: 0;
    right: 0;
    width: auto;
    max-width: 1080px;
    margin-inline: auto;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px 18px;
    border: 1px solid var(--bt-line);
    border-radius: 18px;
    box-shadow: var(--bt-shadow-md);
    white-space: normal;
}

.main-menu > nav > ul > li:has(> ul.sub-menu > li:nth-child(7)) > ul.sub-menu > li {
    margin: 0;
    line-height: 1.35;
}

.main-menu > nav > ul > li:has(> ul.sub-menu > li:nth-child(7)) > ul.sub-menu > li > a {
    padding: 11px 14px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--bt-navy);
    transition: background .2s, color .2s;
}

.main-menu > nav > ul > li:has(> ul.sub-menu > li:nth-child(7)) > ul.sub-menu > li > a:hover {
    background: #eef3fb;
    color: var(--color-brand);
}

@media (max-width: 1199px) {
    .main-menu > nav > ul > li:has(> ul.sub-menu > li:nth-child(7)) > ul.sub-menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* the phone number: one line, normal width */
.hotline { min-width: 190px; }

.hotline p { white-space: nowrap; font-size: 22px; }

/* ---- "All categories" drop-down: two even columns, names stay inside their cards ------
   The theme gives every entry a fixed 50px height, so a long name ("stands for laptops, phones and
   tablets") spilled out of its card, and the panel was narrower than its content. */
.categories-dropdown-wrap.categories-dropdown-active-large {
    border: 1px solid var(--bt-line);
    border-radius: 18px;
    box-shadow: var(--bt-shadow-md);
    padding: 20px 14px 10px;
}

.categories-dropdown-wrap .categories-dropdown-inner { min-width: 600px; }

.categories-dropdown-wrap .categories-dropdown-inner > ul { width: 50%; padding: 0 6px; }

.categories-dropdown-wrap ul li,
.categories-dropdown-wrap ul.end li {
    height: auto;
    min-height: 54px;
    line-height: 1.4;
    margin: 0 0 12px;
    padding: 8px 14px;
    border: 1px solid var(--bt-line);
    border-radius: 14px;
    background: #fff;
}

.categories-dropdown-wrap ul li a {
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bt-navy);
}

.categories-dropdown-wrap ul li a img { margin: 0; flex: none; }

.categories-dropdown-wrap .more_categories { padding-bottom: 8px; }

/* ---- section titles: bold, with a short accent bar ---------------------------------- */
.section-title h3, .section-title h4, .section-title .title h3 {
    font-weight: 800;
    color: var(--bt-navy);
}

.section-title .title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 12px 0 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--color-brand), #7ca8ff);
}

.vbp-title-center .section-title .title::after { margin-inline: auto; }

/* ---- product cards: raised, soft, uniform ------------------------------------------- */
.product-cart-wrap {
    background: #fff;
    border: 1px solid var(--bt-line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--bt-shadow-sm);
    transition: transform .3s var(--bt-ease), box-shadow .3s var(--bt-ease), border-color .3s;
}

/* in a grid every card is as tall as the tallest one in its row */
.row > [class*="col-"] > .product-cart-wrap { height: calc(100% - 30px); }

/* product photos have a white background: the picture area is plain white (no blend mode, which is slow) */
.product-cart-wrap .product-img-action-wrap { background: #fff; }

.product-cart-wrap .product-img img { transition: transform .4s var(--bt-ease); }

.product-cart-wrap .product-content-wrap { padding: 10px 18px 20px; }

/* the category line above the name: readable, not a faint grey whisper */
.product-cart-wrap .product-category { margin-bottom: 4px; }

.product-cart-wrap .product-category a {
    color: #5b6b84;
    font-size: 13px;
    font-weight: 600;
}

.product-cart-wrap .product-category a:hover { color: var(--color-brand); }

/* The theme puts "text-truncate" on the name (one line, "..." in the middle of a mixed Hebrew / English name).
   Two clean lines instead, so every card has the same height and the name reads in full. */
.product-cart-wrap .product-content-wrap h2,
.product-cart-wrap .product-content-wrap h2.text-truncate {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    min-height: 43px;
    margin-bottom: 8px;
    white-space: normal;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.product-cart-wrap .product-content-wrap h2 a { color: var(--bt-navy); }

.product-cart-wrap .product-content-wrap h2 a:hover { color: var(--color-brand); }

.product-badges span {
    border-radius: 999px;
    padding: 7px 14px 8px;
    font-weight: 700;
    box-shadow: 0 6px 12px -4px rgba(16, 35, 69, .3);
}

.product-action-1 a.action-btn {
    border-radius: 12px;
    box-shadow: var(--bt-shadow-sm);
}

/* ---- buttons: a little depth, never flat ---------------------------------------------- */
.btn-brand, .btn-fill-out, .button.button-add-to-cart, .product-cart-wrap .add-cart .add {
    background: linear-gradient(180deg, #3b7bef 0%, var(--bt-blue-dark) 100%);
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 20px -8px rgba(45, 108, 223, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: transform .25s var(--bt-ease), box-shadow .25s var(--bt-ease), filter .25s;
}

.btn-brand:hover, .btn-fill-out:hover, .button.button-add-to-cart:hover, .product-cart-wrap .add-cart .add:hover {
    filter: brightness(1.06);
    color: #fff;
}

/* ---- pagination: truly centred, round-cornered, clear current page --------------------
   The theme makes the list "display:inline-block" (so it only is as wide as its numbers and
   sits at the start of the line). It becomes a full-width row that centres its numbers. */
.pagination-area,
.pagination-area.pagination-page {
    margin: 36px 0;
    text-align: center;
}

.pagination-area nav { display: block; width: 100%; }

.pagination-area.pagination-page .pagination,
.pagination-area .pagination {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

.pagination-area.pagination-page .pagination .page-item,
.pagination-area .pagination .page-item {
    display: block;
    margin: 0;
}

.pagination-area .pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    line-height: 1;
    border: 1px solid var(--bt-line);
    border-radius: 12px;
    background: #fff;
    color: var(--bt-navy);
    box-shadow: var(--bt-shadow-sm);
    transition: transform .25s var(--bt-ease), box-shadow .25s var(--bt-ease), background .25s, color .25s;
}

.pagination-area .pagination .page-item.active .page-link,
.pagination-area .pagination .page-item:hover .page-link {
    background: linear-gradient(180deg, #3b7bef 0%, var(--bt-blue-dark) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 20px -8px rgba(45, 108, 223, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
}

/* the arrows of the theme point the English way: flip them for right-to-left */
[dir="rtl"] .pagination-area .page-link i { display: inline-block; transform: scaleX(-1); }

/* ---- category tiles, benefit cards, newsletter ------------------------------------- */
.card-1 {
    background: #fff;
    border: 1px solid var(--bt-line);
    border-radius: 20px;
    box-shadow: var(--bt-shadow-sm);
    transition: transform .3s var(--bt-ease), box-shadow .3s var(--bt-ease);
}

.card-1 img { transition: transform .4s var(--bt-ease); }

.banner-left-icon {
    background: #fff;
    border: 1px solid var(--bt-line);
    border-radius: 16px;
    box-shadow: var(--bt-shadow-sm);
    transition: transform .3s var(--bt-ease), box-shadow .3s var(--bt-ease);
}

/* benefit strip: the theme sizes each card as 1/5 of the row ("col-lg-1-5") but the store has 4, so the
   row ended short on one side. The cards now share the whole row evenly, whatever their number, and a
   lone card on a narrow screen sits in the middle. */
.row:has(> [class*="col-lg-1-5"]) { justify-content: center; }

.row:has(> [class*="col-lg-1-5"]) > [class*="col-lg-1-5"] { display: flex; }

.row:has(> [class*="col-lg-1-5"]) .banner-left-icon {
    width: 100%;
    height: 100%;
    padding: 18px 20px;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .row:has(> [class*="col-lg-1-5"]) > [class*="col-lg-1-5"] {
        flex: 1 1 0;
        width: auto;
        max-width: none;
    }
}

/* newsletter: a calm navy panel, everything centred (the theme's grocery photo is not used) */
.newsletter .newsletter-inner {
    background: linear-gradient(135deg, #14233b 0%, #1f52b8 100%) !important;
    border-radius: 24px;
    box-shadow: var(--bt-shadow-md);
    min-height: 0;
    padding: 60px 48px;
    text-align: center;
}

.newsletter .newsletter-inner > img { display: none; }

.newsletter .newsletter-content { width: 100%; max-width: 680px; margin: 0 auto; }

.newsletter .newsletter-content h2 { color: #fff; font-weight: 800; }

.newsletter .newsletter-content p { color: rgba(255, 255, 255, .82); }

.newsletter .newsletter-content p span { color: #9cc1ff; }

/* the theme limits the form to 450px and leaves it at the start of the line: centre it */
.newsletter .newsletter-inner .newsletter-content .form-subscribe {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    margin-bottom: 0;
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5);
}

.hero-slider-1 img { border-radius: 22px; }

/* ---- footer --------------------------------------------------------------------------- */
.footer-mid {
    background: linear-gradient(180deg, #fff 0%, #eaf0fa 100%);
    border-top: 1px solid var(--bt-line);
}

/* ---- my product sliders: room above and below so the lift and shadow are not cut off -- */
.vbp-slider .vbp-track { padding: 18px 4px 38px; margin-top: -18px; }

/* ---- hover movement only where there is a real mouse (not on phones) ------------------ */
@media (hover: hover) and (pointer: fine) {
    .product-cart-wrap:hover {
        transform: translateY(-6px);
        box-shadow: var(--bt-shadow-md);
        border-color: #cfdcf2;
    }

    .product-cart-wrap:hover .product-img img { transform: scale(1.05); }

    .card-1:hover { transform: translateY(-5px); box-shadow: var(--bt-shadow-md); }

    .card-1:hover img { transform: scale(1.05); }

    .banner-left-icon:hover { transform: translateY(-4px); box-shadow: var(--bt-shadow-md); }

    .btn-brand:hover, .btn-fill-out:hover, .button.button-add-to-cart:hover, .product-cart-wrap .add-cart .add:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 26px -10px rgba(45, 108, 223, .7), inset 0 1px 0 rgba(255, 255, 255, .4);
    }

    .pagination-area .pagination .page-item:hover .page-link { transform: translateY(-2px); }

    .categories-dropdown-wrap ul li:hover { transform: translateY(-2px); box-shadow: var(--bt-shadow-sm); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
