/* =============================================
   Cart Dropdown — Estilos modernos/minimalistas
   ============================================= */

.cart-dropdown-modern {
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.12) !important;
    padding: 0 !important;
    min-width: 300px !important;
    overflow: hidden;
}
.cart-dropdown-modern .cart-dd-header {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f1f3;
    background: #fafafa;
}
.cart-dropdown-modern .cart-dd-body {
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
}
.cart-dropdown-modern .cart-dd-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background .15s;
}
.cart-dropdown-modern .cart-dd-item:not(:last-child) {
    border-bottom: 1px solid #f5f5f7;
}
.cart-dropdown-modern .cart-dd-item:hover {
    background: #f8f9fb;
}
.cart-dropdown-modern .cart-dd-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid #ebebeb;
}
.cart-dropdown-modern .cart-dd-name {
    font-size: .83rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    margin: 0 0 2px;
    line-height: 1.3;
}
.cart-dropdown-modern .cart-dd-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}
.cart-dropdown-modern .cart-dd-qty {
    font-size: .69rem;
    background: #ededef;
    color: #666;
    padding: 1px 8px;
    border-radius: 20px;
    letter-spacing: .02em;
}
.cart-dropdown-modern .cart-dd-price {
    font-size: .78rem;
    color: #888;
}
.cart-dropdown-modern .cart-dd-remove {
    margin-left: auto;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    transition: background .15s, color .15s;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
}
.cart-dropdown-modern .cart-dd-remove:hover {
    background: #fee2e2;
    color: #ef4444;
}
.cart-dropdown-modern .cart-dd-footer {
    padding: 12px 16px;
    border-top: 1px solid #f0f1f3;
}

/* Dark mode */
.dark-layout .cart-dropdown-modern { background: #283046 !important; }
.dark-layout .cart-dropdown-modern .cart-dd-header { background: #242b3d; border-bottom-color: #3b4253; }
.dark-layout .cart-dropdown-modern .cart-dd-name { color: #d0d2d6; }
.dark-layout .cart-dropdown-modern .cart-dd-item:not(:last-child) { border-bottom-color: #3b4253; }
.dark-layout .cart-dropdown-modern .cart-dd-item:hover { background: #242b3d; }
.dark-layout .cart-dropdown-modern .cart-dd-footer { border-top-color: #3b4253; }
.dark-layout .cart-dropdown-modern .cart-dd-qty { background: #3b4253; color: #aaa; }

/* Empty state */
.cart-dd-empty {
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.cart-dd-empty svg {
    opacity: .25;
    margin-bottom: 4px;
}
.cart-dd-empty-title {
    font-size: .85rem;
    font-weight: 600;
    color: #555;
    margin: 0;
}
.cart-dd-empty-sub {
    font-size: .75rem;
    color: #aaa;
    margin: 0;
}
.dark-layout .cart-dd-empty-title { color: #b4b7bd; }
.dark-layout .cart-dd-empty svg { opacity: .18; }
