/* H4G Bridge — estilos de frontend */

/* Toggle botón Login / Mi cuenta según estado de sesión. */
.gik-account-btn { display: none !important; }
body.logged-in .gik-login-btn { display: none !important; }
body.logged-in .gik-account-btn { display: block !important; }

/* Consola de keys */
.h4g-key-panel {
    background: #121212;
    border: 1px solid #a855f7;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.1);
}
.h4g-key-panel__title {
    color: #fff;
    font-size: 20px;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 10px;
}
.h4g-key-panel__icon {
    width: 24px;
    height: 24px;
    stroke: #a855f7;
    stroke-width: 2;
    fill: none;
}
.h4g-key-panel__item {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.h4g-key-panel__name {
    color: #ccc;
    font-size: 16px;
}
.h4g-key-panel__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.h4g-key-panel__code {
    background: #000;
    color: #4ade80;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 16px;
    border: 1px dashed #4ade80;
    letter-spacing: 1px;
    user-select: all;
}
.h4g-key-panel__copy {
    background: #a855f7;
    color: #fff;
    border: 0;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}
.h4g-key-panel__copy:hover {
    background: #9333ea;
}
.h4g-key-panel__footer {
    color: #888;
    font-size: 12px;
    margin: 15px 0 0 0;
}

/* Cross-sells del carrito */
.h4g-cross-sells__title {
    margin: 30px 0 16px;
}
.h4g-cross-sells__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Categorías del home: los logos suelen ser PNG con transparencia.
   Fondo blanco + bordes redondeados para que se vean como tarjeta.
   border-radius lleva !important porque Elementor lo pisa con un selector
   más específico (.elementor-widget-wc-categories ul li img). */
.gik-product-categories ul li a img {
    background: #fff;
    border-radius: 15px !important;
}
