/* Product Page - Light Theme Layout */

.product-page-body {
    background: #f8f9fa;
    color: #212121;
}

/* Hero Section */
.product-hero-section {
    background: #ffffff;
    padding: 30px 0 60px;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
}

.breadcrumb-nav a {
    color: #666;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.breadcrumb-nav span {
    color: #999;
}

/* Product Title Section */
.product-title-section {
    margin-bottom: 40px;
}

.product-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-subtitle {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    max-width: 900px;
}

/* Product Hero Grid */
.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Hero Content Wrapper (Image + Description) */
.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-slider-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 500px;
}

/* Screenshot Slider */
.screenshot-slider {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 8px;
}

.screenshot-slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.5s ease;
    position: relative;
}

.screenshot-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Single Image Slider */
.slider-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(40, 116, 240, 0.3);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0 5px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: #999;
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}


.hero-no-image {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    opacity: 0.3;
}

/* Product Description Section */
.product-description-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.description-heading {
    font-size: 24px;
    font-weight: 700;
    color: #212121;
    margin: 30px 0 15px;
}

.description-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}



/* Hero Sidebar */
.hero-sidebar {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
    align-self: start;
    width: 100%;
}

.sidebar-price-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Price Display */
.price-display {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.price-old {
    font-size: 26px;
    color: #dc3545;
    text-decoration: line-through;
    font-weight: 700;
}

.price-current {
    font-size: 42px;
    font-weight: 700;
    color: #28a745;
    line-height: 1;
}

/* Stock Badge */
.stock-badge-wrapper {
    margin-bottom: 15px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.stock-badge.in-stock {
    color: #28a745;
}

.stock-badge.out-stock {
    color: #dc3545;
}

.check-icon {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}

/* Quantity and Actions Row */
.qty-actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.quantity-selector-inline {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    height: 45px;
}

.qty-btn {
    background: transparent;
    border: none;
    color: #212121;
    font-size: 18px;
    width: 35px;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.qty-btn:hover {
    background: #e9ecef;
}

.quantity-selector-inline input {
    background: transparent;
    border: none;
    color: #212121;
    text-align: center;
    width: 45px;
    height: 45px;
    font-size: 16px;
    font-weight: 600;
}

/* Action Buttons in Row */
.btn-add-to-cart,
.btn-buy-now {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 45px;
}

.btn-add-to-cart {
    background: var(--primary);
    color: #fff;
}

.btn-add-to-cart:hover {
    background: #1e5bc6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 116, 240, 0.3);
}

.btn-add-to-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-buy-now {
    background: var(--secondary);
    color: #fff;
}

.btn-buy-now:hover {
    background: #e85a15;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 100, 27, 0.3);
}

/* Crypto Payment Banner */
.crypto-banner-wrapper {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    padding: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.crypto-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Wishlist & Social Row */
.wishlist-social-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.btn-wishlist {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #212121;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-wishlist:hover {
    border-color: #dc3545;
    color: #dc3545;
}

.btn-wishlist.active {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.heart-icon {
    font-size: 14px;
}

.social-icons-group {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #212121;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    color: #fff;
}

/* Description Section - Modern Design */
.description-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 50px;
    color: #212121;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Description Tabs */
.description-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.desc-tab {
    padding: 12px 30px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.desc-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.desc-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(40, 116, 240, 0.3);
}

/* Description Content Cards */
.description-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.desc-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.desc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.desc-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(40, 116, 240, 0.2);
}

.desc-card h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: #212121;
    text-transform: uppercase;
}

.desc-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.desc-card ul li {
    font-size: 15px;
    color: #555;
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.desc-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
    font-size: 16px;
}

/* Description Images Gallery */
.description-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-main {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    aspect-ratio: 16/9;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main:hover img {
    transform: scale(1.05);
}

.gallery-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-side-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.gallery-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-side-item:hover img {
    transform: scale(1.05);
}

/* Specifications Section */
.specifications-section {
    background: #ffffff;
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

.spec-columns {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.spec-list {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 15px;
    color: #212121;
}

/* Associated Products */
.associated-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.assoc-product-item {
    display: flex;
    gap: 15px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.assoc-product-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.assoc-product-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.assoc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.assoc-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 8px;
    line-height: 1.3;
}

.assoc-price {
    font-size: 17px;
    font-weight: 700;
    color: #28a745;
}

/* Reviews Section */
.reviews-section-full {
    background: #f8f9fa;
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-bar-item .stars {
    font-size: 15px;
    color: #ffc107;
    min-width: 100px;
}

.bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transition: width 0.3s ease;
}

.rating-bar-item .count {
    min-width: 30px;
    text-align: right;
    font-size: 14px;
    color: #666;
}

.no-reviews-text {
    color: #666;
    font-size: 15px;
    text-align: center;
    padding: 40px;
}

/* Review Form */
.review-form h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #212121;
    text-transform: uppercase;
}

.review-input,
.review-textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 15px;
    color: #212121;
    font-size: 14px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.review-input:focus,
.review-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.1);
}

.review-textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit-review {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-review:hover {
    background: #1e5bc6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 116, 240, 0.3);
}

/* You May Like Section - Improved Layout */
.you-may-like-section {
    background: #f8f9fa;
    padding: 50px 0 60px;
}

.you-may-like-section .container {
    max-width: 100%;
    padding: 0 30px;
}

.you-may-like-section .section-title {
    font-size: 20px;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

.products-carousel {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.carousel-product-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    max-width: 100%;
}

.carousel-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 116, 240, 0.05), rgba(251, 100, 27, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.carousel-product-card:hover::before {
    opacity: 1;
}

.carousel-product-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(40, 116, 240, 0.2);
}

.carousel-product-card a {
    display: block;
    text-decoration: none;
}

.carousel-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.carousel-product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-product-card:hover img {
    transform: scale(1.08);
}

.carousel-no-image {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    background: #f8f9fa;
    opacity: 0.5;
}

.carousel-product-info {
    padding: 20px;
}

.carousel-product-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.carousel-price .price-old {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.carousel-price .price-new {
    font-size: 19px;
    font-weight: 700;
    color: #28a745;
}

.carousel-quick-view {
    display: none;
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 25px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(40, 116, 240, 0.4);
    z-index: 10;
}

.carousel-product-card:hover .carousel-quick-view {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1600px) {
    .carousel-product-card img {
        height: 220px;
    }
    .carousel-no-image {
        height: 220px;
    }
}

@media (max-width: 1400px) {
    .products-carousel {
        grid-template-columns: repeat(4, 1fr);
    }
    .carousel-product-card img {
        height: 240px;
    }
    .carousel-no-image {
        height: 240px;
    }
}

@media (max-width: 1200px) {
    .product-hero-grid {
        grid-template-columns: 350px 1fr 380px;
        gap: 30px;
    }
    
    .image-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-carousel {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-main-title {
        font-size: 28px;
    }
    
    .hero-sidebar {
        position: relative;
        top: 0;
    }
    
    .description-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .description-gallery {
        grid-template-columns: 1fr;
    }
    
    .products-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-hero-section {
        padding: 20px 0 40px;
    }
    
    .product-main-title {
        font-size: 24px;
    }
    
    .product-subtitle {
        font-size: 14px;
    }
    
    .product-slider-container {
        height: 350px;
    }
    
    .price-current {
        font-size: 28px;
    }
    
    .price-old {
        font-size: 20px;
    }
    
    .qty-actions-row {
        flex-direction: column;
    }
    
    .quantity-selector-inline {
        width: 100%;
        justify-content: center;
    }
    
    .btn-add-to-cart,
    .btn-buy-now {
        width: 100%;
    }
    
    .wishlist-social-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .btn-wishlist {
        width: 100%;
        justify-content: center;
    }
    
    .social-icons-group {
        justify-content: center;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .description-tabs {
        gap: 10px;
    }
    
    .desc-tab {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .products-carousel {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-nav {
        font-size: 10px;
        flex-wrap: wrap;
    }
    
    .product-main-title {
        font-size: 20px;
    }
    
    .product-subtitle {
        font-size: 13px;
    }
    
    .price-current {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .desc-card {
        padding: 25px;
    }
    
    .desc-card-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-hero-grid,
.description-section,
.specifications-section,
.reviews-section-full,
.you-may-like-section {
    animation: fadeIn 0.6s ease;
}
