
/* --- Enhanced Product Details Responsive --- */

/* Force layout reset for mobile */
@media (max-width: 992px) {
    .product-detail-container {
        padding-top: 80px !important; /* Move down from header */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .detail-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .detail-main {
        width: 100% !important;
        order: 1 !important;
    }

    .detail-sidebar {
        width: 100% !important;
        order: 2 !important;
    }

    .sidebar-sticky {
        position: static !important;
    }

    .gallery-main {
        height: 300px !important;
    }
}

@media (max-width: 768px) {
    .detail-header-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .detail-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .detail-price {
        font-size: 24px !important;
    }

    .detail-meta-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
}

/* --- Premium Contact Buttons --- */
.btn-contact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: 44px !important; /* Smaller height as requested */
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 13px !important; /* Smaller font as requested */
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin-bottom: 12px !important;
    border: none !important;
}

/* WhatsApp Premium Style */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2) !important;
}

.btn-whatsapp:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
}

/* Phone Premium Style */
.btn-phone {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
    backdrop-filter: blur(10px) !important;
}

.btn-phone:hover {
    background: rgba(201, 168, 76, 0.1) !important;
    border-color: var(--accent-gold) !important;
    color: var(--accent-gold) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

.btn-contact i {
    font-size: 16px !important;
}

/* Sidebar Card Refinement */
.contact-card {
    background: var(--glass) !important;
    border: 1px solid var(--glass-border) !important;
    padding: 20px !important;
    border-radius: 20px !important;
}

.seller-mini-profile {
    margin-bottom: 20px !important;
}

.seller-avatar {
    width: 50px !important;
    height: 50px !important;
    border: 2px solid var(--accent-gold) !important;
}

/* --- Mobile Floating Actions --- */
.mobile-floating-actions {
    display: none; /* Hidden on desktop */
}

@media (max-width: 992px) {
    .main-image-box {
        position: relative;
    }

    .mobile-floating-actions {
        display: flex !important;
        position: absolute;
        top: 20px;
        right: 20px;
        gap: 12px;
        z-index: 100;
    }

    .floating-btn {
        width: 38px;
        height: 38px;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
        transition: 0.3s;
    }

    .floating-btn:active {
        transform: scale(0.9);
        background: rgba(0, 0, 0, 0.6);
    }
}

/* --- Recommended Section Styling --- */
.related-section {
    margin-top: 80px;
    padding-bottom: 40px;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title-mini {
    font-size: 22px !important;
    font-weight: 800;
    color: var(--white);
    margin: 0;
}

.see-all-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

/* Product Card Fix for Recommended Section */
.recommend-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
}

.recommend-scroll .product-card {
    min-width: 280px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.recommend-scroll .product-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.recommend-scroll .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide desktop actions on mobile */
@media (max-width: 992px) {
    .desktop-only-actions {
        display: none !important;
    }
}

.rp-short-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
