.section-header-ebay {
    margin-bottom: 18px;
    padding-bottom: 4px;
}

.section-header-ebay .title {
    margin: 0;
    color: #111820;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-header-ebay .title a {
    color: inherit;
}

.section-header-link-ebay {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3665f3;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.row-ebay-market-grid {
    margin-right: -8px;
    margin-left: -8px;
}

.row-ebay-market-grid > .col-product,
.row-ebay-market-grid > .col-product-video-card {
    padding-right: 8px;
    padding-left: 8px;
}

.row-ebay-market-grid .product-card.product-card-ebay,
.row-ebay-market-grid .featured-video-card {
    margin-bottom: 18px;
}

#promoted_posts .section-header-ebay {
    margin-bottom: 18px;
    padding-bottom: 4px;
}

#promoted_posts .section-header-ebay .title {
    margin: 0;
    color: #111820;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

#promoted_posts .section-header-link-ebay {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3665f3;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.row-featured-videos {
    margin-bottom: 10px;
}

.featured-video-card {
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    height: 100%;
}

.featured-video-media {
    position: relative;
    display: block;
    background: #111;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.featured-video-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.featured-video-media-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.featured-video-media-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #183734 0%, #2d5b56 100%);
}

.featured-video-external-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.featured-video-provider,
.featured-video-source {
    font-size: 12px;
    color: #6b7280;
}

.featured-video-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.featured-video-card:hover .featured-video-media video,
.featured-video-card:focus-within .featured-video-media video {
    transform: scale(1.03);
}

.featured-video-play {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
}

.featured-video-body {
    padding: 16px;
}

.featured-video-seller {
    font-size: 12px;
    color: #4b5563;
}

.featured-video-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.featured-video-title a,
.featured-video-seller a {
    color: inherit;
}

.featured-video-price {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.swiper-carousel-marketplace-home {
    padding: 2px 2px 6px;
}

.swiper-slide-marketplace-home {
    height: auto;
}

.swiper-slide-marketplace-home .featured-video-card,
.swiper-slide-marketplace-home .product-card.product-card-ebay {
    margin-bottom: 4px;
}

.swiper-carousel-marketplace-home .swiper-button-prev,
.swiper-carousel-marketplace-home .swiper-button-next {
    width: 42px;
    height: 42px;
    margin-top: -28px;
    border: 1px solid #d6dbe1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #111827;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.swiper-carousel-marketplace-home .swiper-button-prev:after,
.swiper-carousel-marketplace-home .swiper-button-next:after {
    font-size: 15px;
    font-weight: 700;
}

.product-card.product-card-ebay {
    overflow: hidden;
    position: relative;
    border: 1px solid #d9dee3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card.product-card-ebay:hover,
.product-card.product-card-ebay:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.product-card.product-card-ebay .product-image-container {
    position: relative;
    padding: 10px;
    background: linear-gradient(180deg, #fbfbfc 0%, #f2f4f7 100%);
    aspect-ratio: 1 / 1;
    border-bottom: 1px solid #eef1f4;
}

.product-card.product-card-ebay .product-image-container a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.product-card.product-card-ebay .product-image {
    object-fit: contain;
    mix-blend-mode: multiply;
    width: 100%;
    height: 100%;
    transition: transform 0.22s ease;
}

.product-card.product-card-ebay:hover .product-image.default-image,
.product-card.product-card-ebay:focus-within .product-image.default-image {
    transform: scale(1.04);
}

.product-card.product-card-ebay .product-card-badge {
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.product-card.product-card-ebay .product-actions-overlay {
    top: 14px;
    right: 14px;
    left: auto;
    bottom: auto;
    z-index: 3;
    opacity: 1;
    visibility: visible;
    transform: none;
    gap: 8px;
}

.product-card.product-card-ebay .product-actions-overlay .action-btn {
    width: 38px;
    height: 38px;
    border: 1px solid #d6dbe1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #374151;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.product-card.product-card-ebay .product-actions-overlay .action-btn:hover,
.product-card.product-card-ebay .product-actions-overlay .action-btn:focus {
    border-color: #111827;
    color: #111827;
}

.product-card.product-card-ebay .card-body {
    padding: 10px 10px 0;
}

.product-card.product-card-ebay .product-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #4b5563;
    font-size: 12px;
}

.product-card.product-card-ebay .product-offer-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f4f6f8;
    color: #374151;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.product-card.product-card-ebay .product-offer-row {
    margin-top: 2px;
    margin-bottom: 2px;
}

.product-card.product-card-ebay .product-title {
    min-height: 46px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.product-card.product-card-ebay .product-title a {
    display: -webkit-box;
    overflow: hidden;
    color: #111827;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card.product-card-ebay .product-title a:hover,
.product-card.product-card-ebay .product-title a:focus {
    color: #3665f3;
    text-decoration: underline;
}

.product-card.product-card-ebay .product-seller {
    color: #6b7280;
    font-size: 12px;
}

.product-card.product-card-ebay .product-seller a {
    color: inherit;
}

.product-card.product-card-ebay .product-seller a:hover,
.product-card.product-card-ebay .product-seller a:focus {
    color: #3665f3;
}

.product-card.product-card-ebay .product-rating {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    color: #6b7280;
    font-size: 12px;
}

.product-card.product-card-ebay .rating {
    display: inline-flex;
    gap: 2px;
    color: #f59e0b;
    font-size: 12px;
}

.product-card.product-card-ebay .product-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
}

.product-card.product-card-ebay .product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.product-card.product-card-ebay .product-footer .price {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.product-card.product-card-ebay .product-footer .discount-original-price {
    color: #6b7280;
    font-size: 13px;
}

.product-card.product-card-ebay .price-green,
.product-card.product-card-ebay .price-free {
    color: #111827;
}

.product-card.product-card-ebay .product-card-subtext {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
}

.product-card.product-card-ebay .product-card-meta-line {
    color: #4b5563;
    font-size: 12px;
    line-height: 1.45;
}

.product-card.product-card-ebay .product-card-meta-label {
    color: #111827;
    font-weight: 600;
}

.product-card.product-card-ebay .product-card-watchers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    white-space: nowrap;
}

.product-video-player-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.product-video-player-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.product-video-player-link {
    padding: 18px;
    border: 1px solid #e4ecea;
    border-radius: 8px;
    background: #f7fbfa;
    text-align: center;
}

.product-video-player-link-copy {
    margin: 0 0 10px;
    color: #486260;
}

.product-video-player-native {
    width: 100%;
}

.product-location-map .embed-responsive {
    overflow: visible;
}

.product-preview-modal-row {
    width: auto !important;
}

.product-options-container {
    min-height: var(--product-options-min-height, 0);
}

@media (max-width: 767px) {
    #promoted_posts .section-header-ebay .title,
    .section-header-ebay .title {
        font-size: 23px;
    }

    #promoted_posts .section-header-link-ebay,
    .section-header-link-ebay {
        font-size: 13px;
    }

    .row-ebay-market-grid {
        margin-right: -6px;
        margin-left: -6px;
    }

    .row-ebay-market-grid > .col-product,
    .row-ebay-market-grid > .col-product-video-card {
        padding-right: 6px;
        padding-left: 6px;
    }
}
