/* Flatsome Fashion Child v1.4 — Cart + Checkout */
body.woocommerce-cart #header,
body.woocommerce-checkout #header {
  display: none !important;
}

body.woocommerce-cart .page-wrapper,
body.woocommerce-checkout .page-wrapper,
body.woocommerce-cart #main,
body.woocommerce-checkout #main {
  padding: 0;
}

.ta-commerce-page {
  background: #fff;
  color: var(--ta-ink, #211e1a);
}

.ta-commerce-hero {
  padding: 66px 0 58px;
  background: #f6f2ec;
  border-bottom: 1px solid var(--ta-line, #e7e0d7);
}

.ta-commerce-hero .ta-store-breadcrumb {
  margin-bottom: 34px;
}

.ta-commerce-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
}

.ta-commerce-heading h1 {
  margin: 4px 0 14px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 500;
}

.ta-commerce-heading > div > p:last-child {
  max-width: 610px;
  margin: 0;
  color: var(--ta-muted, #766e65);
  font-size: 14px;
  line-height: 1.7;
}

.ta-checkout-steps {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-checkout-step {
  position: relative;
  min-width: 128px;
  margin: 0;
  padding: 0 20px;
  border-left: 1px solid #d9d0c5;
}

.ta-checkout-step:first-child { border-left: 0; padding-left: 0; }
.ta-checkout-step:last-child { padding-right: 0; }
.ta-checkout-step a,
.ta-checkout-step .ta-step-wrap {
  display: block;
  color: #9c9389;
  text-decoration: none;
}
.ta-checkout-step.is-current a,
.ta-checkout-step.is-current .ta-step-wrap,
.ta-checkout-step.is-complete a { color: #211e1a; }
.ta-step-number {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  letter-spacing: .1em;
}
.ta-checkout-step strong {
  display: block;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 700;
}

.ta-commerce-body {
  padding: 68px 0 95px;
}

.ta-commerce-content {
  max-width: 1280px;
}

.ta-commerce-content > .woocommerce,
.ta-commerce-content > .wp-block-woocommerce-cart,
.ta-commerce-content > .wp-block-woocommerce-checkout {
  width: 100%;
}

/* Notices */
.ta-commerce-content .woocommerce-message,
.ta-commerce-content .woocommerce-info,
.ta-commerce-content .woocommerce-error,
.ta-commerce-content .wc-block-components-notice-banner {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid #ded7ce;
  border-left: 3px solid #2d2925;
  border-radius: 0;
  background: #faf8f5;
  color: #37322d;
  box-shadow: none;
  font-size: 12px;
}

/* ---------------- Classic cart ---------------- */
.ta-commerce-content .woocommerce-cart-form {
  float: left;
  width: calc(100% - 410px);
  padding-right: 50px;
}

.ta-commerce-content .woocommerce-cart-form table.shop_table {
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: transparent;
}

.ta-commerce-content .woocommerce-cart-form table.shop_table thead th {
  padding: 0 10px 15px;
  border: 0;
  border-bottom: 1px solid #ded7ce;
  color: #8b8278;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ta-commerce-content .woocommerce-cart-form table.shop_table td {
  padding: 22px 10px;
  border: 0;
  border-bottom: 1px solid #ebe5dd;
  background: transparent;
  vertical-align: middle;
}

.ta-commerce-content .product-thumbnail { width: 112px; }
.ta-commerce-content .product-thumbnail img {
  width: 92px;
  height: 116px;
  object-fit: cover;
  background: #f2eee8;
}
.ta-commerce-content .product-name a {
  color: #2e2924;
  font-size: 14px;
  font-weight: 600;
}
.ta-commerce-content .product-name .variation {
  margin-top: 8px;
  color: #8c8379;
  font-size: 10px;
}
.ta-commerce-content .product-price,
.ta-commerce-content .product-subtotal { font-size: 13px; font-weight: 700; }
.ta-commerce-content .product-remove a {
  color: #a19990 !important;
  font-size: 22px;
}
.ta-commerce-content .quantity input.qty {
  min-height: 44px;
  border: 1px solid #ddd5cb;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.ta-commerce-content .woocommerce-cart-form .actions {
  padding: 25px 0 0 !important;
  border: 0 !important;
}
.ta-commerce-content .coupon {
  display: flex;
  gap: 8px;
}
.ta-commerce-content .coupon #coupon_code {
  width: 210px;
  height: 46px;
  margin: 0;
  border: 1px solid #dcd4ca;
  border-radius: 0;
  box-shadow: none;
}
.ta-commerce-content button.button,
.ta-commerce-content input.button,
.ta-commerce-content a.button,
.ta-commerce-content .button,
.ta-commerce-content .wc-block-components-button {
  min-height: 46px;
  margin: 0;
  padding: 0 24px;
  border: 1px solid #1c1916 !important;
  border-radius: 0 !important;
  background: #1c1916 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ta-commerce-content button.button:hover,
.ta-commerce-content a.button:hover,
.ta-commerce-content .wc-block-components-button:hover {
  background: #4a423a !important;
  border-color: #4a423a !important;
}
.ta-commerce-content button[name="update_cart"] { background: #fff !important; color: #1c1916 !important; }

.ta-commerce-content .cart-collaterals {
  float: right;
  width: 390px;
}
.ta-commerce-content .cart-collaterals:after,
.ta-commerce-content .woocommerce:after { content: ""; display: table; clear: both; }
.ta-commerce-content .cart_totals {
  width: 100% !important;
  padding: 28px 30px 30px;
  border: 1px solid #ded7ce;
  background: #faf8f5;
}
.ta-commerce-content .cart_totals h2 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.03em;
}
.ta-commerce-content .cart_totals table { margin: 0 0 24px; border: 0; }
.ta-commerce-content .cart_totals tr,
.ta-commerce-content .cart_totals th,
.ta-commerce-content .cart_totals td { border: 0; background: transparent; }
.ta-commerce-content .cart_totals th,
.ta-commerce-content .cart_totals td {
  padding: 13px 0;
  border-bottom: 1px solid #e3ddd5;
  font-size: 12px;
}
.ta-commerce-content .cart_totals th { color: #756d64; font-weight: 500; }
.ta-commerce-content .cart_totals td { text-align: right; font-weight: 700; }
.ta-commerce-content .wc-proceed-to-checkout { margin: 20px 0 0; padding: 0; }
.ta-commerce-content .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Empty cart */
.ta-commerce-content .cart-empty {
  margin: 20px auto 18px;
  padding: 40px 20px;
  border: 1px solid #e2dbd2;
  text-align: center;
}
.ta-commerce-content .return-to-shop { text-align: center; }

/* ---------------- WooCommerce Cart Block ---------------- */
.ta-commerce-content .wc-block-cart,
.ta-commerce-content .wc-block-checkout {
  font-family: inherit;
}
.ta-commerce-content .wc-block-components-main,
.ta-commerce-content .wc-block-cart__main,
.ta-commerce-content .wc-block-checkout__main { padding-right: clamp(25px, 4vw, 60px); }
.ta-commerce-content .wc-block-components-sidebar,
.ta-commerce-content .wc-block-cart__sidebar,
.ta-commerce-content .wc-block-checkout__sidebar {
  padding: 28px !important;
  border: 1px solid #ded7ce;
  background: #faf8f5;
}
.ta-commerce-content .wc-block-cart-items {
  border-collapse: collapse;
}
.ta-commerce-content .wc-block-cart-items th {
  padding-bottom: 14px !important;
  border-bottom: 1px solid #ded7ce !important;
  color: #8b8278;
  font-size: 10px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ta-commerce-content .wc-block-cart-items td {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
  border-bottom: 1px solid #ebe5dd !important;
}
.ta-commerce-content .wc-block-cart-item__image img {
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #f2eee8;
}
.ta-commerce-content .wc-block-components-product-name {
  color: #2e2924;
  font-size: 14px;
  font-weight: 600;
}
.ta-commerce-content .wc-block-components-quantity-selector {
  border: 1px solid #ddd5cb !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.ta-commerce-content .wc-block-components-totals-wrapper {
  padding: 16px 0 !important;
  border-top: 1px solid #e3ddd5 !important;
}
.ta-commerce-content .wc-block-components-totals-wrapper:first-child { border-top: 0 !important; }
.ta-commerce-content .wc-block-components-order-summary-item__image > img { border-radius: 0; }

/* ---------------- Classic checkout ---------------- */
.ta-checkout-content form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: clamp(45px, 6vw, 85px);
  align-items: start;
}
.ta-checkout-content #customer_details {
  width: auto;
  float: none;
}
.ta-checkout-content #order_review_heading,
.ta-checkout-content #order_review {
  width: auto;
  float: none;
}
.ta-checkout-content #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 -62px;
  padding: 0 28px;
  z-index: 2;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.03em;
}
.ta-checkout-content #order_review {
  grid-column: 2;
  grid-row: 1;
  padding: 68px 28px 28px;
  border: 1px solid #ded7ce;
  background: #faf8f5;
}
.ta-checkout-content .col2-set {
  width: 100%;
}
.ta-checkout-content .col2-set .col-1,
.ta-checkout-content .col2-set .col-2 {
  width: 100%;
  float: none;
}
.ta-checkout-content .col2-set .col-2 { margin-top: 34px; }
.ta-checkout-content .woocommerce-billing-fields > h3,
.ta-checkout-content .woocommerce-shipping-fields > h3,
.ta-checkout-content .woocommerce-additional-fields > h3 {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.03em;
}
.ta-checkout-content .form-row { margin: 0 0 17px; }
.ta-checkout-content .form-row label {
  margin-bottom: 7px;
  color: #6f675f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ta-checkout-content input.input-text,
.ta-checkout-content textarea,
.ta-checkout-content select,
.ta-checkout-content .select2-container .select2-selection {
  min-height: 48px;
  border: 1px solid #dcd4ca;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  font-size: 13px;
}
.ta-checkout-content textarea { min-height: 120px; padding: 13px; }
.ta-checkout-content .select2-container .select2-selection__rendered { line-height: 46px; }
.ta-checkout-content .select2-container .select2-selection__arrow { height: 46px; }
.ta-checkout-content .woocommerce-checkout-review-order-table { border: 0; }
.ta-checkout-content .woocommerce-checkout-review-order-table th,
.ta-checkout-content .woocommerce-checkout-review-order-table td {
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #e3ddd5;
  background: transparent;
  font-size: 12px;
}
.ta-checkout-content .woocommerce-checkout-payment {
  margin-top: 22px;
  border-radius: 0 !important;
  background: transparent !important;
}
.ta-checkout-content .wc_payment_methods {
  padding: 0 !important;
  border: 0 !important;
}
.ta-checkout-content .wc_payment_method {
  padding: 14px 0;
  border-bottom: 1px solid #e3ddd5;
}
.ta-checkout-content .payment_box {
  margin: 10px 0 0 !important;
  padding: 14px !important;
  border-radius: 0 !important;
  background: #f1ece5 !important;
  font-size: 11px;
}
.ta-checkout-content #place_order {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
}

/* WooCommerce Checkout Block */
.ta-commerce-content .wc-block-checkout__form .wc-block-components-checkout-step {
  margin-bottom: 34px;
  padding: 0;
}
.ta-commerce-content .wc-block-components-checkout-step__heading {
  margin-bottom: 18px;
}
.ta-commerce-content .wc-block-components-checkout-step__title {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.03em;
}
.ta-commerce-content .wc-block-components-text-input input,
.ta-commerce-content .wc-block-components-combobox .wc-block-components-combobox-control input,
.ta-commerce-content .wc-block-components-address-form input,
.ta-commerce-content .wc-block-components-textarea {
  border: 1px solid #dcd4ca !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
}
.ta-commerce-content .wc-block-components-radio-control-accordion-option {
  border-radius: 0 !important;
  border-color: #ded7ce !important;
}
.ta-commerce-content .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
  min-height: 56px;
}

/* Thank you / order received */
.ta-order-received-page .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  margin: 0 0 45px;
  padding: 0;
  border: 1px solid #ded7ce;
  list-style: none;
}
.ta-order-received-page .woocommerce-order-overview li {
  margin: 0 !important;
  padding: 18px 20px;
  border-right: 1px solid #ded7ce;
  font-size: 10px;
}
.ta-order-received-page .woocommerce-order-overview li:last-child { border-right: 0; }
.ta-order-received-page .woocommerce-order-overview strong { margin-top: 6px; font-size: 13px; }
.ta-order-received-page .woocommerce-order-details,
.ta-order-received-page .woocommerce-customer-details {
  margin-top: 45px;
}
.ta-order-received-page h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.ta-commerce-trust {
  padding: 0 0 95px;
}
.ta-commerce-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--ta-line, #e7e0d7);
  border-bottom: 1px solid var(--ta-line, #e7e0d7);
}
.ta-commerce-trust-grid > div { padding: 28px 32px; border-right: 1px solid var(--ta-line, #e7e0d7); }
.ta-commerce-trust-grid > div:last-child { border-right: 0; }
.ta-commerce-trust-grid span { display: block; margin-bottom: 20px; color: #a39a90; font-size: 10px; }
.ta-commerce-trust-grid strong { display: block; margin-bottom: 6px; font-size: 13px; }
.ta-commerce-trust-grid p { margin: 0; color: var(--ta-muted, #766e65); font-size: 11px; line-height: 1.6; }

.ta-checkout-help {
  padding: 70px 0 90px;
  background: #f6f2ec;
  border-top: 1px solid var(--ta-line, #e7e0d7);
}
.ta-checkout-help-inner {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  align-items: end;
}
.ta-checkout-help h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 500; letter-spacing: -.04em; }
.ta-checkout-help-inner > p { max-width: 620px; margin: 0; color: var(--ta-muted, #766e65); line-height: 1.75; }

@media (max-width: 999px) {
  .ta-commerce-heading { grid-template-columns: 1fr; gap: 35px; }
  .ta-checkout-steps { justify-content: flex-start; }
  .ta-commerce-content .woocommerce-cart-form,
  .ta-commerce-content .cart-collaterals { float: none; width: 100%; padding-right: 0; }
  .ta-commerce-content .cart-collaterals { margin-top: 38px; }
  .ta-checkout-content form.checkout { grid-template-columns: 1fr; gap: 42px; }
  .ta-checkout-content #order_review_heading,
  .ta-checkout-content #order_review { grid-column: 1; grid-row: auto; }
  .ta-checkout-content #order_review_heading { margin-bottom: -61px; }
  .ta-checkout-help-inner { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 749px) {
  .ta-commerce-hero { padding: 48px 0 44px; }
  .ta-commerce-hero .ta-store-breadcrumb { margin-bottom: 24px; }
  .ta-commerce-heading h1 { font-size: 48px; }
  .ta-checkout-steps { width: 100%; }
  .ta-checkout-step { min-width: 0; flex: 1; padding: 0 12px; }
  .ta-checkout-step strong { font-size: 9px; }
  .ta-commerce-body { padding: 42px 0 70px; }

  .ta-commerce-content .woocommerce-cart-form table.shop_table thead { display: none; }
  .ta-commerce-content .woocommerce-cart-form table.shop_table,
  .ta-commerce-content .woocommerce-cart-form table.shop_table tbody,
  .ta-commerce-content .woocommerce-cart-form table.shop_table tr { display: block; width: 100%; }
  .ta-commerce-content .woocommerce-cart-form table.shop_table tr.cart_item {
    position: relative;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 0 16px;
    padding: 18px 0;
    border-bottom: 1px solid #ebe5dd;
  }
  .ta-commerce-content .woocommerce-cart-form table.shop_table td {
    padding: 4px 0;
    border: 0;
    text-align: left !important;
  }
  .ta-commerce-content .woocommerce-cart-form td.product-thumbnail { grid-row: 1 / span 5; width: 92px; }
  .ta-commerce-content .woocommerce-cart-form td.product-thumbnail img { width: 92px; height: 116px; }
  .ta-commerce-content .woocommerce-cart-form td.product-name { padding-right: 28px; }
  .ta-commerce-content .woocommerce-cart-form td.product-remove { position: absolute; right: 0; top: 14px; }
  .ta-commerce-content .woocommerce-cart-form td.product-price:before { content: "Đơn giá: "; color: #8b8278; font-weight: 400; }
  .ta-commerce-content .woocommerce-cart-form td.product-subtotal:before { content: "Tạm tính: "; color: #8b8278; font-weight: 400; }
  .ta-commerce-content .woocommerce-cart-form .actions { display: block !important; }
  .ta-commerce-content .coupon { margin-bottom: 12px; }
  .ta-commerce-content .coupon #coupon_code { width: 100%; }
  .ta-commerce-content .coupon button { white-space: nowrap; }
  .ta-commerce-content .cart_totals { padding: 24px 20px; }

  .ta-commerce-content .wc-block-cart { display: block; }
  .ta-commerce-content .wc-block-components-main,
  .ta-commerce-content .wc-block-cart__main,
  .ta-commerce-content .wc-block-checkout__main { padding-right: 0; }
  .ta-commerce-content .wc-block-components-sidebar,
  .ta-commerce-content .wc-block-cart__sidebar,
  .ta-commerce-content .wc-block-checkout__sidebar { margin-top: 30px; padding: 22px !important; }

  .ta-order-received-page .woocommerce-order-overview { grid-template-columns: 1fr 1fr; }
  .ta-order-received-page .woocommerce-order-overview li { border-bottom: 1px solid #ded7ce; }
  .ta-order-received-page .woocommerce-order-overview li:nth-child(2n) { border-right: 0; }
  .ta-order-received-page .woocommerce-order-overview li:nth-last-child(-n+2) { border-bottom: 0; }

  .ta-commerce-trust { padding-bottom: 70px; }
  .ta-commerce-trust-grid { grid-template-columns: 1fr; }
  .ta-commerce-trust-grid > div { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--ta-line, #e7e0d7); }
  .ta-commerce-trust-grid > div:last-child { border-bottom: 0; }
}

@media (max-width: 479px) {
  .ta-commerce-heading h1 { font-size: 42px; }
  .ta-checkout-step { padding: 0 8px; }
  .ta-step-number { font-size: 9px; }
  .ta-checkout-step strong { font-size: 8px; letter-spacing: .025em; }
  .ta-commerce-content .coupon { display: grid; grid-template-columns: 1fr; }
  .ta-commerce-content .coupon button { width: 100%; }
  .ta-order-received-page .woocommerce-order-overview { grid-template-columns: 1fr; }
  .ta-order-received-page .woocommerce-order-overview li,
  .ta-order-received-page .woocommerce-order-overview li:nth-child(2n),
  .ta-order-received-page .woocommerce-order-overview li:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid #ded7ce; }
  .ta-order-received-page .woocommerce-order-overview li:last-child { border-bottom: 0; }
}

/* ==========================================================
   Flatsome Retail Child v2.8 — Commerce polish
   Fixes Flatsome's nested .row/.col checkout structure and
   restyles cart + checkout into a modern retail layout.
   ========================================================== */

:root {
  --ta-commerce-bg: #f7f7f5;
  --ta-card: #ffffff;
  --ta-text: #17191d;
  --ta-subtle: #6f737b;
  --ta-border: #e8e8e4;
  --ta-accent: #ffc83d;
  --ta-accent-hover: #f5b900;
  --ta-radius: 18px;
}

body.woocommerce-cart,
body.woocommerce-checkout {
  background: var(--ta-commerce-bg);
}

.ta-commerce-page {
  background: var(--ta-commerce-bg);
}

.ta-commerce-hero {
  padding: 38px 0 34px;
  background: #fff;
  border-bottom: 1px solid var(--ta-border);
}

.ta-commerce-hero .ta-store-breadcrumb {
  margin-bottom: 22px;
  font-size: 12px;
  color: #8b8e94;
}

.ta-commerce-heading {
  align-items: center;
  gap: 42px;
}

.ta-commerce-heading h1 {
  margin: 3px 0 8px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 650;
  color: var(--ta-text);
}

.ta-commerce-heading > div > p:last-child {
  color: var(--ta-subtle);
  line-height: 1.6;
}

.ta-eyebrow {
  color: #a06b00;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: .16em !important;
}

.ta-checkout-step {
  min-width: 116px;
  padding: 0 18px;
  border-left-color: #e7e7e3;
}

.ta-checkout-step.is-current .ta-step-number,
.ta-checkout-step.is-current strong,
.ta-checkout-step.is-complete .ta-step-number,
.ta-checkout-step.is-complete strong {
  color: var(--ta-text);
}

.ta-checkout-step.is-current strong:after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 7px;
  border-radius: 3px;
  background: var(--ta-accent);
}

.ta-commerce-body {
  padding: 42px 0 64px;
}

.ta-commerce-content {
  width: 100%;
  max-width: 1280px;
}

/* ---------- CART: reset Flatsome's large-7 / large-5 columns ---------- */
.ta-cart-page .ta-commerce-content > .woocommerce.row,
.ta-cart-page .ta-commerce-content > .woocommerce.row.row-large,
.ta-cart-page .ta-commerce-content > .woocommerce.row.row-divided {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr) !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ta-cart-page .ta-commerce-content > .woocommerce.row:before,
.ta-cart-page .ta-commerce-content > .woocommerce.row:after {
  display: none !important;
}

.ta-cart-page .ta-commerce-content > .woocommerce.row > .col.large-7,
.ta-cart-page .ta-commerce-content > .woocommerce.row > .cart-collaterals.large-5 {
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;
  padding: 0 !important;
  border: 0 !important;
}

.ta-cart-page .woocommerce-cart-form {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
}

.ta-cart-page .cart-wrapper {
  overflow: visible;
  padding: 8px 24px 22px;
  border: 1px solid var(--ta-border);
  border-radius: var(--ta-radius);
  background: var(--ta-card);
  box-shadow: 0 10px 35px rgba(21, 23, 26, .045);
}

.ta-cart-page .woocommerce-cart-form table.shop_table {
  width: 100%;
  table-layout: auto;
}

.ta-cart-page .woocommerce-cart-form table.shop_table thead th {
  padding-top: 17px;
  padding-bottom: 14px;
  color: #92959b;
  font-size: 10px;
  letter-spacing: .08em;
}

.ta-cart-page .woocommerce-cart-form table.shop_table td {
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom-color: #efefec;
}

.ta-cart-page .product-remove {
  width: 38px;
}

.ta-cart-page .product-remove a.remove {
  display: grid !important;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #dedfdf;
  border-radius: 50%;
  color: #7a7d82 !important;
  line-height: 1 !important;
  font-size: 18px !important;
  transition: .18s ease;
}

.ta-cart-page .product-remove a.remove:hover {
  border-color: #ffdddd;
  background: #fff1f1;
  color: #d72b2b !important;
}

.ta-cart-page .product-thumbnail {
  width: 94px !important;
}

.ta-cart-page .product-thumbnail img {
  width: 76px !important;
  height: 96px !important;
  border-radius: 12px;
  object-fit: cover;
  object-position: top center;
}

.ta-cart-page .product-name {
  min-width: 160px;
}

.ta-cart-page .product-name a {
  color: var(--ta-text);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.ta-cart-page .product-name .variation,
.ta-cart-page .product-name dl.variation {
  margin: 7px 0 0;
  color: #858990;
  font-size: 11px;
  line-height: 1.5;
}

.ta-cart-page .product-name .variation dt,
.ta-cart-page .product-name .variation dd {
  display: inline;
  float: none;
  margin: 0 4px 0 0;
  padding: 0;
}

.ta-cart-page .product-price,
.ta-cart-page .product-subtotal {
  color: var(--ta-text);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.ta-cart-page .quantity.buttons_added {
  display: inline-grid !important;
  grid-template-columns: 38px 42px 38px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e2e3df;
  border-radius: 999px;
  background: #fff;
}

.ta-cart-page .quantity.buttons_added input.qty,
.ta-cart-page .quantity.buttons_added input[type="number"] {
  width: 42px !important;
  min-width: 42px !important;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 12px;
}

.ta-cart-page .quantity.buttons_added .button,
.ta-cart-page .quantity.buttons_added input[type="button"] {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #25272b !important;
  font-size: 16px !important;
  line-height: 38px !important;
  box-shadow: none !important;
}

.ta-cart-page .woocommerce-cart-form .actions {
  padding: 22px 0 0 !important;
}

.ta-cart-page .woocommerce-cart-form .actions .button,
.ta-cart-page .continue-shopping .button,
.ta-cart-page a.button.wc-backward {
  min-height: 44px;
  border-radius: 10px !important;
  padding: 0 18px;
}

.ta-cart-page button[name="update_cart"] {
  border: 1px solid #dedfdf !important;
  background: #fff !important;
  color: #292b2e !important;
}

.ta-cart-page .cart-collaterals {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.ta-cart-page .cart-collaterals > .is-sticky-column,
.ta-cart-page .cart-collaterals > .sticky-sidebar,
.ta-cart-page .cart-sidebar {
  width: 100%;
}

.ta-cart-page .cart-sidebar {
  position: sticky;
  top: 88px;
  padding: 26px !important;
  border: 1px solid var(--ta-border) !important;
  border-radius: var(--ta-radius);
  background: var(--ta-card);
  box-shadow: 0 10px 35px rgba(21, 23, 26, .05);
}

.ta-cart-page .cart_totals {
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.ta-cart-page .cart_totals h2,
.ta-cart-page .cart-sidebar .widget-title {
  margin: 0 0 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid #eeeeeb;
  color: var(--ta-text);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.ta-cart-page .cart_totals th,
.ta-cart-page .cart_totals td {
  padding: 13px 0 !important;
  border-bottom: 1px solid #f0f0ed !important;
  font-size: 12px;
}

.ta-cart-page .cart_totals .order-total th,
.ta-cart-page .cart_totals .order-total td {
  padding-top: 17px !important;
  color: var(--ta-text);
  font-size: 15px;
  font-weight: 850;
}

.ta-cart-page .wc-proceed-to-checkout .checkout-button {
  min-height: 54px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--ta-accent) !important;
  color: #15171a !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase;
}

.ta-cart-page .wc-proceed-to-checkout .checkout-button:hover {
  background: var(--ta-accent-hover) !important;
  color: #15171a !important;
}

.ta-cart-page .checkout_coupon {
  margin-top: 18px !important;
  padding-top: 20px;
  border-top: 1px solid #eeeeeb;
}

.ta-cart-page .checkout_coupon .coupon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.ta-cart-page .checkout_coupon .widget-title {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  padding-bottom: 10px;
  font-size: 13px;
}

.ta-cart-page .checkout_coupon input.input-text {
  width: 100% !important;
  height: 44px;
  margin: 0 !important;
  border: 1px solid #e1e2df;
  border-radius: 10px;
  box-shadow: none;
  background: #fafaf9;
}

.ta-cart-page .checkout_coupon input[type="submit"] {
  height: 44px;
  margin: 0 !important;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #191b1f;
  color: #fff;
  font-weight: 750;
}

/* ---------- CHECKOUT: target actual Flatsome form > .row markup ---------- */
.ta-checkout-page .ta-checkout-content form.checkout {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.ta-checkout-page .ta-checkout-content form.checkout > .row,
.ta-checkout-page .ta-checkout-content form.checkout > .row.pt-0 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .78fr) !important;
  gap: 30px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ta-checkout-page .ta-checkout-content form.checkout > .row:before,
.ta-checkout-page .ta-checkout-content form.checkout > .row:after {
  display: none !important;
}

.ta-checkout-page .ta-checkout-content form.checkout > .row > .large-7.col,
.ta-checkout-page .ta-checkout-content form.checkout > .row > .large-5.col {
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;
  padding: 0 !important;
}

.ta-checkout-page #customer_details {
  width: 100% !important;
  padding: 28px 30px 30px;
  border: 1px solid var(--ta-border);
  border-radius: var(--ta-radius);
  background: var(--ta-card);
  box-shadow: 0 10px 35px rgba(21, 23, 26, .045);
}

.ta-checkout-page #customer_details .clear {
  display: block;
}

.ta-checkout-page .woocommerce-billing-fields > h3,
.ta-checkout-page .woocommerce-shipping-fields > h3,
.ta-checkout-page .woocommerce-additional-fields > h3 {
  margin: 0 0 24px;
  padding-bottom: 17px;
  border-bottom: 1px solid #eeeeeb;
  color: var(--ta-text);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.ta-checkout-page .woocommerce-billing-fields__field-wrapper,
.ta-checkout-page .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px 14px;
}

.ta-checkout-page .form-row,
.ta-checkout-page .woocommerce-billing-fields__field-wrapper .form-row,
.ta-checkout-page .woocommerce-shipping-fields__field-wrapper .form-row {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ta-checkout-page .form-row-wide,
.ta-checkout-page #billing_company_field,
.ta-checkout-page #billing_country_field,
.ta-checkout-page #billing_address_1_field,
.ta-checkout-page #billing_address_2_field,
.ta-checkout-page #billing_city_field,
.ta-checkout-page #billing_state_field,
.ta-checkout-page #billing_postcode_field,
.ta-checkout-page #billing_phone_field,
.ta-checkout-page #billing_email_field {
  grid-column: 1 / -1;
}

.ta-checkout-page .form-row label {
  display: block;
  margin: 0 0 7px;
  color: #70747b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ta-checkout-page input.input-text,
.ta-checkout-page textarea,
.ta-checkout-page select,
.ta-checkout-page .select2-container .select2-selection {
  width: 100% !important;
  min-height: 50px !important;
  margin: 0 !important;
  border: 1px solid #dedfdb !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #22252a;
  font-size: 13px;
  transition: border-color .18s, box-shadow .18s;
}

.ta-checkout-page input.input-text:focus,
.ta-checkout-page textarea:focus,
.ta-checkout-page select:focus,
.ta-checkout-page .select2-container--open .select2-selection {
  border-color: #e5ad15 !important;
  box-shadow: 0 0 0 3px rgba(255, 200, 61, .16) !important;
}

.ta-checkout-page textarea {
  min-height: 118px !important;
  padding: 13px !important;
  resize: vertical;
}

.ta-checkout-page .select2-container .select2-selection__rendered {
  line-height: 48px !important;
  padding-left: 12px !important;
}

.ta-checkout-page .select2-container .select2-selection__arrow {
  height: 48px !important;
}

.ta-checkout-page .woocommerce-shipping-fields,
.ta-checkout-page .woocommerce-additional-fields {
  margin-top: 26px;
}

.ta-checkout-page .woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: #25272b !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.ta-checkout-page form.checkout > .row > .large-5.col .col-inner,
.ta-checkout-page form.checkout > .row > .large-5.col .col-inner.has-border,
.ta-checkout-page form.checkout > .row > .large-5.col .col-inner.is-well {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ta-checkout-page .checkout-sidebar {
  position: sticky;
  top: 88px;
  overflow: visible !important;
  padding: 26px 28px 28px;
  border: 1px solid var(--ta-border);
  border-radius: var(--ta-radius);
  background: var(--ta-card);
  box-shadow: 0 10px 35px rgba(21, 23, 26, .055);
}

.ta-checkout-page #order_review_heading {
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 17px !important;
  border-bottom: 1px solid #eeeeeb;
  color: var(--ta-text);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.ta-checkout-page #order_review {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.ta-checkout-page .woocommerce-checkout-review-order-table {
  width: 100%;
  margin: 6px 0 18px !important;
  border: 0 !important;
}

.ta-checkout-page .woocommerce-checkout-review-order-table thead th {
  padding: 13px 0 10px !important;
  color: #96999f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ta-checkout-page .woocommerce-checkout-review-order-table th,
.ta-checkout-page .woocommerce-checkout-review-order-table td {
  padding: 12px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #f0f0ed !important;
  background: transparent !important;
  font-size: 12px;
  line-height: 1.45;
}

.ta-checkout-page .woocommerce-checkout-review-order-table td.product-total,
.ta-checkout-page .woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  font-weight: 800;
  white-space: nowrap;
}

.ta-checkout-page .woocommerce-checkout-review-order-table tfoot .order-total th,
.ta-checkout-page .woocommerce-checkout-review-order-table tfoot .order-total td {
  padding-top: 16px !important;
  color: var(--ta-text);
  font-size: 15px;
  font-weight: 900;
}

.ta-checkout-page .woocommerce-checkout-payment {
  margin: 18px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.ta-checkout-page .wc_payment_methods {
  display: grid;
  gap: 10px;
  margin: 0 0 18px !important;
}

.ta-checkout-page .wc_payment_method {
  margin: 0 !important;
  padding: 14px 15px !important;
  border: 1px solid #e5e6e2 !important;
  border-radius: 12px;
  background: #fafaf9;
}

.ta-checkout-page .wc_payment_method > label {
  color: #25272b;
  font-size: 13px;
  font-weight: 750;
}

.ta-checkout-page .payment_box {
  margin: 10px 0 0 !important;
  padding: 11px 12px !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #6f737b;
  font-size: 11px;
}

.ta-checkout-page #place_order {
  width: 100% !important;
  min-height: 54px !important;
  margin: 8px 0 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--ta-accent) !important;
  color: #15171a !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .03em !important;
}

.ta-checkout-page #place_order:hover {
  background: var(--ta-accent-hover) !important;
}

.ta-checkout-page .woocommerce-form-coupon-toggle,
.ta-checkout-page .woocommerce-form-login-toggle {
  margin-bottom: 18px;
}

.ta-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info,
.ta-checkout-page .woocommerce-form-login-toggle .woocommerce-info {
  border: 1px solid var(--ta-border);
  border-left: 4px solid var(--ta-accent);
  border-radius: 12px;
  background: #fff;
}

.ta-checkout-page form.checkout_coupon,
.ta-checkout-page form.login {
  margin: -6px 0 22px !important;
  padding: 18px !important;
  border: 1px solid var(--ta-border) !important;
  border-radius: 12px !important;
  background: #fff;
}

/* Trust strip: cleaner and tighter */
.ta-commerce-trust {
  padding: 0 0 62px;
}

.ta-commerce-trust-grid {
  overflow: hidden;
  border: 1px solid var(--ta-border);
  border-radius: 16px;
  background: #fff;
}

.ta-commerce-trust-grid > div {
  padding: 22px 24px;
  border-right-color: var(--ta-border);
}

.ta-commerce-trust-grid span {
  margin-bottom: 12px;
  color: #c0900d;
  font-weight: 800;
}

.ta-checkout-help {
  padding: 48px 0 56px;
  background: #fff;
  border-top: 1px solid var(--ta-border);
}

/* Woo Blocks compatibility */
.ta-commerce-content .wc-block-cart,
.ta-commerce-content .wc-block-checkout {
  gap: 28px;
}

.ta-commerce-content .wc-block-components-sidebar,
.ta-commerce-content .wc-block-cart__sidebar,
.ta-commerce-content .wc-block-checkout__sidebar {
  border: 1px solid var(--ta-border) !important;
  border-radius: var(--ta-radius) !important;
  background: #fff !important;
  box-shadow: 0 10px 35px rgba(21, 23, 26, .05);
}

.ta-commerce-content .wc-block-components-button {
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--ta-accent) !important;
  color: #16181b !important;
}

@media (max-width: 999px) {
  .ta-cart-page .ta-commerce-content > .woocommerce.row,
  .ta-cart-page .ta-commerce-content > .woocommerce.row.row-large,
  .ta-cart-page .ta-commerce-content > .woocommerce.row.row-divided,
  .ta-checkout-page .ta-checkout-content form.checkout > .row,
  .ta-checkout-page .ta-checkout-content form.checkout > .row.pt-0 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .ta-cart-page .cart-sidebar,
  .ta-checkout-page .checkout-sidebar {
    position: static;
  }
}

@media (max-width: 749px) {
  .ta-commerce-hero {
    padding: 28px 0 26px;
  }

  .ta-commerce-heading {
    gap: 24px;
  }

  .ta-commerce-heading h1 {
    font-size: 38px;
  }

  .ta-commerce-body {
    padding: 24px 0 42px;
  }

  .ta-cart-page .cart-wrapper,
  .ta-checkout-page #customer_details,
  .ta-cart-page .cart-sidebar,
  .ta-checkout-page .checkout-sidebar {
    padding: 18px !important;
    border-radius: 14px;
  }

  .ta-cart-page .woocommerce-cart-form table.shop_table tr.cart_item {
    grid-template-columns: 78px 1fr;
    gap: 0 14px;
    padding: 15px 0;
  }

  .ta-cart-page .woocommerce-cart-form td.product-thumbnail {
    width: 78px !important;
  }

  .ta-cart-page .woocommerce-cart-form td.product-thumbnail img {
    width: 72px !important;
    height: 92px !important;
  }

  .ta-cart-page .quantity.buttons_added {
    grid-template-columns: 34px 38px 34px;
  }

  .ta-checkout-page .woocommerce-billing-fields__field-wrapper,
  .ta-checkout-page .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ta-checkout-page .form-row-first,
  .ta-checkout-page .form-row-last,
  .ta-checkout-page .form-row-wide,
  .ta-checkout-page #billing_company_field,
  .ta-checkout-page #billing_country_field,
  .ta-checkout-page #billing_address_1_field,
  .ta-checkout-page #billing_address_2_field,
  .ta-checkout-page #billing_city_field,
  .ta-checkout-page #billing_state_field,
  .ta-checkout-page #billing_postcode_field,
  .ta-checkout-page #billing_phone_field,
  .ta-checkout-page #billing_email_field {
    grid-column: auto;
  }

  .ta-checkout-page .woocommerce-billing-fields > h3,
  .ta-checkout-page .woocommerce-shipping-fields > h3,
  .ta-checkout-page .woocommerce-additional-fields > h3,
  .ta-checkout-page #order_review_heading {
    font-size: 19px;
  }

  .ta-checkout-step {
    padding: 0 8px;
  }
}

@media (max-width: 480px) {
  .ta-commerce-heading h1 {
    font-size: 34px;
  }

  .ta-checkout-step strong {
    font-size: 8px;
  }

  .ta-cart-page .checkout_coupon .coupon {
    grid-template-columns: 1fr;
  }

  .ta-cart-page .checkout_coupon input[type="submit"] {
    width: 100%;
  }
}


/* ===== v2.9 — Checkout 3 trường: Họ tên / SĐT / Địa chỉ ===== */
.ta-checkout-page .woocommerce-billing-fields__field-wrapper {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.ta-checkout-page #billing_first_name_field,
.ta-checkout-page #billing_phone_field {
  grid-column: auto !important;
}

.ta-checkout-page #billing_address_1_field {
  grid-column: 1 / -1 !important;
}

.ta-checkout-page #billing_country_field,
.ta-checkout-page .woocommerce-shipping-fields,
.ta-checkout-page .woocommerce-additional-fields,
.ta-checkout-page #ship-to-different-address {
  display: none !important;
}

.ta-checkout-page #billing_address_1_field input.input-text {
  min-height: 56px !important;
}

.ta-checkout-page .woocommerce-billing-fields > h3 {
  margin-bottom: 22px;
}

.ta-checkout-page .woocommerce-billing-fields__field-wrapper::after {
  content: "Chỉ cần 3 thông tin để shop xác nhận và giao hàng.";
  grid-column: 1 / -1;
  display: block;
  margin-top: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff8df;
  color: #6a5a2b;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .ta-checkout-page .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
  .ta-checkout-page #billing_first_name_field,
  .ta-checkout-page #billing_phone_field,
  .ta-checkout-page #billing_address_1_field {
    grid-column: 1 !important;
  }
}

/* ==========================================================
   Flatsome Retail Child v3.0 — Unified checkout / thank you
   Popup + checkout share the same 3 customer fields and both
   finish on this single Order Received presentation.
   ========================================================== */

.ta-order-received-page .ta-commerce-body {
  padding-top: 48px;
  background: #f7f7f5;
}
.ta-order-received-page .ta-checkout-content {
  max-width: 1240px;
}
.ta-order-received-page .woocommerce {
  width: 100%;
}
.ta-order-received-page .woocommerce > .woocommerce-notice,
.ta-order-received-page .woocommerce > .woocommerce-thankyou-order-received,
.ta-order-received-page .woocommerce > .woocommerce-order-overview,
.ta-order-received-page .woocommerce > .woocommerce-order-details,
.ta-order-received-page .woocommerce > .woocommerce-customer-details {
  display: none !important;
}
.ta-thankyou-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
  gap: 28px;
  align-items: start;
}
.ta-thankyou-main,
.ta-thankyou-side {
  min-width: 0;
}
.ta-thankyou-side {
  position: sticky;
  top: 28px;
}
.ta-thankyou-success-card,
.ta-thankyou-card,
.ta-thankyou-meta {
  border: 1px solid #e7e4de;
  background: #fff;
  box-shadow: 0 12px 34px rgba(22, 25, 30, .045);
}
.ta-thankyou-success-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 30px;
  border-radius: 20px;
}
.ta-thankyou-status-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf8ee;
  color: #16753a;
  font-size: 25px;
  font-weight: 800;
}
.ta-thankyou-status-icon.is-failed {
  background: #fff0ef;
  color: #c62a25;
}
.ta-thankyou-kicker {
  margin: 0 0 8px !important;
  color: #8a8075;
  font-size: 10px !important;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ta-thankyou-success-card h2,
.ta-thankyou-card h3,
.ta-thankyou-shell h2 {
  margin: 0;
  color: #17191d;
  font-weight: 650;
  letter-spacing: -.035em;
}
.ta-thankyou-success-card h2 {
  font-size: clamp(28px, 3.3vw, 42px);
}
.ta-thankyou-success-card p:last-child {
  max-width: 680px;
  margin: 9px 0 0;
  color: #72767e;
  font-size: 14px;
  line-height: 1.7;
}
.ta-thankyou-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
}
.ta-thankyou-meta > div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid #ece9e4;
}
.ta-thankyou-meta > div:last-child { border-right: 0; }
.ta-thankyou-meta span,
.ta-thankyou-delivery dt {
  display: block;
  margin-bottom: 5px;
  color: #93969c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ta-thankyou-meta strong {
  display: block;
  overflow-wrap: anywhere;
  color: #202328;
  font-size: 13px;
}
.ta-thankyou-card {
  padding: 28px;
  border-radius: 20px;
}
.ta-thankyou-products {
  margin-top: 16px;
}
.ta-thankyou-card-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  padding-bottom: 20px;
  border-bottom: 1px solid #ece9e4;
}
.ta-thankyou-card-head h3,
.ta-thankyou-delivery h3,
.ta-thankyou-next h3 {
  font-size: 23px;
}
.ta-thankyou-card-head > span {
  color: #8a8e96;
  font-size: 12px;
}
.ta-thankyou-items {
  display: grid;
}
.ta-thankyou-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #efede9;
}
.ta-thankyou-item-image {
  position: relative;
}
.ta-thankyou-item-image img {
  width: 72px;
  height: 90px;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  background: #f0efec;
}
.ta-thankyou-item-image span {
  position: absolute;
  right: -7px;
  top: -7px;
  min-width: 23px;
  height: 23px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #17191d;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.ta-thankyou-item-copy strong {
  display: block;
  margin-bottom: 5px;
  color: #24272c;
  font-size: 14px;
}
.ta-thankyou-item-meta,
.ta-thankyou-item-meta p,
.ta-thankyou-item-meta .wc-item-meta {
  margin: 0;
  color: #8a8e96;
  font-size: 11px;
  line-height: 1.6;
}
.ta-thankyou-item-meta ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ta-thankyou-item-meta li {
  display: inline;
  margin-right: 8px;
}
.ta-thankyou-item-meta strong,
.ta-thankyou-item-meta .wc-item-meta-label {
  display: inline;
  margin: 0 3px 0 0;
  color: #6f737a;
  font-size: inherit;
  font-weight: 600;
}
.ta-thankyou-item-price {
  white-space: nowrap;
  color: #202328;
  font-size: 13px;
  font-weight: 750;
}
.ta-thankyou-totals {
  width: min(100%, 420px);
  margin: 18px 0 0 auto;
}
.ta-thankyou-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  color: #70747b;
  font-size: 12px;
}
.ta-thankyou-totals > div strong {
  color: #24272c;
  font-weight: 700;
  text-align: right;
}
.ta-thankyou-totals > div.is-total {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid #dedbd5;
  color: #17191d;
  font-size: 15px;
  font-weight: 800;
}
.ta-thankyou-totals > div.is-total strong {
  color: #17191d;
  font-size: 18px;
}
.ta-thankyou-delivery dl {
  margin: 20px 0 0;
}
.ta-thankyou-delivery dl > div {
  padding: 12px 0;
  border-bottom: 1px solid #efede9;
}
.ta-thankyou-delivery dl > div:last-child { border-bottom: 0; }
.ta-thankyou-delivery dd {
  margin: 0;
  color: #24272c;
  font-size: 13px;
  line-height: 1.55;
}
.ta-thankyou-next {
  margin-top: 16px;
}
.ta-thankyou-next ol {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.ta-thankyou-next li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid #efede9;
}
.ta-thankyou-next li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff4bf;
  color: #7b5b00;
  font-size: 9px;
  font-weight: 800;
}
.ta-thankyou-next li p { margin: 0; }
.ta-thankyou-next li strong {
  display: block;
  color: #25282d;
  font-size: 12px;
}
.ta-thankyou-next li small {
  display: block;
  margin-top: 3px;
  color: #898d94;
  font-size: 11px;
  line-height: 1.5;
}
.ta-thankyou-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.ta-thankyou-actions.is-stacked { flex-direction: column; }
.ta-thankyou-primary,
.ta-thankyou-secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid #17191d;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none !important;
  text-transform: uppercase;
}
.ta-thankyou-primary {
  border-color: #ffd445;
  background: #ffd445;
  color: #17191d !important;
}
.ta-thankyou-primary:hover { background: #ffca13; border-color: #ffca13; }
.ta-thankyou-secondary {
  background: #fff;
  color: #17191d !important;
}
.ta-thankyou-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 54px;
  border: 1px solid #e7e4de;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}
.ta-thankyou-shell .ta-thankyou-status-icon { margin: 0 auto 18px; }
.ta-thankyou-shell h2 { font-size: 36px; }
.ta-thankyou-shell > p:not(.ta-thankyou-kicker) { color: #757981; }
.ta-thankyou-shell .ta-thankyou-actions { justify-content: center; }
.ta-thankyou-shell > .ta-thankyou-primary { margin-top: 14px; }

/* Gateway instructions displayed below the custom summary. */
.ta-order-received-page .woocommerce > .wc-bacs-bank-details,
.ta-order-received-page .woocommerce > section:not(.ta-thankyou-main):not(.ta-thankyou-side) {
  max-width: 1240px;
  margin: 26px auto 0;
  padding: 26px;
  border: 1px solid #e7e4de;
  border-radius: 18px;
  background: #fff;
}

@media (max-width: 999px) {
  .ta-thankyou-layout { grid-template-columns: 1fr; }
  .ta-thankyou-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .ta-thankyou-next { margin-top: 0; }
  .ta-thankyou-actions.is-stacked { grid-column: 1 / -1; }
}

@media (max-width: 749px) {
  .ta-order-received-page .ta-commerce-body { padding-top: 28px; }
  .ta-thankyou-success-card { padding: 22px 18px; border-radius: 16px; }
  .ta-thankyou-status-icon { flex-basis: 44px; width: 44px; height: 44px; font-size: 20px; }
  .ta-thankyou-success-card h2 { font-size: 30px; }
  .ta-thankyou-meta { grid-template-columns: 1fr 1fr; border-radius: 14px; }
  .ta-thankyou-meta > div { border-bottom: 1px solid #ece9e4; }
  .ta-thankyou-meta > div:nth-child(2n) { border-right: 0; }
  .ta-thankyou-meta > div:nth-last-child(-n+2) { border-bottom: 0; }
  .ta-thankyou-card { padding: 20px 18px; border-radius: 16px; }
  .ta-thankyou-card-head { align-items: start; }
  .ta-thankyou-item { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .ta-thankyou-item-image img { width: 64px; height: 82px; }
  .ta-thankyou-item-price { grid-column: 2; margin-top: -7px; }
  .ta-thankyou-totals { width: 100%; }
  .ta-thankyou-side { display: block; }
  .ta-thankyou-next { margin-top: 16px; }
  .ta-thankyou-shell { padding: 32px 20px; }
  .ta-thankyou-shell h2 { font-size: 30px; }
}

@media (max-width: 479px) {
  .ta-thankyou-meta { grid-template-columns: 1fr; }
  .ta-thankyou-meta > div,
  .ta-thankyou-meta > div:nth-child(2n),
  .ta-thankyou-meta > div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid #ece9e4; }
  .ta-thankyou-meta > div:last-child { border-bottom: 0; }
}
