/*--Custom CSS--*/

@font-face {
  font-family: "bootstrap-icons";
  src: url("../webfonts/bootstrap-icons.woff2") format("woff2"),
       url("../webfonts/bootstrap-icons.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 7 Free";
  src: url("../webfonts/fa-solid-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* CF7 messages inside home contact form */
.custom-form-holder .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #ffd8d8;
}

.custom-form-holder .wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.custom-form-holder .wpcf7 form.invalid .wpcf7-response-output,
.custom-form-holder .wpcf7 form.unaccepted .wpcf7-response-output,
.custom-form-holder .wpcf7 form.spam .wpcf7-response-output {
  border: 1px solid #ffb3b3;
  background: rgba(255, 255, 255, 0.12);
  color: #ffe8e8;
}

.custom-form-holder .wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #9de2b4;
  background: rgba(255, 255, 255, 0.16);
  color: #dff8e8;
}

/* —— 404 page (no banner) —— */
/* Header #pageHeaderWrapper is position:fixed — push main below it (same as .margin-container in main.css). */
body.error404 .main-content-wrapper {
  margin-top: 122px;
}
@media screen and (max-width: 1599.98px) {
  body.error404 .main-content-wrapper {
    margin-top: 100px;
  }
}
@media screen and (max-width: 1199.98px) {
  body.error404 .main-content-wrapper {
    margin-top: 82px;
  }
}

.ostomy-404-section {
  background: #f2f9fd;
}

.ostomy-404-wrap {
  /* Inner spacing only; header offset is on .main-content-wrapper above */
  padding-top: clamp(40px, 8vw, 88px);
  padding-bottom: 110px;
}

.ostomy-404-inner {
  max-width: 640px;
}

.ostomy-404-code {
  margin: 0 0 8px;
  font-family: "Urbanist", "Outfit", system-ui, sans-serif;
  font-size: clamp(72px, 14vw, 120px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #b8d4e8;
  user-select: none;
}

.ostomy-404-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #4a5a68;
}

.ostomy-404-search {
  max-width: 480px;
}

.ostomy-404-search .search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
}

.ostomy-404-search .search-form label {
  flex: 1 1 220px;
  margin: 0;
  min-width: 0;
}

.ostomy-404-search .search-form .search-field,
.ostomy-404-search .search-form input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid #c5d4e0;
  border-radius: 999px;
  font-size: 15px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ostomy-404-search .search-form .search-field:focus,
.ostomy-404-search .search-form input[type="search"]:focus {
  border-color: #022543;
  box-shadow: 0 0 0 3px rgba(2, 37, 67, 0.08);
}

.ostomy-404-search .search-form .search-submit,
.ostomy-404-search .search-form input[type="submit"] {
  min-height: 52px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: #022543;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.ostomy-404-search .search-form .search-submit:hover,
.ostomy-404-search .search-form input[type="submit"]:hover {
  background: #04365f;
}

.ostomy-404-actions {
  gap: 12px;
}

@media (max-width: 575.98px) {
  .ostomy-404-search .search-form {
    flex-direction: column;
  }

  .ostomy-404-search .search-form .search-submit,
  .ostomy-404-search .search-form input[type="submit"] {
    width: 100%;
  }
}

/* —— Search results page —— */
.ostomy-search-section {
  background: #fff;
}

.ostomy-search-page-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.ostomy-search-page-form__row .form-control {
  flex: 1 1 240px;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid #c5d4e0;
  border-radius: 999px;
  font-size: 15px;
}

.ostomy-search-page-form__row .form-control:focus {
  border-color: #022543;
  box-shadow: 0 0 0 3px rgba(2, 37, 67, 0.08);
  outline: none;
}

.ostomy-search-count {
  font-weight: 600;
  color: #022543;
}

.ostomy-search-results__item {
  padding: 28px 0;
  border-bottom: 1px solid #e5edf3;
}

.ostomy-search-results__item:last-child {
  border-bottom: none;
}

.ostomy-search-results__article .pageTitle a {
  color: inherit;
  text-decoration: none;
}

.ostomy-search-results__article .pageTitle a:hover {
  color: #022543;
}

.ostomy-search-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.ostomy-search-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #c5d4e0;
  color: #022543;
  text-decoration: none;
  font-weight: 600;
}

.ostomy-search-pagination .page-numbers.current,
.ostomy-search-pagination .page-numbers:hover {
  background: #022543;
  border-color: #022543;
  color: #fff;
}

@media (max-width: 575.98px) {
  .ostomy-search-page-form__row .custom-button {
    width: 100%;
    justify-content: center;
  }
}

/* WooCommerce — nút hiện/ẩn mật khẩu trong ô input (main.css đặt top cố định làm lệch so với Woo) */
.woocommerce form .password-input,
.woocommerce-page form .password-input {
  position: relative !important;
  display: block !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.woocommerce form .password-input input.input-text,
.woocommerce-page form .password-input input.input-text {
  box-sizing: border-box;
  width: 100% !important;
  padding-right: 3rem !important;
}

.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
  position: absolute !important;
  right: 0.75rem !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  z-index: 2;
}

@media screen and (max-width: 1599.98px) {
  .woocommerce form .show-password-input,
  .woocommerce-page form .show-password-input {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}
@media screen and (max-width: 767.98px) {
  .woocommerce form .show-password-input,
  .woocommerce-page form .show-password-input {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}
@media screen and (max-width: 575.98px) {
  .woocommerce form .show-password-input,
  .woocommerce-page form .show-password-input {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}

/* WooCommerce Cart block — ẩn gợi ý "New in store" + lưới sản phẩm khi giỏ trống (chỉ trong khối empty cart) */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-separator,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2.wp-block-heading:not(.wc-block-cart__empty-cart__title),
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block [data-block-name="woocommerce/product-new"],
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid {
  display: none !important;
}

/* WooCommerce — ẩn link "View cart" inline (đã dùng modal #ostomyAddedToCartModal) */
.added_to_cart.wc-forward {
  display: none !important;
}

/* —— Add to cart success modal (modern card) —— */
.modal-backdrop.show {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.ostomy-atc-modal__dialog {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.ostomy-atc-modal__shell {
  position: relative;
  background: transparent;
  padding: 0;
}

.ostomy-atc-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.ostomy-atc-modal__close:hover {
  color: #0f172a;
  background: #fff;
  transform: scale(1.05);
}

.ostomy-atc-modal__card {
  position: relative;
  margin-top: 8px;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.06),
    0 24px 48px -12px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
}

.ostomy-atc-modal__icon-wrap {
  margin-bottom: 1.25rem;
}

.ostomy-atc-modal__icon-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

.ostomy-atc-modal__check {
  display: block;
}

.ostomy-atc-modal__title {
  font-family: inherit;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #022543;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.ostomy-atc-modal__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 1.75rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.ostomy-atc-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.ostomy-atc-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ostomy-atc-modal__btn--primary {
  background: linear-gradient(180deg, #0066b3 0%, #005ba9 100%);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(0, 91, 169, 0.35);
}

.ostomy-atc-modal__btn--primary:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 91, 169, 0.4);
}

.ostomy-atc-modal__btn--ghost {
  background: #fff;
  color: #334155 !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ostomy-atc-modal__btn--ghost:hover {
  background: #f1f5f9;
  color: #0f172a !important;
  border-color: #cbd5e1;
}

@media (max-width: 575.98px) {
  .ostomy-atc-modal__card {
    padding: 1.75rem 1.25rem 1.5rem;
    border-radius: 16px;
  }

  .ostomy-atc-modal__actions {
    flex-direction: column;
    width: 100%;
  }

  .ostomy-atc-modal__btn {
    width: 100%;
  }
}

/* Fly-to-cart: particle + icon bump */
.ostomy-fly-to-cart-flyer {
  contain: layout style paint;
}

.ostomy-header-cart-link.ostomy-cart-bump {
  animation: ostomy-cart-bump 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes ostomy-cart-bump {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

/* Shop & Donate — payment method (replaces paymentMethod-mode.png) */
.donation-payment-panel {
  background: #f0f7fa;
  border-radius: 20px;
  padding: 1.25rem 1.25rem 1.5rem;
}

.donation-payment-divider {
  border: 0;
  border-top: 1px solid #dbe4ea;
  margin: 0 0 1rem;
}

.donation-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.donation-payment-tile {
  display: block;
  margin: 0;
  cursor: pointer;
}

.donation-payment-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.donation-payment-tile__body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 0.75rem;
  min-height: 3.35rem;
  padding: 1.1rem 1.875rem;
  border-radius: 999px;
  background: #F7F7F7;
  border: 1px solid #E2E2E2;
  color: #002b49;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  text-align: left;
  font-family: "Outfit", sans-serif;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.donation-payment-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
}

.donation-payment-tile__label {
  display: block;
  flex: 1;
  min-width: 0;
}

.donation-payment-input:focus-visible + .donation-payment-tile__body {
  outline: 2px solid #0066b3;
  outline-offset: 2px;
}

.donation-payment-tile:hover .donation-payment-input:not(:checked) + .donation-payment-tile__body {
  border-color: #b8c9d6;
}

.donation-payment-input:checked + .donation-payment-tile__body {
  background: #EE2850;
  border-color: #EE2850;
  color: #fff;
}

.donation-payment-input:checked + .donation-payment-tile__body .donation-payment-tile__icon svg path {
  stroke-color: #ffffff;
  stroke: #ffffff;
}

.donation-payment-input:checked + .donation-payment-tile__body .donation-payment-tile__icon img {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(355deg) brightness(106%) contrast(1000%);
}

.donation-payment-followup {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #d0dce4;
}

.donation-payment-followup__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #002b49;
}

.donation-payment-followup__field {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.donation-payment-followup__field label {
  font-weight: 600;
  color: #002b49;
  margin-bottom: 0.35rem;
}

#ostomy-donation-submit.is-loading {
  cursor: wait;
  opacity: 0.92;
}

/* Header — nút Contact Us (hide-xl) khi đang ở trang Contact */
.top-right .custom-button.ostomy-header-contact--active {
  background: #ee2850;
  border-color: #ee2850;
  color: #fff !important;
}
.top-right .custom-button.ostomy-header-contact--active.has-icon::after {
  background-color: #a90022;
}
.top-right .custom-button.ostomy-header-contact--active:hover {
  background: #ee2850;
  border-color: #ee2850;
  color: #fff !important;
}

/* CF7: only show validation after user submits form */
.custom-form-holder .wpcf7 form:not(.ostomy-cf7-attempted) .wpcf7-not-valid-tip,
.custom-form-holder .wpcf7 form:not(.ostomy-cf7-attempted) .wpcf7-response-output {
  display: none !important;
}

/* CF7 form_inv: map CF7 list markup to template radio/checkbox layout */
.custom-form-holder .wpcf7 .wpcf7-form-control.radio-holder,
.custom-form-holder .wpcf7 .wpcf7-form-control.checkbox-holder {
  margin: -15px -15px;
  display: flex;
  flex-wrap: wrap;
}

.custom-form-holder .wpcf7 .wpcf7-form-control.radio-holder .wpcf7-list-item,
.custom-form-holder .wpcf7 .wpcf7-form-control.checkbox-holder .wpcf7-list-item {
  margin: 0;
  display: block;
  padding: 15px;
}

.custom-form-holder .wpcf7 .wpcf7-form-control.col4-grid .wpcf7-list-item {
  width: 25%;
}

.custom-form-holder .wpcf7 .wpcf7-form-control.col5-grid .wpcf7-list-item {
  width: 20%;
}

@media screen and (max-width: 991.98px) {
  .custom-form-holder .wpcf7 .wpcf7-form-control.radio-holder,
  .custom-form-holder .wpcf7 .wpcf7-form-control.checkbox-holder {
    margin: -10px -10px;
  }
  .custom-form-holder .wpcf7 .wpcf7-form-control.radio-holder .wpcf7-list-item,
  .custom-form-holder .wpcf7 .wpcf7-form-control.checkbox-holder .wpcf7-list-item {
    width: 50%;
    padding: 10px;
  }
}

@media screen and (max-width: 413.98px) {
  .custom-form-holder .wpcf7 .wpcf7-form-control.radio-holder .wpcf7-list-item,
  .custom-form-holder .wpcf7 .wpcf7-form-control.checkbox-holder .wpcf7-list-item {
    width: 100%;
  }
}

/* Get Involved CF7: improve validation readability on light background */
.getInvolvedSection2 .custom-form-holder .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #c62828;
  font-weight: 500;
}

.getInvolvedSection2 .custom-form-holder .wpcf7 form .wpcf7-response-output {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.getInvolvedSection2 .custom-form-holder .wpcf7 form.invalid .wpcf7-response-output,
.getInvolvedSection2 .custom-form-holder .wpcf7 form.unaccepted .wpcf7-response-output,
.getInvolvedSection2 .custom-form-holder .wpcf7 form.spam .wpcf7-response-output {
  border: 1px solid #f5c2c7;
  background: #fff5f5;
  color: #9f1239;
}

.getInvolvedSection2 .custom-form-holder .wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #b7ebc6;
  background: #f3fff7;
  color: #166534;
}

.getInvolvedSection2 .custom-form-holder input.wpcf7-not-valid,
.getInvolvedSection2 .custom-form-holder select.wpcf7-not-valid,
.getInvolvedSection2 .custom-form-holder textarea.wpcf7-not-valid {
  border-color: #d94b57 !important;
  box-shadow: 0 0 0 1px rgba(217, 75, 87, 0.15);
}

/* Donation form inline errors (below each invalid field) */
.shopSection2 .donation-wrapper .ostomy-inline-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #c62828;
}

/* Woo single product: 2-column row (matches html/product-detail.html) */
.single-product .woocommerce div.product.product-details {
  display: block;
}

.single-product .product-details > .row > .ostomy-product-gallery-col div.images,
.single-product .product-details > .row > .ostomy-product-gallery-col .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 100%;
  float: none !important;
  margin: 0 !important;
}

.single-product .product-details > .row > .ostomy-product-summary-col .summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.single-product .woocommerce div.product div.images img {
  border-radius: 16px;
}

/* Related / upsells: separate band like shopSection3 */
.single-product .productDetailSection section.related.products,
.single-product .productDetailSection section.upsells.products {
  margin-top: 48px;
  padding-top: 48px;
  padding-left: 0;
  padding-right: 0;
  background: #ffffff;
  border-radius: 0;
}

.single-product .productDetailSection section.related.products > h2,
.single-product .productDetailSection section.upsells.products > h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.single-product .woocommerce div.product .summary .price {
  font-size: 32px;
  font-weight: 700;
  color: #005ba9;
}

/* Single product: quantity + Add to cart (aligned with html/product-detail.html) */
.single-product .product-actionbox {
  padding-bottom: 0;
  margin-top: 0;
}

.single-product form.cart.product-detail-cart .product-detail-cart__row,
.single-product .woocommerce-variation-add-to-cart .product-detail-cart__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.single-product form.cart.product-detail-cart,
.single-product .woocommerce-variation-add-to-cart {
  margin: 0 !important;
}

.single-product .product-detail-cart__row .add-qty {
  height: 51px;
  border-radius: 50px;
  padding: 0 18px;
  width: auto;
  min-width: 186px;
  border-color: #d6d6d6;
  background: #ffffff;
}

@media screen and (max-width: 1599.98px) {
  .single-product .product-detail-cart__row .add-qty {
    height: 45px;
    min-width: 165px;
    padding: 0 14px;
  }
}

.single-product .product-detail-cart__row .add-qty .qty-btn {
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.single-product .product-detail-addtocart {
  gap: 12px;
  padding-left: 24px;
  padding-right: 28px;
  border-radius: 50px !important;
}

.single-product .product-detail-addtocart i.fa-solid {
  max-height: none;
  font-size: 18px;
  line-height: 1;
}

@media screen and (max-width: 1599.98px) {
  .single-product .product-detail-addtocart i.fa-solid {
    font-size: 16px;
  }
}

.single-product .product-detail-addtocart:hover i.fa-solid {
  filter: none;
}

@media screen and (max-width: 575.98px) {
  .single-product .product-detail-cart__row {
    flex-direction: column;
    align-items: stretch;
  }

  .single-product .product-detail-cart__row .add-qty {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
  }

  .single-product .product-detail-addtocart {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 991.98px) {
  .single-product .product-details > .row > .ostomy-product-gallery-col,
  .single-product .product-details > .row > .ostomy-product-summary-col {
    width: 100%;
  }

  .single-product .product-details > .row > .ostomy-product-summary-col {
    margin-top: 1.25rem;
  }
}

/* Single product page title + custom related-products grid */
.single-product .product-details .pageTitle.sm h2.page-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.single-product .product-details .summary .product_title {
  margin-bottom: 20px;
}

.single-product .product-details .summary .woocommerce-product-details__short-description {
  margin-bottom: 18px;
}

.single-product .product-details .product-intro {
  margin-top: 42px;
}

.single-product .shopSection3 .related.products {
  margin: 0;
}

.single-product .shopSection3 .related.products > h2 {
  text-align: center;
  margin-bottom: 40px;
}

.single-product .shopSection3 .related.products ul.products {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
}

.single-product .shopSection3 .related.products ul.products::before,
.single-product .shopSection3 .related.products ul.products::after {
  display: none;
}

.single-product .shopSection3 .related.products ul.products li.product {
  float: none;
  margin: 0;
  padding: 0 7.5px;
  width: 25%;
}

.single-product .shopSection3 .related.products ul.products li.product .button.added_to_cart {
  display: none;
}

.single-product .shopSection3 .related.products .ostomy-product-card-meta {
  position: relative;
}

.single-product .shopSection3 .related.products .ostomy-product-card-info {
  min-width: 0;
  padding-right: 74px;
}

.single-product .shopSection3 .related.products .ostomy-product-card-action {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.single-product .shopSection3 .related.products .ostomy-product-card-action .product-addtocart {
  margin-left: auto;
  margin-top: 0;
}

/* Fallback: if server still serves old row/col markup, keep icon pinned right */
.single-product .shopSection3 .related.products .productbox-content > .row.grid-10.gutters-10 {
  position: relative !important;
  display: block !important;
}

.single-product .shopSection3 .related.products .productbox-content > .row.grid-10.gutters-10 > .col {
  min-width: 0 !important;
  width: 100% !important;
  padding-right: 74px !important;
}

.single-product .shopSection3 .related.products .productbox-content > .row.grid-10.gutters-10 > .col-sm-auto {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: auto !important;
  margin-left: 0 !important;
}

.custom-form-holder span.wpcf7-list-item-label {
  font-weight: normal;
}

@media screen and (max-width: 991.98px) {
  .single-product .shopSection3 .related.products ul.products li.product {
    width: 50%;
  }
}

@media screen and (max-width: 575.98px) {
  .single-product .shopSection3 .related.products ul.products li.product {
    width: 100%;
  }
}