/* OKI VN – oki-responsive-fixes (beta) */

/* [1] Chip danh mục + lưới SP */
@media (max-width: 1024px) {
  #main > .container:has(> #primary + #secondary .product-categories) {
    display: flex;
    flex-direction: column;
  }
  #main > .container:has(> #primary + #secondary .product-categories) > #secondary {
    order: -1;
    float: none;
    width: 100%;
    max-width: 770px;
    margin: 0 auto 20px;
    padding: 0;
  }
  #main > .container:has(> #primary + #secondary .product-categories) > #primary { order: 0; }

  #main #secondary:has(.product-categories) .wdt-sidebar-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin: 0 -20px;
    padding: 4px 20px 8px;
    background: none !important;
    border-radius: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-left: 20px;
    scrollbar-width: none;

    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  }
  #main #secondary:has(.product-categories) .wdt-sidebar-wrapper::-webkit-scrollbar { display: none; }

  #main #secondary:has(.product-categories) .wdt-sidebar-wrapper .widget {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    width: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
  }

  #main #secondary:has(.product-categories) .wdt-sidebar-wrapper .widget + .widget {
    margin-left: 4px;
    padding-left: 12px;
    border-left: 1px solid rgba(58, 42, 48, .18);
  }

  #main #secondary:has(.product-categories) .widgettitle {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  #main #secondary .product-categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #main #secondary .product-categories li {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    scroll-snap-align: start;
  }
  #main #secondary .product-categories li::before,
  #main #secondary .product-categories li::after,
  #main #secondary .product-categories li a::before,
  #main #secondary .product-categories li a::after { display: none; }

  #main #secondary .product-categories li.cat-parent,
  #main #secondary .product-categories ul.children {
    display: contents;
  }
  #main #secondary .product-categories ul.children { margin: 0; padding: 0; list-style: none; }
  #main #secondary .product-categories li a { scroll-snap-align: start; }
  #main #secondary .product-categories li.cat-parent > a { font-weight: 700; }

  #main #secondary .product-categories li a {
    display: inline-flex;
    align-items: center;
    width: auto !important;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--oki-pink, #FDE6EE);
    color: var(--oki-ink, #3A2A30);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
  }

  #main #secondary .widget + .widget .product-categories li a {
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--oki-accent, #B8436B);
    color: var(--oki-accent, #B8436B);
  }
  #main #secondary .product-categories li a:hover,
  #main #secondary .product-categories li a:focus-visible {
    background: var(--oki-accent, #B8436B);
    color: #fff;
  }

  #main #secondary .product-categories li.current-cat > a,
  #main #secondary .product-categories li.current-cat-parent > a {
    background: var(--oki-ink, #3A2A30);
    color: #fff;
    box-shadow: none;
  }
}

@media (max-width: 767px) {

  #main #primary ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 12px;
    padding-bottom: 8px;
  }

  body:not(.single-product) #main #primary:has(ul.products) { margin-bottom: 32px; }

  #main #primary ul.products li.product .product-thumb {
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }
  #main #primary ul.products li.product .product-thumb a.image,
  #main #primary ul.products li.product .product-thumb .primary-image,
  #main #primary ul.products li.product .product-thumb .secondary-image {
    width: 100%;
    height: 100%;
  }

  #main #primary ul.products li.product .secondary-image { display: none; }

  #main #primary ul.products li.product .product-details {
    align-items: flex-start;
    text-align: left;
    gap: 4px;
    padding: 10px 2px 0;
  }
  #main #primary ul.products li.product .product-details .product-title {
    width: 100%;
    text-align: left;
  }
  #main #primary ul.products li.product .product-details .product-title h5,
  #main #primary ul.products li.product .product-details .product-title h5 a {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--oki-ink, #3A2A30);
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: calc(1.4em * 2) !important;
    max-height: calc(1.4em * 2) !important;
  }

  #main #primary ul.products li.product .tinvwl-loop-button-wrapper {
    position: absolute;
    top: calc(50vw - 26px - 52px);
    right: 8px;
    width: auto !important;
    margin: 0;
    z-index: 3;
  }
  #main #primary ul.products li.product .tinvwl-loop-button-wrapper a.tinvwl_add_to_wishlist_button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin: 0;
    padding: 0 !important;
    gap: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 1px 4px rgba(58, 42, 48, .2);
  }
  #main #primary ul.products li.product .tinvwl-loop-button-wrapper a.tinvwl_add_to_wishlist_button:hover,
  #main #primary ul.products li.product .tinvwl-loop-button-wrapper a.tinvwl_add_to_wishlist_button:focus {
    background-color: var(--oki-accent, #B8436B) !important;
  }
  #main #primary ul.products li.product .tinvwl-loop-button-wrapper a.tinvwl_add_to_wishlist_button::before { margin: 0; }

  #main #primary ul.products li.product .tinvwl-loop-button-wrapper .tinvwl_add_to_wishlist-text,
  #main #primary ul.products li.product .tinvwl-loop-button-wrapper .tinvwl_remove_from_wishlist-text { display: none; }

  body.home ul.products.sheena-related-product-carousel { display: grid; }
  body.home ul.products.sheena-related-product-carousel li.isotope-grid-sizer { display: none; }
  body.home ul.products.sheena-related-product-carousel li.product { position: relative; width: auto; max-width: none; flex: none; margin: 0; }

  body.home ul.products.sheena-related-product-carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 12px;
    padding-bottom: 8px;
  }

  body.home ul.products.sheena-related-product-carousel li.product .product-thumb {
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }
  body.home ul.products.sheena-related-product-carousel li.product .product-thumb a.image,
  body.home ul.products.sheena-related-product-carousel li.product .product-thumb .primary-image,
  body.home ul.products.sheena-related-product-carousel li.product .product-thumb .secondary-image {
    width: 100%;
    height: 100%;
  }

  body.home ul.products.sheena-related-product-carousel li.product .secondary-image { display: none; }

  body.home ul.products.sheena-related-product-carousel li.product .product-details {
    align-items: flex-start;
    text-align: left;
    gap: 4px;
    padding: 10px 2px 0;
  }
  body.home ul.products.sheena-related-product-carousel li.product .product-details .product-title {
    width: 100%;
    text-align: left;
  }
  body.home ul.products.sheena-related-product-carousel li.product .product-details .product-title h5,
  body.home ul.products.sheena-related-product-carousel li.product .product-details .product-title h5 a {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--oki-ink, #3A2A30);
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: calc(1.4em * 2) !important;
    max-height: calc(1.4em * 2) !important;
  }

  body.home ul.products.sheena-related-product-carousel li.product .tinvwl-loop-button-wrapper {
    position: absolute;
    top: calc(50vw - 26px - 52px);
    right: 8px;
    width: auto !important;
    margin: 0;
    z-index: 3;
  }
  body.home ul.products.sheena-related-product-carousel li.product .tinvwl-loop-button-wrapper a.tinvwl_add_to_wishlist_button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin: 0;
    padding: 0 !important;
    gap: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 1px 4px rgba(58, 42, 48, .2);
  }
  body.home ul.products.sheena-related-product-carousel li.product .tinvwl-loop-button-wrapper a.tinvwl_add_to_wishlist_button:hover,
  body.home ul.products.sheena-related-product-carousel li.product .tinvwl-loop-button-wrapper a.tinvwl_add_to_wishlist_button:focus {
    background-color: var(--oki-accent, #B8436B) !important;
  }
  body.home ul.products.sheena-related-product-carousel li.product .tinvwl-loop-button-wrapper a.tinvwl_add_to_wishlist_button::before { margin: 0; }

  body.home ul.products.sheena-related-product-carousel li.product .tinvwl-loop-button-wrapper .tinvwl_add_to_wishlist-text,
  body.home ul.products.sheena-related-product-carousel li.product .tinvwl-loop-button-wrapper .tinvwl_remove_from_wishlist-text { display: none; }
}

/* [1C] tùy chọn – hiện giá (đang tắt) */
/*
@media (max-width: 767px) {
  .page-template-page-brand-shop #primary ul.products li.product .product-price {
    display: block !important; width: 100%; text-align: left;
  }
  .page-template-page-brand-shop #primary ul.products li.product .product-price .pricing_label,
  .page-template-page-brand-shop #primary ul.products li.product .product-price .screen-reader-text { display: none !important; }
  .page-template-page-brand-shop #primary ul.products li.product .product-price .price {
    display: block !important; font-size: 13px; font-weight: 600; line-height: 1.35;
    color: var(--oki-accent, #B8436B);
  }
}
*/

/* [1D] tùy chọn – thu tiêu đề hồng (đang tắt) */
/*
@media (max-width: 767px) {
  .page-template-page-brand-shop .main-title-section-container { padding-top: 40px; padding-bottom: 40px; }
}
*/

/* [2] Giỏ hàng – số lượng */
body.woocommerce-cart table.shop_table.cart td.product-quantity { min-width: 150px !important; }
body.woocommerce-cart td.product-quantity div.quantity.quantity-with-plusminus {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  overflow: hidden !important;
  border-radius: 999px !important;
}
body.woocommerce-cart td.product-quantity div.quantity.quantity-with-plusminus > input {
  float: none !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
}
body.woocommerce-cart td.product-quantity div.quantity.quantity-with-plusminus > input.minus,
body.woocommerce-cart td.product-quantity div.quantity.quantity-with-plusminus > input.plus {
  width: 44px !important;
  display: block !important;
  cursor: pointer;
}
body.woocommerce-cart td.product-quantity div.quantity.quantity-with-plusminus > input.qty {
  width: 48px !important;
  font-size: 16px !important;
  color: #fff !important;
  -moz-appearance: textfield;
}
body.woocommerce-cart td.product-quantity div.quantity.quantity-with-plusminus > input.qty::-webkit-outer-spin-button,
body.woocommerce-cart td.product-quantity div.quantity.quantity-with-plusminus > input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* [3] Checkout – mã ưu đãi */
.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon { color: #fff; }
.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

@media (max-width: 767px) {
  body.woocommerce-checkout form.checkout input.input-text,
  body.woocommerce-checkout form.checkout .select2-container .select2-selection--single {
    min-height: 44px;
  }
  body.woocommerce-checkout form.checkout input.input-text { height: 44px; }

  /* [4] PDP mobile */
  body.single-product div.product.type-product > div.images,
  body.single-product div.product.type-product > div.summary {
    float: none !important;
    width: 100% !important;
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.single-product div.product.type-product > div.images { margin-bottom: 24px !important; }
  body.single-product div.product div.summary .product_title { font-size: 26px; line-height: 1.3; }
}

/* [5] Vùng chạm ≥44px */
@media (max-width: 1024px) {
  .wdt-header-menu a.menu-trigger,
  .wdt-header-icons-list-item .wdt-user-authlink-menu-icon > a,
  .wdt-header-icons-list-item .wdt-search-menu-icon > a,
  .wdt-header-icons-list-item .wdt-shop-menu-icon > a {
    box-sizing: content-box;
    padding: 12px;
    margin: -12px;
  }
  .breadcrumb a { display: inline-block; padding: 14px 4px; margin: -14px -4px; }
  .elementor-icon-list-items li.elementor-icon-list-item > a { padding: 8px 0; margin: -8px 0; }
  .woocommerce-message a.button.wc-forward { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; min-height: 44px; margin-top: 8px; }
  .ywgc_have_code .ywgc-show-giftcard { display: inline-block; padding: 12px 0; }
  tr.woocommerce-cart-form__cart-item td.product-remove a.remove {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
  }
  input.wdt-terms-and-conditions { width: 20px; height: 20px; }
}

/* [6] Tương phản màu */
.wdt-button-holder.wdt-template-bordered a.wdt-button:not(:hover):not(:focus) .wdt-button-text span { color: #A33A5E !important; }

.tinv-wishlist .woocommerce-info {
  background: var(--oki-pink, #FDE6EE);
  color: var(--oki-ink, #3A2A30);
  border-top-color: var(--oki-accent, #B8436B);
}
.tinv-wishlist .woocommerce-info::before { color: var(--oki-accent, #B8436B); }

/* [7] Desktop – độ dài dòng */
@media (min-width: 1025px) {
  body:not(.woocommerce-cart):not(.woocommerce-checkout) section#primary.content-full-width > div[id^="post-"] {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  body.woocommerce-checkout form.checkout {
    display: flow-root !important;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* [8] Thanh tiêu đề mobile */
@media (max-width: 767px) {
  .main-title-section-wrapper { min-height: 0; }
  .main-title-section-wrapper .main-title-section-container { padding-top: 40px; padding-bottom: 40px; }

  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) section#primary.content-full-width { min-height: 0 !important; }
}

/* [9] Menu ngang 1100–1280 */
@media (min-width: 1100px) and (max-width: 1280px) {
  body .elementor-element-5bc768c.elementor-hidden-tablet_extra,
  body .elementor-element-40c329d.elementor-hidden-tablet_extra { display: flex !important; }
  body .elementor-element-6099b0f { display: none !important; }
  body .elementor-element-908c985 { width: 130px !important; max-width: none !important; flex: 0 0 130px !important; }
  body .elementor-element-8bbc143 { width: 140px !important; max-width: none !important; flex: 0 0 140px !important; }
  body .elementor-element-5bc768c { width: auto !important; max-width: none !important; flex: 1 1 0 !important; min-width: 0; }
  body .elementor-element-a437c80 > .elementor-container { flex-wrap: nowrap !important; }
  body .elementor-element-5bc768c .wdt-header-menu { display: inline-block; }
  body .elementor-element-5bc768c .wdt-header-menu .menu-container { display: block; }
  body .elementor-element-5bc768c .wdt-header-menu .wdt-primary-nav {
    display: flex; flex-wrap: nowrap; justify-content: flex-end; align-items: center;
    list-style: none; width: auto; max-width: 100%; margin-left: auto;
  }
  body .elementor-element-5bc768c .wdt-header-menu .wdt-primary-nav > li > a { white-space: nowrap; margin: 15px 0; }
  body .elementor-element-5bc768c .wdt-header-menu .mobile-nav-container { display: none !important; }

  body .elementor-element-5bc768c .wdt-primary-nav li.close-nav,
  body .elementor-element-5bc768c .wdt-primary-nav li.go-back,
  body .elementor-element-5bc768c .wdt-primary-nav li.see-all { display: none !important; }
  body .elementor-element-5bc768c .wdt-primary-nav ul.sub-menu { width: 230px; }
}

/* [10] Mã giảm giá / gift card / header */
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon,
body.woocommerce-cart .ywgc_enter_code {
  position: static !important;
  box-sizing: border-box;
  width: auto;
  margin: 12px 0 24px;
  padding: 20px;
  background: #FDE6EE;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  color: #3A2A30;
  text-align: center;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
  gap: 12px;
  align-items: stretch;
}
body.woocommerce-cart .ywgc_enter_code > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
body.woocommerce-cart .ywgc_enter_code > div > p:first-child {
  margin: 0; padding: 0; color: #3A2A30; font-size: 16px; line-height: 1.5;
}
body.woocommerce-checkout form.checkout_coupon .form-row,
body.woocommerce-cart .ywgc_enter_code .form-row {
  float: none; width: auto; margin: 0; padding: 0; position: static;
}
body.woocommerce-checkout form.checkout_coupon .clear,
body.woocommerce-cart .ywgc_enter_code .clear { display: none; }

body.woocommerce-checkout form.checkout_coupon input#coupon_code,
body.woocommerce-cart .ywgc_enter_code input#giftcard_code,
body.woocommerce-cart .woocommerce-cart-form .coupon input#coupon_code {
  box-sizing: border-box;
  display: block;
  width: 100%; min-width: 0; max-width: none;
  height: 48px; min-height: 48px;
  margin: 0; padding: 0 20px;
  font-size: 16px; line-height: 46px;
  color: #3A2A30;
  background: #fff;
  border: 1px solid #B8436B; border-radius: 24px;
  box-shadow: none; outline: 0;
  text-align: left;
}
body.woocommerce-checkout form.checkout_coupon input#coupon_code::placeholder,
body.woocommerce-cart .ywgc_enter_code input#giftcard_code::placeholder,
body.woocommerce-cart .woocommerce-cart-form .coupon input#coupon_code::placeholder {
  color: rgba(58, 42, 48, .55); opacity: 1; line-height: normal;
}
body.woocommerce-checkout form.checkout_coupon input#coupon_code:focus,
body.woocommerce-cart .ywgc_enter_code input#giftcard_code:focus,
body.woocommerce-cart .woocommerce-cart-form .coupon input#coupon_code:focus {
  border-color: #B8436B; box-shadow: 0 0 0 3px rgba(184, 67, 107, .18);
}

body.woocommerce-checkout form.checkout_coupon button.button,
body.woocommerce-checkout .woocommerce-checkout-header-coupon .checkout_coupon .form-row-last .button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 48px; min-height: 48px;
  margin: 0; padding: 0 28px;
  line-height: normal; white-space: nowrap;
  text-align: center;
  border-radius: 35px;
}

body.woocommerce-cart .ywgc_enter_code button.ywgc_apply_gift_card_button,
body.woocommerce-cart .woocommerce-cart-form .coupon button.button {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%; height: 48px; min-height: 48px;
  margin: 0 !important; padding: 0 28px !important;
  line-height: normal !important; white-space: nowrap;
  text-align: center;
  border-radius: 35px;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
  display: inline-block; min-height: 48px; padding: 14px 28px; box-sizing: border-box;
}
@media (max-width: 479px) {
  body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { padding-left: 16px; padding-right: 16px; }
  body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
    padding: 14px 16px; font-size: 13px; letter-spacing: .06em; white-space: nowrap; max-width: 100%;
  }
}
@media (min-width: 480px) {

  body.woocommerce-cart .ywgc_enter_code > div {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
  }
  body.woocommerce-cart .ywgc_enter_code > div > p:first-child { grid-column: 1 / -1; }
  body.woocommerce-cart .ywgc_enter_code button.ywgc_apply_gift_card_button { width: auto; min-width: 160px; }

  body.woocommerce-checkout .woocommerce-checkout-header-coupon form.checkout_coupon.woocommerce-form-coupon { flex-wrap: nowrap; align-items: stretch; gap: 12px; }
  body.woocommerce-checkout .woocommerce-checkout-header-coupon form.checkout_coupon .form-row-first { flex: 1 1 0; min-width: 0 !important; width: auto !important; }
  body.woocommerce-checkout .woocommerce-checkout-header-coupon form.checkout_coupon .form-row-last { flex: 0 0 auto; width: auto !important; min-width: 0 !important; }
  body.woocommerce-checkout .woocommerce-checkout-header-coupon form.checkout_coupon .form-row-last .button { width: auto; min-width: 160px; }
}

@media (min-width: 768px) {

  body.woocommerce-cart .woocommerce-cart-form .coupon {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  }
  body.woocommerce-cart .woocommerce-cart-form .coupon label { flex: 0 0 100%; margin: 0; }
  body.woocommerce-cart .woocommerce-cart-form .coupon input#coupon_code { flex: 1 1 0; width: auto; min-width: 0; margin: 0; }
  body.woocommerce-cart .woocommerce-cart-form .coupon button.button { flex: 0 0 auto; width: auto; min-width: 180px; margin: 0 !important; }
}

body.woocommerce-checkout form.checkout .form-row input.input-text,
body.woocommerce-checkout form.checkout .form-row input[type="text"],
body.woocommerce-checkout form.checkout .form-row input[type="tel"],
body.woocommerce-checkout form.checkout .form-row input[type="email"] {
  box-sizing: border-box; height: 44px; min-height: 44px; padding: 0 14px;
  font-size: 16px; line-height: 42px; color: #3A2A30;
  border: 1px solid #B8436B; border-radius: 12px; box-shadow: none; outline: 0;
}
body.woocommerce-checkout form.checkout .form-row textarea {
  box-sizing: border-box; min-height: 96px; padding: 12px 14px;
  font-size: 16px; line-height: 1.5; color: #3A2A30;
  border: 1px solid #B8436B; border-radius: 12px; box-shadow: none; outline: 0;
}
body.woocommerce-checkout form.checkout .form-row input::placeholder,
body.woocommerce-checkout form.checkout .form-row textarea::placeholder { color: rgba(58, 42, 48, .55); opacity: 1; line-height: normal; }
body.woocommerce-checkout form.checkout .form-row input:focus,
body.woocommerce-checkout form.checkout .form-row textarea:focus { box-shadow: 0 0 0 3px rgba(184, 67, 107, .18); }
body.woocommerce-checkout form.checkout .form-row .select2-container .select2-selection--single {
  box-sizing: border-box !important; height: 44px !important; min-height: 44px !important;
  border: 1px solid #B8436B !important; border-radius: 12px !important; background: #fff !important;
}
body.woocommerce-checkout form.checkout .form-row .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0 40px 0 14px !important; line-height: 42px !important; color: #3A2A30 !important;
}
body.woocommerce-checkout form.checkout .form-row .select2-container .select2-selection--single .select2-selection__arrow { height: 42px !important; }
body.woocommerce-checkout form.checkout .form-row input.input-text { text-overflow: ellipsis; }
@media (max-width: 1023px) {
  body.woocommerce-checkout form.checkout .form-row input.input-text,
  body.woocommerce-checkout form.checkout .form-row input[type="text"],
  body.woocommerce-checkout form.checkout .form-row input[type="tel"],
  body.woocommerce-checkout form.checkout .form-row input[type="email"] { height: 48px; min-height: 48px; line-height: 46px; }
  body.woocommerce-checkout form.checkout .form-row .select2-container .select2-selection--single { height: 48px !important; min-height: 48px !important; }
  body.woocommerce-checkout form.checkout .form-row .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px !important; }
  body.woocommerce-checkout form.checkout .form-row .select2-container .select2-selection--single .select2-selection__arrow { height: 46px !important; }
}

@media (max-width: 767px) {

  body.woocommerce-cart .woocommerce-cart-form .coupon {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
    padding: 20px; text-align: center; color: #3A2A30;
  }
  body.woocommerce-cart .woocommerce-cart-form .coupon label {
    margin: 0; font-size: 20px; color: #3A2A30;
  }
  body.woocommerce-cart .woocommerce-cart-form .coupon input#coupon_code { margin: 0; }
  body.woocommerce-cart .woocommerce-cart-form .coupon button.button { margin: 0; }

  body.woocommerce-checkout #payment .form-row.place-order { float: none; width: 100%; box-sizing: border-box; padding: 20px 0 0; }
  body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper { display: block; width: 100%; }
  body.woocommerce-checkout #payment .woocommerce-privacy-policy-text p { display: block; margin: 0 0 20px; font-size: 14px; line-height: 1.6; }
  body.woocommerce-checkout #payment #place_order {
    float: none !important; display: block; width: 100% !important; box-sizing: border-box;
    min-height: 48px; margin: 0 0 8px; padding: 14px 20px; font-size: 15px;
  }
  body.woocommerce-checkout #back-to-top { display: none !important; }

  body .elementor-element-3583577.elementor-section {
    padding: 10px 20px !important;
    box-sizing: border-box;
  }
  body .elementor-element-3583577 > .elementor-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    column-gap: 32px;
    min-height: 40px;
  }

  body .elementor-element-3583577 > .elementor-container > .elementor-column:not(.elementor-element-757dc98):not(.elementor-element-c0d6616) {
    display: none !important;
  }

  body .elementor-element-3583577 .elementor-element-757dc98 {
    width: auto !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
  }
  body .elementor-element-3583577 .elementor-element-757dc98 > .elementor-widget-wrap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  body .elementor-element-3583577 .elementor-element-512428b,
  body .elementor-element-3583577 .elementor-element-512428b .elementor-icon-list-items,
  body .elementor-element-3583577 .elementor-element-512428b .elementor-icon-list-item {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  body .elementor-element-3583577 .elementor-element-512428b a {
    display: block !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 40px;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }
  body .elementor-element-3583577 .elementor-element-512428b .elementor-icon-list-text {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 40px;
  }

  body .elementor-element-3583577 .elementor-element-c0d6616 {
    width: auto !important;
    flex: 0 0 auto !important;
    margin-left: auto;
    padding: 0 !important;
  }
  body .elementor-element-3583577 .elementor-element-c0d6616 > .elementor-widget-wrap {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 0;
  }
  body .elementor-element-3583577 .elementor-element-14a4227 p {
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
  }
  body .elementor-element-3583577 .elementor-element-1efd090 a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    margin: 0 !important;
    padding: 0 !important;
  }

  body .elementor-element-3583577 .elementor-element-1efd090 .wdt-header-icons-list-item { padding: 0; }

  body .elementor-element-3583577 .elementor-element-1efd090 a::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; right: 0;
    left: -68px;
  }
}
@media (max-width: 389px) {
  body .elementor-element-3583577 > .elementor-container { column-gap: 20px; }
  body .elementor-element-3583577 .elementor-element-14a4227 p { font-size: 11px; }
}

@media (max-width: 479px) {
  body .elementor-element-5af11b0.elementor-hidden-mobile {
    display: block !important;
  }
  body .elementor-element-8bbc143 > .elementor-widget-wrap {
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }
}

body.woocommerce-cart .cart-empty.woocommerce-info,
body.woocommerce-cart p.return-to-shop {
  text-align: center;
}

/* nút Tiến hành thanh toán – theme cart.css float:left → canh phải */
body.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout {
  float: right;
  text-align: right;
}

body.woocommerce-checkout .ywgc_have_code,
body.woocommerce-checkout .ywgc_enter_code {
  display: none !important;
}
