/* =========================================================
   Hosting Andorra — Minimal skin for WHMCS Order Form UI
   Breadcrumbs + Sidebar (Categorías/Acciones) + Buttons/Selects
   Paste at the VERY END of the orderform CSS
========================================================= */

:root {
  --ha-grad: linear-gradient(135deg, #eb5420 0%, #f4a000 100%);
  --ha-bg: #ffffff;
  --ha-surface: #ffffff;
  --ha-text: #111827;
  --ha-muted: #6b7280;
  --ha-border: rgba(17, 24, 39, 0.12);
  --ha-border-strong: rgba(17, 24, 39, 0.18);
  --ha-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  --ha-shadow-hover: 0 16px 36px rgba(17, 24, 39, 0.12);
  --ha-radius: 16px;
  --ha-radius-sm: 12px;
}

/* ---------------------------------------------------------
   1) Global feel (inside order form only)
--------------------------------------------------------- */

#order-premium_comparison {
  color: var(--ha-text);
  font-size: 14px;
  line-height: 1.55;
  background: var(--ha-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#order-premium_comparison a {
  color: inherit;
}

#order-premium_comparison .main-container {
  padding: 0 4% 56px 4%;
}

/* Headings */
#order-premium_comparison h3 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ha-text);
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}
#order-premium_comparison h4 {
  margin: 10px 0;
  font-size: 18px;
  color: var(--ha-text);
  font-weight: 600;
}
#order-premium_comparison h5 {
  margin: 6px 0 0 0;
  font-size: 14px;
  color: var(--ha-muted);
  font-weight: 400;
}

/* 2) Breadcrumbs */

/* Common WHMCS breadcrumb containers */
#order-premium_comparison .breadcrumb,
#order-premium_comparison ol.breadcrumb,
#order-premium_comparison .breadcrumbs,
#order-premium_comparison .clientareabreadcrumb,
#order-premium_comparison nav[aria-label="breadcrumb"] {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 14px 0 !important;
}

/* Breadcrumb items */
#order-premium_comparison .breadcrumb li,
#order-premium_comparison ol.breadcrumb li,
#order-premium_comparison .breadcrumbs li {
  font-size: 13px;
  color: var(--ha-muted);
}

/* Links */
#order-premium_comparison .breadcrumb a,
#order-premium_comparison .breadcrumbs a {
  color: var(--ha-muted);
  text-decoration: none;
}
#order-premium_comparison .breadcrumb a:hover,
#order-premium_comparison .breadcrumbs a:hover {
  color: var(--ha-text);
  text-decoration: underline;
  text-decoration-color: rgba(17, 24, 39, 0.25);
  text-underline-offset: 3px;
}

/* Separator */
#order-premium_comparison .breadcrumb > li + li:before,
#order-premium_comparison ol.breadcrumb > li + li:before {
  color: rgba(17, 24, 39, 0.35);
}

/* Current page */
#order-premium_comparison .breadcrumb > .active,
#order-premium_comparison .breadcrumbs .active {
  color: var(--ha-text);
  font-weight: 600;
}

/* ---------------------------------------------------------
   3) Sidebar (Categorías / Acciones) + "Mostrar menú"
--------------------------------------------------------- */

#order-premium_comparison .product-selection-sidebar {
  display: block !important; /* ensures it appears */
  position: sticky;
  top: 18px;
  left: auto;
  width: 310px;
  padding: 14px;
  border: 1px solid var(--ha-border);
  border-radius: var(--ha-radius);
  background: var(--ha-surface);
  box-shadow: none;
}

/* Title button "Mostrar menú" (WHMCS uses #btnShowSidebar) */
#btnShowSidebar,
#order-premium_comparison #btnShowSidebar,
#order-premium_comparison .btn-show-sidebar,
#order-premium_comparison button#btnShowSidebar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ha-border-strong);
  color: var(--ha-text);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  box-shadow: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  margin: 0 0 12px 0;
}
#btnShowSidebar:hover,
#order-premium_comparison #btnShowSidebar:hover {
  transform: translateY(-1px);
  box-shadow: var(--ha-shadow);
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--ha-grad) border-box;
  border: 1px solid transparent;
}

/* Sidebar section headings (if exist) */
#order-premium_comparison .product-selection-sidebar h4,
#order-premium_comparison .product-selection-sidebar h5,
#order-premium_comparison .product-selection-sidebar .sidebar-title {
  margin: 0 0 10px 0;
  font-size: 13px;
  color: var(--ha-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Dropdown/select blocks inside sidebar (Categorías / Acciones) */
#order-premium_comparison .product-selection-sidebar .form-group,
#order-premium_comparison .product-selection-sidebar .sidebar-item,
#order-premium_comparison .product-selection-sidebar .dropdown,
#order-premium_comparison .product-selection-sidebar .input-group {
  margin-bottom: 12px;
}

/* Style SELECT (native) */
#order-premium_comparison .product-selection-sidebar select,
#order-premium_comparison select.form-control,
#order-premium_comparison .form-control {
  width: 100%;
  border-radius: 12px !important;
  border: 1px solid var(--ha-border) !important;
  background: #fff !important;
  color: var(--ha-text) !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  outline: none;
}

#order-premium_comparison .product-selection-sidebar select:focus,
#order-premium_comparison select.form-control:focus,
#order-premium_comparison .form-control:focus {
  border-color: rgba(17, 24, 39, 0.28) !important;
  box-shadow: 0 0 0 4px rgba(235, 84, 32, 0.12) !important;
}

/* If WHMCS uses Bootstrap dropdown button */
#order-premium_comparison .product-selection-sidebar .btn,
#order-premium_comparison .product-selection-sidebar .btn-default,
#order-premium_comparison .product-selection-sidebar .btn-primary {
  border-radius: 999px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--ha-border-strong) !important;
  background: #fff !important;
  color: var(--ha-text) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

#order-premium_comparison .product-selection-sidebar .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--ha-shadow);
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--ha-grad) border-box;
  border: 1px solid transparent !important;
}

/* Dropdown menu look (if exist) */
#order-premium_comparison .dropdown-menu {
  border-radius: 12px;
  border: 1px solid var(--ha-border);
  box-shadow: var(--ha-shadow);
  padding: 6px;
}
#order-premium_comparison .dropdown-menu > li > a {
  border-radius: 10px;
  padding: 10px 10px;
  color: var(--ha-text);
}
#order-premium_comparison .dropdown-menu > li > a:hover {
  background: rgba(17, 24, 39, 0.04);
}

/* ---------------------------------------------------------
   4) Cards layout (grid) + Card styling (your design)
--------------------------------------------------------- */

#order-premium_comparison .price-table-container {
  width: 100%;
  padding-top: 18px;
}

/* GRID: 3 columns by default */
#order-premium_comparison .price-table-container ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
  justify-items: center !important;
  text-align: center;
}

#order-premium_comparison .price-table-container ul > li {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  width: 100% !important;
  max-width: 340px !important;
}

/* Card */
#order-premium_comparison .price-table-container .price-table {
  width: 100% !important;
  min-width: 0 !important;
  background: var(--ha-surface);
  border: 1px solid var(--ha-border);
  border-radius: var(--ha-radius);
  box-shadow: none;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
#order-premium_comparison .price-table-container .price-table:hover {
  transform: translateY(-2px);
  box-shadow: var(--ha-shadow-hover);
  border-color: rgba(17, 24, 39, 0.18);
}
#order-premium_comparison .price-table-container .price-table.active {
  width: 100% !important;
  margin: 0 !important;
  box-shadow: var(--ha-shadow);
  border-color: rgba(17, 24, 39, 0.22);
}

/* Header neutral */
#order-premium_comparison .price-table-container .price-table .top-head {
  background: #ffffff !important;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .top-area {
  padding: 18px 16px 10px 16px;
  border-bottom: 1px solid var(--ha-border);
  text-shadow: none;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .top-area
  h4 {
  color: var(--ha-text);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .top-area
  p {
  color: var(--ha-muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 8px 0 0 0;
}

/* Price area with subtle gradient accent line */
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .price-area {
  padding: 14px 16px 16px 16px;
  border-top: 0;
  text-shadow: none;
  color: var(--ha-text);
  position: relative;
  font-size: 14px;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .price-area::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 2px;
  background: var(--ha-grad);
  border-radius: 999px;
  opacity: 0.9;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .price-area
  .price {
  padding: 8px 0 0 0;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .price-area
  .price
  span {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .price-area
  small,
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .price-area
  .cycle {
  color: var(--ha-muted);
}

/* Features list */
#order-premium_comparison .price-table-container .price-table ul {
  padding: 8px 18px 18px 18px !important;
  display: block !important; /* important: avoid inheriting grid */
}
#order-premium_comparison .price-table-container .price-table ul li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  color: var(--ha-text);
  font-size: 13px;
  line-height: 1.45;
  background: none !important;
}
#order-premium_comparison .price-table-container .price-table ul li:last-child {
  border-bottom: 0;
}
#order-premium_comparison .price-table-container .price-table ul li a {
  color: var(--ha-text);
  text-decoration: underline;
  text-decoration-color: rgba(17, 24, 39, 0.25);
  text-underline-offset: 3px;
}

/* Order button */
#order-premium_comparison .price-table-container .order-button,
#order-premium_comparison .price-table-container .order-button:hover {
  margin: 12px 18px 6px 18px;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.18);
  box-shadow: none;
  text-shadow: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
#order-premium_comparison .price-table-container .order-button:hover {
  box-shadow: var(--ha-shadow);
  transform: translateY(-1px);
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--ha-grad) border-box;
  border: 1px solid transparent;
}
#order-premium_comparison .price-table-container .order-button.unavailable,
#order-premium_comparison
  .price-table-container
  .order-button.unavailable:hover {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
  background: #f3f4f6 !important;
  border: 1px solid rgba(17, 24, 39, 0.1) !important;
  color: rgba(17, 24, 39, 0.6) !important;
}

/* Popular plan tag */
#order-premium_comparison .price-table-container .price-table .popular-plan {
  background: transparent;
  border-bottom: 1px solid var(--ha-border);
  color: var(--ha-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 10px 16px;
}

/* ---------------------------------------------------------
   5) Responsive grid
--------------------------------------------------------- */

@media (max-width: 991px) {
  #order-premium_comparison .price-table-container ul {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  }
  #order-premium_comparison .product-selection-sidebar {
    position: relative;
    top: auto;
    width: 100%;
    margin-bottom: 16px;
  }
}

@media (max-width: 600px) {
  #order-premium_comparison .price-table-container ul {
    grid-template-columns: 1fr !important;
  }
  #order-premium_comparison .price-table-container ul > li {
    max-width: 420px !important;
  }
}

.ha-hosting-img {
  border-radius: 20% !important;
  max-width: 450px;
  margin-right: 30px;
}

/* Imagen */
.ha-hosting-img-wrapper {
  position: relative;
  max-width: 100%;
}

.ha-hosting-img {
  max-width: 100%;
  height: auto;
}

.differential {
  margin-bottom: 12px;
}
/* Cards */
.ha-diff-card {
  background: #fff;
  padding: 16px;
  border-radius: 18px;
  margin-bottom: 18px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.ha-diff-card h5 {
  margin-bottom: 10px;
  font-weight: 600;
}

.ha-diff-card p {
  margin-bottom: 0;
}

/* Tablet */
@media (max-width: 991.98px) {
  .ha-diff-row {
    text-align: center;
  }

  .ha-diff-title {
    font-size: 28px;
  }

  .ha-hosting-img-wrapper {
    margin-bottom: 30px;
  }
}

/* Móvil */
@media (max-width: 575.98px) {
  .bg-diff-section {
    padding: 60px 0;
  }

  .ha-diff-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .ha-diff-card {
    padding: 20px;
  }
}

.ha-extra-section {
  background: #ffffff;
}

.ha-extra-title {
  font-size: 32px;
  font-weight: 600;
}

.ha-extra-list {
  max-width: 500px;
}

.ha-extra-item {
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.ha-extra-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.ha-extra-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a18, #ff9a3c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: 15px;
  font-size: 16px;
}

.ha-extra-visual {
  background: #ffffff;
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.ha-extra-big-icon {
  font-size: 80px;
  color: #ff7a18;
}

/* Tablet */
@media (max-width: 991.98px) {
  .ha-extra-title {
    font-size: 26px;
    text-align: center;
  }

  .ha-extra-list {
    margin: 0 auto;
  }
}

/* Móvil */
@media (max-width: 575.98px) {
  .ha-extra-title {
    font-size: 22px;
  }

  .ha-extra-item {
    padding: 14px 16px;
    border-radius: 20px;
  }

  .ha-extra-big-icon {
    font-size: 60px;
  }
}
