/* ==========================================================================
   SupportHost — WHMCS Nexus Child Theme (supporthost-v2)
   Custom CSS
   
   Design System:
   - Font: DM Sans (body/headings) + JetBrains Mono (numbers/data)
   - Colors: zinc scale, green #2dc799, green-dark #1e8566
   - Style: matching supporthost.com — clean, modern, accessible
   
   Table of Contents:
   --------------------------------------------------------------------------
   1. General edits
   2. Tust bar
   3. Sidebar cart
   4. Configure product domain
   5. Configure product domain
   6. Configure domains
   7. View cart
   8. Checkout
   9. Domain transfer
   10. Domain register
   ========================================================================== */










/* ==========================================================================
   General edits
   ========================================================================== */
.cart-sidebar .card-sidebar .list-group {
  padding: 20px;
}

.cart-body .select2-container--default .select2-selection--single {
  height: 41.5px !important;
}

.cart-body .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px !important;
}

.cart-body .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px !important;
}

#domainregister .btn, #domaintransfer .btn, #domainowndomain .btn, #domainincart .btn, #domainsubdomain .btn {
  height: 40.5px;
}

body #order-standard_cart .cart-body {
  padding: 0 15px !important;
}

.select2-container {
  width: 100% !important;
}

.addon-promo-container-symantec a, .upsell-geotrust_truebizidev {
  display: none;
}

#btnDomainContinue {
  background: var(--sh-grad-green);
  margin: 0 auto;
}

#btnDomainContinue:hover {
  opacity: 0.65;
}

.btn-xs.dropdown-toggle .dropdown-menu .dropdown-item {
  font-size: 12px;
}

ul.dropdown-menu.continueShopping {
  padding: 15px 0;
}

.summary-container .dropdown {
  margin-top: 10px;
}

.dropdown-menu.continueShopping li a, .item-price .dropdown-menu a {
  font-size: 12px;
  padding: 3px 20px;
  white-space: nowrap;
}

.applyPromo .btn {
    font-weight: 500;
}

.dropdown-item {
    padding: 0;
}

#order-standard_cart .cart-body {
  width: 100%;
}

.cart-sidebar + .cart-body {
    width: 75% !important;
}
















/* ==========================================================================
   Trust bar
   ========================================================================== */

.sh-trust-bar {
  background: #fafafa;
  border-bottom: 1px solid #e4e4e7;
  padding: 9px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.sh-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #71717a;
}
.sh-trust-item strong {
  color: #3f3f46;
  font-weight: 600;
}
.sh-trust-stars {
  color: #00b67a;
  font-size: 13px;
  letter-spacing: 1px;
}
.sh-trust-sep {
  width: 1px;
  height: 12px;
  background: #d4d4d8;
}
.sh-trust-bar .fa-solid {
  color: var(--sh-green);
}














/* ==========================================================================
   Sidebar cart
   ========================================================================== */
/* Sidebar riepilogo */
.secondary-cart-sidebar {
    position: sticky;
    top: 20px;
}

@media only screen and (max-width: 991px) {
    #order-standard_cart .secondary-cart-sidebar {
        margin: 0 auto;
        width: 100%;
        max-width: 450px;
    }
}

.order-summary {
    border: 1.5px solid #e4e4e7 !important;
    border-radius: 14px;
    background: #ffffff;
    padding: 20px;
    margin-bottom: 10px;
}

#order-standard_cart .order-summary h2 {
    font-size: 15px !important;
    font-weight: 600;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border: none !important;
    border-bottom: 1px solid #e4e4e7 !important;
}

.order-summary .product-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #09090b;
}

.order-summary .product-group {
    display: block;
    font-size: 12px;
    color: #71717a;
    margin-bottom: 14px;
}

/* Righe prodotto/opzioni */
body #order-standard_cart .order-summary .summary-container {
    border: none;
}

.order-summary .summary-container > .clearfix {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 0;
    font-size: 13px;
    color: #3f3f46;
    border-bottom: none;
}

.order-summary .summary-container > .clearfix:after, .order-summary .summary-totals > .clearfix:after {
    display: none;
}

.order-summary .summary-container > .clearfix .pull-left,
.order-summary .summary-container > .clearfix .float-left {
    float: none;
    color: #3f3f46;
    max-width: 70%;
}

.order-summary .summary-container > .clearfix .pull-right,
.order-summary .summary-container > .clearfix .float-right {
    /* float: none; */
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #71717a;
}

/* Totali setup/ciclo */
.order-summary .summary-totals {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e4e4e7;
    font-size: 13px;
    color: #3f3f46;
}

.order-summary .summary-totals .clearfix {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
}

.order-summary .summary-totals .pull-right,
.order-summary .summary-totals .float-right {
    float: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #71717a;
}

/* Totale finale */
.order-summary .total-due-today {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1.5px solid #e4e4e7;
    text-align: right;
}

.order-summary .total-due-today .total-price,
.order-summary .total-due-today [class*="price"],
.order-summary .total-due-today span:first-child {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #09090b;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
    margin-bottom: 4px;
}

.order-summary .total-due-today small,
.order-summary .total-due-today span:last-child {
    font-size: 12px;
    color: #71717a;
}

/* Bottone Continua */
.secondary-cart-sidebar .btn-primary {
    display: block;
    width: 100%;
    padding: 14px;
    background: #2dc799;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    text-align: center;
}

.secondary-cart-sidebar .btn-primary:hover {
    background: #1e8566;
}

.secondary-cart-sidebar .btn-primary i {
    margin-left: 6px;
}













/* ==========================================================================
   Configure product domain
   ========================================================================== */

.configureproductdomain {
  max-width: 960px;
  margin: 0 auto;
}

.sh-progress-wrap {
  background: #fff;
  border-bottom: 1px solid #e4e4e7;
  display: flex;
  justify-content: center;
}
.sh-progress-steps {
  display: flex;
  align-items: center;
}
.sh-prog-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 13px;
  color: #a1a1aa;
  position: relative;
  font-family: 'DM Sans', sans-serif;
}
.sh-prog-step.done { color: #1e8566; }
.sh-prog-step.active { color: #09090b; font-weight: 500; }
.sh-prog-step.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: #09090b;
  border-radius: 2px 2px 0 0;
}
.sh-prog-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid #d4d4d8;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: #a1a1aa;
}
.sh-prog-step.active .sh-prog-num {
  background: #09090b;
  border-color: #09090b;
  color: #fff;
}
.sh-prog-step.done .sh-prog-num {
  background: #2dc799;
  border-color: #2dc799;
  color: #fff;
  font-size: 11px;
}
.sh-prog-connector {
  width: 32px; height: 1px;
  background: #e4e4e7;
}
.suggested-domains, .primary-domain-header {
  display: none !important;
}
#DomainSearchResults {
  margin-top: 50px;
}
#frmProductDomain > p {
  font-size: 12px;
}
@media (max-width: 780px) {
    .sh-prog-step span { display: none; }
    .sh-prog-step { padding: 12px 6px; }
    .sh-prog-connector { width: 16px; }
    .sh-trust-bar { gap: 12px; padding: 8px 16px; }
    .sh-trust-sep { display: none; }
    .sh-trust-item { font-size: 11px; }
}

/*--- Domain selection options -------------------------------------------------*/

body #order-standard_cart .domain-selection-options {
  background: #fff;
  border: none;
}

#order-standard_cart .domain-selection-options .option {
  background-color: var(--bg) !important;
  padding: 0;
}

.domain-selection-options .option > label {
  background-color: var(--bg);
}

#frmProductDomain .iradio_square-blue, .sh-cycle-card .iradio_square-blue {
  display: none;
}

.domain-selection-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.domain-selection-options .option {
  border: 1.5px solid var(--border, #e4e4e7);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s;
  background: #fff;
}

.domain-selection-options .option:has(input[type="radio"]:checked) {
  border-color: #2dc799 !important;
}

/* Label row — l'intera riga è cliccabile */
.domain-selection-options .option > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #09090b;
  margin: 0 !important;
  background-color: var(--bg);
  transition: background 0.12s;
  user-select: none;
}

#order-standard_cart .domain-input-group {
    margin: 0;
}

.domain-selection-options .option:has(input[type="radio"]:checked) > label {
  background: #e8faf4;
  color: #09090b;
}

/* Nascondi il radio button nativo, sostituito da checkmark */
.domain-selection-options .option > label input[type="radio"] {
  display: none;
}

/* Checkmark a destra — vuoto se non selezionato, verde se selezionato */
.domain-selection-options .option > label::after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #d4d4d8;
  flex-shrink: 0;
  transition: border-color 0.12s, background 0.12s;
  background: #fff;
}

.domain-selection-options .option:has(input[type="radio"]:checked) > label::after {
  background: #2dc799;
  border-color: #2dc799;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Area form input che si espande sotto */
.domain-selection-options .domain-input-group {
  padding: 26px 20px;
  border-top: 1px solid #e4e4e7;
  background: #fff;
}

@media (max-width: 680px) {
    .configureproductdomain .domain-input-group .row {
        margin-left: 0;
        margin-right: 0;
    }
    .configureproductdomain .domain-input-group .domains-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0;
        padding: 0;
    }
    /* input con www: riga intera */
    .configureproductdomain .domain-input-group .domains-row .col-xs-9,
    .configureproductdomain .domain-input-group .col-sm-8,
    .configureproductdomain .domain-input-group .col-sm-9,
    .configureproductdomain .domain-input-group .domains-row .col-9,
    .configureproductdomain .domain-input-group .domains-row .col-5 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .configureproductdomain .domain-input-group .domains-row .col-xs-2.col-2.text-right {
      display: none;
    }

    .configureproductdomain .domain-input-group .offset-sm-1 {
        margin-left: 0 !important;
    }

    .configureproductdomain .domain-input-group .btn {
        margin-left: 0 !important;
        margin-top: 3px;
    }

    /* mantieni input-group inline (www. + testo) su stessa riga */
    .configureproductdomain .domain-input-group .input-group {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
    }
    .configureproductdomain .domain-input-group .input-group-text {
        white-space: nowrap;
    }
    /* select TLD: riga intera */
    .configureproductdomain .domain-input-group .domains-row .col-xs-3,
    .configureproductdomain .domain-input-group .domains-row .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }
    .configureproductdomain .domain-input-group .domains-row .col-xs-3 select,
    .configureproductdomain .domain-input-group .domains-row .col-3 select {
        width: 100%;
    }
    /* bottone: riga intera */
    .configureproductdomain .domain-input-group .col-sm-2 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .configureproductdomain .domain-input-group .col-sm-2 button {
        width: 100%;
    }
}














/* ==========================================================================
   Configure product domain
   ========================================================================== */
.sh-product-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0 20px;
    font-size: 16px;
    color: #71717a;
}
.sh-product-header-name {
    font-weight: 500;
    color: #09090b;
    font-size: 22px;
}
.sh-product-header-sep {
    color: #d4d4d8;
}

/*--- Billing cycle cards -----------------------------------------*/

.sh-cycle-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #3f3f46;
    margin-bottom: 10px;
}

.sh-cycle-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sh-cycle-card {
    flex: 1;
    min-width: 130px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 16px;
    border: 1.5px solid #e4e4e7;
    border-radius: 12px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.12s, background 0.12s;
    margin: 0;
    font-weight: 400;
}

.sh-cycle-card:hover {
    border-color: #a7e9d4;
    background: #f9fffe;
}

.sh-cycle-card.selected {
    border-color: #2dc799;
    background: #e8faf4;
}

.sh-cycle-card input[type="radio"] {
    display: none;
}

.sh-cycle-name {
    font-size: 12px;
    font-weight: 600;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.sh-cycle-card.selected .sh-cycle-name {
    color: #1e8566;
}

.sh-cycle-price {
    font-size: 14px;
    font-weight: 500;
    color: #09090b;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .sh-cycle-card {
        min-width: calc(50% - 5px);
        flex: 0 0 calc(50% - 5px);
    }
}

.sh-promo-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 10px 15px 0;
    padding: 10px 14px;
    background: #e8faf4;
    border: 1px solid #a7e9d4;
    border-radius: 10px;
    font-size: 13px;
    color: #1e8566;
}
.sh-promo-notice i {
    font-size: 13px;
    flex-shrink: 0;
}

/*--- Cycle card badges ------------------------------------------*/

/* Badge best-seller / best-value */
.sh-cycle-card .best-seller {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1e8566;
    background: #e8faf4;
    border: 1px solid #a7e9d4;
    border-radius: 100px;
    padding: 2px 8px;
    margin-bottom: 6px;
    align-self: flex-start;
}

.sh-cycle-card .best-value {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 100px;
    padding: 2px 8px;
    margin-bottom: 6px;
    align-self: flex-start;
}

/* Badge free domain in fondo */
.sh-cycle-card .free-domain {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #1e8566;
    margin-top: auto;
    padding-top: 20px;
    align-self: stretch;
}

.sh-cycle-card .free-domain i {
    font-size: 11px;
}

/* Le card senza badge devono avere lo stesso spazio in cima per allineamento */
.sh-cycle-card:not(:has(.best-badge)) {
    padding-top: calc(14px + 22px + 6px); /* compensa altezza badge + margin */
}

/*--- Cycle card monthly price ------------------------------*/

.sh-cycle-card .sh-cycle-price-monthly {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: #71717a;
    margin-top: 8px;
}

/*--- Location configurable options ------------------------------*/

.sh-location-cards {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.sh-location-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 24px;
    border: 1.5px solid #e4e4e7;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    min-width: 110px;
    font-size: 13px;
    font-weight: 500;
    color: #3f3f46;
}

/* iCheck nasconde il radio dentro un div — lo nascondiamo visivamente */
.sh-location-card .iradio_square-blue {
    display: none;
}

/* Quando iCheck aggiunge .checked al suo div wrapper, styliamo il label parent */
.sh-location-card:has(.iradio_square-blue.checked) {
    border-color: #2dc799;
    background: #e8faf4;
    color: #1e8566;
    font-weight: 600;
}

/* .sh-location-name {
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

.sh-location-name::first-letter {
    font-size: 22x;
} */

.sh-location-name {
    display: block; /* o inline-block */
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

.sh-location-name::first-line {
    font-size: 30px;
    line-height: 1;
}


@media (max-width: 600px) {
    .sh-location-card {
        flex: 1 1 calc(50% - 5px);
        min-width: unset;
    }
}

/*--- WHMCS addon cards ----------------------------------------------------------------*/

#order-standard_cart .addon-promo-container {
    border: 1.5px solid #e4e4e7;
}

/*--- Addon cards ----------------------------------------------------------------*/
.panel-addon {
  display: flex;
  align-items: center;
  border: 1.5px solid #e4e4e7;
  border-radius: 10px;
  background: #ffffff;
  margin-bottom: 10px;
  padding: 0;
  box-shadow: none;
  flex-direction: row;
}

.panel-addon.panel-addon-selected {
  border-color: #2dc799;
  background: #e8faf4;
}

.panel-addon .card-body {
  flex: 1;
  padding: 16px 20px !important;
}

.sh-addon-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
}

.sh-addon-name input[type="checkbox"] {
  display: none;
}

.sh-addon-name label {
  font-size: 15px;
  font-weight: 600;
  color: #09090b;
  cursor: pointer;
  margin: 0;
}

.panel-addon-selected .sh-addon-name label {
  color: #1e8566;
}

.sh-addon-description {
  font-size: 13px;
  color: #71717a;
  line-height: 1.5;
  text-align: left;
}

.sh-addon-description .addonimagecustom {
  float: left;
  margin: 0 5px 5px 0;
}

.sh-addon-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
  padding: 16px 0;
}

#order-standard_cart .panel-addon .panel-price {
  padding: 20px;
}

#order-standard_cart .panel-addon .panel-price {
  font-size: 13px;
  font-weight: 500;
  color: #09090b;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  background-color: transparent;
  text-align: right;
}

#order-standard_cart .panel-addon .panel-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1.5px solid #2dc799;
  color: #1e8566;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  background-color: transparent;
}

#order-standard_cart .panel-addon .panel-add:hover,
.panel-addon-selected .panel-add {
  background: #2dc799;
  color: #ffffff;
}

@media (max-width: 600px) {
  .panel-addon {
    flex-wrap: wrap;
  }

  .sh-addon-pricing {
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 0;
  }
  
  .panel-price {
    text-align: center;
  }
}

/*--- form scelta CMS -------------------------------------*/

.form-control {
    border: 1.5px solid #e4e4e7;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #09090b;
    background-color: #ffffff;
    box-shadow: none;
    transition: border-color 0.15s;
    appearance: auto;
}

.form-control:focus {
    border-color: #2dc799;
    outline: none;
    box-shadow: none;
}

/* Numerazione automatica sezioni */

.cart-body {
    counter-reset: sh-section;
}

.field-container,
.product-configurable-options,
.product-customfields,
#productAddonsContainer {
    counter-increment: sh-section;
    position: relative;
    padding-left: 52px;
    padding-top: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e4e4e7;
}

.field-container::before,
.product-configurable-options::before,
.product-customfields::before,
#productAddonsContainer::before {
    content: counter(sh-section, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 26px;
    font-weight: 700;
    color: #e4e4e7;
    line-height: 1;
}

/* Label titolo sezione già esistente */
.sh-cycle-label,
.sub-heading span {
    font-size: 15px;
    font-weight: 600;
    color: #09090b;
}

/* Addon promo container */
.addon-promo-container {
    border: 1.5px solid #e4e4e7;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
}

/* Header cliccabile */
.addon-promo-container .description {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    cursor: pointer;
    user-select: none;
}

.addon-promo-container .description h3 {
    font-size: 14px;
    font-weight: 600;
    color: #09090b;
    margin: 0 0 2px 0;
}

.addon-promo-container .description p {
    font-size: 12px;
    color: #71717a;
    margin: 0;
    line-height: 1.4;
}

/* Freccia collapse */
.addon-promo-container .description::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #71717a;
    border-bottom: 1.5px solid #71717a;
    transform: rotate(45deg);
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.addon-promo-container.open .description::after {
    transform: rotate(-135deg);
}

/* Opzioni radio — collassate di default */
.addon-promo-container .addon-options-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 0 solid #e4e4e7;
}

.addon-promo-container.open .addon-options-wrapper {
    max-height: 300px;
    border-top-width: 1px;
}

/* Label radio */
.addon-promo-container label.radio-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    margin: 0;
    font-size: 13px;
    color: #3f3f46;
    border-bottom: 1px solid #f4f4f5;
    cursor: pointer;
    background: #fafafa;
    transition: background 0.1s;
    border-radius: 8px;
}

.addon-promo-container label.radio-inline:last-of-type {
    border-bottom: none;
}

.addon-promo-container label.radio-inline:hover {
    background: #f4f4f5;
}

.addon-promo-container label.radio-inline .pull-right {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #71717a;
    float: none;
}

/* Nascondi immagine originale */
.addon-promo-container .description .logo img {
    display: none;
}

/* Contenitore icona */
.addon-promo-container .description .logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #bfdbfe;
}

/* Icona FA via ::before */
.addon-promo-container .description .logo::before {
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 18px;
    color: #3b82f6;
    content: "\f30d"; /* fa-lock */
}

#order-standard_cart .addon-promo-container .logo {
    margin: 0 0 10px 0;
}


.sh-icon-cloudflare {
  font-size: 24px;
  color: #f6821f;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.sh-icon-ip {
  font-size: 24px;
  color: #3b82f6;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.sh-icon-email {
  font-size: 24px;
  color: #7c3aed;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.sh-icon-generic {
  font-size: 24px;
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.sh-icon-cloudflare::before {
  color: #f6821f;
}

.sh-addon-name .icheckbox_square-blue {
  display: none;
}

.addon-products .panel-addon {
  padding: 0 20px;
}

















/* ==========================================================================
   Configure domains
   ========================================================================== */
/* Domain header */
.configuredomains {
    max-width: 960px;
    margin: 0 auto;
}

.sh-domain-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 0 16px;
    border-bottom: 1px solid #e4e4e7;
    margin-bottom: 20px;
    margin-top: 45px;
}

.sh-product-header .sh-product-name {
    font-weight: 500;
    color: #09090b;
    font-size: 22px;
}

.sh-domain-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #e8faf4;
    border: 1px solid #a7e9d4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: #2dc799;
}

.sh-domain-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    font-weight: 600;
    color: #09090b;
}

.sh-domain-meta {
    font-size: 12px;
    color: #71717a;
    margin-top: 2px;
}

.sh-domain-hosting {
    margin-left: auto;
    font-size: 13px;
}

.sh-hosting-ok {
    color: #1e8566;
    font-weight: 500;
}

.sh-hosting-missing {
    color: #dc2626;
    font-weight: 500;
    text-decoration: none;
}

/* Nameserver divider */
.sh-section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 20px;
    font-size: 13px;
    font-weight: 600;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sh-section-divider::before,
.sh-section-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e4e4e7;
}

/* Form actions */
.sh-form-actions {
    text-align: center;
    padding: 28px 0 8px;
}

#frmConfigureDomains .panel-addon {
    flex-direction: column;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    margin: 25px 0;
}











/* ==========================================================================
   View cart
   ========================================================================== */
/* ── Layout viewcart ── */
.viewcart .secondary-cart-body {
    flex: 1;
    min-width: 0;
}

.viewcart .font-size-36 {
  font-size: 22px;
}

.viewcart .row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* ── Header tabella ── */
.viewcart .view-cart-items-header {
    background: #fafafa;
    border: 1px solid #e4e4e7;
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}

.viewcart .view-cart-items-header .row {
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 600;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    gap: 0;
}

/* ── Items container ── */
.viewcart .view-cart-items {
    border: 1px solid #e4e4e7;
    border-radius: 0 0 10px 10px;
    margin-bottom: 16px;
}

/* ── Singolo item ── */
.viewcart .item {
    padding: 16px 20px;
    border-bottom: 1px solid #f4f4f5;
    transition: background 0.1s;
}
.viewcart .item:last-child { border-bottom: none; }
.viewcart .item:hover { background: #fafafa; }

.viewcart .item .row { gap: 0; }

/* ── Contenuto item ── */
.viewcart .item-title {
    font-size: 14px;
    font-weight: 600;
    color: #09090b;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.viewcart .item-title .btn-link {
    font-size: 11px;
    color: #71717a;
    padding: 2px 7px;
    border: 1px solid #e4e4e7;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: all 0.1s;
}
.viewcart .item-title .btn-link:hover {
    color: #09090b;
    border-color: #d4d4d8;
    text-decoration: none;
}

.viewcart .item-group {
    font-size: 12px;
    color: #71717a;
    margin-top: 2px;
}

.viewcart .item-domain {
    font-size: 12px;
    color: #3f3f46;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 3px;
}

.viewcart .item small {
    font-size: 12px;
    color: #a1a1aa;
    display: block;
    margin-top: 4px;
    line-height: 1.5;
}

/* ── Prezzo ── */
.viewcart .item-price {
    text-align: right;
}
.viewcart .item-price > span:first-child {
    font-size: 15px;
    font-weight: 600;
    color: #09090b;
    font-family: 'JetBrains Mono', monospace;
    display: block;
}
.viewcart .item-price .cycle {
    font-size: 11px;
    color: #71717a;
    font-family: 'DM Sans', sans-serif;
    display: block;
    margin-top: 2px;
}
.viewcart .item-price .renewal {
    font-size: 11px;
    color: #a1a1aa;
    display: block;
}

/* ── Bottone rimuovi ── */
.viewcart .btn-remove-from-cart {
    color: #a1a1aa !important;
    padding: 4px !important;
    border-radius: 6px;
    transition: all 0.1s;
    font-size: 13px;
}
.viewcart .btn-remove-from-cart:hover {
    color: #dc2626 !important;
    background: #fef2f2;
}

/* ── Svuota carrello ── */
.viewcart .empty-cart {
    text-align: right;
    margin-bottom: 16px;
}
.viewcart .empty-cart .btn-link {
    font-size: 12px;
    color: #a1a1aa;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.viewcart .empty-cart .btn-link:hover { color: #dc2626; }

/* ── Tab promo/IVA ── */
.viewcart .view-cart-tabs {
    border: 1px solid #e4e4e7;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}
.viewcart .view-cart-tabs .nav-tabs {
    border-bottom: 1px solid #e4e4e7;
    background: #fafafa;
    padding: 0 16px;
    display: flex;
    gap: 0;
}
.viewcart .view-cart-tabs .nav-tabs .nav-link {
    font-size: 13px;
    font-weight: 500;
    color: #71717a;
    padding: 11px 14px;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: none;
}
.viewcart .view-cart-tabs .nav-tabs .nav-link.active {
    color: #09090b;
    border-bottom-color: #2dc799;
}
.viewcart .view-cart-tabs .tab-content {
    padding: 16px 20px;
}

/* Input promo */
.viewcart .view-cart-tabs .form-group input.field {
    border: 1.5px solid #e4e4e7;
    border-radius: 8px;
    padding: 8px 12px 8px 36px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.viewcart .view-cart-tabs .form-group input.field:focus {
    border-color: #2dc799;
    box-shadow: 0 0 0 3px rgba(45,199,153,0.12);
}
.viewcart .view-cart-tabs .btn-block {
    background: #09090b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 9px;
    margin-top: 8px;
    transition: background 0.15s;
}
.viewcart .view-cart-tabs .btn-block:hover { background: #3f3f46; }

/* Promo applicata */
.viewcart .view-cart-promotion-code {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #1e8566;
    background: #e8faf4;
    border: 1px solid #a7e9d4;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    margin-bottom: 10px;
}

/* ── Bottone checkout ── */
.viewcart ~ .secondary-cart-sidebar .btn-checkout,
.secondary-cart-sidebar .btn-checkout {
    background: #2dc799 !important;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s;
}
.secondary-cart-sidebar .btn-checkout:hover {
    background: #1e8566 !important;
}

.sh-cart-blocks {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e4e4e7;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.sh-cart-block {
    padding: 16px 20px;
    border-bottom: 1px solid #e4e4e7;
}
.sh-cart-block:last-child { border-bottom: none; }

.sh-cart-block-title {
    font-size: 12px;
    font-weight: 600;
    color: #3f3f46;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

/* Promo row */
.sh-promo-row {
    display: flex;
    gap: 8px;
}

.sh-promo-input {
    flex: 1;
    height: 38px;
    border: 1.5px solid #e4e4e7;
    border-radius: 8px;
    padding: 0 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #09090b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    outline: none;
    transition: border-color 0.15s;
}
.sh-promo-input:focus {
    border-color: #2dc799;
    box-shadow: 0 0 0 3px rgba(45,199,153,0.12);
}

.sh-btn-promo {
    height: 38px;
    padding: 0 16px;
    background: #09090b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.sh-btn-promo:hover { background: #3f3f46; }

/* Promo applicata */
.sh-promo-applied {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #e8faf4;
    border: 1px solid #a7e9d4;
    border-radius: 8px;
    font-size: 13px;
    flex-wrap: wrap;
}
.sh-promo-code {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #1e8566;
}
.sh-promo-desc { color: #1e8566; flex: 1; }
.sh-promo-remove {
    color: #1e8566;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.7;
    margin-left: auto;
}
.sh-promo-remove:hover { opacity: 1; }

/* IVA form — stilizza Bootstrap esistente */
.sh-cart-block .form-group.row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sh-cart-block .form-group.row .control-label {
    font-size: 11px;
    font-weight: 600;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: right;
    padding-top: 0;
    flex-shrink: 0;
}

.sh-cart-block .form-group.row .col-sm-7 {
    flex: 1;
}

.sh-cart-block .form-group.row .form-control {
    height: 38px;
    border: 1.5px solid #e4e4e7;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 13px;
    color: #09090b;
    box-shadow: none;
    transition: border-color 0.15s;
}

.sh-cart-block .form-group.row .form-control:focus {
    border-color: #2dc799;
    box-shadow: 0 0 0 3px rgba(45,199,153,0.12);
}

.sh-cart-block .form-group.text-center {
    margin-top: 4px;
}

.sh-cart-block .form-group.text-center .btn-default {
    height: 38px;
    padding: 0 16px;
    background: #09090b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.sh-cart-block .form-group.text-center .btn-default:hover {
    background: #3f3f46;
}

.viewcart .select2-selection__rendered {
    padding-left: 10px !important;
}















/* ==========================================================================
   Checkout
   ========================================================================== */
/* ── Layout checkout ── */
.checkout {
    max-width: 960px;
    margin: auto;
}

.checkout .header-lined h1 {
    font-size: 24px;
    font-weight: 700;
    color: #09090b;
    margin-bottom: 4px;
}

.checkout .already-registered {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.checkout .already-registered p {
    font-size: 13px;
    color: #71717a;
    margin: 0;
}

.checkout #btnAlreadyRegistered,
.checkout #btnNewUserSignup {
    background: #f4f4f5;
    color: #09090b;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    white-space: nowrap;
}

/* ── Trust bar — una riga ── */
.checkout ~ .trust-bar,
.cart-body.checkout + * .trust-bar {
    flex-wrap: nowrap;
}

/* ── Sezioni: header ── */
.checkout .sub-heading {
    background: none;
    border: none;
    padding: 0;
    margin-top: 20px;
}

.checkout .sub-heading span {
    display: block;
    background: #fafafa;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #09090b;
    margin: 0;
}

/* ── Sezioni: body — solo .row e .field-container ── */
.checkout .sub-heading + .row,
.checkout .sub-heading + .field-container,
.checkout .customfields .row {
    padding: 16px 20px;
    margin-bottom: 50px;
    background: #fff;
}

.checkout div#containerExistingUserSignin .row {
    padding: 16px 20px;
}

.checkout div#containerExistingUserSignin .text-center {
    margin-bottom: 50px;
}

/* ── Sezione registrante dominio — p + select + div ── */
.checkout .sub-heading + p.small + .row.margin-bottom,
.checkout .sub-heading + p.small + .row.margin-bottom + div {
    padding: 12px 20px;
    background: #fff;
    margin-bottom: 50px;
}

.checkout .sub-heading + p.small + .row.margin-bottom {
    border-bottom: none;
    border-radius: 0;
}

.checkout .sub-heading + p.small + .row.margin-bottom + div {
    border-radius: 0 0 10px 10px;
    margin-bottom: 4px;
}

/* ── Dettagli pagamento — alert totale ── */
.checkout .sub-heading + .alert.alert-success {
    border: none;
    border-radius: 8px;
    background: #f4f4f5;
    color: #09090b;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 14px 20px;
}

.checkout .sub-heading + .alert.alert-success #totalCartPrice {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    color: #2dc799;
}

/* ── Campi form ── */
.checkout .form-group {
    margin-bottom: 10px;
}

.checkout .form-group.prepend-icon .field {
    border: 1.5px solid #e4e4e7;
    border-radius: 8px;
    height: 42px;
    padding-left: 38px;
    font-size: 13px;
    color: #09090b;
    box-shadow: none;
    transition: border-color 0.15s;
}

.checkout .form-group.prepend-icon .field:focus {
    border-color: #2dc799;
    box-shadow: 0 0 0 3px rgba(45,199,153,0.12);
    outline: none;
}

.checkout .form-group.prepend-icon .field-icon {
    color: #a1a1aa;
    z-index: 2;
}

.checkout .form-group select.field {
    height: 42px;
}

/* ── Spaziatura row interna ── */
.checkout .sub-heading + .row .col-sm-6,
.checkout .sub-heading + .row .col-sm-4,
.checkout .sub-heading + .row .col-sm-3,
.checkout .sub-heading + .row .col-sm-5,
.checkout .sub-heading + .row .col-sm-12 {
    padding-bottom: 0;
    margin-bottom: 0;
}

/* ── Alert errori ── */
.checkout .alert-danger:not(.w-hidden) {
    border-radius: 10px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 20px;
}

/* ── Sicurezza SSL ── */
.checkout .checkout-security-msg {
    background: #f4f4f5;
    border: 1px solid #e4e4e7;
    color: #71717a;
    border-radius: 10px;
    font-size: 12px;
    margin-top: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-heading span.primary-bg-color br, .sub-heading span.primary-bg-color i {
    display: none;
}

.checkout #frmCheckout p.small.text-muted {
    padding: 0 20px;
}

/* Container gateway */
.checkout #paymentGatewaysContainer {
    margin-bottom: 16px;
}

.checkout #paymentGatewaysContainer p.small {
    font-size: 12px;
    color: #71717a;
    margin-bottom: 10px;
}

.checkout #paymentGatewaysContainer .text-center {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

/* Ogni label = card */
.checkout #paymentGatewaysContainer label.radio-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid #e4e4e7;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #09090b;
    transition: border-color 0.15s, background 0.15s;
    margin: 0;
    background: #fff;
}

.checkout #paymentGatewaysContainer label.radio-inline:hover {
    border-color: #a7e9d4;
    background: #f9fffe;
}

/* Radio selezionato */
.checkout #paymentGatewaysContainer label.radio-inline:has(input:checked) {
    border-color: #2dc799;
    background: #e8faf4;
}

/* Nascondi radio nativo */
.checkout #paymentGatewaysContainer label.radio-inline input[type="radio"] {
    display: none;
}

/* Pallino custom */
.checkout #paymentGatewaysContainer label.radio-inline::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid #d4d4d8;
    border-radius: 50%;
    flex-shrink: 0;
    transition: border-color 0.15s;
    background: #fff;
}

.checkout #paymentGatewaysContainer label.radio-inline:has(input:checked)::before {
    border-color: #2dc799;
    border-width: 5px;
}

/* Icone per gateway specifici */
.checkout #paymentGatewaysContainer label.radio-inline::after {
    margin-left: auto;
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
    color: #a1a1aa;
}

.checkout #paymentGatewaysContainer label.radio-inline:has(input[value="stripe"])::after {
    content: "\f09d"; /* fa-credit-card */
}

.checkout #paymentGatewaysContainer label.radio-inline:has(input[value="wise"])::after {
    content: "\f53d"; /* fa-university */
}

.checkout #paymentGatewaysContainer label.radio-inline:has(input[value="stripe_sepa"])::after {
    content: "\f4c0"; /* fa-file-invoice */
}

/* Icona colorata se selezionato */
.checkout #paymentGatewaysContainer label.radio-inline:has(input:checked)::after {
    color: #2dc799;
}

#paymentGatewaysContainer .iradio_square-blue, #creditCardInputFields .iradio_square-blue {
    display: none;
}

div#creditCardInputFields {
    margin-bottom: 25px;
}

#order-standard_cart .checkout-security-msg i {
    float: left;
    margin-left: -48px;
    font-size: 1.5em;
    margin-right: 5px;
}
















/* ==========================================================================
   Domain transfer
   ========================================================================== */
.domaintransfer.cart-body {
  width: 100%;
}

.domainregister.cart-body {
  max-width: 960px;
  margin: auto;
}