/* Cyber-Lab Minimalist Style */
:root {
    --cyber-bg: #050708;
    --cyber-green: #A7F432;
    --cyber-text: #ffffff;
}

/* Floating Button */
#cyber-cart-floating-btn-28b2d59b {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(5, 7, 8, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(167, 244, 50, 0.3);
    border-radius: 22px; /* Squircle approximation */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 15px rgba(167, 244, 50, 0.1), 0 4px 15px rgba(0,0,0,0.5);
}
#cyber-cart-floating-btn-28b2d59b:hover {
    box-shadow: inset 0 0 20px rgba(167, 244, 50, 0.4), 0 0 15px rgba(167, 244, 50, 0.2);
    border-color: var(--cyber-green);
    background: rgba(5, 7, 8, 0.6);
}
#cyber-cart-floating-btn-28b2d59b svg {
    width: 24px;
    height: 24px;
    stroke: var(--cyber-green);
    transition: stroke 0.3s ease;
}

/* Inner Counter */
#cyber-cart-floating-btn-28b2d59b .cyber-cart-count {
    position: absolute;
    top: 6px;
    right: 8px;
    color: var(--cyber-green);
    font-size: 11px;
    font-weight: 400;
    font-family: monospace;
    opacity: 0.8;
}

/* Drawer */
#cyber-cart-drawer-28b2d59b {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    max-width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 8, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid rgba(167, 244, 50, 0.3);
    box-shadow: inset 10px 0 30px -10px rgba(167, 244, 50, 0.05);
    z-index: 100000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    font-family: monospace;
    color: var(--cyber-text);
}
#cyber-cart-drawer-28b2d59b.open {
    right: 0;
}
.cyber-cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(167, 244, 50, 0.2);
}
.cyber-cart-drawer-header h3 {
    margin: 0;
    color: var(--cyber-green);
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: normal;
}
.cyber-cart-close {
    background: transparent;
    border: none;
    color: rgba(167, 244, 50, 0.6);
    font-size: 20px;
    cursor: pointer;
    font-family: monospace;
    transition: color 0.2s;
}
.cyber-cart-close:hover {
    color: var(--cyber-green);
}
.cyber-cart-drawer-content {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Override default WC widgets inside drawer */
.cyber-cart-drawer-content .widget_shopping_cart_content .woocommerce-mini-cart__buttons a {
    display: block;
    text-align: center;
    background-color: transparent !important;
    color: var(--cyber-green) !important;
    border: 1px solid rgba(167, 244, 50, 0.3) !important;
    border-radius: 8px !important;
    padding: 10px !important;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: normal;
    transition: all 0.3s;
}
.cyber-cart-drawer-content .widget_shopping_cart_content .woocommerce-mini-cart__buttons a:hover {
    background-color: rgba(167, 244, 50, 0.1) !important;
    border-color: var(--cyber-green) !important;
    box-shadow: inset 0 0 10px rgba(167, 244, 50, 0.2);
}
.cyber-cart-drawer-content .woocommerce-mini-cart-item a {
    color: var(--cyber-text) !important;
}

/* Overlay */
#cyber-cart-overlay-28b2d59b {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
#cyber-cart-overlay-28b2d59b.show {
    opacity: 1;
    pointer-events: auto;
}

/* Hide WooCommerce store notices (the blue/green bars) globally for silent add to cart */
.woocommerce-notices-wrapper .woocommerce-message[role="alert"] {
    display: none !important;
}