/*
|--------------------------------------------------------------------------
| PRODUCT PAGE
|--------------------------------------------------------------------------
*/

.asn-product-page {
    background: #F4F7FB;
    padding: 50px 0 100px;
}

.asn-container {
    width: min(1380px, 92%);
    margin: 0 auto;
}

/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.asn-product-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: start;
}

/*
|--------------------------------------------------------------------------
| GALLERY
|--------------------------------------------------------------------------
*/

.asn-product-gallery-column {
    position: sticky;
    top: 40px;
}

.asn-main-image-card {
    position: relative;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow:
        0 20px 50px rgba(15,23,42,0.06);
}

.asn-main-product-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.asn-discount-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 20;
    background: linear-gradient(
        135deg,
        #EF4444,
        #DC2626
    );
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    box-shadow:
        0 10px 30px rgba(239,68,68,0.25);
}

/*
|--------------------------------------------------------------------------
| THUMBNAILS
|--------------------------------------------------------------------------
*/

.asn-gallery-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.asn-gallery-nav {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #0F172A;
    font-size: 24px;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow:
        0 8px 24px rgba(15,23,42,0.06);
    transition: 0.25s ease;
}

.asn-gallery-nav:hover {
    transform: translateY(-2px);
}

.asn-gallery-thumbnails {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}

.asn-gallery-thumbnails::-webkit-scrollbar {
    display: none;
}

.asn-gallery-thumb {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid transparent;
    background: #fff;
    flex-shrink: 0;
    transition: 0.25s ease;
    box-shadow:
        0 8px 24px rgba(15,23,42,0.05);
}

.asn-gallery-thumb:hover {
    transform: translateY(-3px);
}

.asn-gallery-thumb.active {
    border-color: #22C55E;
}

/*
|--------------------------------------------------------------------------
| CONTENT
|--------------------------------------------------------------------------
*/

.asn-product-content {
    padding-top: 10px;
}

.asn-product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #DCFCE7;
    color: #15803D;
    height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.asn-product-title {
    font-size: 54px;
    line-height: 1.05;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

/*
|--------------------------------------------------------------------------
| PRICING
|--------------------------------------------------------------------------
*/

.asn-product-pricing {
    margin-bottom: 28px;
}

.asn-original-price {
    font-size: 28px;
    color: #94A3B8;
    text-decoration: line-through;
    margin-bottom: 12px;
    font-weight: 700;
}

.asn-price-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.asn-sale-price {
    font-size: 62px;
    line-height: 1;
    font-weight: 900;
    color: #15803D;
    letter-spacing: -2px;
}

.asn-save-badge {
    background: #FED7AA;
    color: #EA580C;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
}

.asn-savings {
    margin-top: 16px;
    color: #F97316;
    font-size: 18px;
    font-weight: 700;
}

/*
|--------------------------------------------------------------------------
| SIGNALS
|--------------------------------------------------------------------------
*/

.asn-marketplace-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.asn-signal-pill {
    background: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    border: 1px solid #E2E8F0;
}

/*
|--------------------------------------------------------------------------
| DESCRIPTION
|--------------------------------------------------------------------------
*/

.asn-short-description {
    font-size: 18px;
    line-height: 1.9;
    color: #64748B;
    margin-bottom: 32px;
}

.asn-full-description {
    font-size: 17px;
    line-height: 2;
    color: #475569;
}

/*
|--------------------------------------------------------------------------
| META
|--------------------------------------------------------------------------
*/

.asn-product-meta-card {
    background: #fff;
    border-radius: 28px;
    padding: 12px 30px;
    margin-bottom: 28px;
    border: 1px solid #E2E8F0;
    box-shadow:
        0 12px 30px rgba(15,23,42,0.04);
}

.asn-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid #E2E8F0;
}

.asn-meta-row:last-child {
    border-bottom: none;
}

.asn-meta-row span {
    color: #64748B;
    font-size: 15px;
    font-weight: 600;
}

.asn-meta-row strong {
    color: #0F172A;
    font-size: 15px;
    font-weight: 800;
    text-align: right;
}

.asn-stock-success {
    color: #16A34A !important;
}

/*
|--------------------------------------------------------------------------
| TRUST
|--------------------------------------------------------------------------
*/

.asn-trust-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.asn-trust-item {
    background: #fff;
    border-radius: 22px;
    padding: 22px;
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    border: 1px solid #E2E8F0;
}

/*
|--------------------------------------------------------------------------
| ACTIONS
|--------------------------------------------------------------------------
*/

.asn-product-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.asn-whatsapp-order-btn,
.asn-call-vendor-btn {
    height: 66px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    transition: 0.25s ease;
}

.asn-whatsapp-order-btn {
    background: linear-gradient(
        135deg,
        #22C55E,
        #16A34A
    );
    color: #fff;
    box-shadow:
        0 14px 34px rgba(34,197,94,0.22);
}

.asn-call-vendor-btn {
    background: linear-gradient(
        135deg,
        #FB923C,
        #F97316
    );
    color: #fff;
    box-shadow:
        0 14px 34px rgba(249,115,22,0.22);
}

.asn-whatsapp-order-btn:hover,
.asn-call-vendor-btn:hover {
    transform: translateY(-3px);
}

/*
|--------------------------------------------------------------------------
| CONTENT SECTIONS
|--------------------------------------------------------------------------
*/

.asn-product-section {
    margin-top: 60px;
}

.asn-section-card {
    background: #fff;
    border-radius: 32px;
    padding: 44px;
    border: 1px solid #E2E8F0;
    box-shadow:
        0 18px 50px rgba(15,23,42,0.04);
}

.asn-section-title {
    font-size: 34px;
    line-height: 1.1;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 32px;
}

/*
|--------------------------------------------------------------------------
| SPECIFICATIONS
|--------------------------------------------------------------------------
*/

.asn-spec-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.asn-spec-item {
    background: #F8FAFC;
    border-radius: 22px;
    padding: 26px;
}

.asn-spec-name {
    font-size: 13px;
    color: #64748B;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.asn-spec-value {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 1200px) {

    .asn-product-title {
        font-size: 46px;
    }

    .asn-sale-price {
        font-size: 52px;
    }

}

@media (max-width: 992px) {

    .asn-product-hero {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .asn-product-gallery-column {
        position: relative;
        top: auto;
    }

    .asn-product-title {
        font-size: 40px;
    }

    .asn-sale-price {
        font-size: 46px;
    }

}

@media (max-width: 768px) {

    .asn-product-page {
        padding: 30px 0 70px;
    }

    .asn-container {
        width: 94%;
    }

    .asn-product-title {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .asn-sale-price {
        font-size: 38px;
    }

    .asn-original-price {
        font-size: 22px;
    }

    .asn-short-description {
        font-size: 16px;
    }

    .asn-marketplace-signals {
        flex-direction: column;
    }

    .asn-signal-pill {
        width: 100%;
        text-align: center;
    }

    .asn-trust-grid {
        grid-template-columns: 1fr;
    }

    .asn-spec-grid {
        grid-template-columns: 1fr;
    }

    .asn-section-card {
        padding: 28px;
        border-radius: 26px;
    }

    .asn-section-title {
        font-size: 28px;
    }

    .asn-gallery-thumb {
        width: 74px;
        height: 74px;
    }

    .asn-whatsapp-order-btn,
    .asn-call-vendor-btn {
        height: 60px;
        font-size: 16px;
    }

}

/*
|--------------------------------------------------------------------------
| IMAGE TRANSITIONS
|--------------------------------------------------------------------------
*/

.asn-main-product-image {
    transition:
        opacity 0.25s ease,
        transform 0.4s ease;
}

.asn-image-switching {
    opacity: 0.55;
    transform: scale(0.985);
}

/*
|--------------------------------------------------------------------------
| THUMBNAIL EFFECTS
|--------------------------------------------------------------------------
*/

.asn-gallery-thumb {

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;

}

.asn-gallery-thumb:hover {

    transform:
        translateY(-4px)
        scale(1.03);

    box-shadow:
        0 14px 34px rgba(15,23,42,0.14);

}

.asn-gallery-thumb.active {

    border-color: #22C55E;

    box-shadow:
        0 0 0 4px rgba(34,197,94,0.15);

}

/*
|--------------------------------------------------------------------------
| NAVIGATION BUTTONS
|--------------------------------------------------------------------------
*/

.asn-gallery-nav {

    transition:
        transform 0.25s ease,
        background 0.25s ease;

}

.asn-gallery-nav:hover {

    background: #22C55E;
    color: #fff;

    transform:
        translateY(-2px)
        scale(1.05);

}

/*
|--------------------------------------------------------------------------
| MAIN IMAGE CINEMATIC EFFECT
|--------------------------------------------------------------------------
*/

.asn-main-image-card {

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;

}

.asn-main-image-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        0 30px 80px rgba(15,23,42,0.12);

}
