﻿.product-ads {
    padding: 14px 0 18px;
}

.product-ads__banner {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 50, 77, 0.2);
    background: linear-gradient(120deg, #1d2238 0%, #1d2640 45%, #2c1d3a 100%);
    padding: 16px 16px 14px;
    box-shadow: 0 18px 38px rgba(23, 23, 40, 0.2);
}

.product-ads__banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--ads-bg-image);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 42% auto;
    opacity: .12;
    pointer-events: none;
}

.product-ads__banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 15, 29, 0.88) 0%, rgba(10, 15, 29, 0.55) 45%, rgba(10, 15, 29, 0.2) 100%);
    pointer-events: none;
}

.product-ads__header {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}

.product-ads__hero {
    max-width: 380px;
}

.product-ads__badge {
    display: inline-block;
    border-radius: 999px;
    background: rgba(255, 50, 77, 0.2);
    color: #ffc2cc;
    border: 1px solid rgba(255, 50, 77, 0.45);
    padding: 3px 10px;
    font-size: 11px;
    margin-bottom: 8px;
}

.product-ads__hero h4,
.product-ads__hero p {
    color: #fff;
    margin: 0;
}

.product-ads__hero p {
    margin-top: 4px;
    font-size: 13px;
    color: #d8deea;
}

.product-ads__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.product-ads__item {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 10px;
    padding: 9px;
    text-align: center;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(11, 18, 32, 0.14);
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-ads__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(11, 18, 32, 0.25);
}

.product-ads__item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.product-ads__item h6 {
    margin: 8px 0 4px;
    font-size: 13px;
    min-height: 32px;
    line-height: 1.25;
}

.product-ads__item strong {
    display: block;
    color: var(--color-1st, #ff324d);
    margin-bottom: 8px;
}

.product-ads__item-tag {
    position: absolute;
    top: 8px;
    inset-inline-start: 8px;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 11px;
}

.product-ads__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--color-1st, #ff324d);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
}

.product-ads--float .product-ads__hero {
    animation: product-ads-float 6s ease-in-out infinite;
}

.product-ads--float .product-ads__item {
    animation: product-ads-card-breath 6.5s ease-in-out infinite;
}

.product-ads--pulse .product-ads__hero {
    animation: product-ads-pulse 3.8s ease-in-out infinite;
}

.product-ads--pulse .product-ads__item {
    animation: product-ads-card-breath 5s ease-in-out infinite;
}

.product-ads--fade-up .product-ads__hero,
.product-ads--fade-up .product-ads__item {
    animation: product-ads-fade-up .85s ease both;
}

.product-ads-inline {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 50, 77, 0.28);
    background: #fff6f7;
    box-shadow: 0 10px 20px rgba(255, 50, 77, 0.13);
    margin-bottom: 22px;
}

.product-ads-inline img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.product-ads-inline__body {
    padding: 10px 10px 12px;
    text-align: center;
}

.product-ads-inline__body h6 {
    color: #111827;
    font-size: 14px;
    margin: 0 0 4px;
}

.product-ads-inline__body strong {
    display: block;
    color: var(--color-1st, #ff324d);
    margin-bottom: 7px;
}

.product-ads-inline__body span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-1st, #ff324d);
    color: #fff;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
}

.product-ads-inline__badge {
    position: absolute;
    top: 8px;
    inset-inline-start: 8px;
    background: rgba(17, 24, 39, 0.82);
    color: #fff;
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 11px;
    z-index: 2;
}

.product-ads-inline--float {
    animation: product-ads-float 5.5s ease-in-out infinite;
}

.product-ads-inline--pulse {
    animation: product-ads-pulse 3.4s ease-in-out infinite;
}

.product-ads-inline--fade-up {
    animation: product-ads-fade-up .65s ease both;
}

/* Inline product ad card (glass + gold, matches large banner) */
.product-ads-inline-row--standalone {
    padding: 8px 0 18px;
}

.product-ads-inline-row--standalone .row {
    justify-content: center;
}

.product-ads-inline-row--standalone .product-ads-inline-slot {
    margin-bottom: 0;
}

.product-ads-inline-slot {
    display: flex;
    margin-bottom: 22px;
}

.product-ads-inline-slot .product-ads-inline-card {
    width: 100%;
}

.product-ads-inline-card {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 248px;
    border-radius: 15px;
    padding: 3px;
    overflow: hidden;
    text-decoration: none;
    background: linear-gradient(135deg, #c9a227 0%, #ffd700 38%, #fff6b8 52%, #d4af37 100%);
    box-shadow:
        0 10px 26px rgba(15, 23, 42, .18),
        0 0 20px rgba(255, 215, 0, .16);
}

.product-ads-inline-card--glass {
    isolation: isolate;
}

.product-ads-inline-card__shine {
    position: absolute;
    inset: 3px;
    border-radius: 12px;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, .12) 48%,
        rgba(255, 255, 255, .55) 50%,
        rgba(255, 255, 255, .12) 52%,
        transparent 60%,
        transparent 100%
    );
    background-size: 220% 100%;
    background-position: 200% 0;
}

.product-ads-inline-card:hover .product-ads-inline-card__shine {
    opacity: 1;
    animation: product-ads-inline-shine-sweep .85s ease-in-out;
}

@keyframes product-ads-inline-shine-sweep {
    0% { background-position: 200% 0; opacity: .3; }
    45% { background-position: -60% 0; opacity: 1; }
    100% { background-position: -200% 0; opacity: .3; }
}

.product-ads-inline-card__img {
    position: absolute;
    inset: 3px;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.product-ads-inline-card:hover .product-ads-inline-card__img {
    transform: scale(1.05);
}

.product-ads-inline-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, rgba(15, 23, 42, .92) 0%, rgba(30, 41, 59, .88) 100%);
    border: 1px solid rgba(251, 191, 36, .55);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

[dir="rtl"] .product-ads-inline-card__badge {
    left: auto;
    right: 12px;
}

.product-ads-inline-card__views {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    padding: 4px 10px;
    color: #111827;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, .14);
}

[dir="rtl"] .product-ads-inline-card__views {
    right: auto;
    left: 12px;
}

.product-ads-inline-card__body {
    position: absolute;
    left: 3px;
    right: 3px;
    bottom: 3px;
    z-index: 2;
    padding: 22px 10px 10px;
    border-radius: 0 0 12px 12px;
    text-align: center;
    direction: rtl;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(8, 16, 35, .35) 22%,
        rgba(8, 16, 35, .78) 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-ads-inline-card__name {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.3;
    color: #f8fafc;
    font-weight: 800;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-ads-inline-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.product-ads-inline-card__price {
    display: block;
    margin: 0;
    color: #fde68a;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.product-ads-inline-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    color: #fff;
    background: var(--color-1st, #f59e0b);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 4px 12px rgba(245, 158, 11, .4);
}

.product-ads-inline-card--float {
    animation: product-ads-inline-float 4.5s ease-in-out infinite;
}

.product-ads-inline-card--pulse {
    animation: product-ads-inline-pulse 2.8s ease-in-out infinite;
}

.product-ads-inline-card--fade-up {
    animation: product-ads-inline-glow 3s ease-in-out infinite;
}

@keyframes product-ads-inline-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes product-ads-inline-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 26px rgba(15, 23, 42, .18), 0 0 20px rgba(255, 215, 0, .16);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 14px 32px rgba(15, 23, 42, .24), 0 0 28px rgba(255, 215, 0, .32);
    }
}

@keyframes product-ads-inline-glow {
    0%, 100% {
        box-shadow: 0 10px 26px rgba(15, 23, 42, .18), 0 0 18px rgba(255, 215, 0, .14);
    }
    50% {
        box-shadow: 0 14px 32px rgba(15, 23, 42, .24), 0 0 30px rgba(255, 215, 0, .3);
    }
}

/* Homepage product carousel — inline ad as a slide among products */
.product_slider .item .product-ads-inline-slot--carousel {
    display: flex;
    align-items: stretch;
    height: 100%;
    margin: 5px;
    padding: 0;
}

.product_slider .product-ads-inline-slot--carousel .product-ads-inline-card {
    width: 100%;
    min-height: 300px;
    aspect-ratio: 3 / 4;
}

.product_slider .product-ads-inline-slot--carousel .product-ads-inline-card__views {
    background: rgba(15, 23, 42, .72);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
}

/* Align height with product cards in grid */
.shop_container.grid .product-ads-inline-slot {
    display: flex;
}

.shop_container.grid .product-ads-inline-card {
    min-height: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .product-ads-inline-card {
        min-height: 220px;
    }

    .product-ads-inline-card__price {
        font-size: 14px;
    }

    .product-ads-inline-card__name {
        font-size: 12px;
    }
}

@keyframes product-ads-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes product-ads-pulse {
    0%,100% { box-shadow: 0 8px 22px rgba(255, 50, 77, .16); }
    50% { box-shadow: 0 12px 28px rgba(255, 50, 77, .26); }
}

@keyframes product-ads-card-breath {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes product-ads-fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .product-ads__banner::after {
        background-size: 72% auto;
        background-position: center;
    }

    .product-ads__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .product-ads__grid {
        grid-template-columns: 1fr;
    }

    .product-ads__hero {
        max-width: 100%;
    }
}


/* -------------------------------------------------------------------------- */
/* Professional product ads (ads-pro) — scoped layout                           */
/* -------------------------------------------------------------------------- */

.ads-pro-section {
    --ads-pro-card-h: 168px;
    --ads-pro-banner-max: 1140px;
    padding: 10px 0 14px;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
}

.ads-pro-section .container {
    width: 100%;
    max-width: var(--ads-pro-banner-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.ads-pro-section *,
.ads-pro-section *::before,
.ads-pro-section *::after {
    box-sizing: border-box;
}

.ads-pro-section img {
    border: 0;
    vertical-align: middle;
}

/* Gold + silver frame — static (no spin / shine animation) */
.ads-pro-gold-frame,
.ads-pro-metal-frame {
    position: relative;
    border-radius: 14px;
    padding: 3px;
    overflow: hidden;
    border: none;
    background: linear-gradient(
        145deg,
        #b8860b 0%,
        #ffd700 12%,
        #f8fafc 22%,
        #c0c5ce 34%,
        #e5e7eb 44%,
        #d4af37 56%,
        #94a3b8 68%,
        #f1f5f9 78%,
        #c9a227 88%,
        #9ca3af 100%
    );
    box-shadow:
        0 14px 36px rgba(15, 23, 42, .2),
        inset 0 1px 0 rgba(255, 255, 255, .55),
        inset 0 -1px 0 rgba(148, 163, 184, .35);
}

.ads-pro-gold-frame::before,
.ads-pro-gold-frame::after,
.ads-pro-metal-frame::before,
.ads-pro-metal-frame::after {
    display: none !important;
    animation: none !important;
}

.ads-pro-gold-frame > .ads-pro-banner,
.ads-pro-metal-frame > .ads-pro-banner {
    position: relative;
    z-index: 2;
    border-radius: 14px;
    border: 1px solid rgba(192, 192, 192, .4);
    box-shadow:
        inset 0 0 0 1px rgba(255, 215, 0, .22),
        inset 0 0 12px rgba(148, 163, 184, .08);
}

/* Disable motion on large promo strip */
.ads-pro-section.product-ads--pulse .ads-pro-gold-frame,
.ads-pro-section.product-ads--float .ads-pro-gold-frame,
.ads-pro-section.product-ads--fade-up .ads-pro-gold-frame,
.ads-pro-section.product-ads--pulse .ads-pro-card,
.ads-pro-section.product-ads--float .ads-pro-banner,
.ads-pro-section.product-ads--fade-up .ads-pro-banner {
    animation: none !important;
}

.ads-pro-banner {
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    min-height: calc(var(--ads-pro-card-h) + 20px);
    background: linear-gradient(125deg, #0c1629 0%, #152238 35%, #1e2a42 65%, #2a2838 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.ads-pro-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 48px,
            rgba(180, 140, 60, .06) 48px,
            rgba(180, 140, 60, .06) 52px
        );
    pointer-events: none;
    z-index: 1;
}


.product-ads--pulse .ads-pro-card,
.product-ads--float .ads-pro-card,
.product-ads--fade-up .ads-pro-card {
    animation: none !important;
}

@keyframes ads-pro-banner-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes ads-pro-banner-fade-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ads-pro-card-breath {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.ads-pro-banner--has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--ads-pro-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(1.05) brightness(.82);
    z-index: 0;
}

.ads-pro-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(8, 16, 40, .52) 0%,
        rgba(12, 22, 48, .38) 45%,
        rgba(18, 24, 42, .28) 72%,
        rgba(60, 52, 32, .22) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.ads-pro-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    padding: 4px 11px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, rgba(15, 23, 42, .94) 0%, rgba(51, 65, 85, .9) 100%);
    border: 1px solid rgba(212, 175, 55, .65);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, .28),
        0 0 0 1px rgba(226, 232, 240, .2) inset;
    backdrop-filter: blur(10px);
}

.ads-pro-badge::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-inline-end: 6px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 8px rgba(251, 191, 36, .8);
    vertical-align: middle;
}

[dir="rtl"] .ads-pro-badge {
    left: auto;
    right: 10px;
}

.ads-pro-inner {
    position: relative;
    z-index: 2;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    gap: 10px;
    padding: 12px 12px 11px;
    min-height: var(--ads-pro-card-h);
    width: 100%;
    max-width: 100%;
    direction: ltr;
}

.ads-pro-brand {
    flex: 0 0 136px;
    width: 136px;
    max-width: 136px;
    min-width: 136px;
    min-height: var(--ads-pro-card-h);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 10px 10px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(148, 163, 184, .06));
    border: 1px solid rgba(212, 175, 55, .45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .14),
        inset 0 0 0 1px rgba(226, 232, 240, .15);
    direction: rtl;
    text-align: right;
    overflow: hidden;
}

.ads-pro-brand__copy {
    min-width: 0;
    flex: 1 1 auto;
}

.ads-pro-brand__logo {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 50%;
    padding: 4px;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(255, 207, 90, .65), 0 6px 14px rgba(0, 0, 0, .18);
    overflow: hidden;
    align-self: flex-end;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ads-pro-section .ads-pro-brand__logo img {
    width: 100% !important;
    height: 100% !important;
    max-width: 34px !important;
    max-height: 34px !important;
    object-fit: contain !important;
    object-position: center;
    display: block;
}

.ads-pro-brand__eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #fcd34d;
    letter-spacing: .03em;
    margin-bottom: 3px;
}

.ads-pro-brand__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.15;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ads-pro-brand__stars {
    display: flex;
    gap: 2px;
    margin-top: 4px;
    color: #fbbf24;
    font-size: 10px;
    line-height: 1;
}

.ads-pro-showcase {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
    align-self: stretch;
}

.ads-pro-showcase--count-1 {
    grid-template-columns: minmax(0, 280px);
    justify-content: center;
}

.ads-pro-showcase--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .ads-pro-inner {
        flex-flow: row nowrap !important;
    }

    .ads-pro-brand {
        flex: 0 0 136px !important;
        width: 136px !important;
        max-width: 136px !important;
        flex-flow: column nowrap !important;
    }

    .ads-pro-showcase {
        flex: 1 1 0 !important;
        width: auto !important;
    }
}

.ads-pro-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    display: block;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ads-pro-card--glass {
    position: relative;
    width: 100%;
    height: var(--ads-pro-card-h);
    min-height: var(--ads-pro-card-h);
    max-height: var(--ads-pro-card-h);
    aspect-ratio: auto;
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

.ads-pro-card--glass:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 120, .55);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, .28),
        0 0 24px rgba(251, 191, 36, .12);
    text-decoration: none;
}

.ads-pro-card__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: rgba(8, 16, 35, .25);
}

.ads-pro-section .ads-pro-card__media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center;
    transition: transform .4s ease;
}

.ads-pro-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 38%,
        rgba(255, 255, 255, .1) 46%,
        rgba(255, 255, 255, .5) 50%,
        rgba(255, 255, 255, .1) 54%,
        transparent 62%,
        transparent 100%
    );
    background-size: 220% 100%;
    background-position: 200% 0;
}

.ads-pro-card--glass:hover .ads-pro-card__media::after {
    opacity: 1;
    animation: ads-pro-card-shine-sweep .85s ease-in-out;
}

.ads-pro-card--glass:hover .ads-pro-card__media img {
    transform: scale(1.06);
}

@keyframes ads-pro-card-shine-sweep {
    0% {
        background-position: 200% 0;
        opacity: .35;
    }
    45% {
        opacity: 1;
    }
    100% {
        background-position: -200% 0;
        opacity: .35;
    }
}

.ads-pro-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 6px 8px 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    direction: rtl;
    text-align: right;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(8, 16, 35, .35) 35%,
        rgba(8, 16, 35, .92) 100%
    );
}

.ads-pro-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    flex-wrap: wrap;
}

.ads-pro-card__name {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ads-pro-card--glass .ads-pro-card__name {
    color: #f8fafc;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

.ads-pro-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.ads-pro-card__price strong {
    font-size: 13px;
    font-weight: 900;
    color: #b91c1c;
}

.ads-pro-card--glass .ads-pro-card__price strong {
    color: #fde68a;
}

.ads-pro-card__price del {
    font-size: 10px;
    color: #94a3b8;
}

.ads-pro-card--glass .ads-pro-card__price del {
    color: rgba(226, 232, 240, .65);
}

.ads-pro-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    color: #fff;
    background: var(--ads-accent, var(--color-1st, #f59e0b));
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--ads-accent, var(--color-1st, #f59e0b)) 45%, transparent);
    transition: box-shadow .25s ease, transform .25s ease, filter .25s ease;
}

.ads-pro-card--glass:hover .ads-pro-card__cta {
    filter: brightness(1.06);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--ads-accent, var(--color-1st, #f59e0b)) 55%, transparent);
    transform: translateY(-1px);
}

.ads-pro-card__cta i {
    font-size: 9px;
}

[dir="rtl"] .ads-pro-card__cta i {
    transform: scaleX(-1);
}

.ads-pro-card--glass:nth-child(1) {
    border-color: rgba(251, 191, 36, .38);
}

.ads-pro-card--glass:nth-child(2) {
    border-color: rgba(96, 165, 250, .4);
}

.ads-pro-card--glass:nth-child(3) {
    border-color: rgba(244, 114, 182, .38);
}

/* Slider shell (Owl Carousel) */
.ads-pro-section .ads-story-slider {
    width: 100% !important;
    max-width: 100%;
    display: block;
}

.ads-pro-section .ads-story-slider:not(.owl-loaded) {
    display: block !important;
}

.ads-pro-section .ads-story-slider:not(.owl-loaded) > .ads-story-slide-item:not(:first-child) {
    display: none !important;
}

.ads-pro-section .ads-story-slide-item {
    width: 100%;
    max-width: 100%;
}

.ads-pro-section .ads-story-slider .owl-stage-outer,
.ads-pro-section .ads-story-slider .owl-stage,
.ads-pro-section .ads-story-slider .owl-item {
    overflow: hidden;
    max-width: 100%;
}

.ads-pro-section .ads-story-slider .owl-stage-outer {
    border-radius: 20px;
    width: 100% !important;
}

.ads-pro-section .ads-story-slider.owl-loaded .owl-item .ads-pro-banner,
.ads-pro-section .ads-story-slider.owl-loaded .owl-item .ads-story-slide-item {
    width: 100%;
    max-width: 100%;
}

.ads-pro-section .ads-pro-banner {
    width: 100%;
    max-width: 100%;
}

/* Slider footer controls */
.ads-story-slider-footer {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    direction: ltr;
}

.ads-story-slider-footer--dark {
    padding: 10px 14px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, #3d4458 0%, #2c3142 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .22);
}

.ads-story-slider-footer--light {
    padding: 4px 0 0;
    background: transparent;
    box-shadow: none;
    align-items: flex-end;
}

.ads-story-slider-footer__center {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ads-story-slider-footer__track {
    flex: 1;
    min-width: 0;
    max-width: 420px;
    position: relative;
    padding-top: 22px;
    padding-bottom: 22px;
}

.ads-story-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ads-story-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    cursor: pointer;
    transition: width .35s ease, background .35s ease, box-shadow .35s ease;
}

.ads-story-dot.is-active {
    width: 30px;
    background: linear-gradient(90deg, #ffb347, #e61da9);
    box-shadow: 0 0 14px rgba(230, 29, 169, .4);
}

.ads-story-progress-row {
    width: 100%;
    max-width: 340px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ads-story-timer--dark {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #d946ef, #9333ea);
    box-shadow: 0 0 16px rgba(217, 70, 239, .55);
}

.ads-story-progress--dark {
    flex: 1;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    overflow: hidden;
}

.ads-story-progress--dark .ads-story-progress__bar {
    background: linear-gradient(90deg, #ffcf5a 0%, #f59e0b 40%, #e61da9 100%);
    box-shadow: 0 0 12px rgba(255, 180, 60, .45);
}

.ads-story-counter--dark {
    flex: 0 0 auto;
    min-width: 44px;
    text-align: center;
    color: #f1f5f9;
    font-size: 13px;
    font-weight: 700;
}

.ads-story-light-meta {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.ads-story-light-pause {
    display: block;
    width: 18px;
    height: 8px;
    background:
        linear-gradient(#c4c9d4, #c4c9d4) left center / 7px 2px no-repeat,
        linear-gradient(#c4c9d4, #c4c9d4) right center / 7px 2px no-repeat;
    border-radius: 1px;
    opacity: .85;
}

.ads-story-timer--light {
    font-size: 15px;
    font-weight: 600;
    color: #b8beca;
    line-height: 1;
}

.ads-story-progress--light {
    height: 10px;
    border-radius: 999px;
    background: #eef1f6;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.ads-story-progress--light .ads-story-progress__bar {
    background: linear-gradient(90deg, #ffcf5a 0%, #f59e0b 100%);
}

.ads-story-counter--light {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #1e293b;
    font-size: 15px;
    font-weight: 800;
}

.ads-story-progress__bar {
    display: block;
    height: 100%;
    width: 0;
}

.ads-story-progress__bar.is-animating {
    animation: ads-story-progress-run 10s linear forwards;
}

.ads-story-arrow {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #d4a84b;
    background: #fff;
    color: #9a7428;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .12);
    transition: transform .2s ease, box-shadow .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ads-story-slider-footer--light .ads-story-arrow {
    margin-bottom: 14px;
}

.ads-story-arrow:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(212, 168, 75, .28);
}

@keyframes ads-story-progress-run {
    from { width: 0; }
    to { width: 100%; }
}

@media (max-width: 1199px) {
    .ads-pro-section {
        --ads-pro-banner-max: 960px;
    }
}

@media (max-width: 991px) {
    .ads-pro-section {
        --ads-pro-banner-max: 720px;
    }
}

@media (max-width: 767px) {
    .ads-pro-section {
        --ads-pro-card-h: 152px;
        --ads-pro-banner-max: 100%;
    }

    .ads-pro-gold-frame,
    .ads-pro-metal-frame {
        border-radius: 15px;
        padding: 3px;
    }

    .ads-pro-banner {
        min-height: auto;
        border-radius: 11px;
    }

    .ads-pro-inner {
        flex-flow: column nowrap !important;
        min-height: auto;
        padding: 12px 10px 10px;
        gap: 10px;
    }

    .ads-pro-brand {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex-flow: row nowrap !important;
        align-items: center !important;
        padding: 10px 12px;
        gap: 10px;
    }

    .ads-pro-brand__logo {
        align-self: center;
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
    }

    .ads-pro-section .ads-pro-brand__logo img {
        max-width: 36px !important;
        max-height: 36px !important;
    }

    .ads-pro-brand__title {
        font-size: 1.05rem;
        color: #fff !important;
    }

    .ads-pro-showcase {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    .ads-pro-showcase,
    .ads-pro-showcase--count-2,
    .ads-pro-showcase--count-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .ads-pro-showcase--count-1 {
        grid-template-columns: minmax(0, 1fr) !important;
        max-width: 280px;
        margin: 0 auto;
    }

    .ads-pro-showcase--count-1 .ads-pro-card,
    .ads-pro-showcase--count-3 .ads-pro-card:last-child {
        grid-column: 1 / -1;
    }

    .ads-story-slider-footer--dark {
        padding: 8px 10px 10px;
        gap: 8px;
    }

    .ads-story-progress-row {
        max-width: 100%;
    }

    .ads-story-slider-footer__track {
        max-width: 100%;
    }

    .ads-story-arrow {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
}

@media (max-width: 575px) {
    .ads-pro-section {
        --ads-pro-card-h: 140px;
    }

    .ads-pro-card__body {
        padding: 14px 6px 6px;
    }

    .ads-pro-card__cta {
        padding: 4px 10px;
        font-size: 9px;
    }

    .ads-pro-card__name {
        font-size: 12px;
    }

    .ads-pro-card__price strong {
        font-size: 14px;
    }

    .ads-pro-brand {
        padding: 10px;
    }

    .ads-pro-brand__title {
        font-size: 1rem;
    }
}
