.ghpl-products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ghpl-product {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: white;
}

.ghpl-product-image {
    flex: 0 0 40%;
    max-width: 40%;
}

.ghpl-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ghpl-product-details {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ghpl-product-title {
    font-size: 28px;
    margin: 0 0 10px;
    color: #2c3e50;
    font-weight: 700;
}

.ghpl-product-subtitle {
    font-size: 18px;
    margin: 0 0 20px;
    color: #7f8c8d;
    font-weight: 400;
    font-style: italic;
}

.ghpl-product-description {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
    font-size: 16px;
}

.ghpl-product-price {
    font-weight: bold;
    margin-bottom: 25px;
    color: #e74c3c;
    font-size: 18px;
}

.ghpl-product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ghpl-order-sample, .ghpl-buy-now {
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ghpl-order-sample {
    background-color: #27ae60;
    color: white;
}

.ghpl-buy-now {
    background-color: #3498db;
    color: white;
}

.ghpl-order-sample:hover {
    background-color: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

.ghpl-buy-now:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* Popup Styles */
.ghpl-popup {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ghpl-popup-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.ghpl-close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
    position: absolute;
    right: 20px;
    top: 15px;
}

.ghpl-close:hover,
.ghpl-close:focus {
    color: #e74c3c;
}

.ghpl-popup-content h2 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 24px;
    padding-right: 30px;
}

.ghpl-form-section h3 {
    margin: 0 0 10px 0;
    color: #34495e;
    font-size: 20px;
}

.ghpl-price {
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #e74c3c;
    font-size: 16px;
}

.ghpl-quantity-section {
    margin: 20px 0;
}

.ghpl-quantity-section table {
    width: 100%;
    border-collapse: collapse;
}

.ghpl-quantity-section td {
    padding: 12px 8px;
    border-bottom: 1px solid #ecf0f1;
    font-weight: 500;
}

.ghpl-quantity-section select {
    width: 100%;
    padding: 10px;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    transition: border-color 0.3s;
}

.ghpl-quantity-section select:focus {
    border-color: #3498db;
    outline: none;
}

.ghpl-additional-detail {
    margin: 25px 0;
}

.ghpl-additional-detail h4 {
    margin: 0 0 15px 0;
    color: #34495e;
    font-size: 18px;
}

.ghpl-detail-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ghpl-detail-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.3s;
}

.ghpl-detail-options label:hover {
    border-color: #3498db;
}

.ghpl-detail-options input[type="radio"]:checked + span {
    font-weight: bold;
}

.ghpl-mobile-section {
    margin: 25px 0;
}

.ghpl-mobile-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
}

.ghpl-mobile-section input {
    width: 100%;
    padding: 12px;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s;
}

.ghpl-mobile-section input:focus {
    border-color: #3498db;
    outline: none;
}

.ghpl-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ghpl-submit-btn:hover {
    background-color: #219a52;
}

.ghpl-success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 6px;
    margin: 15px 0;
    text-align: center;
}

.ghpl-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 6px;
    margin: 15px 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .ghpl-product {
        flex-direction: column;
    }
    
    .ghpl-product-image,
    .ghpl-product-details {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .ghpl-product-image {
        height: 250px;
    }
    
    .ghpl-product-details {
        padding: 20px;
    }
    
    .ghpl-product-title {
        font-size: 24px;
    }
    
    .ghpl-product-actions {
        flex-direction: column;
    }
    
    .ghpl-order-sample, .ghpl-buy-now {
        width: 100%;
        text-align: center;
    }
    
    .ghpl-popup-content {
        margin: 10% auto;
        width: 95%;
        padding: 20px;
    }
    
    .ghpl-detail-options {
        flex-direction: column;
    }
    
    .ghpl-detail-options label {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ghpl-products-container {
        padding: 10px;
    }
    
    .ghpl-product-details {
        padding: 15px;
    }
    
    .ghpl-product-title {
        font-size: 22px;
    }
    
    .ghpl-popup-content {
        margin: 5% auto;
        padding: 15px;
    }
}
