/*
 * Cart sidebar styles migrated from Theme 2 for the Theme 1 cart partial.
 * Source order is preserved so the original cascade and responsive overrides remain intact.
 */

/* Extracted and adapted from /public/assets/theme2/theme2.css */
.color{
    color: var(--primary);
}
.cart-sidebar-delete {
    right: 9px !important;
    top: -3px !important;
}
.cart-item .cart-left{
    width: 58%;
}
.cart-sidebar .cart-item{
    padding: 5px 0 0 0 !important;
}
.cart-item .cart-right{
    width: 42%;
}
.cart-item .cart-right .item-sale-price{
    font-weight: bold;
}
.cart-item .item-discount-price{
    font-size: 11px;
    opacity: 0.7;
}
.cart-item .offer-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    border-radius: 0px 0px 40px 0px;
    background: #ff75a0;
    font-size: 10px;
    color: white;
    padding: 1px 8px 1px 3px;
    line-height: initial;
}
.cart-sidebar ul .card-body.cart-items {
    padding: 5px 0px 5px 10px;
}
.cart-sidebar .cart-info h5 a {
    padding-right: 0;
}
.cart-sidebar .cart-info h5{
    width: 100%;
}
.cart-list {
    height: 100%;
    padding: 0 15px;
    max-height: calc(100vh - 124px);
    overflow-y: scroll;
}
.cart-sidebar .cart-media a img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    border: 1px solid #e3e3e3;
    padding: 5px;
    box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.1);
}
.cart-sidebar .cart-item .category-name {    
    opacity: 1 !important;
    color: black;
}
.cart-sidebar .cart-item .qty-variation{
    
}
.cart-sidebar .cart-item .variation-name,
.cart-sidebar .cart-item .category-name,
.cart-sidebar .cart-item .qty-variation
 {
    font-size: 10px;
    min-height: 23px;    
    line-height: initial;
}
.cart-sidebar .cart-media {
    width: 25%;
    margin-right: 3%;
}
.cart-sidebar .cart-info h5 a{
    font-size: 12px;
}
.cart-sidebar .cart-info-group .cart-info {
    margin-right: 8px
}
.cart-sidebar{
    right: -35%
}
.cart-sidebar .cart-info-group {
    width: 72%
}
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    z-index: 1000;
    background: white;
    -webkit-box-shadow: -15px 0 25px 0 rgba(0, 0, 0, 0.15);
    box-shadow: -15px 0 25px 0 rgba(0, 0, 0, 0.15);
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}
.cart-sidebar.active {
    right: 0
}
.cart-header {
    padding: 18px 25px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--primary)
}
.cart-total {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}
.cart-total i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--primary)
}
.cart-total span {
    font-weight: 500;
    color: var(--primary);
    text-transform: initial
}
.cart-close {
    position: absolute;
    top: 30%;
    left: -18px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border: none;
    background: transparent;
}
.cart-close i {
    width: 35px;
    height: 35px;
    font-size: 18px;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    color: #000;
    background: white;
    text-shadow: var(--primary-tshadow);
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}
.cart-close i:hover {
    color: white;
    background: var(--primary)
}
.cart-list {
    height: 100%;
    padding: 0 0px;
    max-height: calc(100vh - 125px);
    overflow-x: hidden;
    overflow-y: auto;
}
.cart-item {
    padding: 15px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    border-bottom: 1px solid #f4f4f4
}
.cart-item:hover .cart-media button {
    -webkit-transform: scale(1);
    transform: scale(1)
}
.cart-item:last-child {
    border-bottom: none
}
.cart-media {
    position: relative;
    /* margin-right: 5px; */
    width: 40%;
    text-align: center
}
.cart-media a img {
    width: 120px;
    height: 100px;
    border-radius: 8px
}
.cart-sidebar-delete {
    right: 1px;
    top: -3px;
    color: #A0AEC0;
    cursor: pointer;
    font-size: 16px;
    transition: 300ms;
    padding: 0;
    border: none;
    background: transparent;
    z-index: 99;
}
.cart-sidebar-delete:hover {
    color: deeppink;    
}
.cart-media button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(0);
    transform: scale(0);
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}
.cart-media button i {
    width: 32px;
    height: 32px;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    border-radius: 5px;
    display: inline-block;
    color: red;
    background: rgba(255, 255, 255, 0.9);
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}
.cart-media button i:hover {
    color: white;
    background: red
}
.cart-info-group {
    width: 60%
}
.cart-info {
    margin-bottom: 13px
}
.cart-info h6 {
    font-weight: 400;
    text-transform: initial
}
.cart-info h6 a {
    color: #000
}
.cart-info p {
    font-size: 14px
}
.cart-action-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}
.cart-action-group .product-action {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}
.cart-action-group .product-action button i {
    width: 30px;
    height: 30px;
    font-size: 12px;
    line-height: 30px;
    border-radius: 5px
}
.dn{
    display: none;
}
.cart-action-group .product-action input {
    width: 45px;
    height: 30px;
    font-size: 14px;
    border-radius: 5px;
    color: var(--primary);
    background: #f4f4f4
}
.cart-action-group h6 {
    font-weight: 500;
    color: var(--primary)
}
.cart-sidebar ul{
    background-color: #F7F7F7;
}
.cart-sidebar .order-details table th, .cart-sidebar .order-details table td{    
    border: none;
    padding: 0;
}
.cart-sidebar .discount-note {
    border: 2px dotted rgba(196, 234, 234, 1);
    padding: 10px 20px;
    border-radius: 6px;
    background-color: rgba(196, 234, 234, 0.5);
    color: #1e7b74;
    text-align: center;
}
.cart-sidebar ul .card-body {
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    padding: 5px 10px;
    margin: 10px;
    border-radius: 8px;
    background-color: white;
}
.cart-footer {
    padding: 8px 15px 0;
    text-align: center;
    /* -webkit-box-shadow: 0 -3px 7px 0 rgba(0, 0, 0, 0.08);
    box-shadow: 0 -3px 7px 0 rgba(0, 0, 0, 0.08) */
    border-top: 1px solid #e3e3e3;
}
.cart-sidebar .cart-footer .cart-checkout-btn {
    width: 100%
}
.cart-checkout-btn {
    padding: 7px 0;
    border: none;
    border-radius: 0;
    background: var(--primary);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s
}
.cart-checkout-btn:hover {
    background: var(--primary)
}
.go-to-cart {
    border-right: 1px solid #f4f4f4;
    padding-left: 0px !important;
}
.checkout-label {
    width: auto;
    height: 30px;
    font-size: 15px;
    line-height: 30px;
    letter-spacing: .3px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    text-transform: initial;
    color: white;
}
@media (max-width: 450px) {
    .cart-sidebar {
        right: 0% !important;
        width: 100%;
        height: 100vh;
        -webkit-transform: scale(0);
        transform: scale(0);
        margin: 80px 0 0;
        border-radius: 15px 15px 0 0;
        transition: all linear .3s;
        -webkit-transition: all linear .3s;
        -moz-transition: all linear .3s;
        -ms-transition: all linear .3s;
        -o-transition: all linear .3s
    }

    .cart-sidebar.active {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: top;
        transform-origin: top
    }

    .cart-close {
        left: 50%;
        top: -45px;
        bottom: inherit;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        border-radius: 50px 50px 0 0;
        -webkit-box-shadow: 0 -8px 10px 0 rgba(0, 0, 0, 0.15);
        box-shadow: 0 -8px 10px 0 rgba(0, 0, 0, 0.15)
    }

    .cart-list {
        max-height: calc(100vh - 290px)
    }

    .cart-media a img {
        width: 80px
    }
}
.cart-active, .cart-active2 {
    right: 0!important;
}
#style-11::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
    background-color: white
}
#style-11::-webkit-scrollbar {
    width: 8px;
    background-color: #f5f5f5
}
#style-11::-webkit-scrollbar-thumb {
    background-color: var(--primary)
}
.cart-action-group .product-action input {
    width: 40px;
    height: 26px;
    font-size: 12px;
    background: var(--primary);
    border-radius: 0;
    color: #fff;
    text-align: center;
    padding: 0;
}
.cart-action-group .product-action button {
    display: flex;
    align-items: center;
    border: none;
    height: 26px;
}
.cart-action-group .product-action button i {
    width: 20px;
    height: 18px;
    font-size: 10px;
    line-height: 18px;
    border-radius: 0
}
.cart-action-group .product-action button {
    display: flex;
    align-items: center
}
.cart-action-group h6 {
    font-size: 14px;
    line-height: initial
}
.text-black{
    color: #000;
}
.font-bold{
    font-weight: bold;
}
.text-right{
    text-align: right;
}
.color{
    color: var(--primary) !important;
  }
.theme1 .m-fs-12{
    font-size: 12px;
}
.line-2{
    white-space: nowrap;
    width: 100%;    
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    white-space: revert;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

/* Extracted and adapted from /public/assets/theme2/style.css */
body.theme1 .cart-item .cart-left{
    width: 50%;
}
body.theme1 .cart-item .cart-right{
    width: 50%;
}
body.theme1 .cart-sidebar-delete{
    font-size: 18px;
    margin-right: 7px;
}
@media (max-width:575px) {
    body.theme1 .cart-sidebar-delete {
        font-size: 20px;
        margin-right: 15px;   
    }
}
@media (min-width:575px) and (max-width:769px) {
    body.theme1 .cart-sidebar-delete {
        font-size: 20px;
        margin-right: 15px;   
    }
}
@media (min-width:769px) and (max-width:900px) {
    body.theme1 .cart-sidebar-delete {
        font-size: 20px;
        margin-right: 15px;   
    }
}

/* Extracted and adapted from /public/assets/theme2/responsive.css */
@media (max-width:575px) {

  .cart-sidebar {
    -webkit-transform: unset;
    transform: unset;
    margin: 0px 0 0;
    border-radius: unset;
    overflow-y: auto;
    overflow-x: hidden;
    width: 80%;
    transition: left 0.3s ease !important;
  }

  .cart-sidebar .cart-close i {
    background: transparent;
  }

  .cart-sidebar .cart-close {
    top: 11px;
    left: unset;
    right: 5px;
    width: 35px;
    bottom: inherit;
    -webkit-transform: translateX(-50%);
    transform: unset;
    border-radius: 50%;
    -webkit-box-shadow: 0 -8px 10px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0);
  }

  .cart-sidebar .cart-list {
    height: unset;
    max-height: unset;
    overflow-x: hidden;
    overflow-y: hidden;
    min-height: calc(100vh - 190px);
    background-color: white;
  }

  .cart-sidebar ul .card-body {
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    /* margin: 10px 0;
    border-radius: 0; */
    background-color: transparent;
  }

  .cart-sidebar .cart-item .category-name,
  .cart-sidebar .cart-item .qty-variation {
    min-height: 15px;
    line-height: initial;
  }

  .cart-sidebar .cart-right>p {
    margin-top: 5px !important;
    justify-content: end !important;
  }

  .cart-sidebar .cart-action-group {
    justify-content: end;
  }

  .cart-sidebar .cart-action-group .product-action button {
    padding: 0 4px;
  }

  .cart-sidebar.cart-sidebar2 .cart-footer {
    padding: 10px;
  }

  .cart-sidebar.cart-sidebar2 .cart-footer .cart-header {
    padding: 10px 15px 3px 15px;
    text-align: left;
    border-bottom: 0 !important;
  }

  .cart-header .cart-total {
    justify-content: start;
  }

  .cart-list {
    max-height: calc(100vh - 180px);
  }
  .checkout-label {
    font-size: 12px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .cart-sidebar-delete {
    right: -6px;
    top: -10px;
    font-size: 14px;
  }

  .cart-action-group .product-action button i {
    width: 14px;
  }

  .cart-action-group .product-action input {
    width: 29px;
  }

  .cart-sidebar .line-2 {
    -webkit-line-clamp: 1;
  }

  .cart-sidebar table tbody tr {
    display: flex;
  }

  .cart-sidebar table tbody tr td:first-child {
    text-align: left;
  }

  .cart-sidebar table tbody tr td:last-child {
    text-align: right;
  }

  .m-fs-12 {
    font-size: 12px !important;
  }

  .m-width-10 {
    width: 10%;
  }

  .m-width-90 {
    width: 90%;
  }

  body.theme1 .cart-sidebar {
    width: 100%;
    overflow-y: hidden;
  }

  body.theme1 .cart-sidebar .cart-list {
    overflow-y: auto;
    scrollbar-width: thin;
    height: calc(100vh - 180px);
  }

  body.theme1 .cart-close.cart-close2 i {
    width: auto;
    height: auto;
    font-size: 18px;
    line-height: 26px;
  }

  body.theme1 .cart-sidebar .cart-close.cart-close2 {
    right: 10px;
  }
}

@media (min-width:575px) and (max-width:769px) {

  .cart-sidebar {
    -webkit-transform: unset;
    transform: unset;
    margin: 0px 0 0;
    border-radius: unset;
    overflow-y: auto;
    overflow-x: hidden;
    width: 80%;
    transition: left 0.3s ease !important;
  }

  .cart-sidebar .cart-close i {
    background: transparent;
  }

  .cart-sidebar .cart-close {
    top: 11px;
    left: unset;
    right: 5px;
    width: 35px;
    bottom: inherit;
    -webkit-transform: translateX(-50%);
    transform: unset;
    border-radius: 50%;
    -webkit-box-shadow: 0 -8px 10px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0);
  }

  .cart-sidebar .cart-list {
    height: unset;
    max-height: unset;
    overflow-x: hidden;
    overflow-y: hidden;
    min-height: calc(100vh - 190px);
    background-color: white;
  }

  .cart-sidebar ul .card-body {
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    /* margin: 10px 0;
    border-radius: 0; */
    background-color: transparent;
  }

  .cart-sidebar .cart-item .category-name,
  .cart-sidebar .cart-item .qty-variation {
    min-height: 15px;
    line-height: initial;
  }

  .cart-sidebar .cart-right>p {
    margin-top: 5px !important;
    justify-content: end !important;
  }

  .cart-sidebar .cart-action-group {
    justify-content: end;
  }

  .cart-sidebar .cart-action-group .product-action button {
    padding: 0 4px;
  }

  .cart-sidebar.cart-sidebar2 .cart-footer {
    padding: 10px;
  }

  .cart-sidebar.cart-sidebar2 .cart-footer .cart-header {
    padding: 10px 15px 3px 15px;
    text-align: left;
    border-bottom: 0 !important;
  }

  .cart-header .cart-total {
    justify-content: start;
  }

  .cart-list {
    max-height: calc(100vh - 180px);
  }
  .checkout-label {
    font-size: 12px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .cart-sidebar-delete {
    right: -6px;
    top: -10px;
    font-size: 14px;
  }

  .cart-action-group .product-action button i {
    width: 14px;
  }

  .cart-action-group .product-action input {
    width: 29px;
  }

  .cart-sidebar .line-2 {
    -webkit-line-clamp: 1;
  }

  .cart-sidebar table tbody tr {
    display: flex;
  }

  .cart-sidebar table tbody tr td:first-child {
    text-align: left;
  }

  .cart-sidebar table tbody tr td:last-child {
    text-align: right;
  }

  .m-fs-12 {
    font-size: 12px !important;
  }

  .m-width-10 {
    width: 10%;
  }

  .m-width-90 {
    width: 90%;
  }
}

@media (min-width:769px) and (max-width:900px) {

  .cart-sidebar {
    -webkit-transform: unset;
    transform: unset;
    margin: 0px 0 0;
    border-radius: unset;
    overflow-y: auto;
    overflow-x: hidden;
    width: 80%;
    transition: left 0.3s ease !important;
  }

  .cart-sidebar .cart-close i {
    background: transparent;
  }

  .cart-sidebar .cart-close {
    top: 11px;
    left: unset;
    right: 5px;
    width: 35px;
    bottom: inherit;
    -webkit-transform: translateX(-50%);
    transform: unset;
    border-radius: 50%;
    -webkit-box-shadow: 0 -8px 10px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0);
  }

  .cart-sidebar .cart-list {
    height: unset;
    max-height: unset;
    overflow-x: hidden;
    overflow-y: hidden;
    min-height: calc(100vh - 190px);
    background-color: white;
  }

  .cart-sidebar ul .card-body {
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    /* margin: 10px 0;
    border-radius: 0; */
    background-color: transparent;
  }

  .cart-sidebar .cart-item .category-name,
  .cart-sidebar .cart-item .qty-variation {
    min-height: 15px;
    line-height: initial;
  }

  .cart-sidebar .cart-right>p {
    margin-top: 5px !important;
    justify-content: end !important;
  }

  .cart-sidebar .cart-action-group {
    justify-content: end;
  }

  .cart-sidebar .cart-action-group .product-action button {
    padding: 0 4px;
  }

  .cart-sidebar.cart-sidebar2 .cart-footer {
    padding: 10px;
  }

  .cart-sidebar.cart-sidebar2 .cart-footer .cart-header {
    padding: 10px 15px 3px 15px;
    text-align: left;
    border-bottom: 0 !important;
  }

  .cart-header .cart-total {
    justify-content: start;
  }

  .cart-list {
    max-height: calc(100vh - 180px);
  }
  .checkout-label {
    font-size: 12px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .cart-sidebar-delete {
    right: -6px;
    top: -10px;
    font-size: 14px;
  }

  .cart-action-group .product-action button i {
    width: 14px;
  }

  .cart-action-group .product-action input {
    width: 29px;
  }

  .cart-sidebar .line-2 {
    -webkit-line-clamp: 1;
  }

  .cart-sidebar table tbody tr {
    display: flex;
  }

  .cart-sidebar table tbody tr td:first-child {
    text-align: left;
  }

  .cart-sidebar table tbody tr td:last-child {
    text-align: right;
  }

  .m-fs-12 {
    font-size: 12px !important;
  }

  .m-width-10 {
    width: 10%;
  }

  .m-width-90 {
    width: 90%;
  }
}
