/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */
.navbar-main,
ul.top-nav > li.primary-action > a.btn,
.btn-primary {
	background-color: #EB008B
}
.btn-success {
color: #fff;
background-color: #EB008B;
border-color: #EB008B;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background-color: #032d3a; /* Hover, focus, and active background color */
}
.panel-sidebar a.list-group-item.active, .panel-sidebar a.list-group-item.active:focus, .panel-sidebar a.list-group-item.active:hover {
background-color: #032d3a;
border-color: #032d3a;
}
div.header-lined h1 {
margin-top: 0;
margin-bottom: 15px;
padding: 6px 0;
border-bottom: 1px solid #ccc;
font-weight: 400;
color: #032d3a;
}

/* =========================================
   1. VARIABLES Y TIPOGRAFÍA GLOBAL
========================================= */
:root {
    --kubo-magenta: #e0007b; 
    --kubo-dark: #111827; 
    --kubo-gray: #f9fafb; 
}

body {
    background-color: var(--kubo-gray);
    /* Descomenta y cambia esto si cargas tu fuente desde Google Fonts en el header.tpl */
    /* font-family: 'TuFuente', sans-serif; */ 
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 900 !important; 
    text-transform: uppercase;
    color: var(--kubo-dark);
    letter-spacing: -0.05em; 
}

/* =========================================
   2. NAVEGACIÓN Y BOTONES GLOBALES WHMCS
========================================= */
#main-navbar {
    background-color: var(--kubo-dark) !important;
}

#main-navbar .navbar-nav > li > a {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Botones por defecto de WHMCS (ej. Comprobar Dominio, Siguiente) */
.btn-primary, .btn-checkout, #btnCheckAvailability {
    background-color: var(--kubo-magenta);
    border-color: var(--kubo-magenta);
    color: white;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.1em;
    border-radius: 0.375rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover, .btn-checkout:hover {
    background-color: var(--kubo-dark);
    border-color: var(--kubo-dark);
    color: white;
}

/* =========================================
   3. ESTILOS DE PLANES KUBO (products.tpl)
========================================= */
/* Contenedor Base de la Tarjeta */
.kubo-plan {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Plan Estándar (Básico / Pro) */
.kubo-plan-standard {
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Plan Destacado (Pyme) */
.kubo-plan-featured {
    background-color: var(--kubo-dark);
    border: 1px solid var(--kubo-magenta);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-10px); 
}

/* Etiqueta Más Popular */
.kubo-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--kubo-magenta);
    color: white;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 16px;
    border-radius: 9999px;
}

/* Títulos */
.kubo-title {
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}
.kubo-plan-standard .kubo-title { color: var(--kubo-dark); }
.kubo-plan-featured .kubo-title { color: #ffffff; }

/* Caja de Precios */
.kubo-price-box {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}
.kubo-plan-standard .kubo-price-box { border-bottom: 1px solid #e5e7eb; }
.kubo-plan-featured .kubo-price-box { border-bottom: 1px solid #374151; }

.kubo-price-amount {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
}
.kubo-plan-standard .kubo-price-amount { color: var(--kubo-dark); }
.kubo-plan-featured .kubo-price-amount { color: #ffffff; }

.kubo-price-cycle {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

/* Lista de Características */
.kubo-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
    margin-bottom: 2rem;
    padding-left: 0;
    list-style: none;
}
.kubo-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.kubo-plan-standard .kubo-features li { color: #374151; }
.kubo-plan-featured .kubo-features li { color: #d1d5db; }

/* Icono SVG Check */
.kubo-check {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--kubo-magenta);
    flex-shrink: 0;
}

/* Botones de Contratación */
.kubo-btn {
    width: 100%;
    display: block;
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

/* Botón Estándar (Contorno) */
.kubo-btn-standard {
    border: 2px solid var(--kubo-dark);
    color: var(--kubo-dark);
    background: transparent;
}
.kubo-btn-standard:hover {
    background-color: var(--kubo-dark);
    color: #ffffff;
}

/* Botón Destacado (Magenta Sólido) */
.kubo-btn-featured {
    background-color: var(--kubo-magenta);
    color: #ffffff;
    border: 2px solid var(--kubo-magenta);
}
.kubo-btn-featured:hover {
    background-color: #ffffff;
    color: var(--kubo-dark);
    border-color: #ffffff;
}

/* Ocultar contenedor del sidebar y categorías móviles en el carrito */
#order-standard_cart .cart-sidebar,
#order-standard_cart .categories-collapsed {
    display: none !important;
}

/* Forzar que el cuerpo del carrito ocupe el 100% del ancho */
#order-standard_cart .cart-body {
    width: 100% !important;
    float: none !important;
}

/* Contenedor de características */
.kubo-features-container {
    flex-grow: 1;
    margin-bottom: 2rem;
}

/* Estilo para el texto libre de la descripción */
.kubo-features-desc {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 0.8; /* Espaciado amplio entre líneas */
}

/* Colores adaptativos según el fondo del plan */
.kubo-plan-standard .kubo-features-desc { color: #374151; }
.kubo-plan-featured .kubo-features-desc { color: #d1d5db; }

/* Opcional: Si en WHMCS usas listas con viñetas, inyectar el icono Check Magenta automáticamente */
.kubo-features-desc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.kubo-features-desc ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.kubo-features-desc ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0px;
    width: 1.25rem;
    height: 1.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23e0007b' stroke-width='3' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ELIMINAR COMPLETAMENTE LOS SELECTORES DE CATEGORÍAS EN VERSIÓN MÓVIL */
#order-standard_cart .categories-collapsed,
#order-standard_cart .pull-md-right, /* A veces WHMCS usa esta clase para el menú móvil */
.cart-sidebar-collapsed {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}