/* =====================================================
   WP OTL ELEMENTOR - Carrinho Menu Widget
   ===================================================== */

.wp-otl-cart-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.wp-otl-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    color: #1a1a1a;
    background: transparent;
    border-radius: 4px;
    text-decoration: none;
    line-height: 1;
    box-sizing: border-box;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wp-otl-cart-button:hover,
.wp-otl-cart-button:focus {
    color: #1a1a1a;
    text-decoration: none;
}

.wp-otl-cart-visual {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 6px;
}

.wp-otl-cart-count-stacked {
    min-width: 1em;
    min-height: 1em;
}

.wp-otl-cart-count-side {
    flex-direction: row;
}

.wp-otl-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
}

.wp-otl-cart-icon svg,
.wp-otl-cart-icon i {
    display: block;
    width: 1em;
    height: 1em;
}

.wp-otl-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    color: #ffffff;
    background: #111111;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
}

.wp-otl-cart-count-stacked .wp-otl-cart-count {
    position: absolute;
    z-index: 2;
}

.wp-otl-cart-count-stacked.wp-otl-cart-badge-top-right .wp-otl-cart-count {
    top: -7px;
    right: -9px;
}

.wp-otl-cart-count-stacked.wp-otl-cart-badge-top-left .wp-otl-cart-count {
    top: -7px;
    left: -9px;
}

.wp-otl-cart-count-stacked.wp-otl-cart-badge-bottom-right .wp-otl-cart-count {
    right: -9px;
    bottom: -7px;
}

.wp-otl-cart-count-stacked.wp-otl-cart-badge-bottom-left .wp-otl-cart-count {
    bottom: -7px;
    left: -9px;
}

.wp-otl-cart-text {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.wp-otl-cart-title {
    display: block;
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.wp-otl-cart-price {
    display: block;
    color: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.wp-otl-cart-layout-stacked {
    flex-direction: column;
}

.wp-otl-cart-layout-stacked .wp-otl-cart-text {
    align-items: center;
    text-align: center;
}
