/* ==========================================================================
   ORDER BUTTON - ESTILO APPLE PREMIUM + THEMECRAFT HOSTING (LAGOM WHMCS)
   Diseñado con principios de CRO, Behavioral Design y UX/UI Senior:
   - Fondo obsidiana profundo #06070B con suave difusión ambiental púrpura
   - Materialidad Dark Glass (backdrop-filter) y bordes calibrados 1px
   - Microinteracciones elásticas Apple Spring (cubic-bezier)
   - Sistema de iconos/imágenes dinámico (soporta URLs personalizadas o texto limpio)
   - Eliminación total de cajas de cartón genéricas
   - Anclaje de valor y badges de retención en ciclos de facturación
   - Isla flotante sticky a la derecha en PC estilo Lagom WHMCS
   - Mobile-First con área segura para home indicator de iPhone
   ========================================================================== */

:root {
    --brand-primary: #7C3AED;
    --brand-secondary: #8B5CF6;
    --brand-hover: #9333EA;
    --brand-glow: rgba(124, 58, 237, 0.35);
    --success-green: #10B981;
    --dark-bg: #06070B;
    --card-bg: rgba(14, 16, 27, 0.85);
    --card-inner-bg: #0E101B;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-active: #8B5CF6;
    --text-main: #FFFFFF;
    --text-muted: #cbd5e1;
    --text-faint: #94a3b8;
    --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--dark-bg);
    background-image: radial-gradient(circle at 85% 15%, rgba(124, 58, 237, 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 35%);
    background-attachment: fixed;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---------- Título Principal de la Página ---------- */
.page-main-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.025em;
}

/* ---------- Botón del Carrito en Cabecera ---------- */
.btn-cart {
    background: rgba(124, 58, 237, 0.18);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #E2E8F0;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.25s var(--ease-apple);
    box-sizing: border-box;
}

.btn-cart:hover {
    background: rgba(124, 58, 237, 0.35);
    border-color: #8B5CF6;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.cart-badge {
    background: #7C3AED;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 9999px;
}

/* ==========================================================================
   SISTEMA DE GRID & ESTRUCTURA (MOBILE-FIRST & DESKTOP ROW)
   ========================================================================== */
.order-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.order-config-col {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-sizing: border-box;
}

.order-island-col {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .order-grid {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }
    .order-config-col {
        flex: 1 1 64%;
        max-width: 67%;
    }
    .order-island-col {
        flex: 0 0 33%;
        max-width: 36%;
        position: -webkit-sticky;
        position: sticky;
        top: 2rem;
        z-index: 100;
    }
}

/* ==========================================================================
   BLOQUES DE CONFIGURACIÓN Y PASOS NUMERADOS
   ========================================================================== */
.config-block {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    transition: border-color 0.25s ease;
}

@media (max-width: 640px) {
    .config-block {
        padding: 16px;
    }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 38px;
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .section-subtitle {
        margin-left: 0;
        margin-top: 6px;
        margin-bottom: 16px;
    }
}

/* ==========================================================================
   TARJETAS DE CICLO DE FACTURACIÓN (CRO: ANCLAJE & RETENCIÓN)
   ========================================================================== */
.billing-cycles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
    min-width: 0;
}

@media (max-width: 1023px) {
    .billing-cycles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 380px) {
    .billing-cycles-grid {
        grid-template-columns: 1fr;
    }
}

.billing-cycle-item {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.billing-cycle-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: var(--card-inner-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s var(--ease-apple);
    width: 100%;
    min-height: 74px;
    box-sizing: border-box;
    position: relative;
}

.billing-cycle-card:hover {
    border-color: rgba(139, 92, 246, 0.45);
    background: rgba(24, 20, 48, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.15);
}

.billing-cycle-card.selected {
    border: 1.5px solid var(--border-active);
    background: rgba(28, 21, 56, 0.8);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.32), inset 0 0 14px rgba(124, 58, 237, 0.12);
}

/* Radio dot estilo Apple */
.cycle-radio-dot {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    border: 2px solid #4B5563;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease-apple);
}

.billing-cycle-card.selected .cycle-radio-dot {
    border-color: #8B5CF6;
    background: #8B5CF6;
    box-shadow: 0 0 10px #8B5CF6;
}

.billing-cycle-card.selected .cycle-radio-dot::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #FFFFFF;
    border-radius: 50%;
}

.cycle-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cycle-name {
    color: #E2E8F0;
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cycle-price {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    margin-top: 1px;
}

/* Badges de incentivo CRO en ciclos */
.cycle-savings-badge {
    position: absolute;
    top: -9px;
    right: 12px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    text-transform: uppercase;
}

.cycle-setup-badge {
    position: absolute;
    top: -9px;
    right: 12px;
    background: rgba(124, 58, 237, 0.35);
    border: 1px solid rgba(139, 92, 246, 0.5);
    color: #E9D5FF;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 9999px;
}

/* ==========================================================================
   INPUTS DE TEXTO (NOMBRE DEL SERVIDOR)
   ========================================================================== */
.apple-input {
    width: 100%;
    background: #0A0B12;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 18px;
    color: #FFFFFF;
    font-size: 14px;
    transition: all 0.25s var(--ease-apple);
    box-sizing: border-box;
}

.apple-input::placeholder {
    color: var(--text-faint);
}

.apple-input:focus {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
    outline: none;
    background: #0C0E18;
}

/* Selects */
select.apple-select {
    width: 100%;
    background: #0A0B12 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239CA3AF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 16px center/14px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 44px 14px 18px;
    color: #FFFFFF;
    font-size: 14px;
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.25s var(--ease-apple);
}

select.apple-select:focus {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
    outline: none;
}

/* ==========================================================================
   OPCIONES CONFIGURABLES & SISTEMA DE IMÁGENES/ICONOS DINÁMICO
   ========================================================================== */
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
    min-width: 0;
}

@media (max-width: 640px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 360px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
}

.option-item {
    min-width: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 14px;
    background: var(--card-inner-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s var(--ease-apple);
    width: 100%;
    min-height: 94px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
}

.option-card:hover {
    border-color: rgba(139, 92, 246, 0.45);
    background: rgba(24, 20, 48, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.option-card.selected {
    border: 1.5px solid var(--border-active);
    background: rgba(28, 21, 56, 0.8);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.32), inset 0 0 14px rgba(124, 58, 237, 0.12);
}

.option-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Imágenes personalizadas ingresadas por el admin */
.option-image {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
    margin-bottom: 8px;
    border-radius: 6px;
    display: block;
}

/* Íconos o emojis cuando aplican */
.option-icon {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.option-label {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    display: block;
    word-break: break-word;
    letter-spacing: -0.01em;
}

.option-price {
    font-size: 11px;
    color: #A78BFA;
    font-weight: 700;
    margin-top: 4px;
    display: block;
}

/* ==========================================================================
   ISLA FLOTANTE DERECHA — ESTILO LAGOM WHMCS (PC STICKY)
   ========================================================================== */
.order-summary-island {
    width: 100%;
    box-sizing: border-box;
}

.order-summary-card {
    position: relative;
    background: rgba(13, 15, 26, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.45);
    border-radius: 20px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 0 35px rgba(124, 58, 237, 0.22), 0 10px 40px rgba(0, 0, 0, 0.6);
    padding: 30px 22px 24px 22px;
    box-sizing: border-box;
}

/* Badge pixel-art 'recommended !' */
.recommended-pixel-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #190F2D;
    border: 2px solid #8B5CF6;
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.55), inset 0 0 8px rgba(139, 92, 246, 0.3);
    color: #E9D5FF;
    font-family: 'Courier New', Courier, monospace, -apple-system;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 3px 18px;
    border-radius: 6px;
    text-transform: lowercase;
    white-space: nowrap;
    z-index: 10;
}

/* Marcadores decorativos de esquina ⌜ ⌝ ⌞ ⌟ */
.corner-bracket {
    position: absolute;
    width: 8px;
    height: 8px;
    pointer-events: none;
    z-index: 2;
}

.corner-bracket-tl {
    top: 8px;
    left: 8px;
    border-top: 2px solid #8B5CF6;
    border-left: 2px solid #8B5CF6;
}

.corner-bracket-tr {
    top: 8px;
    right: 8px;
    border-top: 2px solid #8B5CF6;
    border-right: 2px solid #8B5CF6;
}

.corner-bracket-bl {
    bottom: 8px;
    left: 8px;
    border-bottom: 2px solid #8B5CF6;
    border-left: 2px solid #8B5CF6;
}

.corner-bracket-br {
    bottom: 8px;
    right: 8px;
    border-bottom: 2px solid #8B5CF6;
    border-right: 2px solid #8B5CF6;
}

/* Encabezado del plan en la isla */
.island-plan-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 4px;
    margin-bottom: 16px;
}

.island-plan-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 2px;
    letter-spacing: -0.015em;
}

.island-change-plan {
    font-size: 12px;
    color: #A78BFA;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.island-change-plan:hover {
    color: #FFFFFF;
}

/* Divisor elegante con degradado morado */
.island-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.35) 20%, rgba(139, 92, 246, 0.35) 80%, transparent);
    margin: 16px 0;
    border: none;
}

/* Lista de Especificaciones con viñetas ◎ */
.specs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
    margin-bottom: 18px;
    list-style: none;
}

.specs-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #F1F5F9;
    font-weight: 450;
}

.spec-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Desglose dinámico en tiempo real */
.island-summary-box {
    background: rgba(10, 11, 20, 0.7);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 12px;
}

/* Bloque de precio total */
.island-price-block {
    margin-bottom: 18px;
}

.island-total-price {
    font-size: 1.95rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.island-cycle-label {
    font-size: 13px;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Botón principal Pedido → (CRO Optimizado) */
.btn-apple {
    width: 100%;
    background: linear-gradient(135deg, #6D28D9 0%, #7C3AED 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s var(--ease-apple);
    box-shadow: 0 4px 18px rgba(109, 40, 217, 0.45);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    min-height: 52px;
    box-sizing: border-box;
}

.btn-apple:hover:not(:disabled) {
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.6);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-apple:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

.btn-apple:disabled {
    background: #374151;
    color: #9CA3AF;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Sellos de confianza integrados (CRO / Behavioral Design) */
.island-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(139, 92, 246, 0.12);
    font-size: 11px;
    color: var(--text-muted);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.trust-item svg {
    flex-shrink: 0;
    color: #A78BFA;
}

/* ==========================================================================
   ISLA MÓVIL Y VISIBILIDAD RESPONSIVA
   ========================================================================== */
.mobile-island {
    width: 100%;
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

@media (max-width: 1023px) {
    .desktop-island {
        display: none !important;
    }
    .mobile-island {
        display: block !important;
    }
}

@media (min-width: 1024px) {
    .desktop-island {
        display: block !important;
        position: -webkit-sticky;
        position: sticky;
        top: 2rem;
        width: 100%;
    }
    .mobile-island {
        display: none !important;
    }
}

/* ==========================================================================
   UTILIDADES & RADIOS OCULTOS
   ========================================================================== */
.visually-hidden-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.price-main {
    font-variant-numeric: tabular-nums;
}

.focus-ring:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.4);
}

/* Scrollbar estilizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #090A10;
}
::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4B5563;
}

/* ==========================================================================
   ADDONS & EXTRAS: DISEÑO HORIZONTAL ESTILO APPLE
   ========================================================================== */
.addon-horizontal-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.addon-horizontal-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s var(--ease-apple);
    cursor: pointer;
    overflow: hidden;
    width: 100%;
}

.addon-horizontal-card:hover {
    border-color: rgba(139, 92, 246, 0.45);
    background: rgba(24, 20, 48, 0.65);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.addon-horizontal-card.selected {
    border: 1.5px solid #10B981 !important;
    background: rgba(16, 185, 129, 0.08) !important;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.2), inset 0 0 15px rgba(16, 185, 129, 0.05) !important;
}

.addon-card-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 22px;
    gap: 20px;
    box-sizing: border-box;
}

.addon-info-side {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.addon-icon-wrapper {
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.addon-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
}

.addon-icon-fallback {
    font-size: 22px;
    line-height: 1;
}

.addon-info-text {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.addon-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.addon-title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    margin: 0;
    white-space: nowrap;
}

.addon-status-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(139, 92, 246, 0.15);
    color: #C4B5FD;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.2s ease;
}

.addon-desc {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
    width: 100%;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.addon-actions-side {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-shrink: 0;
}

.addon-period-select {
    background: #0B0F19 !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    color: #FFFFFF !important;
    border-radius: 10px !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.addon-period-select:focus,
.addon-period-select:hover {
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.25) !important;
}

.addon-price-pill {
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    white-space: nowrap;
}

.addon-price-pill.free {
    color: #6EE7B7;
    background: rgba(16, 185, 129, 0.15);
}

.addon-switch-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Apple iOS Toggle Switch */
.apple-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    cursor: pointer;
    margin: 0;
    user-select: none;
    vertical-align: middle;
}

.apple-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.apple-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1F2937;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s var(--ease-apple);
    border-radius: 34px;
}

.apple-switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 2.5px;
    background-color: #FFFFFF;
    transition: all 0.25s var(--ease-apple);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.apple-switch input:checked + .apple-switch-slider {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-color: #10B981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.apple-switch input:checked + .apple-switch-slider:before {
    transform: translateX(22px);
}

.addon-switch-label {
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    min-width: 58px;
    transition: color 0.2s ease;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 768px) {
    .addon-card-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }
    .addon-info-side {
        width: 100%;
    }
    .addon-actions-side {
        width: 100%;
        justify-content: space-between;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding-top: 12px;
    }
}

/* ==========================================================================
   DOLPHIN HOSTING - APPLE DARK MODE CATALOG & ORDER STYLES
   ========================================================================== */

.tmh-order-container {
    max-width: 1240px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Tarjeta Base Apple Dark Glass */
.tmh-card {
    background: rgba(14, 16, 27, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.28s ease, 
                box-shadow 0.28s ease;
}

.tmh-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.35) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Tarjeta Destacada (MÁS POPULAR - ID 16) */
.tmh-card-featured {
    border: 1.5px solid #8B5CF6 !important;
    background: linear-gradient(180deg, rgba(20, 16, 38, 0.94) 0%, rgba(14, 16, 27, 0.9) 100%) !important;
    box-shadow: 0 0 35px rgba(124, 58, 237, 0.22);
}

.tmh-card-featured:hover {
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.38), 0 14px 34px rgba(0, 0, 0, 0.5);
    border-color: #A78BFA !important;
}

/* Contenedor de Bloque de Minecraft */
.tmh-minecraft-block-container {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: transform 0.2s ease;
}

.tmh-card:hover .tmh-minecraft-block-container {
    transform: scale(1.08) rotate(-2deg);
}

.tmh-glow-purple {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    border-color: rgba(139, 92, 246, 0.4);
}

.tmh-mc-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

/* ==========================================================================
   ESCENARIO DE IMÁGENES GIGANTES DE PRODUCTOS (HERO SHOWCASE)
   ========================================================================== */
.tmh-product-showcase {
    width: 100%;
    height: 160px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tmh-card:hover .tmh-product-showcase {
    border-color: rgba(139, 92, 246, 0.35);
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.tmh-product-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.32) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(14px);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.tmh-card:hover .tmh-product-glow {
    transform: scale(1.3);
    opacity: 0.95;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.45) 0%, transparent 70%);
}

.tmh-product-img-giant {
    height: 125px;
    max-height: 135px;
    width: auto;
    max-width: 88%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.65)) drop-shadow(0 4px 12px rgba(124, 58, 237, 0.3));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.tmh-card:hover .tmh-product-img-giant {
    transform: translateY(-8px) scale(1.1);
    filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.8)) drop-shadow(0 6px 18px rgba(139, 92, 246, 0.5));
}

/* Cajas de Precios */
.tmh-pricing-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tmh-pricing-box-featured {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.tmh-price-amount {
    font-size: 2rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.04em;
    color: #FFFFFF;
}

.tmh-price-amount-lg {
    font-size: 2.25rem;
}

/* Botones de Acción */
.tmh-btn-primary {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tmh-btn-primary:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.tmh-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #F8FAFC !important;
    text-decoration: none;
    font-size: 14.5px;
    letter-spacing: -0.01em;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.tmh-btn-secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(167, 139, 250, 0.5);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.tmh-btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.tmh-btn-gold {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #06070B !important;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.tmh-btn-gold:hover {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.42);
}

.tmh-btn-gold:active {
    transform: translateY(0);
}

.tmh-cta-arrow {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tmh-btn-secondary:hover .tmh-cta-arrow,
.tmh-btn-primary:hover .tmh-cta-arrow,
.tmh-btn-gold:hover .tmh-cta-arrow {
    transform: translateX(5px);
}

.tmh-btn-cart {
    background: rgba(124, 58, 237, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #E2E8F0 !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tmh-btn-cart:hover {
    background: rgba(124, 58, 237, 0.28);
    border-color: #8B5CF6;
    color: #FFFFFF !important;
}

.tmh-cart-counter {
    background: #7C3AED;
    color: #FFFFFF;
    font-size: 11px;
    padding: 3px 8px;
}

/* Badges & Píldoras */
.tmh-badge-neon {
    background: #7C3AED;
    color: #FFFFFF;
    font-size: 11px;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tmh-pill-badge {
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.tmh-pill-gold {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.tmh-badge-soft-primary {
    background: rgba(124, 58, 237, 0.15);
    color: #C4B5FD;
    border: 1px solid rgba(139, 92, 246, 0.25);
    font-size: 11px;
}

.tmh-badge-soft-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
}

.tmh-dot-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

/* Banner de Fidelización */
.tmh-banner-loyalty {
    background: linear-gradient(135deg, rgba(22, 18, 38, 0.95) 0%, rgba(11, 14, 25, 0.95) 100%) !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding-bottom: 2.75rem !important;
}

@media (min-width: 992px) {
    .tmh-banner-loyalty {
        padding-bottom: 3.5rem !important;
    }
}

.tmh-banner-ambient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.tmh-perk-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tmh-perk-icon {
    font-size: 20px;
    line-height: 1;
}

/* Strip de Dominio (Producto 1) */
.tmh-domain-strip {
    background: rgba(15, 23, 42, 0.65) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
}

.tmh-domain-strip:hover {
    border-color: rgba(59, 130, 246, 0.4) !important;
}

/* Trust Cards Footer */
.tmh-trust-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.tmh-trust-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Tabs y Filtros de Productos Segmentados */
.tmh-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    padding: 7px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tmh-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.18);
}

.tmh-tab-btn.active {
    background: #7C3AED;
    border-color: #8B5CF6;
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.35);
}

/* Descripción de Productos con Markdown en Modo Oscuro */
.tmh-product-desc {
    color: #cbd5e1;
    font-size: 13.5px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tmh-product-desc h4,
.tmh-product-desc h5 {
    color: #E2E8F0;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tmh-product-desc p {
    color: #C4B5FD;
    font-weight: 600;
    font-size: 12.5px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tmh-product-desc ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tmh-product-desc li {
    position: relative;
    padding-left: 22px;
    font-size: 13px;
    color: #CBD5E1;
    line-height: 1.45;
}

.tmh-product-desc li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.tmh-product-desc strong {
    color: #F8FAFC;
}

