.dsbc-multi-price {
    display: block;
    font-size: 1.1em;
    line-height: 1.4;
}

.dsbc-multi-price .price-brl,
.dsbc-multi-price .price-usd {
    display: inline-block;
    margin: 3px 5px;
    transition: all 0.3s ease;
}

.dsbc-multi-price .price-brl {
    color: #2c5aa0;
    font-weight: 600;
}

.dsbc-multi-price .price-usd {
    color: #0073aa;
    font-weight: 600;
}

.dsbc-multi-price .price-separator {
    margin: 0 8px;
    color: #999;
    font-weight: normal;
}

.dsbc-multi-price small {
    color: #666;
    font-size: 0.85em;
    font-weight: normal;
}

/* Elementor compatibility */
.elementor-widget-woocommerce-product-price .dsbc-multi-price,
.elementor-widget-wc-archive-products .dsbc-multi-price {
    font-size: inherit;
}

.elementor-optimized {
    text-align: center;
}

.elementor-optimized .price-brl,
.elementor-optimized .price-usd {
    display: block;
    margin: 4px 0;
}

.elementor-optimized .price-separator {
    display: none;
}

/* Elementor Widgets Específicos */
.ds-elementor-price-widget,
.ds-elementor-shop-price-widget {
    font-family: inherit;
}

.ds-elementor-price-widget.layout-vertical .ds-price,
.ds-elementor-shop-price-widget.layout-vertical .ds-price {
    display: block;
    margin: 5px 0;
}

.ds-elementor-price-widget.layout-horizontal .ds-price,
.ds-elementor-shop-price-widget.layout-horizontal .ds-price {
    display: inline-block;
    margin: 0 8px;
}

.ds-elementor-shop-price-widget.layout-compact .ds-price {
    display: inline-block;
    margin: 0 3px;
    font-size: 0.9em;
}

.ds-elementor-price-widget .ds-price-brl,
.ds-elementor-shop-price-widget .ds-price-brl {
    font-weight: 600;
}

.ds-elementor-price-widget .ds-price-usd,
.ds-elementor-shop-price-widget .ds-price-usd {
    font-weight: 600;
}

.ds-elementor-price-widget .ds-credits,
.ds-elementor-shop-price-widget .ds-credits {
    font-size: 0.85em;
    opacity: 0.8;
    font-weight: normal;
}

/* Widget Completo de Produtos */
.ds-products-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.ds-products-grid.columns-1 { grid-template-columns: 1fr; }
.ds-products-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.ds-products-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.ds-products-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

.ds-product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ds-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ds-product-image {
    position: relative;
    overflow: hidden;
}

.ds-product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ds-product-card:hover .ds-product-image img {
    transform: scale(1.05);
}

.ds-product-content {
    padding: 15px;
}

.ds-product-title {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.ds-product-title a {
    color: inherit;
    text-decoration: none;
}

.ds-product-title a:hover {
    color: #2c5aa0;
}

.ds-product-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.ds-product-price {
    margin: 15px 0;
    font-weight: 600;
}

.ds-product-price .ds-price {
    display: block;
    margin: 3px 0;
}

.ds-product-actions {
    margin-top: 15px;
}

.ds-product-button {
    display: inline-block;
    width: 100%;
    padding: 10px 15px;
    background: #2c5aa0;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.ds-product-button:hover {
    background: #1e3f73;
    color: #fff;
}

.ds-no-price {
    color: #999;
    font-style: italic;
}

/* Widget do Carrinho Completo */
.ds-cart-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ds-cart-page h2 {
    margin-bottom: 30px;
    text-align: center;
}

.ds-cart-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.ds-cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ds-cart-table th,
.ds-cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.ds-cart-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.ds-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ds-product-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.ds-product-details h4 {
    margin: 0 0 5px 0;
    font-size: 1em;
}

.ds-product-details p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.ds-quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ds-qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bold;
}

.ds-qty-btn:hover {
    background: #e9ecef;
}

.ds-qty-input {
    width: 60px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.ds-remove-item {
    width: 30px;
    height: 30px;
    border: none;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.ds-remove-item:hover {
    background: #c82333;
}

.ds-unit-price .ds-price,
.ds-line-total .ds-total {
    display: block;
    margin: 2px 0;
    font-weight: 600;
}

.ds-cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.ds-continue-shopping {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.ds-continue-shopping:hover {
    text-decoration: underline;
}

.ds-update-cart {
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.ds-update-cart:hover {
    background: #5a6268;
}

.ds-cart-totals-section {
    max-width: 400px;
    margin-left: auto;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ds-cart-totals-section h3 {
    margin: 0 0 20px 0;
    text-align: center;
    color: #333;
}

.ds-totals-table {
    margin-bottom: 20px;
}

.ds-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.ds-total-row:last-child {
    border-bottom: 2px solid #2c5aa0;
    font-size: 1.1em;
}

.ds-checkout-section {
    text-align: center;
}

.ds-checkout-button {
    display: inline-block;
    width: 100%;
    padding: 15px 25px;
    background: #2c5aa0;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1em;
    transition: background 0.3s ease;
}

.ds-checkout-button:hover {
    background: #1e3f73;
    color: white;
}

.ds-empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.ds-empty-cart h2 {
    color: #666;
    margin-bottom: 15px;
}

.ds-empty-cart p {
    color: #888;
    margin-bottom: 25px;
}

/* Responsivo para carrinho */
@media (max-width: 768px) {
    .ds-cart-table th:nth-child(2),
    .ds-cart-table td:nth-child(2) {
        display: none;
    }
    
    .ds-product-info {
        flex-direction: column;
        text-align: center;
    }
    
    .ds-cart-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .ds-cart-totals-section {
        margin: 0;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .ds-cart-table {
        font-size: 0.9em;
    }
    
    .ds-cart-table th,
    .ds-cart-table td {
        padding: 10px 5px;
    }
    
    .ds-product-image img {
        width: 40px;
        height: 40px;
    }
}

/* WooCommerce loops */
.woocommerce ul.products li.product .price .dsbc-multi-price {
    font-size: 1em;
}

.woocommerce ul.products li.product .price .dsbc-multi-price .price-brl,
.woocommerce ul.products li.product .price .dsbc-multi-price .price-usd {
    display: block;
    margin: 2px 0;
}

.woocommerce ul.products li.product .price .dsbc-multi-price .price-separator {
    display: none;
}

/* Single product */
.single-product .dsbc-multi-price {
    font-size: 1.2em;
}

/* Responsivo */
@media (max-width: 768px) {
    .dsbc-multi-price .price-brl,
    .dsbc-multi-price .price-usd {
        display: block;
        margin: 5px 0;
    }
    
    .dsbc-multi-price .price-separator {
        display: none;
    }
}
