/* ═══════════════════════════════════════════════════
   Product Details Page — Modern Luxury Theme
   ═══════════════════════════════════════════════════ */

/* Main Content */
.main-content {
    flex: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Product Section */
.product-section {
    display: flex;
    gap: 48px;
    padding-top: 60px;
    padding-bottom: 48px;
}

.product-images {
    flex: 1;
    position: relative;
}

.main-product-image {
    width: 100%;
    max-width: 720px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 20px;
}

.thumbnail-images {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.thumbnail-images img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid #f0ebe0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.thumbnail-images img:hover {
    border-color: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.2);
}

.product-details {
    flex: 1;
    max-width: 568px;
    padding-top: 40px;
}

.product-title {
    font-family: 'Playfair Display', 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    color: #2d0a0a !important;
    font-size: 32px !important;
    margin-bottom: 24px;
    line-height: 1.2;
}

/* Price Section */
.price-section {
    margin-bottom: 28px;
}

.price, .mintedcasted {
    font-family: 'Playfair Display', 'Copperplate Gothic Bold', serif !important;
    font-weight: 700 !important;
    color: #2d0a0a !important;
    font-size: 48px !important;
}

.price-note {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #8c5a5a;
    font-size: 14px;
    margin-left: 8px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
}

.buy-now-btn,
.add-to-cart-btn {
    background: linear-gradient(135deg, #2d0a0a, #3d1010) !important;
    color: #f5f0e8 !important;
    height: 60px;
    padding: 0 28px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
}

.buy-now-btn {
    border-radius: 16px 0 0 16px !important;
    background: linear-gradient(135deg, #d4af37, #f5d060) !important;
    color: #1a0505 !important;
}
.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.add-to-cart-btn {
    border-radius: 0 16px 16px 0 !important;
}
.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #3d1010, #4d1515) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 10, 10, 0.3);
}

.icon {
    width: 24px;
    height: 24px;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: #2d0a0a;
    width: 60%;
}

.quantity-selector button {
    width: 44px;
    height: 44px;
    font-size: 20px;
    border-radius: 12px;
    text-align: center;
    background: linear-gradient(135deg, #2d0a0a, #3d1010) !important;
    border: 0;
    position: relative;
    color: #f5f0e8 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}
.quantity-selector button:hover {
    background: linear-gradient(135deg, #d4af37, #f5d060) !important;
    color: #1a0505 !important;
    transform: scale(1.05);
}

.quantity-selector input {
    max-width: 80px;
    width: 100%;
    height: 44px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: #fff;
    border: 2px solid #f0ebe0;
    border-radius: 0;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    color: #2d0a0a;
}

/* Product Description */
.product-description {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    color: #5a3a3a !important;
    font-size: 15px !important;
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-features {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #5a3a3a;
    font-size: 16px;
    line-height: 1.7;
}

/* Details Section */
.details-section {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.details-section .section-title {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700;
    color: #2d0a0a;
    font-size: 36px;
    margin-bottom: 36px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 28px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.08);
    transition: all 0.3s ease;
}
.detail-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.2);
}

.detail-value {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #2d0a0a;
    font-size: 28px;
    margin-bottom: 8px;
    word-break: break-word;
}

.detail-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #d4af37;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Product Gallery */
.product-gallery {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.product-gallery-preview {
    margin-bottom: 16px;
}

.product-gallery-preview-item img {
    width: 100%;
    border-radius: 16px;
    object-fit: contain;
    max-height: 500px;
}

.product-gallery-thumblist {
    display: flex;
    gap: 12px;
    flex-direction: row !important;
}

.product-gallery-thumblist-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #f0ebe0;
    transition: all 0.3s ease;
    width: 80px;
    height: 80px;
}
.product-gallery-thumblist-item:hover,
.product-gallery-thumblist-item.active {
    border-color: #d4af37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}
.product-gallery-thumblist-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product list on details page */
.product-list.p-detail {
    padding: 0 !important;
}
.product-list.p-detail .qty {
    align-items: center;
}
.product-list.p-detail .qty .col-md-4 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #5a3a3a;
    font-size: 15px;
}

/* Inner container */
.inner-container.inner-heading {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Recommendations Section */
.recommendations-section {
    padding: 64px 20px;
}

.recommendations-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.recommendation-card {
    width: 340px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    padding: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.recommendation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f0e8, #ebe4d6);
    border-radius: 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
}
.card-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.recommendation-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 8px;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #2d0a0a;
    font-size: 20px;
    margin-bottom: 8px;
}

.card-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #8c5a5a;
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.card-price {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #2d0a0a;
    font-size: 24px;
    margin-top: auto;
}

.price-disclaimer {
    font-size: 10px !important;
    color: #8c5a5a;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-section {
        flex-direction: column;
    }
    .product-details {
        max-width: 100%;
        padding-top: 20px;
    }
    .recommendations-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    .details-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .detail-item { align-items: center; }
}

@media (max-width: 768px) {
    .main-content {
        padding: 0 16px;
    }
    .product-title {
        font-size: 24px !important;
    }
    .price, .mintedcasted {
        font-size: 36px !important;
    }
    .details-section .section-title {
        font-size: 28px;
    }
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .buy-now-btn {
        border-radius: 16px !important;
    }
    .add-to-cart-btn {
        border-radius: 16px !important;
    }
    .buy-now-btn,
    .add-to-cart-btn {
        justify-content: center;
        height: 54px;
        font-size: 15px !important;
    }
    .inner-container.inner-heading {
        padding: 20px 12px;
    }
    .product-gallery {
        padding: 16px;
    }
    .product-gallery-thumblist-item {
        width: 60px;
        height: 60px;
    }
    .quantity-selector {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .recommendation-card {
        width: 100%;
        max-width: 340px;
    }
    .detail-value {
        font-size: 22px;
    }
}
