.sdp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Filter Styles */
.sdp-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.sdp-filters h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.sdp-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.sdp-filter-group {
    display: flex;
    flex-direction: column;
}

.sdp-filter-group label {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.sdp-filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
}

.sdp-filter-actions {
    display: flex;
    gap: 10px;
}

.sdp-button,
.sdp-button-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.sdp-button {
    background: #0073aa;
    color: white;
}

.sdp-button:hover {
    background: #005a87;
}

.sdp-button-secondary {
    background: #f1f1f1;
    color: #333;
}

.sdp-button-secondary:hover {
    background: #e1e1e1;
}

/* Top Area - Text Descriptions */
.sdp-top-area {
    margin-bottom: 40px;
}

.sdp-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

.sdp-text-descriptions {
    display: flex;
    gap: 20px;
}

.sdp-layout-stack {
    flex-direction: column;
}

.sdp-layout-grid {
    flex-direction: row;
    flex-wrap: wrap;
}

.sdp-layout-grid .sdp-text-item {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
}

.sdp-text-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
}

.sdp-text-item:last-child {
    margin-bottom: 0;
}

.sdp-text-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.sdp-text-content {
    color: #555;
    line-height: 1.6;
}

/* Middle Area - Media */
.sdp-middle-area {
    margin-bottom: 40px;
}

.sdp-media-items {
    display: flex;
    gap: 20px;
}

.sdp-layout-stack .sdp-media-item {
    width: 100%;
}

.sdp-layout-grid .sdp-media-item {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
}

.sdp-media-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
}

.sdp-media-item:last-child {
    margin-bottom: 0;
}

.sdp-media-image {
    width: 100%;
    height: auto;
    display: block;
}

.sdp-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.sdp-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sdp-media-caption {
    padding: 15px;
}

.sdp-media-caption h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

.sdp-media-caption p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Bottom Area - WooCommerce */
.sdp-bottom-area {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.sdp-woocommerce-actions h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.sdp-cart-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.sdp-view-cart {
    background: #6c757d;
}

.sdp-view-cart:hover {
    background: #5a6268;
}

.sdp-checkout {
    background: #28a745;
}

.sdp-checkout:hover {
    background: #218838;
}

.sdp-loading {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sdp-filter-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .sdp-layout-grid .sdp-text-item,
    .sdp-layout-grid .sdp-media-item {
        flex: 1 1 100%;
    }
    
    .sdp-cart-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .sdp-cart-actions .sdp-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .sdp-filter-row {
        grid-template-columns: 1fr;
    }
    
    .sdp-filter-actions {
        flex-direction: column;
    }
    
    .sdp-filter-actions .sdp-button,
    .sdp-filter-actions .sdp-button-secondary {
        width: 100%;
    }
}

/* Animations */
.sdp-text-item,
.sdp-media-item {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

