.lr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lr-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 24px;
    cursor: pointer;
}

.lr-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lr-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lr-grid-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lr-grid-content .lr-arrow-icon svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.lr-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent);
    color: #fff;
}

.lr-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lr-popup.active {
    display: flex;
}

/* Reel Popup - Closer to Reference Design */
.lr-popup-inner {
    width: 420px;
    height: 88vh;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
}

.lr-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Vertical Controls */
.lr-right-controls {
    position: absolute;
    right: 18px;
    top: 45%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 15;
}

.lr-control-btn {
    width: 54px;
    height: 54px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    padding: 0px !important;
}

.lr-control-btn:hover {
    background: #ff2d55;
    transform: scale(1.12);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff2d55;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bottom Product Bar - Like Reference */
.lr-product-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92), transparent);
    padding: 20px 20px 25px;
    z-index: 20;
}

.lr-product-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 14px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lr-thumb img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 12px;
}

.lr-info {
    flex: 1;
}

.lr-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lr-title-row h4 {
    margin: 0;
    color: #fff;
    font-size: 16.5px;
    font-weight: 600;
}

.lr-wishlist-btn {
    color: #fff;
    font-size: 26px;
    padding: 4px 8px;
}

.lr-wishlist-btn:hover {
    color: #ff2d55;
    transform: scale(1.2);
}

.lr-price {
    color: #fff;
    font-weight: 600;
    margin-top: 3px;
}

.lr-cart-btn {
    background: #ff2d55 !important;
    color: #fff !important;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 700;
    width: 100%;
    margin-top: 10px;
}

/* Close Button */
.lr-close {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #fff;
    font-size: 36px;
    z-index: 30;
    cursor: pointer;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* ====================== MINI CART ====================== */
.lr-mini-cart {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    height: 100vh;
    background: #fff;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
    z-index: 100002;
    transition: right 0.45s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    font-family: inherit;
}

.lr-mini-cart.active {
    right: 0;
}

.lr-mini-cart-header {
    padding: 20px 24px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    position: sticky;
    top: 0;
    z-index: 1;
}

.lr-mini-cart-header h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
}

.lr-mini-cart-close {
    font-size: 32px;
    cursor: pointer;
    opacity: 0.6;
}

.lr-mini-cart-items {
    padding: 20px 24px;
}

.mini-cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mini-cart-item img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px;
}

.mini-cart-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 15.5px;
}

.lr-mini-cart-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 24px;
    border-top: 1px solid #ddd;
}

.lr-total {
    font-size: 19px;
    font-weight: 700;
    text-align: right;
    margin-bottom: 18px;
}

.lr-view-cart-btn {
    background: #1e88e5 !important;
    /* Astra Blue */
    color: #fff !important;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 12px;
}

.lr-checkout-btn {
    background: #000 !important;
    color: #fff !important;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
}

/* Vertical Reels Swiper */
.lr-reels-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.lr-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swipe Indicator */
.lr-swipe-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    text-align: center;
    z-index: 25;
    animation: swipeAnim 2s infinite;
}

.lr-swipe-indicator .arrow {
    display: block;
    font-size: 20px;
    margin-top: 4px;
}

@keyframes swipeAnim {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* Product Card at Bottom */
.lr-product-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 20;
}

/* Right Controls */
.lr-right-controls {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Rest of your existing styles (popup, buttons, etc.) remain the same */
@media only screen and (max-width: 991.98px) {
    .lr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 767.98px) {
    .lr-grid {
        grid-template-columns: 1fr;
    }
}