
/* ==========================================================================
   Manrope - Fuente por defecto para todo el tema (client area)
   ========================================================================== */

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('../../../../../assets/fonts/manrope/Manrope-ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../../../../../assets/fonts/manrope/Manrope-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../../../../../assets/fonts/manrope/Manrope-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../../../../../assets/fonts/manrope/Manrope-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../../../../../assets/fonts/manrope/Manrope-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../../../../../assets/fonts/manrope/Manrope-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../../../../../assets/fonts/manrope/Manrope-ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../../../../../assets/fonts/manrope/Manrope-ExtraBold.ttf') format('truetype');
}

:root {
    --font-family-base: 'Manrope', sans-serif;
    --font-family-system: 'Manrope', sans-serif;
    --font-family-custom: 'Manrope', sans-serif;
}

body {
    font-family: var(--font-family-base);
}

/* ==========================================================================
   Store / Listado de productos - grilla uniforme de planes
   Reemplaza el flex del tema que estiraba la ultima fila incompleta
   ========================================================================== */

#products > .row.row-eq-height {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin: 0;
}

#products > .row.row-eq-height > .col {
    display: flex;
    width: auto;
    max-width: none;
    padding: 0;
}

#products .package {
    width: 100%;
    margin-bottom: 0;
}

/* Si se usa el modo de tarjetas horizontales (col-12), mantener el layout original */
#products > .row.row-eq-height:has(> .col-12) {
    display: block;
}

#products > .row.row-eq-height:has(> .col-12) > .col-12 {
    display: block;
    margin-bottom: 24px;
}

/* Separacion entre filas si el tema vuelve a partir el listado en varios .row */
#products > .row.row-eq-height + .row.row-eq-height {
    margin-top: 24px;
}

/* ==========================================================================
   STORE - vista minimalista (hero centrado + cards limpias)
   ========================================================================== */

.main-header-title {
    font-family: 'Manrope', sans-serif !important;
}

.page-products .main-header {
    padding: 48px 0 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-products .main-header-title {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    text-transform: none !important;
}

.page-products .main-header-title + p {
    max-width: 760px;
    margin: 12px auto 0;
    font-size: clamp(14px, 1.3vw, 16px);
    color: var(--text-lighter-color);
}

.page-products #products .package {
    padding: 28px 22px 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: border-color 0.2s ease;
}

.page-products #products .package:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.page-products #products .package-header {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.page-products #products .package-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading-color);
}

.page-products #products .package-title + .package-price {
    margin-top: 6px;
}

.page-products #products .price-starting-from {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-lighter-color);
}

.page-products #products .price-amount {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-heading-color);
}

.page-products #products .price-cycle {
    font-size: 12px;
    color: var(--text-lighter-color);
}

.page-products #products .package-body {
    margin-top: 0;
    padding-top: 20px;
}

.page-products #products .package-content {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-lighter-color);
}

.page-products #products .package-content strong {
    font-weight: 600;
    color: var(--text-heading-color);
}

.page-products #products .package-content img {
    width: 52px;
    height: 52px;
}

.page-products #products .package-footer {
    margin-top: auto !important;
    padding-top: 18px;
}

.page-products #products .btn-order-now {
    width: 100%;
    min-width: 0;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    background: var(--brand-primary);
    border: 0;
    border-radius: 8px;
    box-shadow: none;
}

.page-products #products .btn-order-now:hover,
.page-products #products .btn-order-now:focus {
    background: var(--brand-primary-lighter);
    box-shadow: none;
}

.page-products #products .package-featured {
    border-color: var(--brand-primary);
}

/* ==========================================================================
   Sidebar estilo shadcn/ui (adaptada a Lagom)
   Padding fijo en todos los estados + transicion suave solo de color/fondo
   ========================================================================== */

.page-products .main-sidebar {
    --panel-sidebar-link-padding: 6px 8px;
    --panel-sidebar-link-hover-padding-h: 8px;
    --panel-sidebar-link-active-padding-h: 8px;
    --panel-sidebar-link-margin: 0;
    --panel-sidebar-link-border-radius: 6px;
    --panel-sidebar-link-bg: transparent;
    --panel-sidebar-link-color: #e4e4e7;
    --panel-sidebar-link-icon-color: rgba(244, 244, 245, 0.7);
    --panel-sidebar-link-hover-bg: #27272a;
    --panel-sidebar-link-hover-color: #fafafa;
    --panel-sidebar-link-hover-icon-color: #fafafa;
    --panel-sidebar-link-active-bg: #27272a;
    --panel-sidebar-link-active-color: #fafafa;
    --panel-sidebar-link-active-icon-color: #fafafa;
}

.page-products .main-sidebar .sidebar-sticky {
    padding: 4px;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.page-products .main-sidebar .panel-sidebar {
    margin-bottom: 0;
    padding: 6px 4px;
    background: none;
    border: 0;
    border-radius: 0;
}

.page-products .main-sidebar .panel-heading {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding: 0 8px;
    border-bottom: 0;
}

.page-products .main-sidebar .panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(244, 244, 245, 0.65);
}

.page-products .main-sidebar .panel-title i {
    font-size: 14px;
    color: inherit;
}

.page-products .main-sidebar .panel-minimise {
    margin-left: auto;
    font-size: 10px;
    opacity: 0.5;
}

.page-products .main-sidebar .list-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

.page-products .main-sidebar .list-group-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    border: 0;
    transition: background-color 0.24s ease, color 0.24s ease;
}

.page-products .main-sidebar .list-group-item i {
    flex: 0 0 16px;
    width: 16px;
    font-size: 15px;
    text-align: center;
    transition: color 0.24s ease;
}

.page-products .main-sidebar .list-group-item.active {
    margin: 0;
    font-weight: 400;
    border: 0;
    box-shadow: none;
}

.page-products .main-sidebar .panel-body {
    padding: 4px 0 0;
}

.page-products .main-sidebar .panel-body .form-control {
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
    color: #e4e4e7;
    background: transparent;
    border: 1px solid #27272a;
    border-radius: 6px;
    box-shadow: none;
}

.page-products .main-sidebar .panel-body .form-control:hover {
    border-color: #3f3f46;
}

.page-products .main-sidebar .panel-body .form-control:focus {
    border-color: #52525b;
    box-shadow: none;
}

.page-products .categories-collapsed .btn {
    color: #e4e4e7;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 8px;
}
