/* Nixrad mobile mini-cart drawer */
@media (max-width: 1024px) {
  .mobile-header-active .mobile-cart-content-container,
  .mobile-header-active.mobile-cart-content-container-open .mobile-cart-content-container {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .mobile-header-active.mobile-cart-content-container-open .mobile-cart-content-container {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    z-index: 50000 !important;
    background: #fff !important;
  }

  .mobile-header-active .mobile-cart-content-container .mobile-wrapper-header {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 52px 0 16px !important;
    display: flex !important;
    align-items: center !important;
    background: linear-gradient(90deg, var(--nx-purple, #6a1b5c), var(--nx-purple-dark, #4c174f)) !important;
    border: 0 !important;
  }

  .mobile-header-active .mobile-cart-content-container .mobile-wrapper-header span {
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  .mobile-header-active .mobile-cart-content-container .mobile-wrapper-header span::after {
    content: "Sepet Ozeti" !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
  }

  html[lang^="en"] .mobile-header-active .mobile-cart-content-container .mobile-wrapper-header span::after {
    content: "Cart Summary" !important;
  }

  html[lang^="de"] .mobile-header-active .mobile-cart-content-container .mobile-wrapper-header span::after {
    content: "Warenkorb" !important;
  }

  html[lang^="ar"] .mobile-header-active .mobile-cart-content-container .mobile-wrapper-header span::after {
    content: "Cart" !important;
  }

  .mobile-header-active .mobile-cart-content-container .mobile-wrapper-header .x {
    right: 14px !important;
    color: #fff !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  .mobile-header-active.mobile-cart-content-container-open .mobile-cart-content-wrapper.cart-content,
  .mobile-header-active.mobile-cart-content-container-open .mobile-cart-content-wrapper,
  .mobile-header-active.mobile-cart-content-container-open .mobile-cart-content-wrapper #cart-content {
    height: calc(100dvh - 54px) !important;
    max-height: calc(100dvh - 54px) !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(106, 27, 92, .04) 0%, rgba(106, 27, 92, .08) 100%) !important;
    box-sizing: border-box !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper.cart-content > ul,
  .mobile-header-active .mobile-cart-content-wrapper #cart-content > ul {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products,
  .mobile-header-active .mobile-cart-content-wrapper #cart-content .cart-products {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 12px !important;
    padding-bottom: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: transparent !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products table,
  .mobile-header-active .mobile-cart-content-wrapper .cart-products tbody,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products table,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products tbody {
    display: block !important;
    width: 100% !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products tr,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products tr,
  .mobile-header-active .mobile-cart-content-wrapper #cart-content .cart-products tr {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    gap: 4px 10px !important;
    align-items: start !important;
    position: relative !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 8px !important;
    padding: 12px !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 13px !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(31, 47, 70, .07) !important;
    box-sizing: border-box !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products tr:last-child,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products tr:last-child {
    margin-bottom: 0 !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products td,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products td,
  .mobile-header-active .mobile-cart-content-wrapper #cart-content .cart-products td {
    display: block !important;
    width: auto !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .td-image,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products .td-image,
  .mobile-header-active .mobile-cart-content-wrapper #cart-content .cart-products .td-image {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: start !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .td-image img,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products .td-image img {
    width: 52px !important;
    height: 64px !important;
    max-width: 52px !important;
    object-fit: cover !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 9px !important;
    background: #f8fafc !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .td-name,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products .td-name,
  .mobile-header-active .mobile-cart-content-wrapper #cart-content .cart-products .td-name {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    color: #667085 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .td-name > a,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products .td-name > a {
    display: -webkit-box !important;
    margin: 0 0 6px !important;
    overflow: hidden !important;
    color: var(--nx-navy, #1f2f46) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    white-space: normal !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .nx-mini-cart-options,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products .nx-mini-cart-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-top: 2px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .nx-mini-cart-option,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products .nx-mini-cart-option {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    max-width: 100% !important;
    padding: 3px 7px !important;
    border: 1px solid #e6ebf1 !important;
    border-radius: 999px !important;
    background: #f8fafc !important;
    color: #667085 !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .nx-mini-cart-option b::after,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products .nx-mini-cart-option b::after {
    content: ":" !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .nx-mini-cart-option em,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products .nx-mini-cart-option em {
    overflow: hidden !important;
    color: var(--nx-navy, #1f2f46) !important;
    font-style: normal !important;
    font-weight: 850 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .td-remove,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products .td-remove,
  .mobile-header-active .mobile-cart-content-wrapper #cart-content .cart-products .td-remove {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: start !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .cart-remove,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products .cart-remove {
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff1f3 !important;
    color: #d92d20 !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .cart-remove i {
    float: none !important;
    font-size: 14px !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .td-total,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products .td-total,
  .mobile-header-active .mobile-cart-content-wrapper #cart-content .cart-products .td-total {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: end !important;
    max-width: none !important;
    color: var(--nx-navy, #1f2f46) !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-products .td-qty,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-products .td-qty,
  .mobile-header-active .mobile-cart-content-wrapper #cart-content .cart-products .td-qty {
    grid-column: 3 !important;
    grid-row: 2 !important;
    align-self: end !important;
    justify-self: end !important;
    color: #475467 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-totals,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-totals,
  .mobile-header-active .mobile-cart-content-wrapper #cart-content .cart-totals {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 0 !important;
    margin-top: auto !important;
    z-index: auto !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: 0 -8px 20px rgba(31, 47, 70, .06) !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-totals > div {
    padding: 0 !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-totals table {
    width: 100% !important;
    border: 0 !important;
    margin: 0 !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-totals tbody td,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-totals tbody td {
    padding: 8px 12px !important;
    border: 0 !important;
    border-top: 1px solid #e7edf4 !important;
    color: #475467 !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-totals tr:first-child td {
    border-top: 0 !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-totals .td-total-title {
    width: 58% !important;
    text-align: right !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-totals .td-total-text {
    width: 42% !important;
    color: var(--nx-navy, #1f2f46) !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-totals tbody .total-code-sub_total_ex_tax td,
  .mobile-header-active .mobile-cart-content-wrapper .cart-totals tbody .total-code-shipping td {
    background: #f5f7fa !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-totals tbody .total-code-total td,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-totals tbody .total-code-total td {
    color: var(--nx-purple, #6a1b5c) !important;
    font-size: 13px !important;
    font-weight: 950 !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-buttons,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-buttons,
  .mobile-header-active .mobile-cart-content-wrapper #cart-content .cart-buttons,
  .mobile-header-active.mobile-cart-content-container-open .mobile-cart-content-wrapper.cart-content .cart-buttons {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    z-index: auto !important;
    display: flex !important;
    gap: 10px !important;
    padding: 12px !important;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid rgba(106, 27, 92, .12) !important;
    background: linear-gradient(180deg, rgba(106, 27, 92, .09) 0%, rgba(106, 27, 92, .16) 100%) !important;
    box-sizing: border-box !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-buttons a,
  .mobile-header-active .mobile-cart-content-wrapper.cart-content .cart-buttons a {
    flex: 1 1 0 !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-buttons .btn-cart {
    background: #1f5f88 !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-buttons .btn-checkout {
    background: linear-gradient(135deg, #30b85b, #23a34d) !important;
  }

  .mobile-header-active .mobile-cart-content-wrapper .cart-empty {
    margin: 0 !important;
    padding: 28px 20px !important;
    color: #667085 !important;
    font-weight: 800 !important;
  }
}