/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Product loop images: force same size via center-crop. */
:root {
  --sohoze-loop-image-ratio: 3 / 4;
  --sohoze-single-image-ratio: 1 / 1;
}

.wd-products .wd-product.product-grid-item:not(.product-list-item):not(.wd-hover-small) .product-element-top {
  aspect-ratio: var(--sohoze-loop-image-ratio);
}

.wd-products .wd-product.product-grid-item:not(.product-list-item):not(.wd-hover-small) .product-element-top .wd-product-grid-slider,
.wd-products .wd-product.product-grid-item:not(.product-list-item):not(.wd-hover-small) .product-element-top .wd-product-grid-slide,
.wd-products .wd-product.product-grid-item:not(.product-list-item):not(.wd-hover-small) .product-element-top :is(.product-image-link, .hover-img),
.wd-products .wd-product.product-grid-item:not(.product-list-item):not(.wd-hover-small) .product-element-top :is(.product-image-link, .hover-img) picture,
.wd-products .wd-product.product-grid-item:not(.product-list-item):not(.wd-hover-small) .product-element-top :is(.product-image-link, .hover-img) img {
  width: 100%;
  height: 100%;
}

.wd-products .wd-product.product-grid-item:not(.product-list-item):not(.wd-hover-small) .product-element-top :is(.product-image-link, .hover-img) img {
  object-fit: cover;
  object-position: center;
}

/* Hide product image action icons (add to cart / search / wishlist / compare). */
.wd-products .wd-product .product-element-top .wd-buttons,
.wd-products .wd-product .product-element-top .wd-add-btn,
.wd-products .wd-product .product-element-top .wd-quick-view,
.wd-products .wd-product .product-element-top .wd-wishlist-btn,
.wd-products .wd-product .product-element-top .wd-compare-btn {
  display: none !important;
}

/* Add-cart icon button: no fill/hover fill, border + icon only. */
.wd-products .wd-product .pcs-actions-row .pcs-add-cart {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 1.5px solid #0455c0 !important;
  color: #0455c0 !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.wd-products .wd-product .pcs-actions-row .pcs-add-cart:hover,
.wd-products .wd-product .pcs-actions-row .pcs-add-cart:focus,
.wd-products .wd-product .pcs-actions-row .pcs-add-cart:active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: #0455c0 !important;
  color: #0455c0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Single product gallery: show all main images in same cropped size. */
.single-product .woocommerce-product-gallery .wd-gallery-images .wd-carousel-item:not(.wd-with-video) {
  aspect-ratio: var(--sohoze-single-image-ratio);
}

.single-product .woocommerce-product-gallery .wd-gallery-images .wd-carousel-item:not(.wd-with-video) :is(
  figure,
  .woocommerce-product-gallery__image,
  a,
  picture,
  img
) {
  width: 100%;
  height: 100%;
}

.single-product .woocommerce-product-gallery .wd-gallery-images .wd-carousel-item:not(.wd-with-video) img {
  object-fit: cover;
  object-position: center;
}

/* Shortcode Footer */
.sohoze-shortcode-footer {
  --sohoze-footer-bg: #1731cc;
  --sohoze-footer-text: #ffffff;
  --sohoze-footer-icon-border: #6f83f2;
  --sohoze-footer-top-bg: #d7def0;
  --sohoze-footer-top-color: #4e5b7a;
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 54px 18px 22px;
  border-radius: 0;
  background: var(--sohoze-footer-bg);
  color: var(--sohoze-footer-text);
  overflow: hidden;
}

.sohoze-shortcode-footer__inner {
  max-width: 1220px;
  margin: 0 auto;
}

.sohoze-shortcode-footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 28px 38px;
}

.sohoze-shortcode-footer__col {
  min-width: 0;
}

.sohoze-shortcode-footer__col--brand {
  max-width: 560px;
}

.sohoze-shortcode-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sohoze-footer-text);
  text-decoration: none;
}

.sohoze-shortcode-footer__brand-link:hover,
.sohoze-shortcode-footer__brand-link:focus {
  color: var(--sohoze-footer-text);
}

.sohoze-shortcode-footer__brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 120px;
  line-height: 0;
}

.sohoze-shortcode-footer__brand-logo-img {
  max-height: 34px;
  width: auto;
  height: auto;
  display: block;
}

.sohoze-shortcode-footer__brand-text {
  font-size: clamp(16px, 1.15vw, 22px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.sohoze-shortcode-footer__desc {
  margin: 18px 0 0;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.45;
}

.sohoze-shortcode-footer__title {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 10px;
  color: var(--sohoze-footer-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.sohoze-shortcode-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 66px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.sohoze-shortcode-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sohoze-shortcode-footer__list li + li {
  margin-top: 10px;
}

.sohoze-shortcode-footer__list a {
  color: rgba(255, 255, 255, 0.98);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
}

.sohoze-shortcode-footer__list a:hover,
.sohoze-shortcode-footer__list a:focus {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sohoze-shortcode-footer__social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.sohoze-shortcode-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--sohoze-footer-text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.sohoze-shortcode-footer__social a svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sohoze-shortcode-footer__social a:hover,
.sohoze-shortcode-footer__social a:focus {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.sohoze-shortcode-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.sohoze-shortcode-footer__copy,
.sohoze-shortcode-footer__credit a {
  color: rgba(255, 255, 255, 0.98);
}

.sohoze-shortcode-footer__copy {
  font-size: 13px;
}

.sohoze-shortcode-footer__credit {
  font-size: 14px;
  font-weight: 600;
}

.sohoze-shortcode-footer__credit a {
  text-decoration: none;
}

.sohoze-shortcode-footer__credit a:hover,
.sohoze-shortcode-footer__credit a:focus {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sohoze-shortcode-footer__scroll-top {
  position: absolute;
  right: 16px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--sohoze-footer-top-bg);
  color: var(--sohoze-footer-top-color);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(2, 6, 23, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.sohoze-shortcode-footer__scroll-top svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sohoze-shortcode-footer__scroll-top:hover,
.sohoze-shortcode-footer__scroll-top:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.22);
}

@media (max-width: 991px) {
  .sohoze-shortcode-footer {
    padding: 34px 14px 20px;
  }

  .sohoze-shortcode-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .sohoze-shortcode-footer__col--brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .sohoze-shortcode-footer__title {
    font-size: 15px;
  }

  .sohoze-shortcode-footer__list a {
    font-size: 12px;
  }

  .sohoze-shortcode-footer__bottom {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }

  .sohoze-shortcode-footer__credit {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .sohoze-shortcode-footer {
    padding: 26px 10px 18px;
  }

  .sohoze-shortcode-footer__top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sohoze-shortcode-footer__brand-text {
    font-size: clamp(14px, 6vw, 19px);
  }

  .sohoze-shortcode-footer__desc {
    font-size: 12px;
  }

  .sohoze-shortcode-footer__title {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .sohoze-shortcode-footer__list li + li {
    margin-top: 8px;
  }

  .sohoze-shortcode-footer__list a {
    font-size: 11px;
  }

  .sohoze-shortcode-footer__copy {
    font-size: 12px;
  }

  .sohoze-shortcode-footer__credit {
    font-size: 12px;
  }

  .sohoze-shortcode-footer__scroll-top {
    right: 12px;
    bottom: 66px;
    width: 38px;
    height: 38px;
  }
}

/* Order Track Shortcode */
.sohoze-order-track {
  --sohoze-track-primary: #1532c8;
  --sohoze-track-primary-2: #0f2dbf;
  --sohoze-track-muted: #6b7280;
  --sohoze-track-border: #cfd4e3;
  --sohoze-track-soft: #e8ecff;
  --sohoze-track-bg: #f5f6fb;
  max-width: 1180px;
  margin: 18px auto 42px;
  color: #262b35;
}

.sohoze-order-track__header {
  margin-bottom: 18px;
  padding: 10px 14px 0;
  text-align: center;
}

.sohoze-order-track__title {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #20232b;
}

.sohoze-order-track__crumbs {
  margin-top: 12px;
  font-size: clamp(13px, 1.2vw, 17px);
  color: #2f3643;
}

.sohoze-order-track__crumbs a {
  color: var(--sohoze-track-primary);
  text-decoration: none;
}

.sohoze-order-track__crumbs span {
  margin: 0 8px;
  color: #737b8e;
}

.sohoze-order-track__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--sohoze-track-border);
  border-radius: 18px;
  background: #f7f8fd;
}

.sohoze-order-track__field-wrap {
  display: flex;
  align-items: center;
  min-height: 56px;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--sohoze-track-border);
  border-radius: 14px;
  background: #fff;
}

.sohoze-order-track__field-icon {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}

.sohoze-order-track__field {
  width: 100%;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #2a3342;
  font-size: 16px !important;
  line-height: 1.1;
  padding: 0 !important;
}

.sohoze-order-track__field::placeholder {
  color: #838a99;
}

.sohoze-order-track__submit {
  border: 0;
  border-radius: 14px;
  min-height: 56px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(180deg, var(--sohoze-track-primary), var(--sohoze-track-primary-2));
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.sohoze-order-track__submit:hover,
.sohoze-order-track__submit:focus {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.sohoze-order-track__notice {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #f1b0b7;
  background: #fff1f3;
  color: #8a2031;
  font-size: 14px;
  font-weight: 600;
}

.sohoze-order-track__result {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--sohoze-track-border);
  border-radius: 20px;
  background: #fff;
}

.sohoze-order-track__status {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px 20px;
  border: 1px solid #aab9ff;
  border-radius: 16px;
  background: #eef1ff;
}

.sohoze-order-track__status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sohoze-track-primary);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(21, 50, 200, 0.2);
}

.sohoze-order-track__status-text h3 {
  margin: 0 0 5px;
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.05;
  color: var(--sohoze-track-primary);
  font-weight: 700;
}

.sohoze-order-track__status-text p {
  margin: 0;
  color: #1138cb;
  font-size: clamp(14px, 1vw, 20px);
}

.sohoze-order-track__grid {
  display: grid;
  gap: 14px;
}

.sohoze-order-track__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.sohoze-order-track__card {
  border: 1px solid var(--sohoze-track-border);
  border-radius: 14px;
  background: #fff;
  padding: 18px 20px;
}

.sohoze-order-track__card--plain {
  background: #fafbff;
}

.sohoze-order-track__meta-label {
  margin-bottom: 6px;
  color: #7a8292;
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.1;
}

.sohoze-order-track__meta-value {
  font-size: clamp(15px, 1.05vw, 20px);
  line-height: 1.35;
  color: #2e3442;
  font-weight: 600;
}

.sohoze-order-track__card h4 {
  margin: 0 0 12px;
  font-size: clamp(18px, 1.3vw, 28px);
  line-height: 1.1;
  font-weight: 700;
  color: #202633;
}

.sohoze-order-track__card p {
  margin: 0 0 7px;
  font-size: clamp(14px, 0.98vw, 17px);
  color: #3c4250;
  line-height: 1.3;
}

.sohoze-order-track__card p.is-strong {
  font-weight: 700;
  color: #232933;
}

.sohoze-order-track__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  font-size: clamp(14px, 0.95vw, 17px);
  border-bottom: 1px solid #edf0f8;
}

.sohoze-order-track__row:last-child {
  border-bottom: 0;
}

.sohoze-order-track__row span {
  color: #3b414d;
}

.sohoze-order-track__row strong {
  color: #2b3039;
  text-align: right;
  font-weight: 700;
}

.sohoze-order-track__amount .woocommerce-Price-amount {
  color: var(--sohoze-track-primary);
}

.sohoze-order-track__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 96px;
  padding: 0 14px;
  border-radius: 999px;
  background: #dfe5ff;
  color: var(--sohoze-track-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.sohoze-order-track__items {
  margin-top: 6px;
  padding: 0;
  overflow: hidden;
}

.sohoze-order-track__items h4 {
  margin: 0;
  padding: 16px 20px;
  border-bottom: 1px solid var(--sohoze-track-border);
  background: #fbfcff;
}

.sohoze-order-track__items-list {
  padding: 2px 0;
}

.sohoze-order-track__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}

.sohoze-order-track__item + .sohoze-order-track__item {
  border-top: 1px solid #edf0f8;
}

.sohoze-order-track__item-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.sohoze-order-track__item-thumb {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e6e9f2;
}

.sohoze-order-track__item-meta {
  min-width: 0;
}

.sohoze-order-track__item-name {
  color: #252d39;
  font-size: clamp(14px, 0.95vw, 17px);
  line-height: 1.25;
}

.sohoze-order-track__item-name a {
  color: inherit;
  text-decoration: none;
}

.sohoze-order-track__item-name a:hover,
.sohoze-order-track__item-name a:focus {
  color: var(--sohoze-track-primary);
}

.sohoze-order-track__item-qty {
  margin-top: 5px;
  color: #7a8393;
  font-size: clamp(12px, 0.8vw, 14px);
}

.sohoze-order-track__item-price {
  flex: 0 0 auto;
  color: var(--sohoze-track-primary);
  font-size: clamp(16px, 1vw, 20px);
  font-weight: 700;
  text-align: right;
}

.sohoze-order-track__item-price .woocommerce-Price-amount {
  color: inherit;
}

@media (max-width: 991px) {
  .sohoze-order-track {
    margin: 16px auto 28px;
  }

  .sohoze-order-track__header {
    margin-bottom: 14px;
    padding: 6px 8px 0;
  }

  .sohoze-order-track__form {
    grid-template-columns: 1fr;
  }

  .sohoze-order-track__field-wrap {
    min-height: 54px;
    padding: 0 13px;
  }

  .sohoze-order-track__field-icon {
    font-size: 22px;
  }

  .sohoze-order-track__field {
    font-size: 15px !important;
  }

  .sohoze-order-track__submit {
    min-height: 52px;
    font-size: 15px;
  }

  .sohoze-order-track__result {
    padding: 14px;
    border-radius: 14px;
  }

  .sohoze-order-track__status {
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 14px;
  }

  .sohoze-order-track__status-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  .sohoze-order-track__grid--two {
    grid-template-columns: 1fr;
    margin-bottom: 10px;
  }

  .sohoze-order-track__card {
    padding: 14px;
  }

  .sohoze-order-track__items h4 {
    padding: 12px 14px;
  }

  .sohoze-order-track__item {
    padding: 12px 14px;
  }

  .sohoze-order-track__item-thumb {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 575px) {
  .sohoze-order-track__title {
    font-size: clamp(24px, 9vw, 32px);
  }

  .sohoze-order-track__crumbs {
    font-size: 16px;
  }

  .sohoze-order-track__status {
    align-items: flex-start;
    gap: 12px;
  }

  .sohoze-order-track__item {
    align-items: flex-start;
  }

  .sohoze-order-track__item-price {
    font-size: 15px;
  }
}

/* Hide default Woodmart footer when custom auto-inject replace is enabled. */
body.sohoze-footer-replace-theme .wd-prefooter,
body.sohoze-footer-replace-theme .wd-footer,
body.sohoze-footer-replace-theme .wd-copyrights,
body.sohoze-footer-replace-theme .footer-container,
body.sohoze-footer-replace-theme .main-footer,
body.sohoze-footer-replace-theme .copyrights-wrapper {
  display: none !important;
}

/* Global floating call button */
.sohoze-call-fab {
  position: fixed;
  right: 14px;
  bottom: 92px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 34px;
  padding: 0 36px 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4f8ff, #e8f0ff);
  border: 1px solid #b8ccff;
  box-shadow: 0 6px 16px rgba(22, 78, 201, 0.18);
  color: #0d47c7;
  text-decoration: none;
  line-height: 1;
}

.sohoze-call-fab:hover,
.sohoze-call-fab:focus {
  color: #0d47c7;
  text-decoration: none;
  transform: translateY(-1px);
}

.sohoze-call-fab__text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.sohoze-call-fab__icon {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2f79ff, #1357d8);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(19, 87, 216, 0.38);
}

.sohoze-call-fab__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

@media (max-width: 991px) {
  .sohoze-call-fab {
    right: 10px;
    bottom: 108px;
    min-height: 32px;
    padding: 0 34px 0 11px;
  }

  .sohoze-call-fab__text {
    font-size: 14px;
  }

  .sohoze-call-fab__icon {
    width: 38px;
    height: 38px;
    right: -5px;
  }

  .sohoze-call-fab__icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 767px) {
  .sohoze-call-fab {
    bottom: 128px;
  }
}

/* Modern WooCommerce Thank You Page */
body.woocommerce-order-received {
  --wd-main-bgcolor: #fff;
  background: #fff !important;
}

body.woocommerce-order-received .website-wrapper,
body.woocommerce-order-received .main-page-wrapper,
body.woocommerce-order-received .wd-page-wrapper,
body.woocommerce-order-received .wd-page-content,
body.woocommerce-order-received .wd-content-layout {
  background: #fff !important;
}

body.woocommerce-order-received #content,
body.woocommerce-order-received .site-content {
  background: transparent !important;
}

body.woocommerce-order-received .wd-checkout-steps,
body.woocommerce-order-received .woocommerce-breadcrumb {
  display: none !important;
}

body.woocommerce-order-received .woocommerce-order {
  max-width: 1080px;
  margin: 18px auto 36px;
  padding: 14px;
  border: 1px solid #e2e8f5;
  border-radius: 16px;
  background: #f4f7fc;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid #d8e4ff;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4ff 100%);
  color: #1548c9;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received:before {
  content: "\2713";
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1d4ed8;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-thankyou-order-details.order_details {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.woocommerce-order-received .woocommerce-order-overview li,
body.woocommerce-order-received .woocommerce-thankyou-order-details.order_details li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #dfe5f3;
  border-radius: 12px;
  background: #fff;
  color: #596274;
  font-size: 13px;
  line-height: 1.35;
}

body.woocommerce-order-received .woocommerce-order-overview li strong,
body.woocommerce-order-received .woocommerce-thankyou-order-details.order_details li strong,
body.woocommerce-order-received .woocommerce-order-overview li .amount,
body.woocommerce-order-received .woocommerce-thankyou-order-details.order_details li .amount {
  display: block;
  margin-top: 6px;
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-order-downloads {
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid #dfe5f3;
  border-radius: 14px;
  background: #fff;
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title,
body.woocommerce-order-received .woocommerce-order-downloads__title,
body.woocommerce-order-received .wc-bacs-bank-details-heading {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

body.woocommerce-order-received .shop_table,
body.woocommerce-order-received .woocommerce-table {
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: #fff;
}

body.woocommerce-order-received .shop_table :is(th, td),
body.woocommerce-order-received .woocommerce-table :is(th, td) {
  padding: 12px 10px;
  border-color: #e8edf8;
  font-size: 14px;
}

body.woocommerce-order-received .shop_table th,
body.woocommerce-order-received .woocommerce-table th {
  color: #475569;
  font-weight: 600;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.woocommerce-order-received .woocommerce-customer-details address {
  margin: 0;
  padding: 12px;
  border: 1px solid #e6ebf6;
  border-radius: 10px;
  background: #fafcff;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

body.woocommerce-order-received .woocommerce-thankyou-order-failed-actions {
  margin-top: 14px;
}

body.woocommerce-order-received .woocommerce-thankyou-order-failed-actions .button {
  border-radius: 10px;
  min-height: 42px;
}

@media (max-width: 991px) {
  body.woocommerce-order-received .woocommerce-order {
    margin: 14px auto 26px;
    padding: 10px;
    border-radius: 12px;
  }

  body.woocommerce-order-received .woocommerce-thankyou-order-received {
    padding: 14px;
    font-size: 16px;
    justify-content: flex-start;
  }

  body.woocommerce-order-received .woocommerce-thankyou-order-received:before {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 14px;
  }

  body.woocommerce-order-received .woocommerce-order-overview,
  body.woocommerce-order-received .woocommerce-thankyou-order-details.order_details {
    grid-template-columns: 1fr;
  }

  body.woocommerce-order-received .woocommerce-order-details__title,
  body.woocommerce-order-received .woocommerce-column__title,
  body.woocommerce-order-received .woocommerce-order-downloads__title,
  body.woocommerce-order-received .wc-bacs-bank-details-heading {
    font-size: 18px;
  }

  body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns {
    grid-template-columns: 1fr;
  }
}
