/* Product Details Main Structure */
.product-details .product-info-main {
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.product-details .gallery-section {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.product-details .thumb-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-details .thumb-item-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s;
}

.product-details .thumb-item-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details .thumb-item-wrap.active,
.product-details .thumb-item-wrap:hover {
    border-color: var(--revaly-pink);
}

.product-details .thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    transition: background 0.2s ease;
}

.product-details .thumb-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.product-details .main-image-wrap {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--revaly-pink-light);
    cursor: crosshair;
    user-select: none;
    height: 500px;
}

.product-details .main-image-wrap img#mainImg {
    width: 100%;
    display: block;
    border-radius: var(--radius);
    height: 100%;
    object-fit: cover;
}

.product-details .magnifier-lens {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--revaly-pink);
    border-radius: 50%;
    pointer-events: none;
    display: none;
    box-shadow: 0 4px 20px rgba(233, 30, 140, .35);
    z-index: 10;
    background-repeat: no-repeat;
}

.product-details .magnifier-result {
    position: absolute;
    right: -310px;
    top: 0;
    width: 300px;
    height: 300px;
    border: 2px solid var(--revaly-pink);
    border-radius: var(--radius);
    display: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
    z-index: 20;
    background-repeat: no-repeat;
}

/* Info Card & Price Section */
.product-details .product-info-card {
    background: #fff;
    border: 1px solid var(--revaly-border);
    border-radius: var(--radius);
    padding: 10px 15px;
}

.product-details .product-title {
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 0px;
}

.product-details .meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #000;
    margin-bottom: 0px;
    flex-wrap: wrap;
    font-weight: 500;
}

.product-details .stars {
    color: var(--revaly-pink);
    font-size: 18px;
}

.product-details .price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-details .price-now {
    font-size: 28px;
    font-weight: 800;
    color: var(--revaly-pink);
}

.product-details .price-old {
    font-size: 15px;
    text-decoration: line-through;
    color: #575050;
}

.product-details .discount-badge {
    background: #fff0f8;
    color: var(--revaly-pink);
    border: 1px solid var(--revaly-pink);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}

.product-details .qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.product-details .qty-label {
    font-size: 14px;
    font-weight: 500;
}

.product-details .qty-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--revaly-border);
    background: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: var(--revaly-pink);
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.product-details .qty-btn:hover {
    background: var(--revaly-pink-light);
}

.product-details .qty-input {
    width: 44px;
    text-align: center;
    border: 1px solid var(--revaly-border);
    border-radius: var(--radius);
    padding: 4px;
    font-size: 15px;
}

.product-details .action-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.product-details .btn-buy {
    background: var(--revaly-pink);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
}

.product-details .btn-buy:hover {
    opacity: .85;
}

.product-details .btn-buy:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-details .btn-cart {
    background: #fff;
    color: var(--revaly-pink);
    border: 1.5px solid var(--revaly-pink);
    border-radius: var(--radius);
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.product-details .btn-cart:hover {
    background: var(--revaly-pink-light);
}

.product-details .btn-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-details .btn-wish {
    width: 40px;
    height: 38px;
    border: 1.5px solid var(--revaly-pink);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    color: var(--revaly-pink);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .2s, border-color .2s;
}

.product-details .btn-wish:hover {
    color: var(--revaly-pink);
    border-color: var(--revaly-pink);
}

.product-details .info-list {
    list-style: none;
    font-size: 13px;
    color: #444;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    padding-left: 0px !important;
}

.product-details .info-list li {
    display: flex;
    gap: 8px;
    align-items: center;
}

.product-details .info-list li i {
    color: var(--revaly-pink);
    width: 16px;
}

.product-details .shop-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--revaly-border);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-size: 13px;
    color: #444;
    margin-bottom: 14px;
}

.product-details .shop-badge i {
    color: var(--revaly-pink);
}

.product-details .rating-summary {
    display: flex;
    gap: 20px;
    align-items: center;
    border-top: 1px solid var(--revaly-border);
    padding-top: 14px;
}

.product-details .big-rating {
    font-size: 44px;
    font-weight: 800;
    color: var(--revaly-pink);
    line-height: 1;
}

.product-details .big-rating-sub {
    font-size: 11px;
    color: var(--revaly-gray);
    margin-top: 4px;
}

.product-details .rating-bars {
    flex: 1;
}

.product-details .rbar-row {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 16px;
    color: #444;
}

.product-details .rbar-row span:first-child {
    width: 16px;
    color: var(--revaly-gray);
}

.product-details .rbar-row .star-icon {
    color: var(--revaly-pink);
    font-size: 18px;
}

.product-details .size-guide-btn {
    font-size: 14px;
    border-radius: var(--radius);
    padding: 4px 10px;
}

.product-details .rbar-track {
    flex: 1;
    height: 7px;
    background: var(--revaly-pink-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.product-details .rbar-fill {
    height: 100%;
    background: var(--revaly-pink);
    border-radius: var(--radius);
}

.product-details .rbar-row .count {
    width: 14px;
    color: var(--revaly-gray);
    font-size: 15px;
    font-weight: 500;
    margin-left: 5px;
}

.product-details .desc-section {
    background: #fff;
    border: 1px solid var(--revaly-border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.product-details .tab-row {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--revaly-border);
    margin-bottom: 16px;
}

.product-details .tab-btn {
    background: none;
    border: none;
    padding: 8px 18px;
    font-size: 14px;
    cursor: pointer;
    color: var(--revaly-gray);
    font-weight: 500;
    position: relative;
}

.product-details .tab-btn.active {
    color: var(--revaly-pink);
    font-weight: 700;
}

.product-details .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--revaly-pink);
}

.product-details .tab-badge {
    background: var(--revaly-pink);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    vertical-align: middle;
}

.product-details .desc-content h6 {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
}

.product-details .desc-content p {
    font-size: 13.5px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
}

.product-details .desc-content ul {
    padding-left: 18px;
    font-size: 13.5px;
    color: #555;
}

.product-details .desc-content ul li {
    margin-bottom: 5px;
}

.product-details .desc-content ul li strong {
    color: #222;
}

.product-details .see-more-btn {
    display: inline-block;
    margin-top: 10px;
    background: var(--revaly-pink);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 6px 20px;
    font-size: 13px;
    cursor: pointer;
}

.product-details .reviews-section {
    background: #fff;
    border: 1px solid var(--revaly-border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.product-details .reviews-section h5 {
    color: var(--revaly-pink);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 14px;
}

.product-details .review-card {
    border-bottom: 1px solid var(--revaly-border);
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.product-details .review-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.product-details .reviewer-name {
    font-weight: 600;
    font-size: 14px;
}

.product-details .review-date {
    font-size: 12px;
    color: var(--revaly-gray);
}

.product-details .review-stars {
    color: var(--revaly-pink);
    font-size: 15px;
    border: 1px solid var(--revaly-pink);
    border-radius: var(--radius);
    padding: 2px 10px;
}

.product-details .review-text {
    font-size: 13.5px;
    color: #444;
    margin-top: 5px;
}

.product-details .similar-section h5 {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 14px;
}

/* MOBILE AUTO SLIDER (<768px) */
.mobile-slider-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 15px;
    background: #f9f9f9;
}

.mobile-carousel-img {
    height: 380px;
    object-fit: cover;
}

.mobile-carousel-dots {
    bottom: 10px !important;
    margin-bottom: 0 !important;
    gap: 6px;
}

.mobile-carousel-dots button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #ccc !important;
    border: none !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
}

.mobile-carousel-dots button.active {
    background-color: var(--revaly-pink) !important;
    width: 10px !important;
    height: 10px !important;
    opacity: 1 !important;
}

/* ================= SCREEN SIZE SPECIAL MEDIA QUERIES ================= */

@media (min-width: 768px) and (max-width: 1099px) {
    .product-details .gallery-section {
        flex-direction: column;
    }

    .product-details .thumb-list {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        order: 2;
    }

    .product-details .thumb-item-wrap {
        width: 85px;
        height: 85px;
        flex-shrink: 0;
    }

    .product-details .main-image-wrap {
        order: 1;
        width: 100%;
    }
}

@media (min-width: 1100px) {
    .product-details .gallery-section {
        flex-direction: row;
    }

    .product-details .thumb-list {
        flex-direction: column;
    }
}

/* LIGHTBOX MODAL STYLES */
.product-lightbox-modal .modal-content {
    background-color: #fcf4f7;
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

.product-lightbox-modal .lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--revaly-pink);
    font-weight: 700;
}

.product-lightbox-modal .lightbox-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 10px 20px;
}

.product-lightbox-modal .lb-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 65vh;
}

.product-lightbox-modal .lb-img-container img {
    max-height: 65vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--radius);
}

.product-lightbox-modal .lb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    color: #333;
    transition: all 0.2s ease;
}

.product-lightbox-modal .lb-nav-btn:hover {
    background: var(--revaly-pink);
    color: #fff;
}

.product-lightbox-modal .lb-prev {
    left: 15px;
}

.product-lightbox-modal .lb-next {
    right: 15px;
}

.product-lightbox-modal .lightbox-footer {
    padding: 15px 20px 20px;
    display: flex;
    justify-content: center;
}

.product-lightbox-modal .lb-thumbs-wrap {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.product-lightbox-modal .lb-thumb {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.product-lightbox-modal .lb-thumb.active {
    border-color: var(--revaly-pink);
}

/* DOTS STYLING LIKE YOUR PROVIDED IMAGE */
.mobile-carousel-dots {
    bottom: 10px !important;
    margin-bottom: 0 !important;
    gap: 6px;
}

.mobile-carousel-dots button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #ccc !important;
    border: none !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
}

.mobile-carousel-dots button.active {
    background-color: var(--revaly-pink) !important;
    width: 10px !important;
    height: 10px !important;
    opacity: 1 !important;
}

/* LIGHTBOX MODAL STYLES */
.product-lightbox-modal .modal-content {
    background-color: #fcf4f7;
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

.product-lightbox-modal .lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--revaly-pink);
    font-weight: 700;
}

.product-lightbox-modal .lightbox-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 10px 20px;
}

.product-lightbox-modal .lb-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 65vh;
}

.product-lightbox-modal .lb-img-container img {
    max-height: 65vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.product-lightbox-modal .lb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    color: #333;
    transition: all 0.2s ease;
}

.product-lightbox-modal .lb-nav-btn:hover {
    background: var(--revaly-pink);
    color: #fff;
}

.product-lightbox-modal .lb-prev {
    left: 15px;
}

.product-lightbox-modal .lb-next {
    right: 15px;
}

.product-lightbox-modal .lightbox-footer {
    padding: 15px 20px 20px;
    display: flex;
    justify-content: center;
}

.product-lightbox-modal .lb-thumbs-wrap {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.product-lightbox-modal .lb-thumb {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.product-lightbox-modal .lb-thumb.active {
    border-color: var(--revaly-pink);
}


