/* OVERZEAS cart recommendations and gift row - v37 */
#csoc-container {
  margin: 24px 0 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #dde5ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 45, 71, .06);
}

#csoc-container .card-block-cross {
  display: block;
  margin: 0;
  padding: 0 0 8px;
  border-bottom: 1px solid #e7edf3;
}

#csoc-container .card-block-cross .step-title {
  margin: 0;
  color: #20252a;
  font: 700 18px/1.35 Kanit, sans-serif;
}

#PM_CSOC {
  margin: 10px -5px 0;
  overflow: hidden;
}

#PM_CSOC .pm-csoc-owl-wrapper-outer {
  overflow: hidden;
  padding: 1px 0 4px;
}

#PM_CSOC .pm-csoc-owl-item {
  box-sizing: border-box;
  padding: 0 5px;
}

#PM_CSOC .product-miniature {
  height: 100%;
}

#PM_CSOC .thumbnail-container.with-button {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto !important;
  min-height: 260px !important;
  margin: 0;
  padding: 4px 8px 6px !important;
  overflow: hidden;
  border: 1px solid #e2e8ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(18, 45, 71, .05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#PM_CSOC .thumbnail-container.with-button:hover {
  border-color: #9bc7eb;
  box-shadow: 0 8px 20px rgba(0, 119, 201, .12);
  transform: translateY(-2px);
}

#PM_CSOC .thumbnail.product-thumbnail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 116px !important;
  margin: 0 0 3px !important;
  padding: 2px !important;
  overflow: hidden;
  border: 0;
  background: #fff;
}

#cart #PM_CSOC .thumbnail.product-thumbnail > img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

#PM_CSOC .product-description {
  position: static;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  height: auto;
  padding: 0;
  background: transparent;
}

#cart #PM_CSOC .product-description {
  padding: 0 !important;
}

#PM_CSOC .product-title-cross {
  min-height: 47px;
  margin: 0 0 4px;
  overflow: hidden;
  text-align: left;
  font: 500 13px/1.2 Kanit, sans-serif;
}

#PM_CSOC .product-title-cross a {
  display: -webkit-box;
  overflow: hidden;
  color: #20252a;
  font-size: 13px !important;
  line-height: 1.2 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#PM_CSOC .product-price-and-shipping-cross {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  margin: 0 0 1px;
  color: #0879c9;
  font: 400 16px/1.3 Kanit, sans-serif;
}

#PM_CSOC .product-price-and-shipping-cross .regular-price,
#PM_CSOC .product-price-and-shipping-cross .discount-percentage,
#PM_CSOC .product-price-and-shipping-cross .sr-only {
  display: none !important;
}

#PM_CSOC .product-price-and-shipping-cross .price {
  color: #0879c9;
  font-weight: 400;
}

#PM_CSOC .reviews_list_stars {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16px;
  margin: 0 0 2px;
  color: #7a858f;
  font: 400 11px/1.2 Kanit, sans-serif;
}

#PM_CSOC .reviews_list_stars .star_content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

#PM_CSOC .reviews_list_stars > span:not(.star_content) {
  display: none !important;
}

#PM_CSOC .reviews_list_stars img {
  width: 13px;
  height: 13px;
  margin: 0 1px 0 0;
}

#PM_CSOC .button_display {
  width: 100%;
  margin: auto 0 0;
  text-align: center;
}

#cart #PM_CSOC .button_display {
  margin: 4px 0 !important;
}

#PM_CSOC .button_display form {
  margin: 0;
}

#PM_CSOC .button_display .add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 30px;
  padding: 3px 7px;
  border: 1px solid #0879c9 !important;
  border-radius: 6px;
  background: #fff !important;
  box-shadow: none !important;
  color: #0879c9 !important;
  text-shadow: none !important;
  text-transform: none;
  font: 700 16px/1.2 Kanit, sans-serif !important;
  opacity: 1 !important;
}

#PM_CSOC .button_display .add-to-cart:hover,
#PM_CSOC .button_display .add-to-cart:focus {
  border-color: #0879c9 !important;
  background: #0879c9 !important;
  color: #fff !important;
  text-shadow: none !important;
}

#cart #PM_CSOC .button_display button.btn.btn-primary.add-to-cart {
  width: 100% !important;
  height: 28px !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 3px 7px !important;
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  color: #0879c9 !important;
  text-shadow: none !important;
}

#cart #PM_CSOC .button_display button.btn.btn-primary.add-to-cart:hover,
#cart #PM_CSOC .button_display button.btn.btn-primary.add-to-cart:focus {
  background: #0879c9 !important;
  background-color: #0879c9 !important;
  color: #fff !important;
}

#PM_CSOC .highlighted-informations,
#PM_CSOC .product-availability-cross,
#PM_CSOC .product-description-short,
#PM_CSOC .variant-links,
#PM_CSOC .product-description > .clear {
  display: none !important;
}

#PM_CSOC .product-flags {
  position: absolute;
  z-index: 7;
  top: 6px;
  right: 6px;
  left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 0;
}

#PM_CSOC .product-flags .product-flag {
  min-width: 0;
  margin: 0 0 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #d92732;
  box-shadow: 0 2px 6px rgba(217, 39, 50, .2);
  color: #fff;
  font: 700 12px/1.2 Kanit, sans-serif;
}

#PM_CSOC .fmm_sticker_base_span {
  z-index: 8 !important;
  top: 6px !important;
  left: 6px !important;
  width: 34px !important;
  line-height: 1 !important;
}

#PM_CSOC .fmm_sticker_base_span img {
  width: 100% !important;
  height: auto !important;
  box-shadow: none !important;
}

#PM_CSOC .pm-csoc-owl-controls {
  margin-top: 8px;
}

#PM_CSOC .pm-csoc-owl-buttons > div {
  border: 1px solid #cbd9e6;
  background: #fff;
  color: #0879c9;
}

/* Selected gift: match the cart row and combine quantity + free price as one label. */
#cart.page-cart .cart-container .gift_item .product-title {
  display: block;
  margin: 0 !important;
  color: #20252a;
  font: 600 16px/1.35 Kanit, sans-serif;
}

#cart.page-cart .cart-container .gift_item .Cart-product-Image {
  padding-right: 8px !important;
  padding-left: 8px !important;
}

#cart.page-cart .cart-container .gift_item .product_img {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin: 0 !important;
  padding: 10px !important;
  overflow: hidden !important;
  border: 1px solid #e0e5e9 !important;
  border-radius: 8px !important;
  background: #fff;
}

#cart.page-cart .cart-container .gift_item .product_img img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

#cart.page-cart .cart-container .gift_item .product-line-grid-body .product-prices {
  display: none !important;
}

#cart.page-cart .cart-container .gift_item .product-line-grid-right > .row,
#cart.page-cart .cart-container .gift_item .product-line-grid-right > .row > .col-8.col-md-12 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#cart.page-cart .cart-container .gift_item .product-line-grid-right > .row > .col-8.col-md-12 > .row {
  position: relative !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px;
  box-sizing: border-box;
  width: 250px !important;
  max-width: 250px !important;
  min-height: 48px !important;
  height: 48px !important;
  margin: 4px 0 0 auto !important;
  padding: 0 42px 0 18px !important;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #128bd3 0%, #0879c9 100%) !important;
  box-shadow: 0 8px 18px rgba(8, 121, 201, .2);
  color: #fff !important;
}

#cart.page-cart .cart-container .gift_item .product-line-grid-right .qty,
#cart.page-cart .cart-container .gift_item .product-line-grid-right .price {
  position: static !important;
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font: 700 18px/1.2 Kanit, sans-serif !important;
  text-align: center;
  white-space: nowrap;
}

#cart.page-cart .cart-container .gift_item .product-line-grid-right .qty::after {
  margin-left: 9px;
  content: "×";
}

#cart.page-cart .cart-container .gift_item .product-line-grid-right .product-price,
#cart.page-cart .cart-container .gift_item .product-line-grid-right .product-price strong {
  color: #fff !important;
  font: inherit !important;
}

#cart.page-cart .cart-container .gift_item .product-line-grid-right .col-2 {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  max-width: 40px !important;
  min-height: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-left: 1px solid rgba(255, 255, 255, .3);
}

#cart.page-cart .cart-container .gift_item .gift_cart_delete,
#cart.page-cart .cart-container .gift_item .gift_cart_delete i {
  color: #fff !important;
  font-size: 17px !important;
}

@media (max-width: 767px) {
  #csoc-container {
    margin-top: 18px;
    padding: 8px 6px;
    border-radius: 10px;
  }

  #csoc-container .card-block-cross {
    padding-bottom: 7px;
  }

  #csoc-container .card-block-cross .step-title {
    font-size: 16px;
  }

  #PM_CSOC {
    margin: 8px -3px 0;
  }

  #PM_CSOC .pm-csoc-owl-item {
    padding: 0 3px;
  }

  #PM_CSOC .thumbnail-container.with-button {
    height: auto !important;
    min-height: 226px !important;
    padding: 4px 5px 4px !important;
    border-radius: 8px;
  }

  #PM_CSOC .thumbnail.product-thumbnail {
    height: 92px !important;
    margin-bottom: 2px !important;
    padding: 1px !important;
  }

  #PM_CSOC .product-title-cross {
    min-height: 44px;
    margin-bottom: 3px;
    font-size: 12px;
    line-height: 1.2;
  }

  #PM_CSOC .product-title-cross a {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  #PM_CSOC .product-price-and-shipping-cross {
    min-height: 20px;
    margin-bottom: 0;
    font-size: 14px;
  }

  #PM_CSOC .reviews_list_stars {
    min-height: 15px;
    margin-bottom: 1px;
    font-size: 10px;
  }

  #PM_CSOC .reviews_list_stars img {
    width: 10px;
    height: 10px;
  }

  #PM_CSOC .button_display .add-to-cart {
    min-height: 28px;
    padding: 2px 4px;
    font-size: 16px !important;
  }

  #cart #PM_CSOC .button_display button.btn.btn-primary.add-to-cart {
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 2px 4px !important;
  }

  #cart #PM_CSOC .button_display {
    margin: 3px 0 !important;
  }

  #PM_CSOC .fmm_sticker_base_span {
    top: 4px !important;
    left: 4px !important;
    width: 27px !important;
  }

  #PM_CSOC .product-flags {
    top: 4px;
    right: 4px;
  }

  #PM_CSOC .product-flags .product-flag {
    padding: 1px 5px;
    font-size: 8px;
  }

  #cart.page-cart .cart-container .gift_item .product-line-grid-right {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 12px !important;
    padding: 0 !important;
  }

  #cart.page-cart .cart-container .gift_item .product-line-grid-right > .row > .col-4.hidden-md-up {
    display: none !important;
  }

  #cart.page-cart .cart-container .gift_item .product-line-grid-right > .row > .col-8.col-md-12 > .row {
    width: 250px !important;
    max-width: calc(100vw - 64px) !important;
    margin: 0 auto !important;
  }
}