.sidebar-sticky {
    position: sticky;
    top: 76px
}

.mobile-buy-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border-top: 1px solid #dee2e6;
    padding: .75rem 1rem;
    gap: .75rem;
    align-items: center
}

@media (max-width:991.98px) {
    .mobile-buy-bar {
        display: flex
    }

    body {
        padding-bottom: 72px
    }
}

.file-item {
    display: flex;
    align-items: start;
    gap: .75rem;
    padding: .65rem .8rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    word-break: break-word
}

.faq-accordion .accordion-button {
    background: #f8f9fa;
    font-weight: 500;
    box-shadow: none;
    border: none;
    color: #212529
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: #e2e2e2;
    color: #151718
}

.faq-accordion .accordion-button::after {
    filter: none
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0
}

.review-like-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: .8rem;
    cursor: pointer;
    padding: .2rem .4rem;
    transition: color .2s
}

.review-like-btn:hover {
    color: #3b82f6
}

.review-rate-badge {
    font-size: .78rem
}

.chapter-block {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: .75rem
}

.chapter-header {
    background: #f8f9fa;
    padding: .65rem 1rem;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer
}

.lesson-item {
    padding: .5rem 1rem;
    font-size: .85rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: .5rem
}

.lesson-item i {
    width: 16px;
    text-align: center;
    color: #6c757d
}

.stock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: .45rem;
    color: #555
}

.stock-row .sold {
    color: #28a745
}

.stock-row .remaining {
    color: #454545
}

.progress-wrap {
    position: relative;
    height: 11px;
    border-radius: 99px;
    background: #e9ecef;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, #f5a623 0%, #f7c45e 60%, #f5a623 100%);
    background-size: 200% 100%;
    overflow: hidden;
    transition: width .6s cubic-bezier(.4, 0, .2, 1)
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgb(255 255 255 / .55) 50%, transparent 70%);
    animation: sheen 2.2s ease-in-out infinite
}

.progress-fill.filling {
    animation: fillUp 1.2s cubic-bezier(.4, 0, .2, 1) forwards
}

@keyframes sheen {
    0% {
        left: -60%
    }

    100% {
        left: 130%
    }
}

@keyframes fillUp {
    0% {
        width: var(--fill-from);
        background-position: 0% 0%
    }

    70% {
        width: 100%;
        background-position: 100% 0%;
        filter: brightness(1.08)
    }

    100% {
        width: var(--fill-from);
        background-position: 0% 0%;
        filter: brightness(1)
    }
}

.badge-limited {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
    gap: .3rem;
    font-size: .65rem;
    font-weight: 500;
    color: #dc3545;
    letter-spacing: .02em;
    text-transform: uppercase
}

.badge-limited i {
    font-size: .8rem;
    animation: pulse-dot 1.1s ease-in-out infinite
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.25)
    }
}

.price-old {
    font-size: 1rem;
    color: #aaa;
    text-decoration: line-through
}

.price-new { 
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
    line-height: 1;
    letter-spacing: -.02em
}

.price-unit {
    font-size: .85rem;
    font-weight: 600;
    color: #dc3545
}

.discount-badge {
    background: #181818;
    color: #f5f5f5;
    font-size: .68rem;
    font-weight: 700;
    padding: .18rem .45rem;
    border-radius: 6px;
    letter-spacing: .03em;
    vertical-align: middle;
    margin-bottom: 40px; display: inline-block;
}
@media screen and (max-width : 768px) {
   .price-old {
    font-size: .85rem; 
}

.price-new { 
    font-size: 1.56rem;
}

.price-unit {
    font-size: .75rem;
}

.discount-badge { 
    font-size: .6rem;
    padding: .13rem .35rem;
    margin-bottom: 18px;
} 
}
.countdown-label {
    font-size: .78rem;
    color: #888;
    font-weight: 500;
    text-align: center;
    margin-bottom: .5rem
}

.countdown-wrap {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 1rem
}

.checkoutPage .countdown-wrap { 
  gap: .2rem;
  margin-bottom: 0rem;
}

.cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .18rem
}

.cd-box {
    background: #d50d0d27;
    color: #a50505;
    font-size: 1.2rem;
    font-weight: 700;
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    letter-spacing: .04em;
    position: relative;
    overflow: hidden;
    transition: transform .15s
}

.checkoutPage .cd-box {
    background: #d50d0d27;
    color: #a50505;
    font-size: 0.8rem; 
    width: 28px;
    height: 28px; 
}

.cd-box.elapsed {
    background: #4f4f4f27;
    color: #585858;
}

.cd-box.flip {
    animation: flip-num .22s ease-in-out
}

@keyframes flip-num {
    0% {
        transform: rotateX(0deg)
    }

    50% {
        transform: rotateX(-90deg);
        opacity: .4
    }

    100% {
        transform: rotateX(0deg)
    }
}

.cd-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: rgb(255 255 255 / .04);
    border-radius: 10px 10px 0 0
}

.cd-sep {
    font-size: 1.4rem;
    font-weight: 800;
    color: #9d9d9d;
    line-height: 52px
}
.checkoutPage .cd-sep{
        font-size: 0.7rem; 
    line-height: 32px
}

.cd-label {
    font-size: .6rem;
    font-weight: 600;
    color: #4d4d4d;
    text-transform: uppercase;
    letter-spacing: .06em
}

.checkoutPage .cd-label {
    font-size: .5rem; 
}

.btn-cta {
    display: block;
    width: 100%;
    padding: .75rem 1rem;
    background: linear-gradient(135deg, #ff9143 0%, #f37820 100%);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 4px 18px rgb(255 138 13 / .201);
    transition: transform .15s, box-shadow .15s, filter .15s;
    text-decoration: none;
    position: relative;
    overflow: hidden
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgb(255 138 13 / .292);
    color: #fff
}

.btn-shine:active {
    transform: translateY(0)
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgb(255 255 255 / .3), transparent);
    animation: cta-shine 2.5s ease-in-out infinite 1s
}

@keyframes cta-shine {
    0% {
        left: -100%
    }

    60% {
        left: 130%
    }

    100% {
        left: 130%
    }
}

.trust-row {
    display: flex;
    align-items: center;
    font-size: .73rem;
    color: #666;
    margin-bottom: .35rem;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .68rem;
    font-weight: 600;
    color: #3d3d3d;
    background: #f8f8f8;
    border-radius: 50px;
    padding: 5px 12px
}

.trust-row i {
    color: #28a745;
    font-size: .85rem
}

.payment-label {
    font-size: .72rem;
    color: #aaa;
    font-weight: 500;
    margin-bottom: .5rem;
    margin-top: .6rem;
    text-align: center
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem
}

.pay-icon {
    width: 38px;
    height: 26px;
    border-radius: 5px;
    border: 1px solid #e2e6ea;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .62rem;
    font-weight: 700;
    color: #333;
    letter-spacing: -.01em
}

.pay-icon img { 
    object-fit: contain !important
}

.sidebar-divider {
    border-top: 1px solid #f0f0f0;
    margin: .85rem 0 .6rem
}

.bottom-actions {
    display: flex;
    justify-content: space-around;
    padding: .6rem .5rem .3rem;
    border-top: 1px solid #f0f0f0
}

.bottom-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    font-size: .68rem;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    text-decoration: none;
    transition: color .15s
}

.bottom-action i {
    font-size: 1rem
}

.bottom-action:hover {
    color: #f37820
}

@keyframes urgency-ring {
    0% {
        box-shadow: 0 8px 40px rgb(0 0 0 / .10), 0 0 0 0 rgb(220 53 69 / .18)
    }

    70% {
        box-shadow: 0 8px 40px rgb(0 0 0 / .10), 0 0 0 10px rgb(220 53 69 / 0)
    }

    100% {
        box-shadow: 0 8px 40px rgb(0 0 0 / .10), 0 0 0 0 rgb(220 53 69 / 0)
    }
}

.product-sidebar:hover {
    animation: urgency-ring 1.8s ease-out 1
}