/* ========================================
   PRODUCT DETAILS PAGE - ENHANCED DESIGN
   ======================================== */

/* Product Main Section */
.product-main-section {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    position: relative;
}

/* Product Title */
.product-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1d29;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

/* Rating Section */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-rating-stars {
    color: #ffa500;
    font-size: 18px;
    letter-spacing: 2px;
}

.product-rating-count {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Wishlist Button */
.product-wishlist-btn {
    background: #fff;
    border: 2px solid #f0f0f0;
    padding: 10px 20px;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-wishlist-btn:hover {
    border-color: #ff7004;
    color: #ff7004;
    background: #fff3e6;
}

/* Divider */
.product-divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 20px 0;
}

/* Price Section */
.product-price-wrapper {
    background: linear-gradient(135deg, #fff3e6 0%, #ffe8d1 100%);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #ff7004;
}

.product-deal-badge {
    background: #ff7004;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.product-price-current {
    font-size: 36px;
    font-weight: 800;
    color: #1a1d29;
    letter-spacing: -1px;
}

.product-price-original {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.product-price-discount {
    background: #28a745;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

/* Offer Text */
.product-offer-text {
    color: #555;
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 0;
}

.product-offer-link {
    color: #ff7004;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.product-offer-link:hover {
    color: #e66300;
}

/* Offers Section */
.product-offers-section {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 20px 0;
    margin: 20px 0;
}

.product-offers-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 40px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.product-offers-wrapper::-webkit-scrollbar {
    display: none;
}

.product-offer-card {
    flex-shrink: 0;
    width: 280px;
}

.product-offer-btn {
    width: 100%;
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-offer-btn:hover {
    border-color: #ff7004;
    box-shadow: 0 4px 16px rgba(255, 112, 4, 0.15);
    transform: translateY(-2px);
}

.product-offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-offer-header span {
    font-weight: 700;
    color: #1a1d29;
    font-size: 14px;
}

.product-offer-header img {
    width: 20px;
    height: 20px;
}

.product-offer-body {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.product-offer-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-offer-footer img {
    height: 20px;
}

.product-offer-footer span {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

/* Slider Buttons */
.product-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid #e8e8e8;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.product-slider-btn:hover {
    background: #ff7004;
    border-color: #ff7004;
    color: #fff;
}

.product-slider-prev {
    left: 0;
}

.product-slider-next {
    right: 0;
}

/* Product Options */
.product-option-section {
    margin: 24px 0;
}

.product-option-title {
    font-size: 15px;
    color: #555;
    margin-bottom: 12px;
}

.product-option-title strong {
    color: #1a1d29;
    font-weight: 700;
}

.product-option-card,
.product-size-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.product-option-card:hover,
.product-size-card:hover {
    border-color: #ff7004;
    background: #fff3e6;
    color: #ff7004;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 112, 4, 0.15);
}

.product-option-card.active,
.product-size-card.active {
    border-color: #ff7004;
    background: linear-gradient(135deg, #fff3e6 0%, #ffe8d1 100%);
    color: #ff7004;
    box-shadow: 0 2px 8px rgba(255, 112, 4, 0.2);
}

.product-size-card {
    min-width: 100px;
}

/* Pincode Section */
.product-pincode-section {
    margin: 20px 0;
}

.product-pincode-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1d29;
    margin-bottom: 8px;
    display: block;
}

.product-pincode-input {
    flex: 1;
    border: 2px solid #e8e8e8;
    border-radius: 8px 0 0 8px;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.product-pincode-input:focus {
    border-color: #ff7004;
}

.product-pincode-btn {
    background: #ff7004;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.product-pincode-btn:hover {
    background: #e66300;
}

/* Quantity Section */
.product-qty-section {
    margin: 20px 0;
}

.product-qty-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1d29;
    margin-right: 16px;
}

.product-qty-box {
    display: flex;
    align-items: center;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 16px;
}

.product-qty-box button {
    background: #f8f8f8;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.product-qty-box button:hover {
    background: #ff7004;
    color: #fff;
}

.product-qty-box input {
    border: none;
    width: 60px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #1a1d29;
    outline: none;
}

.product-tax-text {
    color: #666;
    font-size: 13px;
}

/* CTA Buttons */
.product-btn-outline,
.product-btn-primary {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-btn-outline {
    background: #fff;
    border: 2px solid #ff7004;
    color: #ff7004;
}

.product-btn-outline:hover {
    background: #ff7004;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 112, 4, 0.3);
}

.product-btn-primary {
    background: linear-gradient(135deg, #ff7004 0%, #ff8a2a 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 112, 4, 0.3);
}

.product-btn-primary:hover {
    background: linear-gradient(135deg, #e66300 0%, #ff7004 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 112, 4, 0.4);
}

/* Product Overview */
.product-overview-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1d29;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #ff7004;
    display: inline-block;
}

.product-overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-overview-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    margin-bottom: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-overview-item:hover {
    background: #f8f8f8;
    border-color: #ff7004;
    transform: translateX(4px);
}

.product-overview-label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.product-overview-value {
    font-weight: 700;
    color: #1a1d29;
    font-size: 14px;
    text-align: right;
}

/* Product Reviews */
.product-review-section {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 40px 20px;
}

.product-review-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1d29;
    margin-bottom: 0;
}

.product-review-summary {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.product-review-score {
    margin-bottom: 24px;
}

.product-review-rating {
    font-size: 64px;
    font-weight: 800;
    color: #ff7004;
    line-height: 1;
    display: block;
}

.product-review-stars {
    color: #ffa500;
    font-size: 24px;
    letter-spacing: 4px;
    margin: 12px 0;
}

.product-review-count {
    color: #666;
    font-size: 14px;
    margin: 12px 0;
}

.product-review-write-btn {
    background: linear-gradient(135deg, #ff7004 0%, #ff8a2a 100%);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.product-review-write-btn:hover {
    background: linear-gradient(135deg, #e66300 0%, #ff7004 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 112, 4, 0.3);
}

.product-review-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.product-review-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-review-header strong {
    color: #1a1d29;
    font-size: 16px;
}

/* Image Zoom */
.zoom-image-hover {
    overflow: hidden;
    border-radius: 12px;
}

.zoom-image-hover img {
    transition: transform 0.5s ease;
}

.zoom-image-hover:hover img {
    transform: scale(1.1);
}

/* Swiper Customization */
.swiper-container {
    border-radius: 12px;
    overflow: hidden;
}

.swiper-slide {
    background: #fff;
}

.swiper-button-next,
.swiper-button-prev {
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #ff7004;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: 900;
    color: #666;
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .product-title {
        font-size: 24px;
    }

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

    .product-overview-title {
        font-size: 22px;
    }

    .product-review-title {
        font-size: 22px;
    }

    .product-review-rating {
        font-size: 48px;
    }
}

/* WhatsApp Button */
.product-btn-whatsapp {
    background: #25D366;
    color: #fff !important;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    text-decoration: none !important;
}

.product-btn-whatsapp:hover {
    background: #128C7E;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

@media (max-width: 991px) {
    .product-btn-whatsapp {
        padding: 14px 24px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .product-offers-wrapper {
        padding: 0 20px;
    }

    .product-offer-card {
        width: 240px;
    }

    .product-btn-outline,
    .product-btn-primary {
        padding: 14px 24px;
        font-size: 14px;
    }
}