.organic-product-item {
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.organic-product-container {
    display: flex;
    flex-wrap: wrap;
}

.organic-product-image {
    flex: 0 0 40%;
    max-width: 40%;
    padding: 20px;
}

.organic-product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.organic-product-content {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.organic-product-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.organic-product-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.organic-product-price {
    font-size: 20px;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 20px;
}

.organic-product-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-order-sample,
.btn-buy-now {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 140px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-order-sample {
    background: #3498db;
    color: white;
}

.btn-order-sample:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-buy-now {
    background: #27ae60;
    color: white;
}

.btn-buy-now:hover {
    background: #219a52;
    transform: translateY(-2px);
}

/* Popup Styles - Updated to match your design */
.oep-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

.oep-popup-container {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.oep-popup-header {
    background: #2c5aa0;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.oep-popup-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.oep-popup-body {
    padding: 25px;
}

.oep-product-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #2c5aa0;
}

.oep-product-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.oep-product-price {
    font-size: 16px;
    color: #27ae60;
    font-weight: 600;
    margin: 0;
}

.oep-form-section {
    margin-bottom: 20px;
}

.oep-form-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e0e0;
}

.oep-quantity-unit {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.oep-quantity-input,
.oep-unit-select {
    flex: 1;
}

.oep-quantity-input input,
.oep-unit-select select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.oep-additional-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.oep-detail-option {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.oep-detail-option:hover,
.oep-detail-option.selected {
    border-color: #2c5aa0;
    background: #2c5aa0;
    color: white;
}

.oep-phone-group {
    display: flex;
    gap: 10px;
}

.oep-country-code {
    flex: 0 0 100px;
}

.oep-phone-number {
    flex: 1;
}

.oep-country-code select,
.oep-phone-number input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.oep-form-actions {
    text-align: center;
    margin-top: 25px;
}

.btn-submit-now {
    background: #27ae60;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px;
}

.btn-submit-now:hover {
    background: #219a52;
    transform: translateY(-2px);
}

/* Close button */
.oep-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.oep-popup-close:hover {
    background: rgba(255,255,255,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .organic-product-container {
        flex-direction: column;
    }
    
    .organic-product-image,
    .organic-product-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .organic-product-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-order-sample,
    .btn-buy-now {
        width: 100%;
    }
    
    .oep-quantity-unit {
        flex-direction: column;
        gap: 10px;
    }
    
    .oep-phone-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .oep-country-code {
        flex: 1;
    }
}

/* Category Products List Styles */
.organic-products-category-list {
    display: grid;
    gap: 30px;
}

.organic-products-category-list .organic-product-item {
    margin-bottom: 0;
}

/* Grid layout for multiple products */
.organic-products-category-list.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.organic-products-category-list.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.organic-products-category-list.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive grid */
@media (max-width: 1024px) {
    .organic-products-category-list.grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .organic-products-category-list.grid-2,
    .organic-products-category-list.grid-3,
    .organic-products-category-list.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .organic-products-category-list.grid-2,
    .organic-products-category-list.grid-3,
    .organic-products-category-list.grid-4 {
        grid-template-columns: 1fr;
    }
}