h3.wapo-addon-title.toggle-closed {
    font-family: "Rubik", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #000;
}

.masso-cds-order-total-bar {
    font-family: "Rubik", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 23px;
    background-color: #001888;
    color: white;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.masso-cds-mini-core {
    font-family: "Rubik", Sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #001888;
    margin-top: 4px;
    text-align: right;
}

/* ===== Shortcode [boton_cart] ===== */
body .masso-cart-toggle {
    font-family: "Rubik", Sans-serif !important;
    font-weight: 700 !important;
    background: transparent !important;
    border: 1px solid #333 !important;
    border-radius: 0 !important;
    color: #333 !important;
    padding: 8px 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    line-height: 1;
    font-size: 14px;
    vertical-align: middle;
}

.masso-cart-toggle-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.masso-cart-toggle-count {
    position: absolute;
    top: -9px;
    right: -10px;
    background: #e02424;
    color: #fff;
    border-radius: 50%;
    font-family: "Rubik", Sans-serif;
    font-weight: 600;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.masso-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 9998;
}

.masso-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.masso-cart-panel {
    font-family: "Rubik", Sans-serif;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 380px;
    max-width: 90vw;
    background: #fff;
    color: #111;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.masso-cart-panel.open {
    transform: translateX(0);
}

.masso-cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #e6e6e6;
}

.masso-cart-panel-title {
    font-weight: 600;
    font-size: 18px;
}

.masso-cart-close {
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #111;
}

.masso-cart-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.masso-cart-items {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.masso-cart-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.masso-cart-item-thumb {
    flex: 0 0 64px;
    width: 64px;
}

.masso-cart-item-thumb img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.masso-cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.masso-cart-item-name {
    font-weight: 600;
}

.masso-cart-item-meta {
    font-size: 13px;
    color: #555;
}

.masso-cart-item-core {
    font-size: 13px;
    font-weight: 600;
    color: #001888;
}

.masso-cart-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.masso-cart-item-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

body .masso-cart-item-remove {
    background: #e02424 !important;
    color: #fff !important;
    border: none !important;
    font-family: "Rubik", Sans-serif !important;
    font-size: 11px !important;
    font-weight: 600;
    padding: 2px 8px !important;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1.4;
}

body .masso-qty-btn {
    font-family: "Rubik", Sans-serif !important;
    font-weight: 400 !important;
    background-color: transparent !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
    color: #333 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem;
    padding: .5rem .5rem !important;
    text-align: center;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
    line-height: 1;
}

body .masso-qty-btn:hover {
    background: #f2f2f2 !important;
}

.masso-qty-val {
    min-width: 22px;
    text-align: center;
    font-weight: 600;
}

.masso-cart-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.masso-cart-total-line {
    font-weight: 700;
    font-size: 16px;
    border-top: 1px solid #e6e6e6;
    margin-top: 6px;
    padding-top: 10px;
}

.masso-cart-empty {
    color: #666;
}

.masso-cart-panel-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid #e6e6e6;
}

.masso-cart-btn {
    font-family: "Rubik", Sans-serif;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.masso-cart-btn-primary {
    background: #001888;
    color: #fff;
    border: 1px solid #001888;
}

.masso-cart-btn-primary:hover {
    background: #00125c;
    color: #fff;
}

.masso-cart-btn-secondary {
    background: transparent;
    color: #001888;
    border: 1px solid #001888;
}

.masso-cart-btn-secondary:hover {
    background: #f2f4ff;
    color: #001888;
}
