html,
body {
    background: #f3f3f3 !important;
    font-family: var(--cv-font-ui) !important;
}

.fontend-page-home {
    background: #f3f3f3;
    color: #121826;
    overflow-x: hidden;
    font-family: var(--cv-font-ui);
}

body.fontend-page-home {
    overflow-x: hidden;
}

.fontend-page-home .bw-container {
    width: min(var(--cv-shell-width), calc(100% - var(--cv-shell-gutter)));
}

.fontend-page-home .bw-main-wrap {
    overflow: hidden;
}

.bw-home {
    padding: 16px 0 0;
}

.bw-mobile-promo {
    display: none;
}

.bw-hero-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    max-height: 360px;
}

.bw-hero-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bw-sidebar,
.bw-banner-slider {
    background: #fff;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 1px 1px 4px 0 #0000001a;
}

.bw-sidebar {
    min-height: 360px;
    max-height: 360px;
    height: 360px;
    display: flex;
    flex-direction: column;
}

.bw-sidebar h2 {
    margin: 0;
    padding: 12px 16px;
    background: var(--bw-primary);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bw-sidebar h2 i {
    font-size: 0.9rem;
}

.bw-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 4px 16px 0;
    flex: 1;
    overflow: auto;
    scrollbar-width: none;
}

.bw-sidebar li {
    border-bottom: 1px solid #e5e5e5;
}

.bw-sidebar li:last-child {
    border-bottom: 0;
}

.bw-sidebar a {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 0;
    padding: 4px 0;
}

.bw-sidebar img {
    width: 35px;
    height: 35px;
    border-radius: 0;
    object-fit: contain;
}

.bw-sidebar a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 400;
    color: #313131;
}

.bw-sidebar small {
    color: #687184;
    font-size: 0.95rem;
    line-height: 1;
}

.bw-sidebar ul::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.bw-banner-slider {
    position: relative;
    height: var(--bw-banner-height, 360px);
    min-height: 360px;
}

.bw-banner-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s ease;
}

.bw-banner-slide {
    min-width: 100%;
    height: 100%;
    background: #f5f5f5;
}

.bw-banner-slide a,
.bw-banner-slide picture,
.bw-banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.bw-banner-slide a::after {
    display: none;
}

.bw-banner-slide img {
    object-fit: cover;
    object-position: center 72%;
}

.bw-banner-overlay,
.bw-banner-copy,
.bw-banner-highlight-grid,
.bw-banner-eyebrow,
.bw-banner-cta {
    display: none !important;
}

.bw-banner-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.bw-banner-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: #f49bbb;
    cursor: pointer;
}

.bw-banner-dots button.is-active {
    width: 36px;
    height: 8px;
    background: var(--bw-primary);
}

.bw-section {
    margin-top: 24px;
    content-visibility: auto;
    contain-intrinsic-size: 960px;
}

.bw-hero-grid + .bw-section {
    margin-top: 24px;
}

.bw-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.bw-section-head h2 {
    margin: 0;
    font-size: 1.16rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    padding-bottom: 1px;
    letter-spacing: 0.02em;
}

.bw-section-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    min-width: max-content;
}

.bw-scroll-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bw-scroll-btn:hover:not(:disabled) {
    background: var(--bw-primary);
    border-color: var(--bw-primary);
    color: #fff;
}

.bw-scroll-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.bw-section-more {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    padding: 0 8px;
    height: 28px;
    border-radius: 6px;
    background: var(--bw-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.bw-product-slider {
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.bw-scroll-btn--side {
    position: absolute;
    top: clamp(84px, 10vw, 160px);
    transform: translateY(-50%);
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.bw-scroll-btn--side[data-scroll-prev] {
    left: 8px;
}

.bw-scroll-btn--side[data-scroll-next] {
    right: 8px;
}

.bw-product-slider:hover .bw-scroll-btn--side,
.bw-product-slider:focus-within .bw-scroll-btn--side {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fontend-page-home .bw-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
}

.fontend-page-home .bw-product-grid--scroll {
    --bw-home-scroll-gap: 8px;
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--bw-home-scroll-gap) * 4)) / 5);
    width: 100%;
    max-width: 100%;
    gap: var(--bw-home-scroll-gap);
    align-items: start;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    touch-action: pan-x;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.fontend-page-home .bw-product-grid--scroll.is-dragging {
    cursor: grabbing;
    user-select: none;
    scroll-snap-type: none;
}

.fontend-page-home .bw-product-grid--scroll > .bw-product-card {
    scroll-snap-align: start;
}

.fontend-page-home .bw-product-grid--scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none !important;
}

.fontend-page-home .bw-product-grid--scroll::-webkit-scrollbar-track {
    display: none !important;
}

.fontend-page-home .bw-product-grid--scroll::-webkit-scrollbar-thumb {
    background: transparent !important;
    display: none !important;
}

.fontend-page-home .bw-product-card {
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    min-width: 0;
}

.fontend-page-home .bw-product-card:hover {
    transform: none;
    box-shadow: none;
}

.fontend-page-home .bw-product-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fontend-page-home .bw-card-image {
    position: relative;
    aspect-ratio: 20 / 21;
    background: #fff;
    border: 0;
    overflow: hidden;
    border-radius: 6px;
}

.fontend-page-home .bw-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.fontend-page-home .bw-product-card:hover .bw-card-image img {
    transform: none;
}

.bw-badge {
    position: absolute;
    top: 6px;
    left: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 0 6px 6px 0;
    background: #1cb643;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
}

.bw-wish-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    color: var(--bw-primary);
    font-size: 1.08rem;
}

.fontend-page-home .bw-card-body {
    display: grid;
    grid-template-rows: auto auto auto;
    row-gap: 2px;
    padding: 6px 0 0;
    min-height: 0;
}

.fontend-page-home .bw-card-body h3 {
    margin: 0;
    min-height: 0;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fontend-page-home .bw-price {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    color: var(--bw-primary);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.15;
}

.bw-price-amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.bw-price del {
    margin-left: 4px;
    color: #9ca3af;
    font-size: 0.68rem;
    font-weight: 500;
    text-decoration-thickness: 1px;
}

.bw-buy-rate {
    margin-left: auto;
    color: #111827;
    font-size: 0.86rem;
    font-weight: 500;
}

.fontend-page-home .bw-meta {
    margin: 0;
    color: #6b7280;
    font-size: 0.74rem;
}

.bw-reseller-meta-line {
    margin: 3px 0 0;
    color: #1f2937;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.35;
}

.bw-star {
    color: #f7bf1a;
}

.bw-browse-wrap {
    margin-top: 30px;
    text-align: center;
}

.bw-browse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    background: var(--bw-primary);
    color: #fff;
    font-weight: 800;
    box-shadow: none;
}

.fontend-page-home .bw-footer {
    margin-top: 34px;
    background: var(--bw-footer-bg);
    color: var(--bw-footer-text);
    padding: 34px 0 18px;
}

.fontend-page-home .bw-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.34fr;
    gap: 28px;
}

.fontend-page-home .bw-footer h4 {
    margin: 0 0 12px;
    font-size: 1.3rem;
}

.fontend-page-home .bw-footer p,
.fontend-page-home .bw-footer li,
.fontend-page-home .bw-footer a {
    color: rgba(237, 243, 255, 0.86);
}

.fontend-page-home .bw-footer-copy {
    max-width: 360px;
    line-height: 1.66;
}

.fontend-page-home .bw-footer-list,
.fontend-page-home .bw-footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.fontend-page-home .bw-footer-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.fontend-page-home .bw-footer-list a::before {
    content: "\203A";
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    flex: none;
}

.fontend-page-home .bw-footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.fontend-page-home .bw-footer-brand strong {
    font-size: 2.4rem;
    line-height: 0.95;
}

.fontend-page-home .bw-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.fontend-page-home .bw-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    display: grid;
    place-items: center;
}

.fontend-page-home .bw-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.9rem;
}

.fontend-page-home .bw-mobile-bottom-nav {
    display: none;
}

.bw-mobile-banner,
.bw-mobile-categories,
.bw-mobile-offers,
.bw-mobile-service-card,
.bw-mobile-offer-card,
.bw-mobile-category-image {
    box-shadow: none;
}

@media (max-width: 1180px) {
    .bw-section-head h2 {
        font-size: 1.08rem;
    }
}

@media (max-width: 900px) {
    .bw-hero-grid {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .bw-hero-main {
        gap: 8px;
    }

    .bw-sidebar {
        display: none;
    }

    .bw-banner-slider {
        height: clamp(220px, 42vw, 330px);
        min-height: 220px;
    }

    .fontend-page-home .bw-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fontend-page-home .bw-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 901px) {
    .bw-section-more {
        height: 36px;
        padding: 0 10px;
    }
}

@media (max-width: 760px) {
    .fontend-page-home .bw-container {
        width: min(var(--cv-shell-width), calc(100% - var(--cv-shell-gutter-mobile)));
    }

    .bw-home {
        padding-top: 0;
    }

    .bw-mobile-promo {
        display: block;
        margin-bottom: 10px;
    }

    .bw-mobile-banner {
        background: #fff;
        border: 0;
        border-radius: 0;
        overflow: hidden;
    }

    .bw-mobile-banner a,
    .bw-mobile-banner picture {
        display: block;
        width: 100%;
        aspect-ratio: 2.25 / 1;
    }

    .bw-mobile-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .bw-mobile-banner a::after,
    .bw-mobile-banner-copy {
        display: none !important;
    }

    .bw-mobile-categories {
        margin-top: 0;
        padding: 8px 6px 10px;
        background: #fff;
        border: 0;
        border-radius: 0;
    }

    .bw-mobile-block-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
        gap: 8px;
    }

    .bw-mobile-block-head h2 {
        margin: 0;
        font-size: 1.18rem;
        font-weight: 700;
        line-height: 1.15;
        color: #212b3b;
    }

    .bw-mobile-block-head a {
        color: #e16a92;
        font-size: 0.68rem;
        font-weight: 700;
    }

    .bw-mobile-category-grid {
        --bw-mobile-category-gap: 6px;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - (var(--bw-mobile-category-gap) * 4)) / 5);
        gap: var(--bw-mobile-category-gap);
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .bw-mobile-category-grid::-webkit-scrollbar {
        display: none;
    }

    .bw-mobile-category-card {
        display: grid;
        justify-items: center;
        gap: 4px;
        min-width: 0;
        text-align: center;
        color: #253041;
        font-size: 0.66rem;
        font-weight: 600;
        line-height: 1.2;
        scroll-snap-align: start;
    }

    .bw-mobile-category-image {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        overflow: hidden;
        background: #f3f4f6;
        border: 1px solid #ececec;
        display: grid;
        place-items: center;
    }

    .bw-mobile-category-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .bw-mobile-service-grid {
        margin: 0;
        background: #fff;
        border: 0;
        border-radius: 0;
        padding: 4px 6px 8px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .bw-mobile-service-card {
        background: #fff;
        border: 1px solid #f2eaf0;
        border-radius: 8px;
        padding: 9px 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-align: center;
    }

    .bw-mobile-service-card i {
        color: #ff9d30;
        font-size: 0.92rem;
    }

    .bw-mobile-service-card strong {
        font-size: 0.75rem;
        line-height: 1.1;
        color: #273143;
    }

    .bw-mobile-service-card span {
        display: none;
    }

    .bw-mobile-offers {
        margin-top: 0;
        padding: 0 0 8px;
        border: 0;
        border-radius: 0;
        background: #fff;
    }

    .bw-mobile-offers .bw-mobile-block-head {
        padding: 0 6px;
        margin-bottom: 6px;
    }

    .bw-mobile-offers .bw-mobile-block-head h2 {
        color: #1f2937;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .bw-mobile-offers .bw-mobile-block-head h2::after {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: #ff7f18;
        margin-top: 2px;
    }

    .bw-mobile-offer-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        background-color: var(--bw-primary);
        background-image: radial-gradient(rgba(255, 255, 255, 0.17) 1.2px, transparent 1.2px), radial-gradient(rgba(255, 255, 255, 0.17) 1.2px, transparent 1.2px);
        background-position: 0 0, 6px 6px;
        background-size: 12px 12px;
        padding: 8px 6px 9px;
    }

    .bw-mobile-offer-card {
        position: relative;
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto;
        border: 3px solid #4defff;
        border-radius: 7px;
        overflow: hidden;
        min-height: 132px;
        background: #fff;
        color: #101828;
    }

    .bw-mobile-offer-card::after {
        display: none;
    }

    .bw-mobile-offer-card img {
        width: 100%;
        height: 100%;
        min-height: 90px;
        object-fit: cover;
        position: relative;
        inset: auto;
    }

    .bw-mobile-offer-pill {
        display: none;
    }

    .bw-mobile-offer-card strong {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        z-index: 2;
        display: block;
        padding: 7px 4px 8px;
        background: #fff;
        color: #ff005f;
        font-size: 0.72rem;
        font-weight: 900;
        line-height: 1;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .bw-hero-grid {
        display: none;
    }

    .bw-section {
        margin-top: 12px;
    }

    .bw-section-head {
        margin-bottom: 8px;
        align-items: center;
    }

    .bw-section-head h2 {
        font-size: 1.08rem;
        line-height: 1;
        border-bottom-width: 2px;
        padding-bottom: 3px;
    }

    .bw-section-actions {
        width: auto;
        justify-content: flex-end;
        gap: 6px;
    }

    .bw-product-slider {
        position: static;
    }

    .bw-scroll-btn--side {
        display: none;
    }

    .bw-section-more {
        padding: 8px 11px;
        border-radius: 8px;
        font-size: 0.72rem;
        line-height: 1;
    }

    .fontend-page-home .bw-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .fontend-page-home .bw-product-grid--scroll {
        --bw-home-scroll-gap: 8px;
        grid-template-columns: none;
        grid-auto-columns: calc((100% - var(--bw-home-scroll-gap)) / 2);
        gap: var(--bw-home-scroll-gap);
    }

    .fontend-page-home .bw-card-image {
        border-color: #ececec;
        border-radius: 8px;
    }

    .fontend-page-home .bw-card-body {
        grid-template-rows: auto auto auto;
        row-gap: 2px;
        padding: 5px 1px 7px;
        min-height: 64px;
    }

    .fontend-page-home .bw-card-body h3 {
        min-height: 0;
        font-size: 0.78rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .bw-price {
        font-size: 1.12rem;
    }

    .bw-price del {
        font-size: 0.62rem;
    }

    .bw-meta {
        margin-top: 2px;
        font-size: 0.7rem;
    }

    .bw-reseller-meta-line {
        display: none;
    }

    .bw-buy-rate {
        margin-left: 0;
        font-size: 0.72rem;
    }

    .bw-browse-wrap {
        margin-top: 14px;
    }

    .bw-browse-btn {
        width: auto;
        min-width: min(270px, 100%);
        max-width: 100%;
        padding: 11px 24px;
        border-radius: 8px;
        font-size: 0.95rem;
    }

    .fontend-page-home .bw-footer {
        margin-top: 18px;
        padding: 24px 0 calc(88px + env(safe-area-inset-bottom, 0px));
    }

    .fontend-page-home .bw-footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fontend-page-home .bw-footer-brand strong {
        font-size: 1.7rem;
    }

    .fontend-page-home .bw-footer-copy {
        max-width: none;
    }

    .fontend-page-home .bw-footer-list,
    .fontend-page-home .bw-footer-contact {
        gap: 14px;
    }

    .fontend-page-home .bw-footer-bottom {
        display: none;
    }

    .fontend-page-home .bw-mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 150;
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0;
        background: var(--bw-primary);
        box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.2);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .fontend-page-home .bw-mobile-bottom-nav a,
    .fontend-page-home .bw-mobile-bottom-nav button {
        position: relative;
        min-height: 58px;
        display: grid;
        justify-items: center;
        align-content: center;
        gap: 2px;
        border: 0;
        background: transparent;
        color: rgba(255, 255, 255, 0.9);
        font: inherit;
        cursor: pointer;
    }

    .fontend-page-home .bw-mobile-bottom-nav a.is-active,
    .fontend-page-home .bw-mobile-bottom-nav button.is-active {
        color: #fff;
    }

    .fontend-page-home .bw-mobile-bottom-nav i {
        font-size: 0.98rem;
    }

    .fontend-page-home .bw-mobile-bottom-nav span {
        font-size: 0.66rem;
        font-weight: 700;
        line-height: 1;
    }

    .fontend-page-home .bw-mobile-bottom-count {
        position: absolute;
        top: 5px;
        right: 9px;
        min-width: 15px;
        height: 15px;
        border-radius: 999px;
        background: #11b441;
        color: #fff;
        font-size: 0.55rem;
        font-weight: 800;
        display: grid;
        place-items: center;
        padding: 0 3px;
    }

    .fontend-page-home .bw-floating-action {
        display: none;
    }
}
