/* =========================================
   PREMIUM WELLNESS PRODUCT DETAIL
========================================= */

.product-detail-page {
    background: #f6f9f8;
    padding: 100px 0 90px;
}

/* =========================================
   BREADCRUMB (SOFT + CLEAN)
========================================= */

.breadcrumb-wrapper {
    margin-bottom: 60px;
}

.breadcrumb {
    font-size: 14px;
    color: #64748b;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.breadcrumb a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #16a34a;
}

.breadcrumb span {
    margin: 0 10px;
    color: #cbd5e1;
}

/* =========================================
   MAIN GRID
========================================= */

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
    align-items: center;
}

/* =========================================
   IMAGE CARD (SOFT SHADOW)
========================================= */

.product-detail-image {
    background: #ffffff;
    border-radius: 24px;
    padding: 70px;
    box-shadow: 0 25px 60px rgba(16, 24, 40, 0.05);
    text-align: center;
    transition: all 0.4s ease;
}

.product-detail-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 80px rgba(16, 185, 129, 0.12);
}

.product-detail-image img {
    max-width: 70%;
    transition: transform 0.4s ease;
}

.product-detail-image:hover img {
    transform: scale(1.04);
}

/* =========================================
   PRODUCT INFO
========================================= */

.product-category-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #16a34a;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-title {
    font-size: 38px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.product-rating .fa-star {
    color: #f59e0b;
}

.product-rating span {
    font-size: 14px;
    color: #64748b;
}

/* =========================================
   PRICE
========================================= */

.product-price {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.old-price {
    text-decoration: line-through;
    font-size: 18px;
    color: #94a3b8;
}

.final-price {
    font-size: 32px;
    font-weight: 700;
    color: #16a34a;
}

/* =========================================
   STOCK
========================================= */

.stock-info {
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 600;
}

.in-stock {
    color: #16a34a;
}

.out-stock {
    color: #dc2626;
}

/* =========================================
   SHORT DESCRIPTION
========================================= */

.short-description {
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* =========================================
   QUANTITY
========================================= */

.quantity-wrapper label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #0f172a;
}

.quantity-wrapper input {
    width: 140px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.quantity-wrapper input:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 4px rgba(22,163,74,0.15);
}

/* =========================================
   BUTTONS (CALM + TRUST)
========================================= */

.product-action-buttons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.enquire-btn {
    padding: 15px 28px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    background: #16a34a;
    border: none;
    transition: all 0.3s ease;
}

.enquire-btn:hover {
    background: #15803d;
    transform: translateY(-3px);
}

.buy-now-btn {
    background: #fbbf24;
    color: #0f172a;
    border: none;
    padding: 15px 28px;
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.buy-now-btn:hover {
    background: #f59e0b;
    transform: translateY(-3px);
}

/* =========================================
   DETAIL BLOCKS (WELLNESS STYLE)
========================================= */

.product-section {
    background: #ffffff;
    padding: 50px;
    border-radius: 24px;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.04);
    transition: all 0.4s ease;
}

.product-section:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(22,163,74,0.1);
}

.product-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0f172a;
}

.product-section p {
    font-size: 16px;
    color: #475569;
    line-height: 1.9;
}

/* =========================================
   RELATED
========================================= */

.related-products-section {
    margin-top: 100px;
}

.related-products-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 50px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .product-detail-image {
        padding: 50px;
    }

    .product-detail-image img {
        max-width: 60%;
    }
}

/* =========================================
   RELATED CARD ACTION FIX
========================================= */

.related-products-section .product-card {
    border-radius: 18px;
    overflow: hidden;
}

.related-products-section .product-content {
    padding: 18px;
}

.related-products-section .product-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.related-products-section .product-rating {
    margin-bottom: 12px;
}

.related-products-section .final-price {
    font-size: 22px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 16px;
}

.related-products-section .product-actions {
    display: flex;
    gap: 10px;
}

.related-products-section .view-btn {
    flex: 1;
    background: #334155;
    color: #ffffff;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.related-products-section .view-btn:hover {
    background: #1e293b;
}

.related-products-section .add-to-cart-btn {
    flex: 1;
    background: #16a34a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.related-products-section .add-to-cart-btn:hover {
    background: #15803d;
    transform: translateY(-2px);
}

/* =========================================
   STICKY ADD TO CART
========================================= */

.sticky-add-to-cart {
    position: fixed;
    bottom: -120px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08);
    transition: bottom 0.4s ease;
    z-index: 999;
    padding: 15px 0;
}

.sticky-add-to-cart.show {
    bottom: 0;
}

.sticky-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-info strong {
    display: block;
    font-size: 15px;
    color: #0f172a;
}

.sticky-info span {
    font-size: 16px;
    font-weight: 700;
    color: #16a34a;
}

.sticky-btn {
    background: #16a34a;
    border: none;
    padding: 12px 24px;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sticky-btn:hover {
    background: #15803d;
}


/* =========================================
   ADD TO CART MICRO ANIMATION
========================================= */

.add-to-cart-btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.add-to-cart-btn.loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 3px solid #ffffff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.added-success {
    background: #22c55e !important;
    transform: scale(0.95);
}