/**
 * Product Details Styles
 */

/* Product detail container */
.ucp-product-detail-container {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

/* Product title */
.ucp-product-title {
    width: 100%;
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    height: 40px;
}

/* Product images */
.ucp-product-images {
    flex: 1 1 400px;
    max-width: 100%;
}

.ucp-product-images img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.ucp-product-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.ucp-product-gallery-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ucp-product-gallery-thumbnails img:hover,
.ucp-product-gallery-thumbnails img.active {
    opacity: 1;
    border-color: #0073aa;
}

/* Product summary */
.ucp-product-summary {
    width: 100%;
    font-size: 14px;
    margin: 15px 0;
    padding: 0;
    overflow: visible;
}

.ucp-product-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
}

.ucp-product-price {
    font-size: 16px;
    color: #e74c3c;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Basic product description styles */
.ucp-product-description {
    margin-bottom: 25px;
    line-height: 1.3;
    color: #555;
    font-size: 13px;
}

/* Regular paragraphs in product description */
.ucp-product-description p {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 8px;
    margin-top: 0;
}

/* Special styling for product specification paragraphs */
.ucp-product-description p.product-spec {
    font-size: 10px;
    line-height: 1.2;
    margin-bottom: 5px;
}

/* Special styling for product specifications - using unique class names */
.ucp-product-spec {
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin-bottom: 5px !important;
}

/* Product specification labels with unique class name */
.ucp-spec-label {
    font-weight: 700 !important;
    display: inline-block !important;
    min-width: 70px !important;
    font-size: 10px !important;
}

/* Override any inline styles */
.ucp-product-description [style] {
    font-size: inherit !important;
}

/* Product actions */
.ucp-product-actions {
    margin: 25px 0;
}

.ucp-product-actions .button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ucp-product-actions .button:hover {
    background-color: #2980b9;
}

.ucp-product-actions .ucp-out-of-stock {
    color: #e74c3c;
    font-weight: 600;
}

/* Product meta */
.ucp-product-meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.ucp-product-meta .ucp-meta-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.ucp-product-meta .ucp-meta-value {
    color: #666;
    font-size: 14px;
}

.ucp-product-meta > div {
    margin-bottom: 8px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .ucp-product-detail-container {
        flex-direction: column;
    }
    
    .ucp-product-images,
    .ucp-product-summary {
        flex: 1 1 100%;
    }
}
