@media (min-width: 1400px) {
    .black-friday-site .container {
        max-width: 1680px;
    }
}

.black-friday-site {
    min-height: 100vh;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

.black-friday-landing {
    position: relative;
    z-index: 0;
    max-width: 1900px;
    margin: 0 auto;
    padding: 160px 0 96px;
    overflow: hidden;
}

.black-friday-landing::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../../images/landing/black-friday/BGG.jpg") center top /
        cover no-repeat;
    z-index: -2;
}

.black-friday-landing::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0) 12%,
        rgba(0, 0, 0, 0) 78%,
        rgba(0, 0, 0, 1) 96%
    );
    opacity: 0.75;
}

.black-friday-landing__hero,
.black-friday-landing > .container {
    position: relative;
    z-index: 1;
}
.black-friday-return-link {
    position: absolute;
    top: 32px;
    left: clamp(12px, 4vw, 64px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(0, 8, 24, 0.35);
    color: #f7feff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid rgba(119, 255, 255, 0.6);
    text-shadow: 0 0 12px rgba(0, 243, 255, 0.85),
        0 0 24px rgba(0, 243, 255, 0.55);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        background 0.25s ease;
}
.black-friday-return-link:hover {
    transform: translateY(-2px);
    background: rgba(0, 8, 24, 0.55);
    box-shadow: 0 0 28px rgba(0, 243, 255, 0.65);
    color: #007bff;
    text-decoration: none;
}

.black-friday-landing__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
    margin-bottom: 0;
}

.black-friday-landing__hero-logo {
    width: min(960px, 100%);
    height: auto;
}

.black-friday-countdown {
    width: min(920px, 98%);
    aspect-ratio: 3.8 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../../images/landing/black-friday/timer-back.png") center
        34% / cover no-repeat;
    padding: clamp(16px, 5vw, 80px);
    height: 400px;
    margin-top: -5%;
}

.black-friday-countdown__wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: clamp(12px, 2vw, 20px);
    padding-inline: clamp(12px, 2vw, 20px);
    width: 80%;
    margin-top: -6%;
}

.black-friday-countdown__item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 3vw, 18px) clamp(8px, 3vw, 16px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(
        180deg,
        rgb(255 69 69 / 3%) 0%,
        rgb(197 0 0 / 92%) 100%
    );
    box-shadow: inset 0 5px 12px rgba(255, 255, 255, 0.2),
        0 0 20px rgb(251 0 0 / 60%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.black-friday-countdown__number {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: 1px;
}

.black-friday-countdown__label {
    margin-top: 6px;
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 500;
}

.black-friday-countdown__separator {
    align-self: center;
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 700;
    color: #ff4545;
    display: flex;
    align-items: center;
}

.black-friday-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.black-friday-categories__item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(6, 6, 16, 0.7);
    padding: clamp(10px, 2vw, 28px);
    border-radius: 24px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.black-friday-categories__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.black-friday-categories__item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.black-friday-banner {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.black-friday-banner img {
    width: min(720px, 100%);
    height: auto;
}

.black-friday-carousel__container,
.black-friday-featured-carousel__container {
    padding: 0px;
    position: relative;
}

.black-friday-carousel {
    margin-top: 64px;
    overflow: hidden;
}
.black-friday-carousel--featured {
    margin-top: 30px;
}
.black-friday-content-card {
    margin-top: 96px;
    background: #000000;
    color: #ffffff;
    border-radius: 28px;
    padding: clamp(32px, 5vw, 48px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    text-align: right;
}
.black-friday-content-card__inner {
    position: relative;
    max-height: 420px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.black-friday-content-card--expanded .black-friday-content-card__inner {
    max-height: none;
}
.black-friday-content-card__fade {
    position: absolute;
    inset: auto 0 0 0;
    height: 140px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgb(0 0 0 / 98%) 60%,
        rgb(2 2 2) 100%
    );
    pointer-events: none;
}
.black-friday-content-card--expanded .black-friday-content-card__fade {
    opacity: 0;
    visibility: hidden;
}
.black-friday-content-card__content {
    font-size: 15px;
    line-height: 1.9;
    color: #ffffff;
}
.black-friday-content-card__content p {
    margin-bottom: 18px;
}
.black-friday-content-card__content h2,
.black-friday-content-card__content h3,
.black-friday-content-card__content h4 {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    margin-top: 28px;
    line-height: 1.6;
}
.black-friday-content-card__content h2 {
    font-size: clamp(22px, 4vw, 28px);
}
.black-friday-content-card__content h3 {
    font-size: clamp(18px, 3vw, 22px);
}
.black-friday-content-card__toggle {
    margin-top: 32px;
    background: #00000000;
    border: 1px solid rgb(255 255 255);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.black-friday-content-card__toggle:hover {
    background: rgba(20, 20, 20, 0.08);
    border-color: rgba(20, 20, 20, 0.35);
}
.black-friday-carousel__swiper,
.black-friday-featured-carousel__swiper {
    margin: 20px 0 0;
    padding-top: 60px;
}

.black-friday-carousel__container .block-header img,
.black-friday-featured-carousel__swiper .block-header img {
    max-height: 50px;
    object-fit: contain;
    position: absolute;
    top: 0;
    right: 0;
    max-width: 90%;
}

.block-header__cta {
    position: absolute;
    top: 10px;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 15px;
    border-radius: 5px;
    background: linear-gradient(45deg, #b60000 0%, #7b0000 100%);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(182, 0, 0, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.block-header__cta:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, #d00000 0%, #870000 100%);
    box-shadow: 0 18px 36px rgba(208, 0, 0, 0.55);
    color: #fff;
    text-decoration: none;
}

.block-header__cta-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
    .block-header__cta {
        position: static;
        transform: none;
        margin-top: 24px;
        justify-content: center;
        /* width: 100%; */
        text-align: center;
    }
}

.black-friday-carousel__nav {
    position: absolute;
    top: 62%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.black-friday-carousel__nav::after {
    display: none;
}

.black-friday-carousel__nav:hover {
    background: rgba(255, 69, 69, 0.85);
}

.black-friday-carousel__nav--prev {
    left: -12px;
}

.black-friday-carousel__nav--next {
    right: -12px;
}

.black-friday-carousel__pagination {
    bottom: 0 !important;
}

.black-friday-carousel__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.black-friday-carousel__pagination .swiper-pagination-bullet-active {
    background: #ff4545;
}

.black-friday-carousel .block-header__title {
    color: #fff;
}

/* Featured Carousel Styles */

.black-friday-featured-carousel__slide.swiper-slide-prev,
.black-friday-featured-carousel__slide.swiper-slide-next {
    opacity: 0.85;
    transform: scale(0.95);
}

.black-friday-featured-carousel__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: rgb(255 255 255);
    color: #000000;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.black-friday-featured-carousel__card .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    color: inherit;
}

.black-friday-featured-carousel__card .product-card::before {
    display: none;
}

.black-friday-featured-carousel__card .product-card::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #9a282f;
    border-top: 30px solid transparent;
    position: absolute;
    top: -29px;
    right: -24px;
    transform: rotate(45deg);
}

.black-friday-featured-carousel__card .base-image {
    position: relative;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 18px;
    min-height: clamp(200px, 25vw, 280px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.black-friday-featured-carousel__card .base-discount-area {
    position: absolute;
    inset: 0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
}

.black-friday-featured-carousel__card .base-discount-area > * {
    pointer-events: auto;
}

.black-friday-featured-carousel__card .base-discount-area .right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.black-friday-featured-carousel__card .product-card__badges-list {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}

.black-friday-featured-carousel__card .product-card__badge--sale {
    background: #ff4d5a;
    color: #fff;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
}

.black-friday-featured-carousel__card .product-card__image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.black-friday-featured-carousel__card .product-card__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.black-friday-featured-carousel__card .product-card__image img {
    width: 100%;
    max-height: clamp(180px, 22vw, 250px);
    object-fit: contain;
}

.black-friday-featured-carousel__card .product-card__info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 12px;
    position: relative;
    min-height: 150px;
}

.black-friday-featured-carousel__card .product-card__name {
    font-size: 14px;
    line-height: 1.6;
    color: inherit;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
    padding: 0 15px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.black-friday-featured-carousel__card .product-card__name a {
    color: inherit;
    text-decoration: none;
}

.black-friday-featured-carousel__card .product-card__rating {
    display: flex;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #ffb347;
}

.black-friday-featured-carousel__card .product-card__old-price {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
}

.black-friday-featured-carousel__card .product-card__new-price,
.black-friday-featured-carousel__card .product-card__prices .default_price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 18px;
    font-size: 16px;
    font-weight: 700;
    color: #f5f5f5;
    background: #9f262d;
    width: 100%;
}

.black-friday-featured-carousel__card .product-card__new-price .currency,
.black-friday-featured-carousel__card
    .product-card__prices
    .default_price
    .currency {
    font-size: 12px;
    opacity: 0.7;
}

.black-friday-featured-carousel__card .product-card__actions,
.black-friday-featured-carousel__card .product-card__availability,
.black-friday-featured-carousel__card .filter-color,
.black-friday-featured-carousel__card .unavailable-object,
.black-friday-featured-carousel__card .product-flashsale {
    display: none !important;
}

.black-friday-featured-carousel__nav {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.black-friday-featured-carousel__nav::after {
    display: none;
}

.black-friday-featured-carousel__nav:hover {
    background: rgba(255, 69, 69, 0.85);
}

.black-friday-featured-carousel__nav--prev {
    left: -12px;
}

.black-friday-featured-carousel__nav--next {
    right: -12px;
}

/* New simpler black-friday product card */
.black-friday-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    color: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.black-friday-product-card__header {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
}

.black-friday-product-card__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.black-friday-product-card__badge img {
    width: auto;
    height: auto;
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.black-friday-product-card__timer {
    color: #ff4d5a;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 8px;
    border-radius: 4px;
}

.black-friday-product-card__image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-height: 180px;
    background: #ffffff;
    padding-top: 30px;
}

.black-friday-product-card__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.black-friday-product-card__image img {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.black-friday-product-card__info {
    padding: 12px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.black-friday-product-card__name {
    font-size: 13px;
    line-height: 1.5;
    color: #000;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.black-friday-product-card__name a {
    color: #000;
    text-decoration: none;
}

.black-friday-product-card__name a:hover {
    color: #ff4d5a;
}

.black-friday-product-card__prices {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.black-friday-product-card__prices--no-discount {
    margin-top: auto;
}

.black-friday-product-card__discount-badge {
    position: absolute;
    top: 10px;
    right: 0;
    background: #dc3545;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 2px 5px 2px 8px;
    border-radius: 3px;
    z-index: 1;
}

.black-friday-product-card__price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: 55px;
}

.black-friday-product-card__old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.black-friday-product-card__current-price {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    background-color: black;
    padding: 5px 8px;
    border-radius: 8px;
}

/* Card wrapper styles */
.black-friday-carousel__card .black-friday-product-card,
.black-friday-featured-carousel__card .black-friday-product-card {
    box-shadow: none;
    text-align: right;
}

.black-friday-carousel__card::after,
.black-friday-featured-carousel__card::after {
    display: none;
}

@media (max-width: 1200px) {
    .black-friday-featured-carousel__slide {
        width: 240px;
    }
}

@media (max-width: 992px) {
    .black-friday-featured-carousel__slide {
        width: 220px;
    }

    .black-friday-featured-carousel__nav--prev {
        left: -6px;
    }

    .black-friday-featured-carousel__nav--next {
        right: -6px;
    }
}

@media (max-width: 768px) {
    .black-friday-featured-carousel__slide {
        width: 200px;
    }

    .black-friday-featured-carousel__nav {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 576px) {
    .black-friday-featured-carousel__swiper {
    }

    .black-friday-featured-carousel__slide {
        width: 180px;
    }

    .black-friday-featured-carousel__nav {
        display: none;
    }
    .black-friday-product-card__badge img {
        width: auto;
        height: auto;
        max-width: 48px;
        max-height: 48px;
        object-fit: contain;
    }
}

@media (max-width: 1200px) {
    .black-friday-landing {
        padding: 120px 0 72px;
    }

    .black-friday-landing__hero {
        margin-bottom: 96px;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .black-friday-countdown {
        width: min(520px, 100%);
        height: auto;
        aspect-ratio: unset;
        padding: 32px 24px 48px;
        margin-top: 16px;
        background-position: center 45%;
        background-size: contain;
    }

    .black-friday-countdown__wrapper {
        width: 100%;
        margin-top: 0;
        gap: 16px;
    }

    .black-friday-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .black-friday-carousel {
        padding-inline: clamp(12px, 5vw, 36px);
        margin-top: 48px;
    }

    .black-friday-carousel--featured {
        margin-top: 24px;
    }

    .black-friday-carousel__nav--prev {
        left: -6px;
    }

    .black-friday-carousel__nav--next {
        right: -6px;
    }
}

@media (max-width: 768px) {
    .black-friday-landing {
        padding: 96px 0 56px;
    }

    .black-friday-landing__hero {
        margin-bottom: 10px;
        gap: 10px;
    }

    .black-friday-countdown {
        width: 90%;
        max-width: 460px;
        padding: 28px 20px 40px;
        margin-top: 24px;
    }

    .black-friday-countdown__wrapper {
        gap: 14px;
    }

    .black-friday-countdown__separator {
        font-size: clamp(24px, 6vw, 32px);
    }

    .black-friday-carousel {
        padding-inline: 24px;
    }

    .black-friday-carousel__nav {
        width: 38px;
        height: 38px;
    }

    .black-friday-content-card {
        margin-top: 64px;
        padding: 28px;
    }

    .black-friday-return-link {
        top: 24px;
        left: clamp(10px, 6vw, 40px);
        font-size: 14px;
        padding: 8px 18px;
    }
}

@media (max-width: 576px) {
    .black-friday-countdown {
        padding: 24px 12px 28px;
        background-size: contain;
        background-position: center 48%;
    }

    .black-friday-countdown__wrapper {
        gap: 10px;
    }

    .black-friday-countdown__item {
        padding: 10px 8px;
        border-radius: 14px;
        flex: 1 1 auto;
        min-width: 86px;
    }

    .black-friday-countdown__number {
        font-size: clamp(22px, 7vw, 28px);
    }

    .black-friday-countdown__label {
        font-size: 11px;
    }

    .black-friday-carousel {
        padding-inline: 16px;
    }

    .black-friday-carousel__swiper {
    }

    .black-friday-carousel__swiper .swiper-slide {
        width: 100%;
    }

    .black-friday-carousel__card {
        /* padding: 12px 5px; */
    }

    .black-friday-carousel__nav {
        display: none;
    }

    .black-friday-content-card {
        margin-top: 48px;
        padding: 24px;
        border-radius: 20px;
    }

    .black-friday-content-card__toggle {
        width: 100%;
        margin-top: 20px;
    }

    .black-friday-content-card__inner {
        max-height: 360px;
    }

    .black-friday-landing__hero-logo {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .black-friday-countdown {
        padding: 20px 10px 24px;
        background-position: center 50%;
    }

    .black-friday-countdown__wrapper {
        gap: 5px;
        margin-top: -5%;
    }

    .black-friday-countdown__item {
        padding: 10px 6px;
        flex: 0 0 65px;
        min-width: 65px;
    }

    .black-friday-carousel {
        padding-inline: 0;
        margin-top: 28px;
    }

    .black-friday-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0px;
    }

    .black-friday-banner {
        margin-bottom: 8px;
    }

    .black-friday-content-card__inner {
        max-height: 320px;
    }

    .black-friday-return-link {
        top: 18px;
        left: 14px;
        font-size: 13px;
        padding: 8px 14px;
    }

    .black-friday-product-card__current-price {
        font-size: 14px;
    }
    .black-friday-product-card__discount-badge {
        font-size: 12px;
    }
}
