/* Divino Host — modern cart review */
body[data-template-file="viewcart"] #order-standard_cart {
  --dh-cart-purple: #7200d9;
  --dh-cart-purple-dark: #4b087d;
  --dh-cart-purple-soft: #f5edff;
  --dh-cart-ink: #25172f;
  --dh-cart-muted: #776d80;
  --dh-cart-line: #e8deef;
}

body[data-template-file="viewcart"] #order-standard_cart .secondary-cart-body,
body[data-template-file="viewcart"] #order-standard_cart .secondary-cart-sidebar {
  padding-top: 0;
}

body[data-template-file="viewcart"] #order-standard_cart .view-cart-items-header {
  margin: 0;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px 14px 0 0;
  color: #fff;
  background: linear-gradient(120deg, var(--dh-cart-purple-dark), #8523e8);
  box-shadow: 0 10px 24px rgba(91, 8, 157, .16);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .35px;
  text-transform: uppercase;
}

body[data-template-file="viewcart"] #order-standard_cart .view-cart-items {
  min-height: 122px;
  overflow: hidden;
  border: 1px solid var(--dh-cart-line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(48, 27, 61, .08);
}

body[data-template-file="viewcart"] #order-standard_cart .view-cart-items .item {
  padding: 20px;
  border-bottom: 1px solid #eee7f3;
  background: #fff;
  transition: background .2s ease;
}
body[data-template-file="viewcart"] #order-standard_cart .view-cart-items .item:hover { background: #fcf9ff; }
body[data-template-file="viewcart"] #order-standard_cart .view-cart-items .item:last-child { border-bottom: 0; }
body[data-template-file="viewcart"] #order-standard_cart .view-cart-items .item-title { color: var(--dh-cart-ink); font-size: 14px; font-weight: 800; }
body[data-template-file="viewcart"] #order-standard_cart .view-cart-items .item-group,
body[data-template-file="viewcart"] #order-standard_cart .view-cart-items .item-domain { margin-top: 4px; color: var(--dh-cart-muted); font-size: 11px; }
body[data-template-file="viewcart"] #order-standard_cart .view-cart-items .item-price { color: var(--dh-cart-purple-dark); font-weight: 800; }

body[data-template-file="viewcart"] #order-standard_cart .empty-cart {
  padding: 12px 0 8px;
  display: flex;
  justify-content: flex-end;
}

body[data-template-file="viewcart"] #order-standard_cart #btnEmptyCart {
  min-height: 42px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #e7a5ad;
  border-radius: 11px;
  color: #b42334;
  background: #fff6f7;
  box-shadow: 0 7px 17px rgba(180, 35, 52, .10);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body[data-template-file="viewcart"] #order-standard_cart #btnEmptyCart:hover,
body[data-template-file="viewcart"] #order-standard_cart #btnEmptyCart:focus {
  border-color: #c83a4b;
  color: #fff;
  background: #c83a4b;
  box-shadow: 0 11px 23px rgba(180, 35, 52, .22);
  outline: none;
  transform: translateY(-1px);
}

body[data-template-file="viewcart"] #order-standard_cart .view-cart-empty {
  position: relative;
  padding: 53px 20px 30px;
  color: var(--dh-cart-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
body[data-template-file="viewcart"] #order-standard_cart .view-cart-empty::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border-radius: 10px;
  background-color: var(--dh-cart-purple-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237200d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='19' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 10.1a2 2 0 0 0 2 1.5h7.8a2 2 0 0 0 2-1.6L21 7H6'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
}

body[data-template-file="viewcart"] #order-standard_cart .view-cart-tabs {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--dh-cart-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(48, 27, 61, .07);
}
body[data-template-file="viewcart"] #order-standard_cart .view-cart-tabs .nav-tabs {
  margin: 0;
  padding: 9px;
  border: 0;
  background: #faf7fc;
}
body[data-template-file="viewcart"] #order-standard_cart .view-cart-tabs .nav-tabs > li > a {
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
  color: #665b70;
  font-size: 11px;
  font-weight: 800;
}
body[data-template-file="viewcart"] #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"],
body[data-template-file="viewcart"] #order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded="true"] {
  color: #fff;
  background: linear-gradient(135deg, #861fe5, #6400be);
  box-shadow: 0 8px 18px rgba(112, 0, 210, .22);
}
body[data-template-file="viewcart"] #order-standard_cart .view-cart-tabs .tab-content {
  padding: 18px;
  border: 0;
  background: #fff;
}
body[data-template-file="viewcart"] #order-standard_cart .view-cart-tabs .promo form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
body[data-template-file="viewcart"] #order-standard_cart .view-cart-tabs .promo .form-group { margin: 0; }
body[data-template-file="viewcart"] #order-standard_cart #inputPromotionCode {
  height: 44px;
  border: 1px solid #ded4e6;
  border-radius: 10px;
  background: #fcfbfd;
}
body[data-template-file="viewcart"] #order-standard_cart .view-cart-tabs .promo button[type="submit"] {
  width: auto;
  min-width: 150px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #861fe5, #6400be);
  box-shadow: 0 9px 20px rgba(112, 0, 210, .2);
  font-weight: 800;
}

body[data-template-file="viewcart"] #order-standard_cart .order-summary {
  overflow: hidden;
  border: 1px solid var(--dh-cart-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(48, 27, 61, .12);
}
body[data-template-file="viewcart"] #order-standard_cart .order-summary h2 {
  margin: 0;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(120deg, var(--dh-cart-purple-dark), #8523e8);
  font-size: 19px;
  font-weight: 800;
  text-align: left;
}
body[data-template-file="viewcart"] #order-standard_cart .summary-container { padding: 19px 20px 22px; border: 0; }
body[data-template-file="viewcart"] #order-standard_cart .order-summary .subtotal,
body[data-template-file="viewcart"] #order-standard_cart .order-summary .recurring-totals {
  padding: 11px 0;
  border-bottom: 1px solid #eee7f3;
  color: #554a5e;
  font-size: 11px;
}
body[data-template-file="viewcart"] #order-standard_cart .order-summary .total-due-today-padded {
  margin: 5px -6px 15px;
  padding: 18px 12px;
  border-radius: 12px;
  background: var(--dh-cart-purple-soft);
}
body[data-template-file="viewcart"] #order-standard_cart .order-summary .total-due-today .amt {
  color: var(--dh-cart-purple-dark);
  font-size: 27px;
  font-weight: 900;
}
body[data-template-file="viewcart"] #order-standard_cart .btn-checkout {
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #861fe5, #6400be);
  box-shadow: 0 11px 25px rgba(112, 0, 210, .25);
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
body[data-template-file="viewcart"] #order-standard_cart .btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(112, 0, 210, .32); }
body[data-template-file="viewcart"] #order-standard_cart .order-summary .btn-continue-shopping { margin-top: 12px; color: var(--dh-cart-purple-dark); font-weight: 800; }

@media (max-width: 767px) {
  body[data-template-file="viewcart"] #order-standard_cart .view-cart-tabs .promo form { grid-template-columns: 1fr; }
  body[data-template-file="viewcart"] #order-standard_cart .view-cart-tabs .promo button[type="submit"] { width: 100%; }
  body[data-template-file="viewcart"] #order-standard_cart .order-summary { margin-top: 20px; }
  body[data-template-file="viewcart"] #order-standard_cart #btnEmptyCart { width: 100%; }
}

/* Product configuration — readable, card-based checkout step. */
body[data-template-file="configureproduct"] #order-standard_cart {
  --dh-config-purple: #7200d9;
  --dh-config-purple-dark: #4b087d;
  --dh-config-purple-soft: #f7f0ff;
  --dh-config-ink: #2d2035;
  --dh-config-muted: #6f6477;
  --dh-config-line: #e5d9ec;
}

body[data-template-file="configureproduct"] #frmConfigureProduct > .row {
  align-items: flex-start;
}

body[data-template-file="configureproduct"] #frmConfigureProduct .secondary-cart-body {
  color: var(--dh-config-ink);
  font-size: 15px;
  line-height: 1.65;
}

body[data-template-file="configureproduct"] #frmConfigureProduct .secondary-cart-body > p:first-child {
  margin: 0 0 22px;
  padding: 17px 20px;
  border-left: 4px solid var(--dh-config-purple);
  border-radius: 0 12px 12px 0;
  color: #4e4057;
  background: #faf7fc;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

body[data-template-file="configureproduct"] #frmConfigureProduct .product-info {
  margin: 0 0 24px;
  padding: 24px 26px;
  border: 1px solid var(--dh-config-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(48, 27, 61, .08);
}

body[data-template-file="configureproduct"] #frmConfigureProduct .product-info .product-title {
  margin: -24px -26px 22px;
  padding: 18px 26px;
  border-radius: 18px 18px 0 0;
  color: #fff;
  background: linear-gradient(120deg, var(--dh-config-purple-dark), #8d22ed);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .4px;
}

body[data-template-file="configureproduct"] #frmConfigureProduct .product-info > p:last-child {
  margin-bottom: 0;
  color: #504658;
  font-size: 15.5px;
  line-height: 1.65;
}

body[data-template-file="configureproduct"] #frmConfigureProduct .product-info strong {
  color: #321842;
  font-weight: 800;
}

body[data-template-file="configureproduct"] #frmConfigureProduct .field-container {
  position: relative;
  margin: 0 0 24px;
  padding: 25px 26px 27px;
  overflow: hidden;
  border: 2px solid var(--dh-config-purple);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, var(--dh-config-purple-soft) 100%);
  box-shadow: 0 16px 36px rgba(112, 0, 217, .14);
}

body[data-template-file="configureproduct"] #frmConfigureProduct .field-container::after {
  content: "";
  position: absolute;
  top: -45px;
  right: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(126, 18, 218, .07);
  pointer-events: none;
}

body[data-template-file="configureproduct"] #frmConfigureProduct .field-container .form-group {
  position: relative;
  z-index: 1;
  margin: 0;
}

body[data-template-file="configureproduct"] #frmConfigureProduct label[for="inputBillingcycle"] {
  margin: 0 0 14px;
  display: block;
  color: var(--dh-config-purple-dark);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
}

body[data-template-file="configureproduct"] #frmConfigureProduct label[for="inputBillingcycle"] + br {
  display: none;
}

body[data-template-file="configureproduct"] #inputBillingcycle {
  width: 100%;
  max-width: 560px;
  height: 58px;
  padding: 0 48px 0 18px;
  border: 2px solid #a85ce1;
  border-radius: 13px;
  color: #351944;
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(89, 7, 153, .10);
  font-size: 16px;
  font-weight: 800;
}

body[data-template-file="configureproduct"] #inputBillingcycle:focus {
  border-color: var(--dh-config-purple);
  box-shadow: 0 0 0 4px rgba(114, 0, 217, .13), 0 10px 24px rgba(89, 7, 153, .12);
  outline: none;
}

body[data-template-file="configureproduct"] #orderSummary {
  margin-top: 0 !important;
  overflow: hidden;
  border: 1px solid var(--dh-config-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(48, 27, 61, .13);
}

body[data-template-file="configureproduct"] #orderSummary .order-summary {
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-template-file="configureproduct"] #orderSummary .order-summary h2 {
  margin: 0;
  padding: 19px 22px;
  color: #fff;
  background: linear-gradient(120deg, var(--dh-config-purple-dark), #8d22ed);
  font-size: 23px;
  font-weight: 900;
  text-align: left;
}

body[data-template-file="configureproduct"] #orderSummary .summary-container {
  padding: 22px;
  border: 0;
  color: #55495d;
  font-size: 14px;
  line-height: 1.55;
}

body[data-template-file="configureproduct"] #orderSummary .product-name {
  color: #30143f;
  font-size: 18px;
  font-weight: 900;
}

body[data-template-file="configureproduct"] #orderSummary .product-group {
  margin: 3px 0 15px;
  color: var(--dh-config-muted);
  font-size: 13px;
}

body[data-template-file="configureproduct"] #orderSummary .summary-totals {
  margin-top: 14px;
  padding: 14px 0;
  border-top: 1px solid #eee6f3;
  border-bottom: 1px solid #eee6f3;
}

body[data-template-file="configureproduct"] #orderSummary .total-due-today {
  margin: 16px 0 0;
  padding: 18px;
  border-radius: 13px;
  background: var(--dh-config-purple-soft);
}

body[data-template-file="configureproduct"] #orderSummary .total-due-today .amt {
  color: var(--dh-config-purple-dark);
  font-size: 28px;
  font-weight: 900;
}

body[data-template-file="configureproduct"] #orderSummary > .text-center {
  padding: 0 22px 22px;
}

body[data-template-file="configureproduct"] #btnCompleteProductConfig {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #8c20e9, #6500be);
  box-shadow: 0 12px 26px rgba(112, 0, 210, .28);
  font-size: 16px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}

body[data-template-file="configureproduct"] #btnCompleteProductConfig:hover,
body[data-template-file="configureproduct"] #btnCompleteProductConfig:focus {
  color: #fff;
  box-shadow: 0 16px 32px rgba(112, 0, 210, .35);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  body[data-template-file="configureproduct"] #frmConfigureProduct .secondary-cart-sidebar {
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  body[data-template-file="configureproduct"] #frmConfigureProduct .secondary-cart-body > p:first-child {
    padding: 15px 16px;
    font-size: 16px;
  }
  body[data-template-file="configureproduct"] #frmConfigureProduct .product-info,
  body[data-template-file="configureproduct"] #frmConfigureProduct .field-container {
    padding: 20px 18px;
    border-radius: 15px;
  }
  body[data-template-file="configureproduct"] #frmConfigureProduct .product-info .product-title {
    margin: -20px -18px 18px;
    padding: 16px 18px;
    border-radius: 15px 15px 0 0;
    font-size: 21px;
  }
  body[data-template-file="configureproduct"] #frmConfigureProduct .product-info > p:last-child {
    font-size: 14.5px;
  }
  body[data-template-file="configureproduct"] #frmConfigureProduct label[for="inputBillingcycle"] {
    font-size: 19px;
  }
  body[data-template-file="configureproduct"] #inputBillingcycle {
    height: 54px;
    font-size: 15px;
  }
  body[data-template-file="configureproduct"] #orderSummary .order-summary h2 {
    padding: 17px 18px;
    font-size: 21px;
  }
  body[data-template-file="configureproduct"] #orderSummary .summary-container {
    padding: 18px;
  }
  body[data-template-file="configureproduct"] #orderSummary > .text-center {
    padding: 0 18px 18px;
  }
}
