/* Variables */
.color-main {
  color: #004996;
}

.re-cart-title {
  font-size: 28px;
  font-weight: 900;
}

.re-cart-title span {
  color: #ef7c01;
}

.cart-table {
  border: solid 1px #ccdbea;
  background-color: #ffffff;
  font-size: 14px;
  width: 100%;
}

.cart-table-header {
  font-weight: 700;
  border-bottom: 1px solid #d4d4d4;
  color: #616161;
}

/* Cart Disclaimer */
.cart-disclaimer {
  border-top: 1px solid #dbe3ee;
  color: #2d5399;
  font-size: 12px;
}

/* Options Grid */
.options-grid {
  margin-top: -10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.options-grid .image-container {
  height: 100%;
  justify-content: flex-start;
  flex-direction: column;
  padding: 1rem 0.85rem;
  align-items: flex-start;
}

.options-grid-button {
  background-color: transparent;
  align-items: center;
  display: flex;
  margin: 0;
  margin-top: 0.5rem;
  border: none;
  color: #ef7c01;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-align: left;
  line-height: 1;
  margin-top: 0.8rem;
}

@media (max-width: 767px) {
  .options-grid {
    grid-template-columns: 1fr;
  }
}

/* Cart Toggler */
.basic-toggler {
  color: #ef7c01;
  border: none;
  font-weight: 700;
  background-color: transparent;
  cursor: pointer;
}

.basic-toggler-desc {
  font-size: 12px;
}

.basic-toggler-chevron {
  position: relative;
  padding-left: 25px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.basic-toggler-chevron:before {
  content: '';
  background-image: url('/images/icons/ico-chevron.svg');
  width: 16px;
  height: 16px;
  display: block;
  position: absolute;
  transform: rotate(0deg);
  transition: 250ms ease-out all;
  top: 5px;
  left: 0;
}

.basic-toggler-chevron.collapsed:before {
  transform: rotate(180deg);
}

.basic-toggler-chevron.collapsed:before {
  outline: none;
}

.basic-toggler-content {
  padding-left: 26px;
}

.basic-toggler-content p:last-of-type {
  margin-bottom: 0;
}



.cell-header {
  padding: 25px 15px;
}

.cart-bank {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
      grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
      grid-template-areas: "bank1 bank2 bank3";
  position: relative;
}

.cart-input-value-disabled {
  background-color: #ddd;
}

.cart-bank .dropdown-toggle {
  white-space: unset;
  word-break: break-word;
}
.cart-bank div {
  white-space: unset;
  word-break: break-word;
}

.cart-bank input {
  width: 80px;
  margin: auto;
  display: block;
  border-radius: 5px;
  border: 1px solid #d4d4d4;
  font-weight: 700;
  text-align: right;
  padding: 6px 8px;
}

.cart-bank input:focus, .cart-bank input:active {
  border-color: #363636;
  color: #004996;
  outline: none;
}

.cart-bank-label {
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  -webkit-transform: translateY(-70px);
          transform: translateY(-70px);
  font-size: 11px;
  color: #8a8a8a;
}

.cart-bank-empty {
  width: 25px;
  margin: auto;
  height: 2px;
  background-color: #9a9a9a;
}

.cart-bank-1 {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: bank1;
}

.cart-bank-2 {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: bank2;
}

.cart-bank-3 {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: bank3;
}

.cart-bank-value {
  font-size: 20px;
  color: #ef7c01;
  font-weight: 700;
  margin-top: -30px;
}

.container-cart {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 200px 80px 1fr 1fr 410px 180px;
      grid-template-columns: 200px 80px 1fr 1fr 410px 180px;
  -ms-grid-rows: 1fr;
      grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
      grid-template-areas: "offer count value delivery points own";
}

.container-cart.disable, .cart-mobile-row.disable, .disable .cart-mobile-table th  {
  background: #d3d3d3;
}
.container-cart.disable .cell-points {
  background: #d3d3d3;
}


.container-cart.disable .cell-points:before {
  content: '';
  background-color: #d3d3d3;
  top: unset;
  bottom: auto;
  left: 0;
  right: 0;
  height: 20px;
}

.container-cart > div {
  padding-top: 25px;
  padding-bottom: 25px;
}

.container-cart > div:first-of-type {
  padding-left: 25px;
}

.cell-offer {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: offer;
  margin-right: 50px;
}

.cell-count {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: count;
  margin-right: 40px;
}

.cell-value {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: value;
}

.cell-value-additional {
  font-size: 12px;
  font-weight: 400;
}

.cell-delivery {
  -ms-grid-row: 1;
  -ms-grid-column: 4;
  grid-area: delivery;
}

.cell-points {
  -ms-grid-row: 1;
  -ms-grid-column: 5;
  grid-area: points;
}

.cart-payu-share-warning {
  font-weight: bold;
  font-size: 11px;
  background-color: #daeff9;
  border: transparent solid thin;
  border-radius: 20px;
  padding: 5px;
}

.cell-own {
  -ms-grid-row: 1;
  -ms-grid-column: 6;
  grid-area: own;
  padding-left: 25px;
  padding-right: 25px;
}

.cell-own input {
  width: 85px;
  background-color: #eee;
  border: 1px solid #d4d4d4;
  font-weight: 700;
  text-align: right;
  padding: 6px 8px;
  border-radius: 5px;
  color: #004996;
}

.cell-offer-remove {
  background-color: transparent;
  border: none;
  margin-left: 5px;
  cursor: pointer;
}

.cell-points {
  -webkit-box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  background-color: #fff;
  position: relative;
  text-align: center;
  padding-left: 15px;
  padding-right: 15px;
}

.container-cart:not(.disable) .cell-points:before {
  content: '';
  position: absolute;
  top: 0px;
  bottom: auto;
  left: 0;
  right: 0;
  height: 20px;
  background-color: #fff;
}



.cell-points:after {
  content: '';
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  position: absolute;
  background-color: #f2f6fa;
  z-index: 5;
}

.cart-table-header .cell-points:before {
  top: -20px !important;
  height: 20px;
}

.cart-table-header .cell-points:after {
  border: none;
  display: block;
  background-color: #d4d4d4;
  height: 1px;
  bottom: -1px;
}

.cart-table-row {
  color: #363636;
  font-weight: 700;
  line-height: 1.25;
  border-bottom: 4px solid #f2f6fa;
}

.cart-table-row .cell-value,
.cart-table-row .cell-delivery {
  font-size: 18px;
  line-height: 1;
}

.cart-table-row:last-of-type {
  border-bottom: 1px solid #d4d4d4;
}

.cart-table-row:last-of-type .cell-points:after {
  background-color: #fff;
  border: none;
}

.cart-table-footer {
  font-weight: 700;
}

.cart-table-footer .cell-points:after {
  background-color: #fff;
}

.cart-dropdown .dropdown-menu {
  -webkit-box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
          box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
  border: solid 1px #d0d0d0;
}

.cart-dropdown .dropdown-item {
  font-size: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.cart-dropdown .dropdown-item div + div {
  color: #ef7c01;
  margin-left: 20px;
  font-weight: 700;
}

.cart-dropdown .dropdown-item:active {
  background-color: #ef7c01;
  color: #fff;
}

.cart-dropdown .dropdown-item:active div {
  color: #fff;
}

.cart-dropdown .dropdown-toggle {
  background-color: #eee;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #616161;
  border-radius: 3px;
  padding: 3px 8px;
  margin-top: -3px;
}

.cart-dropdown .dropdown-toggle:after {
  width: 11px;
  height: 8px;
  background-image: url("/images/icons/ico-arrow-down.svg");
  background-repeat: no-repeat;
  position: relative;
  top: 3px;
  border: none;
  -webkit-transition: 250ms ease-in-out transform;
  transition: 250ms ease-in-out transform;
}

.cart-dropdown.show .dropdown-toggle:after {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

/* Cart Box */
.cart-box {
  border: solid 1px #ccdbea;
  background-color: #fff;
  font-size: 14px;
}

.cart-box-content {
  padding: 30px 40px 10px;
}

.cart-box-header {
  border-bottom: solid 1px #d4d4d4;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.cart-box-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

/* Cart Box Table */
.cart-box-table {
  width: 100%;
}

.cart-box-table td {
  vertical-align: top;
  text-align: right;
  padding-top: 15px;
  padding-bottom: 15px;
}

.cart-box-table tr {
  border-top: solid 1px #d4d4d4;
}

.cart-box-table tr td:first-of-type {
  max-width: 150px;
  text-align: left;
}

.cart-box-table-medium {
  font-size: 18px;
}

.cart-box-table-medium tr {
  border-top: none;
}

.cart-box-table-medium td span {
  font-size: 12px;
  margin-top: -5px;
  display: block;
}

.cart-box-footer {
  border-top: solid 1px #ccdbea;
  background-color: #e6edf5;
  color: #004996;
  padding: 25px 40px;
}

/* RWD */
@media (max-width: 1200px) {
  .cart-table-header {
    font-size: 12px;
  }
  .container-cart {
    -ms-grid-columns: 150px 50px 110px 110px 360px 180px;
        grid-template-columns: 150px 50px 110px 110px 360px 180px;
  }
  .container-cart > div:first-of-type {
    padding-left: 15px;
  }
  .cell-offer {
    margin-right: 10px;
  }
  .cell-points {
    padding-left: 5px;
    padding-right: 5px;
  }
  .cell-count {
    margin-right: 0;
    padding-right: 5px;
  }
  .call-value,
  .cell-delivery {
    padding-right: 10px;
  }
  .cart-dropdown .dropdown-toggle {
    font-size: 12px;
  }
  .cell-offer-remove {
    margin-left: 0;
  }
  .cell-own {
    padding-left: 15px;
    padding-right: 5px;
  }
}

@media (max-width: 991px) {
  .re-cart-title {
    font-size: 20px;
  }
  .cart-table-header {
    display: none;
  }
  .cart-box {
    margin-bottom: 30px;
  }
  .cart-bank {
    -ms-grid-columns: 1fr 80px;
        grid-template-columns: 1fr 80px;
    padding-right: 40px;
    padding-left: 40px;
    text-align: right;
  }
  .cell-own {
    display: block;
    grid-area: initial;
    padding: 0;
  }
  .cell-own input {
    width: 100%;
  }
  .cart-dropdown .dropdown-toggle {
    background-color: #f5f5f5;
    font-size: 14px;
    color: initial;
  }
}

/* Mobile Cart */
.cart-mobile-row {
  border: solid 1px #ccdbea;
  background-color: #fff;
}

.cart-mobile-header {
  padding: 20px 40px;
}

.cart-mobile-table {
  font-size: 14px;
  font-weight: 400;
  width: 100%;
  table-layout: fixed;
}

.cart-mobile-table th,
.cart-mobile-table td {
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 16px;
  line-height: 1.25;
  border-bottom: 1px solid #f3f3f3;
}

.cart-mobile-table th:first-of-type,
.cart-mobile-table td:first-of-type {
  padding-left: 40px;
  text-align: left;
}

.cart-mobile-table th:last-of-type,
.cart-mobile-table td:last-of-type {
  padding-right: 40px;
  text-align: right;
}

.cart-mobile-table th span,
.cart-mobile-table td span {
  font-size: 12px;
}

.cart-mobile-table th {
  background-color: #f9f9f9;
  border-top: 1px solid #f3f3f3;
  font-size: 14px;
}

.cmp-label {
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 480px) {
  .cart-mobile-header {
    padding: 20px;
  }
  .cart-mobile-table th:first-of-type,
  .cart-mobile-table td:first-of-type {
    padding-left: 20px;
  }
  .cart-mobile-table th:last-of-type,
  .cart-mobile-table td:last-of-type {
    padding-right: 20px;
  }
  .cart-bank {
    padding-left: 20px;
    padding-right: 20px;
  }
  .cart-box-table-small tbody tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .cart-box-table-small tbody tr td {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    text-align: left;
  }
  .cart-box-table-small tbody tr td:first-of-type {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 100%;
            flex: 1 0 100%;
    max-width: 100%;
    padding-bottom: 0;
  }
  .cart-box-table-small tbody tr td:last-of-type {
    text-align: right;
  }
  .cart-box-table-small tbody tr:last-of-type td:nth-child(1),
  .cart-box-table-small tbody tr:last-of-type td:nth-child(2) {
    display: block;
  }
  .cart-box-content,
  .cart-box-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .cart-box-table-medium {
    font-size: 14px;
  }
}