:root {
    --pc-primary: #031E54;
    --pc-accent: #ff5733;
    --pc-glass: rgba(255, 255, 255, 0.85);
}

.pc-glass-card {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 340px;
    background: var(--pc-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pc-hidden {
    transform: translateX(120%) rotate(5deg);
    opacity: 0;
}

.pc-visible {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
}

/* Decoración: Círculo de color sutil detrás del cristal */
.pc-blob {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--pc-accent);
    filter: blur(40px);
    opacity: 0.3;
    z-index: 0;
}

.pc-glass-content {
    position: relative;
    z-index: 1;
    padding: 25px;
}

.pc-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.pc-close-btn:hover { background: var(--pc-accent); color: white; }

/* Icono y Badge */
.pc-header-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.pc-icon-wrapper {
    width: 45px;
    height: 45px;
    background: var(--pc-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    position: relative;
}

.pc-pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: var(--pc-accent);
    border: 2px solid white;
    border-radius: 50%;
    animation: pc-dot-pulse 1.5s infinite;
}

.pc-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--pc-accent);
    background: rgba(255, 87, 51, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
}

/* Textos */
.pc-body-main h3 {
    margin: 0;
    font-size: 22px;
    color: var(--pc-primary);
    font-weight: 800;
}

.pc-body-main p {
    font-size: 14px;
    color: #555;
    margin: 8px 0 20px 0;
    line-height: 1.5;
}

/* Botón con Brillo */
.pc-btn-glow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--pc-primary) 0%, #063999 100%);
    color: white !important;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 10px 20px rgba(3, 30, 84, 0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.pc-btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(3, 30, 84, 0.4);
    background: var(--pc-accent);
}

/* --- ESTILOS DEL MINI CARRITO DENTRO DEL POPUP --- */

.pc-subtext {
    font-size: 13px;
    color: #666;
    margin: 4px 0 12px 0;
}

.pc-mini-cart {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 14px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pc-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pc-cart-item:last-child {
    border-bottom: none;
}

.pc-item-icon {
    width: 32px;
    height: 32px;
    background: rgba(3, 30, 84, 0.1);
    color: var(--pc-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.pc-item-details {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.pc-item-name {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.pc-item-sub {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

.pc-cart-more {
    font-size: 11px;
    color: var(--pc-accent);
    font-weight: 700;
    padding-top: 6px;
    text-align: center;
}

/* Fila de Total */
.pc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.pc-total-row span:first-child {
    font-size: 13px;
    color: #555;
    font-weight: 600;
}

.pc-total-price {
    font-size: 20px;
    font-weight: 850;
    color: var(--pc-accent);
}

/* Animaciones */
@keyframes pc-dot-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 87, 51, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(255, 87, 51, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 87, 51, 0); }
}