/* =========================================
   Apple Style Premium Top Header Ads
========================================= */

.lw-ad-box {
    position: relative;
    overflow: hidden;

    background: rgba(255,255,255,0.75);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.25);

    border-radius: 22px;

    padding: 18px 22px;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.06),
        0 2px 10px rgba(0,0,0,0.04);

    transition: all 0.35s ease;

    margin-bottom: 10px;
}

.lw-ad-box:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.08),
        0 5px 15px rgba(0,0,0,0.05);
}

/* =========================================
   Text Ad Typography
========================================= */

.lw-ad-box h5 {
    font-size: 20px;
    font-weight: 700;

    letter-spacing: -0.5px;

    margin-bottom: 10px;

    color: #111827;
}

.lw-ad-box p {
    font-size: 15px;
    line-height: 1.7;

    color: #4b5563;

    margin-bottom: 18px;
}

/* =========================================
   Premium Buttons
========================================= */

.lw-ad-box .btn {
    border-radius: 999px;

    padding: 10px 22px;

    font-weight: 600;

    border: none;

    transition: all 0.3s ease;
}

.lw-ad-box .btn-primary {
    background: #111827;
    color: #fff;
}

.lw-ad-box .btn-primary:hover {
    background: #000;

    transform: scale(1.03);
}

/* =========================================
   Banner Ads
========================================= */

.lw-ad-box img {
    width: 100%;

    border-radius: 18px;

    transition: transform 0.5s ease;
}

.lw-ad-box:hover img {
    transform: scale(1.02);
}

/* =========================================
   Floating Glow
========================================= */

.lw-ad-box::before {
    content: '';

    position: absolute;

    top: -50%;
    left: -50%;

    width: 200%;
    height: 200%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.28) 0%,
            transparent 65%
        );

    opacity: 0;

    transition: opacity 0.5s ease;

    pointer-events: none;
}

.lw-ad-box:hover::before {
    opacity: 1;
}

/* =========================================
   Product Card Ad Style
========================================= */

.product-ad-modern {
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f5f5f7 100%
    );

    border-radius: 28px;

    overflow: hidden;

    padding: 18px;

    box-shadow:
        0 10px 40px rgba(0,0,0,0.06);

    transition: all 0.4s ease;
}

.product-ad-modern:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 50px rgba(0,0,0,0.1);
}

/* =========================================
   Apple Gradient Text
========================================= */

.apple-gradient-text {
    background: linear-gradient(
        90deg,
        #111827,
        #4b5563
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-weight: 800;
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 768px) {

    .lw-ad-box {
        padding: 15px;
        border-radius: 18px;
    }

    .lw-ad-box h5 {
        font-size: 18px;
    }

    .lw-ad-box p {
        font-size: 14px;
    }
}

/* =========================================
   PRODUCT CARD SIZE MATCHING ADS
========================================= */

.premium-product-ad {
    border-radius: 22px;

    background: #fff;

    transition: all 0.35s ease;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.05);

    height: 100%;
}

.premium-product-ad:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 45px rgba(0,0,0,0.12);
}



/* ONLY PRODUCT CARD ADS */
.premium-product-ad .premium-ad-image-wrap {
    width: 100%;
    height: 250px;

    position: relative;

    overflow: hidden;
}


/* IMAGE */
.premium-ad-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.premium-product-ad:hover .premium-ad-image {
    transform: scale(1.05);
}

/* BODY */
.premium-ad-body {
    padding: 14px 16px;
}


/* ONLY PRODUCT CARD ADS */
.premium-product-ad .premium-ad-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 220px;
}

/* BADGE */
.premium-sponsored-badge {
    display: inline-block;

    background: rgba(0,0,0,0.06);

    color: #666;

    font-size: 12px;

    padding: 5px 10px;

    border-radius: 999px;

    margin-bottom: 8px;

    font-weight: 600;
}

/* TITLE */
.premium-ad-title {

    font-weight: 700;

    color: #111827;

}

/* TEXT */
.premium-ad-text {
    color: #666;

    font-size: 14px;

    line-height: 1.7;

    min-height: 48px;
}

/* BUTTON */


/* =========================================
   MATCH REAL PRODUCT BUTTON
========================================= */

/* ONLY PRODUCT CARD ADS */
.premium-product-ad .premium-ad-btn-real {
    border-radius: 10px !important;

    padding: 12px 16px !important;

    font-size: 15px !important;

    font-weight: 600;

    transition: all 0.3s ease;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
}

.premium-product-ad:hover .premium-ad-btn-real {
    background: #000 !important;

    transform: translateY(-1px);
}




.premium-ad-text {
    color: #6b7280;

    font-size: 14px;

    line-height: 1.45;

    margin: 0 0 12px 0;

    min-height: auto;
}


/* MOBILE */
@media (max-width: 768px) {

    .premium-ad-image-wrap {
        height: 220px;
    }

    .premium-ad-title {
        font-size: 16px;
    }
}



/* RIGHT FLOAT */
.floating-right-ad {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 320px;
    z-index: 9999;
}

/* LEFT FLOAT */
.floating-left-ad {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 320px;
    z-index: 9999;
}

/* =========================================
   FOOTER ADS
========================================= */

.footer-ad-body {
    padding: 12px !important;
}

/* =========================================
   POPUP ADS
========================================= */

.modal-content {
    border-radius: 24px;
    overflow: hidden;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .floating-ad-box {
        width: calc(100% - 20px);

        right: 10px;
        left: 10px;

        bottom: 10px;
    }
}


