#order-apex_cart .cart-row {
  display: flex;
  flex-wrap: nowrap;
}

#order-apex_cart .cart-sidebar {
  width: 20%;
  padding-inline-start: 15px;
  padding-inline-end: 15px;
}
@media (max-width: 1199.98px) {
  #order-apex_cart .cart-sidebar {
    display: none !important;
  }
}
#order-apex_cart .cart-body {
  width: 80%;
  padding-inline-start: 15px;
  padding-inline-end: 15px;
  transition: all 0.3s ease;
}
@media (max-width: 1199.98px) {
  #order-apex_cart .cart-body {
    width: 100%;
  }
}
/* --------------------------------- */

/* : Standard Cart : */
.standard-card {
  background: var(--surface-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
/* popular */
.standard-card.popular::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: var(--radius-md);
  background: var(--linear-gradient);
  background-size: 400% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: gradient-animation 12s ease infinite;
}
@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* standard-card-header */
.standard-card .standard-card-header {
  border-bottom: 1px solid var(--border);
}

/* fea-item */
.standard-card .fea-item {
  column-gap: 10px;
}
.standard-card .fea-item .icon {
  width: var(--space-6);
  fill: var(--accent);
}

/* standard-card-footer */
.standard-card .standard-card-footer {
  border-top: 1px solid var(--border);
}
@media (max-width: 991.98px) {
  .standard-card .standard-card-footer a {
    width: 100%;
  }
}
/* --------------------------------- */

/* : Order Summary : */
#order-apex_cart .order-summary {
  margin: 0 0 20px 0;
  padding: 1.5rem;
  background-color: var(--surface-bg);
  border: 1px solid var(--border);
  border-radius: var(--theme-radius);
  overflow: hidden;
}

/* order-summary-title */
#order-apex_cart .order-summary .order-summary-title {
  font-size: var(--text-xl);
  font-weight: bold;
  margin-bottom: 2rem;
}

/* summary-container */
#order-apex_cart .summary-container {
  margin: 0;
  min-height: 100px;
}

/* bordered-totals */
#order-apex_cart .order-summary .bordered-totals {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
#order-apex_cart .order-summary .bordered-totals:first-child {
  padding-top: 0;
}
#order-apex_cart .order-summary .bordered-totals-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--foreground);
}
#order-apex_cart .order-summary .bordered-totals-title .title-span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--foreground);
}
#order-apex_cart .order-summary .bordered-totals-title .title-price {
  font-weight: 600;
}

/* tooltip-icon */
#order-apex_cart .order-summary .bordered-totals-title .tooltip-icon {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  transition: all 0.15s var(--transition-function-1);
}
#order-apex_cart .order-summary .bordered-totals-title .tooltip-icon:hover {
  opacity: 0.8;
}

/* bordered-totals-item */
#order-apex_cart .order-summary .bordered-totals-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
#order-apex_cart .order-summary .bordered-totals-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 1rem;
}
#order-apex_cart .order-summary .bordered-totals-item .text-left {
  font-size: var(--text-sm);
  margin-top: 2px;
}
#order-apex_cart .order-summary .bordered-totals-item .text-right {
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-direction: column;
  column-gap: 0.5rem;
  line-height: 1.6;
  font-size: var(--text-sm);
  color: var(--foreground);
  font-weight: 600;
}
#order-apex_cart .order-summary .bordered-totals-item .old-price {
  text-decoration: line-through;
  opacity: 0.5;
}
#order-apex_cart .order-summary .bordered-totals-item .period {
  font-size: 0.9em;
}

/* titles-group */
#order-apex_cart .order-summary .titles-group {
  margin-bottom: 0.5rem;
}
#order-apex_cart .order-summary .product-name {
  display: block;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--foreground);
}
#order-apex_cart .order-summary .product-group {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
}
#order-apex_cart .order-summary .summary-totals {
  margin: 5px 0;
  padding: 5px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#order-apex_cart .order-summary .total-due-today span {
  display: block;
  text-align: right;
}
#order-apex_cart .order-summary .total-due-today .amt {
  font-size: var(--text-2xl);
  color: var(--foreground);
  font-weight: 600;
}

/* loader */
#order-apex_cart .order-summary .loader {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1.5rem;
  padding-inline-end: 10px;
  text-align: right;
}

#order-apex_cart .order-summary .total {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  margin-bottom: 1rem;
  gap: 1rem;
}
#order-apex_cart .order-summary .total > div {
  display: flex;
  justify-content: space-between;
}
#order-apex_cart .order-summary .total > div > span {
  display: flex;
  align-items: center;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--foreground);
  column-gap: 0.5rem;
}
#order-apex_cart .order-summary .total .total-price {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--foreground);
}
#order-apex_cart .order-summary .total span .old-price {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: 0.7em;
}
/* --------------------------------- */
