/* Theme 2 refresh: section heads, product cards, flash deals, services, banners, brands.
   Everything is scoped to .body_theme2 and uses t2- classes so color.php's !important rules don't apply. */

.body_theme2 {
    --t2-brand: #112BB1; /* overridden inline from the admin's primary color */
    --t2-ink: #0E1433;
    --t2-ground: #F2F4FA;
    --t2-surface: #FFFFFF;
    --t2-well: #F5F7FC;
    --t2-line: #E2E6F1;
    --t2-muted: #5E6684;
    --t2-volt: #FFD23F;
    --t2-star: #F5A524;
    --t2-alert: #C4262E;
    --t2-display: "Archivo", "Open Sans", system-ui, sans-serif;
    background: var(--t2-ground);
}

/* ---------- Header: top bar ----------
   color.php paints this bar and its hover states with !important, so the overrides here need it too. */

.body_theme2 .menu-top-area {
    padding: 8px 0;
    background: var(--t2-ink) !important;
}

.body_theme2 .menu-top-area .track-order-link,
.body_theme2 .menu-top-area .t-h-dropdown .main-link {
    color: rgba(255, 255, 255, .82) !important;
    font-size: 13px;
    font-weight: 500;
}

.body_theme2 .menu-top-area .track-order-link:hover,
.body_theme2 .menu-top-area .t-h-dropdown .main-link:hover { color: #fff !important; }

.body_theme2 .menu-top-area .track-order-link i {
    top: 1px;
    right: 0;
    margin-right: 6px;
    color: var(--t2-volt);
}

.body_theme2 .menu-top-area .t2-topbar-phone { margin-left: 22px; }
.body_theme2 .menu-top-area .t-h-dropdown { margin-right: 20px; }

.body_theme2 .menu-top-area .login-register {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, .18);
}

/* ---------- Header: dropdown menus (currency, account, pages) ---------- */

.body_theme2 .t-h-dropdown .t-h-dropdown-menu {
    top: calc(100% + 10px);
    padding: 6px;
    border: 1px solid var(--t2-line);
    border-radius: 12px;
    box-shadow: 0 18px 40px -18px rgba(14, 20, 51, .35);
    z-index: 1001;
}

/* Invisible bridge so the menu stays open while the pointer crosses the gap. */
.body_theme2 .t-h-dropdown .t-h-dropdown-menu::before {
    position: absolute;
    top: -12px;
    right: 0;
    left: 0;
    height: 12px;
    content: "";
}

.body_theme2 .t-h-dropdown .t-h-dropdown-menu a,
.body_theme2 .menu-top-area .t-h-dropdown .t-h-dropdown-menu a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--t2-ink);
    font-size: 14px;
    line-height: 1.4;
}

.body_theme2 .t-h-dropdown .t-h-dropdown-menu a:hover,
.body_theme2 .t-h-dropdown .t-h-dropdown-menu a.active {
    background: color-mix(in srgb, var(--t2-brand) 8%, #fff);
    color: var(--t2-brand) !important;
}

.body_theme2 .t-h-dropdown .t-h-dropdown-menu a i { display: none; }

/* ---------- Header: logo, search, toolbar ---------- */

.body_theme2 .site-header .topbar {
    border-bottom: 1px solid var(--t2-line);
    background: #fff;
}

.body_theme2 .navbar-stuck .topbar {
    border-radius: 0;
    box-shadow: 0 10px 30px -18px rgba(14, 20, 51, .4);
}

.body_theme2 .site-header .toolbar .toolbar-item > a > div > .compare-icon > .count-label,
.body_theme2 .site-header .toolbar .toolbar-item > a > div > .cart-icon > .count-label {
    top: -8px;
    right: -12px;
    width: 20px;
    height: 20px;
    border: 2px solid #fff !important;
    background-color: var(--t2-volt) !important;
    color: var(--t2-ink) !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

@media (min-width: 992px) {
    .body_theme2 .site-header .search-box-wrap { padding: 18px 40px; }

    .body_theme2 .topbar .search-box {
        height: 50px;
        border: 1.5px solid var(--t2-line);
        border-radius: 14px;
        background: var(--t2-ground);
        transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
    }

    .body_theme2 .topbar .search-box:focus-within {
        border-color: var(--t2-brand);
        background: #fff;
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--t2-brand) 12%, transparent);
    }

    .body_theme2 .topbar .search-box select {
        flex: 0 0 150px;
        width: 150px;
        height: 100%;
        padding: 0 32px 0 16px;
        border: 0;
        border-right: 1px solid var(--t2-line);
        border-radius: 14px 0 0 14px;
        background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230E1433' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
        color: var(--t2-ink);
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
    }

    .body_theme2 .topbar .search-box .input-group { height: 100%; }

    .body_theme2 .topbar .search-box .form-control {
        height: 100%;
        padding: 0 60px 0 18px;
        border: 0;
        border-radius: 0 14px 14px 0;
        background: transparent;
        box-shadow: none;
        color: var(--t2-ink);
        font-size: 14.5px;
    }

    .body_theme2 .topbar .search-box .input-group-btn {
        position: absolute;
        top: 50%;
        right: 5px;
        z-index: 4;
        transform: translateY(-50%);
    }

    .body_theme2 .topbar .search-box .input-group-btn button {
        position: static;
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 0;
        border-radius: 10px;
        background: var(--t2-brand);
        color: #fff;
        font-size: 17px;
        cursor: pointer;
    }

    .body_theme2 .topbar .search-box .input-group-btn button:hover { filter: brightness(1.12); }

    .body_theme2 .site-header .search-box-wrap .input-group .serch-result {
        top: calc(100% + 8px);
        border: 1px solid var(--t2-line);
        border-radius: 14px;
        box-shadow: 0 24px 48px -24px rgba(14, 20, 51, .4);
    }

    .body_theme2 .site-header .toolbar .toolbar-item {
        width: 78px;
        margin-left: 4px;
    }

    .body_theme2 .site-header .toolbar .toolbar-item > a {
        border-radius: 12px;
        color: var(--t2-ink);
        transition: background-color .15s ease;
    }

    .body_theme2 .site-header .toolbar .toolbar-item > a:hover { background: var(--t2-ground); }
    .body_theme2 .site-header .toolbar .toolbar-item > a > div i { font-size: 22px; margin-bottom: 4px; }

    .body_theme2 .site-header .toolbar .toolbar-item > a > div > .text-label {
        color: var(--t2-muted);
        font-size: 12px;
        font-weight: 600;
    }

    .body_theme2 .site-header .toolbar .toolbar-dropdown {
        overflow: hidden;
        border: 1px solid var(--t2-line);
        border-radius: 14px;
        box-shadow: 0 24px 48px -24px rgba(14, 20, 51, .4);
    }
}

/* ---------- Header: category button, category menu, main menu ---------- */

.body_theme2 .site-header .navbar {
    background: #fff;
    box-shadow: 0 1px 0 var(--t2-line);
}

@media (min-width: 992px) {
    .body_theme2 .left-category-area {
        background: transparent;
        border-radius: 12px;
    }

    .body_theme2 .left-category-area .category-header { padding: 7px 0; }

    .body_theme2 .left-category-area .category-header h4 {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 46px;
        padding: 0 16px;
        border-radius: 12px;
        background: var(--t2-brand);
        color: #fff;
        font-family: var(--t2-display);
        font-stretch: 112%;
        font-size: 15.5px;
        font-weight: 700;
        user-select: none;
        transition: filter .15s ease;
    }

    .body_theme2 .left-category-area .category-header h4:hover { filter: brightness(1.12); }

    .body_theme2 .left-category-area .category-header h4 i {
        top: 0;
        margin: 0;
        font-size: 18px;
    }

    .body_theme2 .left-category-area .category-header h4::after {
        margin-left: auto;
        content: "\e92e";
        font-family: feather;
        font-size: 16px;
        font-weight: 400;
        transition: transform .2s ease;
    }

    .body_theme2 .left-category-area:has(.category-list.active) .category-header h4::after { transform: rotate(180deg); }

    .body_theme2 .left-category-area .category-list {
        z-index: 50;
        margin-top: 4px;
        padding: 8px;
        border: 1px solid var(--t2-line);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 28px 56px -24px rgba(14, 20, 51, .45);
        transform: translateY(6px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }

    .body_theme2 .left-category-area .category-list.active { transform: none; }

    .body_theme2 .left-category-area .category-list .c-item { border-bottom: 0; }

    /* The links carry Bootstrap's .d-block (display:block !important), so flex needs !important. */
    .body_theme2 .left-category-area .category-list .navi-link {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 7px 10px;
        border-radius: 10px;
        transition: background-color .15s ease;
    }

    .body_theme2 .left-category-area .category-list .c-item:hover > .navi-link,
    .body_theme2 .left-category-area .category-list .navi-link:hover {
        background: color-mix(in srgb, var(--t2-brand) 7%, #fff);
    }

    .body_theme2 .left-category-area .category-list .navi-link img {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        padding: 5px;
        border-radius: 10px;
        background: var(--t2-well);
        object-fit: contain;
    }

    .body_theme2 .left-category-area .category-list .navi-link:hover img { transform: none; }

    .body_theme2 .left-category-area .category-list .navi-link span.text-gray-dark {
        flex: 1;
        padding-left: 0;
        color: var(--t2-ink) !important;
        font-size: 14.5px;
        font-weight: 500;
    }

    .body_theme2 .left-category-area .category-list .c-item:hover > .navi-link span.text-gray-dark,
    .body_theme2 .left-category-area .category-list .navi-link:hover span.text-gray-dark { color: var(--t2-brand) !important; }

    .body_theme2 .left-category-area .category-list .navi-link i {
        position: static;
        float: none;
        margin-left: auto;
        color: var(--t2-muted);
        font-size: 15px;
        transition: transform .15s ease, color .15s ease;
    }

    .body_theme2 .left-category-area .category-list .c-item:hover > .navi-link i {
        color: var(--t2-brand);
        transform: translateX(2px);
    }

    .body_theme2 .left-category-area .category-list .view-all-category {
        margin: 6px -8px -8px;
        padding: 12px 18px;
        border-top: 1px solid var(--t2-line);
        border-radius: 0 0 16px 16px;
        background: var(--t2-well);
    }

    .body_theme2 .left-category-area .category-list .view-all-category:hover { background: color-mix(in srgb, var(--t2-brand) 7%, #fff); }
    .body_theme2 .left-category-area .category-list .view-all-category img { background: #fff; }

    .body_theme2 .left-category-area .category-list .view-all-category span.text-gray-dark {
        color: var(--t2-brand) !important;
        font-weight: 700;
    }

    .body_theme2 .left-category-area .category-list .sub-c-box,
    .body_theme2 .left-category-area .category-list .sub-c-box .child-c-box .child-category {
        width: 260px;
        padding: 8px;
        border: 1px solid var(--t2-line);
        border-radius: 16px;
        box-shadow: 0 28px 56px -24px rgba(14, 20, 51, .45);
    }

    .body_theme2 .left-category-area .category-list .sub-c-box .child-c-box { border-bottom: 0; }

    .body_theme2 .left-category-area .category-list .sub-c-box .title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 9px 12px;
        border-radius: 10px;
        color: var(--t2-ink);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
    }

    .body_theme2 .left-category-area .category-list .sub-c-box .title i {
        float: none;
        top: 0;
        color: var(--t2-muted);
    }

    .body_theme2 .left-category-area .category-list .sub-c-box .child-category a {
        padding: 8px 12px;
        border-bottom: 0;
        border-radius: 8px;
        color: var(--t2-muted);
        font-size: 14px;
        line-height: 1.4;
    }

    .body_theme2 .left-category-area .category-list .sub-c-box .title:hover,
    .body_theme2 .left-category-area .category-list .sub-c-box .child-category a:hover {
        background: color-mix(in srgb, var(--t2-brand) 7%, #fff);
        color: var(--t2-brand) !important;
    }

    .body_theme2 .site-header .site-menu > ul > li > a {
        padding: 19px 14px;
        border: 0;
        color: var(--t2-ink);
        font-size: 15px;
        font-weight: 600;
    }

    .body_theme2 .site-header .site-menu > ul > li > a::after {
        position: absolute;
        right: 14px;
        bottom: 0;
        left: 14px;
        display: block;
        height: 3px;
        border-radius: 3px 3px 0 0;
        background: var(--t2-brand);
        content: "";
        transform: scaleX(0);
        transition: transform .2s ease;
    }

    .body_theme2 .site-header .site-menu > ul > li.active > a::after,
    .body_theme2 .site-header .site-menu > ul > li:hover > a::after { transform: scaleX(1); }

    .body_theme2 .site-header .site-menu > ul > li > a .icon-chevron-down { font-size: 13px; }

    .body_theme2 .t2-free-ship {
        align-items: center;
        align-self: center;
        gap: 8px;
        margin-left: auto;
        padding: 8px 14px;
        border-radius: 999px;
        background: color-mix(in srgb, var(--t2-volt) 24%, #fff);
        color: var(--t2-ink);
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }

    .body_theme2 .t2-free-ship i { font-size: 16px; }
}

/* ---------- Section heads ---------- */

.t2-section { margin-top: 56px; }

.t2-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px 16px;
    margin-bottom: 20px;
}

.t2-head__title {
    margin: 0;
    font-family: var(--t2-display);
    font-stretch: 125%;
    font-weight: 800;
    font-size: clamp(1.375rem, 1.05rem + 1vw, 1.875rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--t2-ink);
}

.t2-head__link {
    padding: 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--t2-brand);
    text-decoration: none;
    white-space: nowrap;
}

.t2-head__link:hover {
    color: var(--t2-brand);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ---------- Carousels: equal-height cards, room for hover shadow ---------- */

.body_theme2 .t2-slider .owl-stage-outer {
    padding: 6px 6px 22px;
    margin: -6px -6px -22px;
}

.body_theme2 .t2-slider .owl-stage { display: flex; }
.body_theme2 .t2-slider .owl-item { display: flex; }
.body_theme2 .t2-slider .slider-item { display: flex; width: 100%; }

/* ---------- Product card ---------- */

.t2-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    background: var(--t2-surface);
    border: 1px solid var(--t2-line);
    border-radius: 16px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.t2-card:hover {
    border-color: color-mix(in srgb, var(--t2-brand) 30%, var(--t2-line));
    box-shadow: 0 16px 30px -20px color-mix(in srgb, var(--t2-brand) 60%, transparent);
    transform: translateY(-3px);
}

.t2-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: var(--t2-well);
}

.t2-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12%;
}

.body_theme2 .t2-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .35s ease;
}

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

.t2-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.t2-badge {
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--t2-volt);
    color: var(--t2-ink);
    font-family: var(--t2-display);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.t2-badge--muted {
    background: var(--t2-ink);
    color: #fff;
    font-family: inherit;
    font-weight: 600;
}

.t2-badge--muted::first-letter { text-transform: uppercase; }

.t2-card__quick {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .2s ease, transform .2s ease;
}

.t2-card:hover .t2-card__quick,
.t2-card:focus-within .t2-card__quick {
    opacity: 1;
    transform: none;
}

.t2-icon-btn {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--t2-ink);
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(14, 20, 51, .12);
    transition: background .15s ease, color .15s ease;
}

.t2-icon-btn:hover {
    background: var(--t2-brand);
    color: #fff;
}

.t2-card__stock {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff;
    color: var(--t2-alert);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1;
}

.t2-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 12px 4px 2px;
}

.t2-card__category {
    margin-bottom: 4px;
    overflow: hidden;
    color: var(--t2-muted);
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.t2-card__category:hover { color: var(--t2-brand); }

.body_theme2 .t2-card__title {
    display: -webkit-box;
    min-height: calc(1.35em * 2);
    margin: 0 0 6px;
    overflow: hidden;
    font-family: "Open Sans", sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.t2-card__title a {
    color: var(--t2-ink);
    text-decoration: none;
}

.t2-card__title a:hover { color: var(--t2-brand); }

.t2-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: var(--t2-muted);
    font-size: 12px;
    line-height: 1;
}

.t2-stars {
    font-size: 13px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--t2-star) var(--rating), #D3D8E6 var(--rating));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.t2-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    margin-top: auto;
    margin-bottom: 12px;
}

.t2-card__now {
    color: var(--t2-ink);
    font-family: var(--t2-display);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.t2-card__was {
    color: var(--t2-muted);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

.t2-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: color-mix(in srgb, var(--t2-brand) 9%, #fff);
    color: var(--t2-brand);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.t2-card__cta:hover,
.t2-card:hover .t2-card__cta {
    background: var(--t2-brand);
    color: #fff;
}

.t2-card__cta--ghost,
.t2-card:hover .t2-card__cta--ghost {
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--t2-line);
    color: var(--t2-ink);
}

.t2-card--soldout .t2-card__image img { opacity: .55; }

.t2-card a:focus-visible,
.t2-card button:focus-visible,
.t2-head__link:focus-visible {
    outline: 2px solid var(--t2-brand);
    outline-offset: 2px;
}

/* ---------- Flash deals: the one loud panel on the page ---------- */

.t2-deals { margin-top: 48px; }

.t2-deals__panel {
    padding: 28px 28px 30px;
    border-radius: 24px;
    background: color-mix(in srgb, var(--t2-brand) 58%, #040826);
}

.t2-deals .t2-head__title { color: #fff; }

.t2-deals__note {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.t2-card--deal {
    flex-direction: row;
    gap: 18px;
    padding: 12px;
    border-color: transparent;
}

.t2-card--deal:hover {
    border-color: transparent;
    box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .7);
}

.t2-card--deal .t2-card__media {
    flex: 0 0 44%;
    aspect-ratio: auto;
    min-height: 250px;
}

.t2-card--deal .t2-card__body { padding: 6px 4px 4px 0; }
.body_theme2 .t2-card--deal .t2-card__title { font-size: 16px; }
.t2-card--deal .t2-card__price { margin-top: 0; }
.t2-card--deal .t2-card__now { font-size: 22px; }

.t2-card__ends {
    margin: auto 0 6px;
    color: var(--t2-muted);
    font-size: 12px;
}

.t2-countdown {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.t2-countdown span {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 8px 0 7px;
    border-radius: 10px;
    background: var(--t2-ink);
    color: var(--t2-volt);
    font-family: var(--t2-display);
    font-size: 18px;
    font-weight: 750;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.t2-countdown small {
    margin-top: 4px;
    color: rgba(255, 255, 255, .7);
    font-family: "Open Sans", sans-serif;
    font-size: 10.5px;
    font-weight: 500;
}

/* ---------- Service strip ---------- */

.t2-services { margin-top: 28px; }

.t2-services__bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
    border: 1px solid var(--t2-line);
    border-radius: 16px;
    background: var(--t2-line);
}

.t2-services__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--t2-surface);
}

.t2-services__icon {
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    height: 48px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--t2-brand) 8%, #fff);
}

.t2-services__icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.body_theme2 .t2-services__title {
    margin: 0 0 3px;
    color: var(--t2-ink);
    font-size: 14px;
    font-weight: 700;
}

.t2-services__text {
    margin: 0;
    color: var(--t2-muted);
    font-size: 12.5px;
    line-height: 1.4;
}

/* ---------- Banners & brands ---------- */

.body_theme2 .t2-banners .genius-banner {
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
}

.body_theme2 .t2-banners .genius-banner img { transition: transform .45s ease; }
.body_theme2 .t2-banners .genius-banner:hover img { transform: scale(1.03); }

.body_theme2 .t2-brands .brand-slider .slider-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    padding: 16px;
    border: 1px solid var(--t2-line);
    border-radius: 14px;
    background: var(--t2-surface);
}

.body_theme2 .t2-brands .owl-carousel .owl-item img {
    width: auto;
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .7;
    transition: filter .2s ease, opacity .2s ease;
}

.body_theme2 .t2-brands .brand-slider a:hover img {
    filter: none;
    opacity: 1;
}

/* ---------- Carousel arrows ---------- */

.body_theme2 .t2-slider .owl-nav > div,
.body_theme2 .t2-brands .owl-nav > div {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border-radius: 50%;
    background: #fff;
    color: var(--t2-ink);
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(14, 20, 51, .16);
}

.body_theme2 .t2-slider .owl-nav .owl-prev,
.body_theme2 .t2-brands .owl-nav .owl-prev { left: -20px; right: auto; }

.body_theme2 .t2-slider .owl-nav .owl-next,
.body_theme2 .t2-brands .owl-nav .owl-next { right: -20px; left: auto; }

.body_theme2 .t2-slider .owl-nav > div:hover,
.body_theme2 .t2-brands .owl-nav > div:hover { color: #fff; }

.body_theme2 .t2-slider .owl-nav .disabled,
.body_theme2 .t2-brands .owl-nav .disabled {
    opacity: .35;
    pointer-events: none;
}

/* One-line deal titles shouldn't leave a gap above the rating. */
.body_theme2 .t2-card--deal .t2-card__title { min-height: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 767px) {
    .body_theme2 .t2-slider .owl-nav,
    .body_theme2 .t2-brands .owl-nav { display: none; }
}

@media (max-width: 991px) {
    .t2-services__bar { grid-template-columns: repeat(2, 1fr); }
    .t2-deals__panel { padding: 22px 16px 24px; border-radius: 18px; }
}

@media (max-width: 575px) {
    .t2-section { margin-top: 40px; }
    .t2-services__bar { grid-template-columns: 1fr; }
    .t2-services__item { padding: 14px 16px; }
    .t2-card { padding: 8px; border-radius: 14px; }
    .t2-card__body { padding: 10px 2px 2px; }
    .body_theme2 .t2-card__title { font-size: 13.5px; }
    .t2-card__now { font-size: 16px; }
    .t2-card__cta { min-height: 38px; font-size: 12.5px; }
    .t2-card--deal { flex-direction: column; gap: 0; }
    .t2-card--deal .t2-card__media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
    .t2-card--deal .t2-card__body { padding: 12px 4px 2px; }
}

@media (hover: none) {
    .t2-card__quick { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .t2-card,
    .t2-card *,
    .t2-banners .genius-banner img { transition: none !important; }
    .t2-card:hover,
    .t2-card:hover .t2-card__image img,
    .t2-banners .genius-banner:hover img { transform: none; }
}
