/* ============================================
   PRODUCT DETAILS PAGE STYLES
   ============================================ */

.product-details-section {
    padding: 40px 0 60px;
    background: var(--white);
}

.btn-add-cart {
    position: static;
    padding: 15px 25px;
    margin: 0;
}

/* ============================================
   PRODUCT GALLERY
   ============================================ */
.product-gallery {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.product-main-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
    background: var(--bg-light);
    cursor: zoom-in;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.product-thumbnails {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-thumbnails .thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    opacity: 0.7;
    position: relative;
}

.product-thumbnails .thumbnail:hover,
.product-thumbnails .thumbnail.active {
    border-color: var(--primary-pink);
    opacity: 1;
}

.product-thumbnails .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   PRODUCT INFO
   ============================================ */
.product-info {
    padding: 0 0 0 20px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-rating-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.product-rating-info .product-rating {
    color: #27AE60;
    font-size: 18px;
    padding-left: 0;
}

.product-rating-info .reviews-count {
    font-size: 14px;
    color: var(--text-light);
}

.delivery-info {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-dark);
}

.delivery-info i {
    margin-right: 8px;
    color: var(--primary-pink);
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.product-pricing .current-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-pink);
}

.product-pricing .original-price {
    font-size: 20px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-pricing .discount-badge {
    background: var(--primary-green);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Product Form */
.product-form .form-group {
    margin-bottom: 20px;
}

.product-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-form .form-select {
    border-radius: 10px;
    border: 2px solid #E0E0E0;
    padding: 12px 15px;
}

.product-form .form-select:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 180, 0.25);
}

/* Quantity Input */
.quantity-input {
    display: inline-flex;
    align-items: center;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
}

.quantity-input .qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f9f9f9;
    color: #333;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.quantity-input .qty-btn:hover {
    background: #eee;
    color: var(--primary-pink);
}

.quantity-input input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 2px solid #E0E0E0;
    border-right: 2px solid #E0E0E0;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    background: var(--white);
}

.quantity-input input::-webkit-outer-spin-button,
.quantity-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input input[type=number] {
    -moz-appearance: textfield;
}

.message-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.message-input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--primary-pink);
    font-size: 18px;
}

.message-input-wrapper .form-control {
    padding-left: 45px;
    padding-right: 60px;
    border-radius: 10px;
    border: 2px solid #E0E0E0;
}

.message-input-wrapper .form-control:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 180, 0.25);
}

.message-input-wrapper .char-counter {
    position: absolute;
    right: 15px;
    font-size: 12px;
    color: var(--text-light);
}

/* Offers Available */
.offers-available {
    margin-bottom: 25px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.offers-available h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dark);
}

.offer-logo {
    height: 30px;
    width: auto;
}

.offer-info {
    color: var(--primary-pink);
    cursor: pointer;
    font-size: 16px;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-outline-pink {
    flex: 1;
    min-width: 180px;
    padding: 15px 25px;
    border: 2px solid var(--primary-pink);
    background: var(--white);
    color: var(--primary-pink);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-pink:hover {
    background: var(--primary-pink);
    color: var(--white);
}

.btn-pink {
    flex: 1;
    min-width: 180px;
    padding: 15px 25px;
    border: none;
    background: var(--primary-pink);
    color: var(--white);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-pink:hover {
    background: var(--primary-pink-dark);
    color: var(--white);
}

.product-actions .btn i,
.product-actions a.btn i {
    margin-right: 8px;
}

.product-actions a.btn-add-cart,
.product-actions a.btn-buy-now {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

/* ============================================
   ABOUT PRODUCT (TABS)
   ============================================ */
.about-product-section {
    margin-bottom: 50px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.product-tabs {
    border: none;
    border-bottom: 2px solid #E0E0E0;
    padding: 0 20px;
    background: var(--white);
}

.product-tabs .nav-link {
    border: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 16px;
    padding: 20px 25px;
    margin-bottom: -2px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.product-tabs .nav-link:hover {
    color: var(--primary-pink);
}

.product-tabs .nav-link.active {
    color: var(--primary-pink);
    border-bottom-color: var(--primary-pink);
    background: transparent;
}

.product-tab-content {
    padding: 30px;
}

.tab-content-inner {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1) 0%, rgba(255, 105, 180, 0.05) 100%);
    padding: 30px;
    border-radius: 10px;
}

.tab-content-inner p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.tab-content-inner p:last-child {
    margin-bottom: 0;
}

/* ============================================
   RECENTLY VIEWED
   ============================================ */
.recently-viewed-section {
    margin-bottom: 50px;
}

.recently-viewed-section .section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.recently-viewed-carousel .product-card {
    margin: 0 10px;
}

.recently-viewed-carousel .product-card {
    position: relative;
}

.recently-viewed-carousel .btn-quick-view {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.recently-viewed-carousel .btn-quick-view:hover {
    background: var(--primary-pink);
    transform: scale(1.1);
}

/* Owl Carousel - Recently Viewed */
.recently-viewed-carousel.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-pink) !important;
    color: var(--white) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
}

.recently-viewed-carousel.owl-carousel .owl-nav .owl-prev {
    left: -20px;
}

.recently-viewed-carousel.owl-carousel .owl-nav .owl-next {
    right: -20px;
}

/* ============================================
   CUSTOMER REVIEWS
   ============================================ */
.customer-reviews-section {
    margin-bottom: 50px;
}

.customer-reviews-section .section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.review-card {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.15) 0%, rgba(255, 105, 180, 0.08) 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.reviewer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.reviewer-label {
    font-size: 12px;
    color: var(--text-light);
    display: block;
    margin-bottom: 15px;
}

.review-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.review-rating {
    color: var(--primary-pink);
    font-size: 16px;
}

/* Owl Carousel - Reviews */
.reviews-carousel.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-pink) !important;
    color: var(--white) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
}

.reviews-carousel.owl-carousel .owl-nav .owl-prev {
    left: -20px;
}

.reviews-carousel.owl-carousel .owl-nav .owl-next {
    right: -20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .product-info {
        padding: 20px 0 0 0;
    }

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

    .product-main-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 22px;
    }

    .product-pricing .current-price {
        font-size: 28px;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-outline-pink,
    .btn-pink {
        min-width: 100%;
    }

    .product-main-image {
        height: 300px;
    }

    .product-thumbnails .thumbnail {
        width: 80px;
        height: 80px;
    }

    .recently-viewed-carousel.owl-carousel .owl-nav,
    .reviews-carousel.owl-carousel .owl-nav {
        display: none;
    }
}

/* ============================================
   SOCIAL SHARE
   ============================================ */
.product-share {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-share h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    color: var(--white);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.twitter {
    background: #000000;
}

.share-btn.copy {
    background: #6c757d;
}

.share-btn i {
    transition: none;
}