/* Ícono del carrito en el header */
.ag-cart-btn {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #0f4c3a;
    padding: 8px;
    margin-right: 8px;
}
.ag-cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #38b293;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Overlay + Drawer */
.aqg-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 15, 12, 0.6);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
.aqg-cart-overlay.aqg-cart-active {
    opacity: 1;
    visibility: visible;
}
.aqg-cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #0d2b21;
    z-index: 99999;
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
}
.aqg-cart-drawer.aqg-cart-active {
    right: 0;
}
.aqg-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.aqg-cart-header h3 {
    color: #fff;
    margin: 0;
    font-size: 18px;
}
#aqg-cart-close {
    background: transparent;
    border: none;
    color: #7fd9b8;
    font-size: 26px;
    cursor: pointer;
}
.aqg-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}
.aqg-cart-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.aqg-cart-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}
.aqg-cart-item-info h5 {
    color: #fff;
    margin: 0 0 4px;
    font-size: 15px;
}
.aqg-cart-item-info p {
    color: #7fd9b8;
    margin: 0 0 8px;
    font-size: 13px;
}
.aqg-cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.aqg-cart-item-controls button {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.aqg-cart-item-controls span {
    color: #fff;
    font-size: 14px;
}
.aqg-cart-remove {
    background: transparent !important;
    color: rgba(255, 138, 138, 0.8) !important;
    width: auto !important;
    font-size: 12px !important;
    margin-left: auto;
}
.aqg-cart-empty {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 40px 20px;
}
.aqg-cart-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.aqg-cart-total-row {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Cards de paquetes con imagen */
.aqg-paquete-img {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.aqg-paquete-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.aqg-paquete-cantidad {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0 0 12px;
}
.aqg-btn-agregar {
    width: 100%;
    background: transparent;
    border: 1.5px solid #7fd9b8;
    color: #7fd9b8;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    margin-top: 16px;
    transition: background 0.2s ease;
}
.aqg-btn-agregar:hover {
    background: #7fd9b8;
    color: #0d2b21;
}

@media (max-width: 480px) {
    .aqg-cart-drawer { width: 100vw; }
}
.aqg-paquete-card {
    background: #0d2b21;
    border: 2px solid rgba(127, 217, 184, 0.15);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.aqg-paquete-card:hover {
    transform: translateY(-4px);
    border-color: rgba(127, 217, 184, 0.4);
}