﻿h2 {
    position: relative;
    padding-bottom: 12px;
}

    h2::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 135px;
        height: 2px;
        background-color: var(--tertiary);
    }

tbody, td, tfoot, th, thead, tr {
    border-style: solid;
    border-width: 1px;
    padding: 4px 8px;
    border-color: var(--gray-15);
}

.navbar, .breadcrumb, .section-header, .swiper-category-container, .filter-btn-mobile, .all-products .section-header, paging {
    display: none !important;
}

.index {
    padding-top: 0;
    padding-bottom: 0;
}

.mb-32px, .all-products {
    margin: 0;
}

.container-fluid {
    margin: 0;
    padding: 0;
}

.product-card-modern {
    border: 0;
    overflow: hidden;
    background: transparent;
}

.product-image {
    position: relative;
    display: block;
    overflow: hidden;
}
.product-image img {
    height: 100vh;
    object-fit: cover;
}

    .product-image:hover img {
        transform: scale(1.05);
    }

/**************************
        Actions
**************************/

.back-actions {
    position: absolute;
    top: 5%;
    left: 18px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 10;
}
.product-actions {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 10;
}

.all-products .action-btn {
    min-width: auto !important;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #1212124d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.25), 0 10px 30px rgba(0,0,0,.35), inset 0 1px 1px rgba(255,255,255,.15);
}

    .all-products .action-btn svg {
        width: 22px;
        height: 22px;
    }

    .all-products .action-btn:hover { 
        transform: scale(1.1);
    }

/**************************
          Overlay
**************************/

.product-overlay {
    position: absolute;
    right: 18px;
    left: 18px;
    bottom: 18px;
    z-index: 5;
}

.product-info {
    border-radius: 22px;
    padding: 18px;
    background: rgb(30 30 30 / 26%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
}

.product-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
}

.old-price {
    text-decoration: line-through;
    color: rgba(255,255,255,.6);
    margin-left: 8px;
}

.discount-percent {
    color: #ff6565;
    font-weight: 700;
}

/**************************
         Rating
**************************/

.product-rate {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0,0,0,.35);
    color: #fff;
    backdrop-filter: blur(12px);
    font-size: 13px;
    z-index: 10;
}

/**************************
        Mobile
**************************/

@media (max-width:768px) {

    .action-btn {
        width: 46px;
        height: 46px;
    }

        .action-btn svg {
            width: 18px;
            height: 18px;
        }

    .product-title {
        font-size: 14px;
    }

    .product-price {
        font-size: 18px;
    }
}
html,
body {
    height: 100%;
    overflow: hidden;
}

.reels-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}

.reels-container::-webkit-scrollbar {
    display: none;
}

.reels-container {
    scrollbar-width: none;
}

.reel-item {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    overflow: hidden;
}

.product-card-modern {
    width: 100%;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.22,.61,.36,1), filter .8s;
}

.reel-item.active img {
    transform: scale(1);
}

.reel-item:not(.active) img {
    transform: scale(1.08);
    filter: brightness(.75);
}

/*******************
Overlay Animation
********************/

.product-overlay {
    transition: transform .7s, opacity .7s;
    transform: translateY(50px);
    opacity: 0;
}

.reel-item.active .product-overlay {
    transform: translateY(0);
    opacity: 1;
}

/*******************
Buttons
********************/

.product-actions {
    transition: transform .7s, opacity .7s;
    transform: translateX(40px);
    opacity: 0;
}

.reel-item.active .product-actions {
    transform: translateX(0);
    opacity: 1;
}

/*******************
Rate
********************/

.product-rate {
    transition: transform .7s, opacity .7s;
    transform: translateY(-30px);
    opacity: 0;
}

.reel-item.active .product-rate {
    transform: translateY(0);
    opacity: 1;
}