/* SHIELDHOSTING UNIFIED CART V9 */

html.sh-cart-unified {
  color-scheme: dark;
}

html.sh-cart-unified body,
html.sh-cart-unified #main-body,
html.sh-cart-unified section#main-body {
  background: #0b1220 !important;
  color: #e9f1ff !important;
}

/* Barra superiore e logo */
html.sh-cart-unified .sh-v8-storebar {
  display: block !important;
  background: #0d192e !important;
}

html.sh-cart-unified:has(.sh-v8-storebar) #header {
  display: none !important;
}

html.sh-cart-unified:not(:has(.sh-v8-storebar)) #header,
html.sh-cart-unified:not(:has(.sh-v8-storebar)) #header .navbar,
html.sh-cart-unified:not(:has(.sh-v8-storebar)) #header .main-navbar-wrapper {
  background: #0d192e !important;
  color: #f1f5ff !important;
  border-color: #293a55 !important;
}

html.sh-cart-unified #header a,
html.sh-cart-unified #header .nav-link {
  color: #e2ebf9 !important;
}

/* Contenuto e navigazione */
html.sh-cart-unified #main-body h1,
html.sh-cart-unified #main-body h2,
html.sh-cart-unified #main-body h3,
html.sh-cart-unified #main-body h4 {
  color: #f1f5ff !important;
}

html.sh-cart-unified .master-breadcrumb {
  background: #142137 !important;
  border-color: #293a55 !important;
}

html.sh-cart-unified .master-breadcrumb a,
html.sh-cart-unified .breadcrumb {
  color: #a7bedb !important;
}

/* Schede e riepiloghi */
html.sh-cart-unified #order-standard_cart .product,
html.sh-cart-unified #order-standard_cart .product-info,
html.sh-cart-unified #order-standard_cart .panel,
html.sh-cart-unified #order-standard_cart .card,
html.sh-cart-unified #order-standard_cart .summary-container,
html.sh-cart-unified #order-standard_cart .order-summary,
html.sh-cart-unified #order-standard_cart .view-cart-items,
html.sh-cart-unified #order-standard_cart .domain-selection-options {
  background: #142137 !important;
  color: #e9f1ff !important;
  border: 1px solid #293a55 !important;
  border-radius: 12px !important;
}

html.sh-cart-unified #order-standard_cart .panel-heading,
html.sh-cart-unified #order-standard_cart .card-header,
html.sh-cart-unified #order-standard_cart .product header {
  background: #1b2b44 !important;
  color: #f1f5ff !important;
  border-color: #293a55 !important;
}

html.sh-cart-unified #order-standard_cart .product-desc,
html.sh-cart-unified #order-standard_cart .product-desc p,
html.sh-cart-unified #order-standard_cart .product-desc li,
html.sh-cart-unified #order-standard_cart .product-desc span,
html.sh-cart-unified #order-standard_cart label,
html.sh-cart-unified #order-standard_cart .product-pricing {
  color: #d5e2f5 !important;
}

html.sh-cart-unified #order-standard_cart .price,
html.sh-cart-unified #order-standard_cart .product-price,
html.sh-cart-unified #order-standard_cart .total-due {
  color: #82b5ff !important;
}

/* Form e configurazioni VPS */
html.sh-cart-unified #order-standard_cart .form-control,
html.sh-cart-unified #order-standard_cart input[type="text"],
html.sh-cart-unified #order-standard_cart input[type="password"],
html.sh-cart-unified #order-standard_cart input[type="email"],
html.sh-cart-unified #order-standard_cart input[type="number"],
html.sh-cart-unified #order-standard_cart textarea,
html.sh-cart-unified #order-standard_cart select {
  background: #0e1a2c !important;
  border: 1px solid #354762 !important;
  color: #f1f5ff !important;
  border-radius: 9px !important;
}

html.sh-cart-unified #order-standard_cart input::placeholder,
html.sh-cart-unified #order-standard_cart textarea::placeholder {
  color: #9db0ca !important;
}

/* Collegamenti e bottoni */
html.sh-cart-unified #order-standard_cart a:not(.btn) {
  color: #8bbdff;
}

html.sh-cart-unified #order-standard_cart .btn-primary,
html.sh-cart-unified #order-standard_cart .btn-success,
html.sh-cart-unified #order-standard_cart .btn-order-now {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: white !important;
  border-radius: 9px !important;
}

html.sh-cart-unified #order-standard_cart .btn-default,
html.sh-cart-unified #order-standard_cart .btn-light {
  background: #24344f !important;
  border-color: #354762 !important;
  color: #f1f5ff !important;
}

/* Tabelle */
html.sh-cart-unified #order-standard_cart .table {
  color: #e9f1ff !important;
}

html.sh-cart-unified #order-standard_cart .table td,
html.sh-cart-unified #order-standard_cart .table th {
  border-color: #293a55 !important;
}

/* Non alterare contrasto degli avvisi WHMCS */
html.sh-cart-unified .alert-danger,
html.sh-cart-unified .alert-success,
html.sh-cart-unified .alert-warning {
  color-scheme: light;
}

/* Footer */
html.sh-cart-unified #footer {
  background: #080f1d !important;
  border-color: #293a55 !important;
  color: #b8c8df !important;
}

/* Dispositivi mobili */
@media(max-width:767px) {
  html.sh-cart-unified #main-body {
    padding: 20px 0 40px !important;
  }

  html.sh-cart-unified #order-standard_cart .product,
  html.sh-cart-unified #order-standard_cart .panel {
    border-radius: 10px !important;
  }
}



/* SHIELDHOSTING STORE V10 */

/* NAVIGAZIONE UFFICIALE */
.sh-v8-storebar {
  background: #0c172b !important;
  border-bottom: 1px solid #253750 !important;
}

.sh-v8-storebar-inner {
  max-width: 1480px !important;
  min-height: 78px !important;
  padding: 12px 28px !important;
}

.sh-v8-nav {
  display: flex !important;
  align-items: center;
  gap: 28px !important;
}

.sh-v8-nav a {
  color: #c7d5ea !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: color .2s ease;
}

.sh-v8-nav a:hover {
  color: #fff !important;
}

.sh-v8-nav .sh-v8-cartlink {
  background: #2563eb !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
}

/* LAYOUT NEGOZIO */
#order-standard_cart > .row {
  display: grid !important;
  grid-template-columns: 235px minmax(0,1fr);
  align-items: start;
  gap: 26px !important;
}

#order-standard_cart .cart-sidebar {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

#order-standard_cart .cart-body {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
}

/* ELIMINA IL RIQUADRO AZIONI */
#order-standard_cart .cart-sidebar
[menuItemName="Actions"],
#order-standard_cart .cart-sidebar
[menuItemName*="Action" i] {
  display: none !important;
}

/* CATEGORIE SEMPRE APERTE */
#order-standard_cart .cart-sidebar
[menuItemName*="Categor" i] {
  display: block !important;
  visibility: visible !important;
  background: #142137 !important;
  border: 1px solid #293a55 !important;
  border-radius: 14px !important;
  overflow: hidden;
}

#order-standard_cart .cart-sidebar
[menuItemName*="Categor" i]
.collapsable-card-body {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  opacity: 1 !important;
}

/* La categoria non diventa un dropdown */
#order-standard_cart .cart-sidebar
[menuItemName*="Categor" i]
.panel-minimise,
#order-standard_cart .cart-sidebar
[menuItemName*="Categor" i]
.card-minimise {
  display: none !important;
}

/* Nasconde i menu categorie duplicati */
#order-standard_cart .cart-body
> .sidebar-collapsed > .panel {
  display: none !important;
}

/* INTESTAZIONE CATEGORIE */
#order-standard_cart .cart-sidebar
[menuItemName*="Categor" i]
.panel-heading,
#order-standard_cart .cart-sidebar
[menuItemName*="Categor" i]
.card-header {
  background: #1b2b44 !important;
  color: #f1f5ff !important;
  border-bottom: 1px solid #293a55 !important;
  padding: 17px 19px !important;
}

#order-standard_cart .cart-sidebar
[menuItemName*="Categor" i]
.panel-title {
  color: #f1f5ff !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

/* ELENCO DELLE CATEGORIE */
#order-standard_cart .cart-sidebar .list-group {
  background: #142137 !important;
  border: 0 !important;
}

#order-standard_cart .cart-sidebar .list-group-item {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 17px !important;
  background: #142137 !important;
  color: #c6d5e9 !important;
  border: 0 !important;
  border-bottom: 1px solid #21314b !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: .2s ease;
}

#order-standard_cart .cart-sidebar
.list-group-item:last-child {
  border-bottom: 0 !important;
}

#order-standard_cart .cart-sidebar
.list-group-item:hover {
  background: #20385c !important;
  color: #fff !important;
}

#order-standard_cart .cart-sidebar
.list-group-item.active {
  background: #1d3b69 !important;
  color: #fff !important;
  border-left: 3px solid #3b82f6 !important;
  font-weight: 700 !important;
}

/* CARD PRODOTTI */
#order-standard_cart .products .product {
  background: #142137 !important;
  border: 1px solid #293a55 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.13);
}

#order-standard_cart .products .product > header {
  background: #1b2b44 !important;
  color: #fff !important;
  border-bottom: 1px solid #293a55 !important;
}

#order-standard_cart .products .product > header *,
#order-standard_cart .products .product
.product-title {
  color: #fff !important;
}

#order-standard_cart .products .product
.product-desc,
#order-standard_cart .products .product
.product-desc * {
  color: #cbd8eb !important;
}

#order-standard_cart .products .product
.product-pricing .price {
  color: #78adff !important;
  font-weight: 800 !important;
}

#order-standard_cart .products .product
.btn-order-now {
  background: #2563eb !important;
  color: white !important;
  border: 1px solid #2563eb !important;
  border-radius: 10px !important;
}

/* CONTRASTO FORM */
#order-standard_cart .form-control {
  background: #101d32 !important;
  color: #f1f5ff !important;
  border-color: #354b6c !important;
}

#order-standard_cart input::placeholder {
  color: #9eafc7 !important;
}

/* SMARTPHONE */
@media(max-width:991px) {
  #order-standard_cart > .row {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 20px !important;
  }

  #order-standard_cart .cart-sidebar {
    width: 100% !important;
  }

  #order-standard_cart .cart-sidebar
  [menuItemName*="Categor" i] {
    display: block !important;
  }

  .sh-v8-storebar-inner {
    flex-direction: column;
    gap: 15px;
  }

  .sh-v8-nav {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 12px 18px !important;
  }
}

@media(max-width:600px) {
  #order-standard_cart .products
  .row.row-eq-height {
    grid-template-columns: 1fr !important;
  }

  .sh-v8-nav a {
    font-size: 12px !important;
  }

  .sh-v8-brand img {
    max-width: 165px !important;
  }
}
