.bayan-product-wrap {
  max-width: 1140px;
  margin: 0 auto;
}

.bayan-card {
  border: 1px solid #E6DCCB;
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 14px rgba(52, 61, 53, 0.06);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.bayan-card-image-wrap {
  position: relative;
  background: #F4EFE6;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bayan-card-image-wrap img {
  width: 100%;
  object-fit: cover;
}

.bayan-card-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bayan-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 190px;
}

.bayan-related-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.bayan-card .card-title,
.bayan-section-title,
.bayan-archive-title,
.bayan-product-title {
  font-family: "Montserrat", sans-serif;
  color: #2A312B;
  font-weight: 700;
}

.bayan-product-title.h2 {
  font-size: 36px;
}

.bayan-card .card-text,
.bayan-muted,
.bayan-feature-text {
  color: #4a5565;
  font-family: "Montserrat", sans-serif;
}

.bayan-card:hover,
.bayan-card:focus-within {
  box-shadow: 0 10px 22px rgba(52, 61, 53, 0.12);
}

.bayan-btn-pill,
.bayan-tab-pill {
  border-radius: 999px;
  padding: 0.55rem 1.5rem;
  font-weight: 600;
}

.bayan-btn-pill {
  background: #343D35;
  border-color: #343D35;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bayan-btn-pill:hover,
.bayan-btn-pill:focus {
  background: #2A312B;
  border-color: #2A312B;
  box-shadow: 0 6px 14px rgba(52, 61, 53, 0.18);
}

.bayan-bg-soft {
  background: #F4EFE6;
}

.bayan-feature-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 2.5em;
  margin-bottom: 2.5em;
}

.bayan-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.bayan-feature-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.bayan-tab-nav .nav-link {
  border: 1px solid #343D35;
  color: #343D35;
  background: transparent;
  border-radius: 9999px !important;
  padding: 0.6rem 1.6rem;
}

.bayan-tab-nav .nav-link.active,
.bayan-tab-nav .show > .nav-link {
  background: #343D35;
  color: #fff;
}

.bayan-tab-nav .nav-link:hover {
  background: #343D35;
  color: #fff;
}

.bayan-product-price {
  color: #2A312B;
  font-size: 1.35rem;
  font-weight: 700;
}

.bayan-product-price.bayan-card-price {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0;
  min-width: 0;
}

.bayan-product-price.bayan-card-price .woocommerce-Price-amount,
.bayan-product-price.bayan-card-price bdi {
  color: inherit;
  font-weight: 700;
}

/**
 * "Starting at" prefix — visually de-emphasized so the price number remains the focal
 * point. Stacks above the price as its own block on a tight line-height so the gap to
 * the actual price stays minimal. Sized in `em` so it scales with whichever parent
 * price element renders it (PDP large price, card compact price, etc.).
 */
.bayan-product-price .bayan-price-prefix {
  display: block;
  font-size: 0.72em;
  font-weight: 400;
  color: #4a5565;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 0 0 0.1em 0;
  text-align: left;
}

.bayan-product-price .bayan-price-value {
  display: block;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
}

.bayan-product-price .bayan-price-suffix {
  font-size: 0.75em;
  font-weight: 400;
  color: #6b7280;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/**
 * Card action row: keeps the price and CTA on the same baseline at the bottom of every
 * card. `mt-auto` is applied from the PHP template (Bootstrap) so the row sticks to the
 * card floor regardless of description length, mirroring the previous CTA-only behavior.
 */
.bayan-card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  width: 100%;
  flex-wrap: wrap;
}

.bayan-card-action-row .bayan-btn-pill {
  flex: 0 0 auto;
  white-space: nowrap;
}

.bayan-card-action-row .bayan-card-price {
  flex: 1 1 auto;
  min-width: 0;
}

/**
 * Card CTA — dark pill, lime label. Interaction follows Apple-style restraint:
 * soft luminance shift, no lift/glow, eased opacity on label, press scales in.
 */
.bayan-card-action-row .bayan-btn-pill:not(.bayan-btn-pill--coming-soon) {
  --bs-btn-bg: #343D35;
  --bs-btn-border-color: #343D35;
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #2A312B;
  --bs-btn-hover-border-color: #2A312B;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #232923;
  --bs-btn-active-border-color: #232923;
  --bs-btn-active-color: #fff;
  --bayan-card-cta-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  background-color: #343D35;
  border: 1px solid transparent;
  color: #fff;
  box-shadow: none;
  transform: scale(1);
  transform-origin: center;
  transition:
    background-color 0.32s var(--bayan-card-cta-ease),
    border-color 0.32s var(--bayan-card-cta-ease),
    color 0.32s var(--bayan-card-cta-ease),
    box-shadow 0.32s var(--bayan-card-cta-ease),
    transform 0.2s var(--bayan-card-cta-ease),
    opacity 0.32s var(--bayan-card-cta-ease);
}

.bayan-card-action-row .bayan-btn-pill:not(.bayan-btn-pill--coming-soon):hover,
.bayan-card .bayan-card-link:hover .bayan-btn-pill:not(.bayan-btn-pill--coming-soon) {
  background-color: #2A312B;
  border-color: #2A312B;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transform: scale(1);
  opacity: 1;
}

.bayan-card-action-row .bayan-btn-pill:not(.bayan-btn-pill--coming-soon):active,
.bayan-card .bayan-card-link:active .bayan-btn-pill:not(.bayan-btn-pill--coming-soon) {
  background-color: #232923;
  border-color: #232923;
  color: #fff;
  box-shadow: none;
  transform: scale(0.98);
  transition-duration: 0.12s;
}

.bayan-card-action-row .bayan-btn-pill:not(.bayan-btn-pill--coming-soon):focus-visible,
.bayan-card .bayan-card-link:focus-visible .bayan-btn-pill:not(.bayan-btn-pill--coming-soon) {
  background-color: #2A312B;
  border-color: #2A312B;
  color: #fff;
  outline: none;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.18),
    0 0 0 3px rgba(166, 125, 86, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .bayan-card-action-row .bayan-btn-pill:not(.bayan-btn-pill--coming-soon),
  .bayan-card-action-row .bayan-btn-pill:not(.bayan-btn-pill--coming-soon):hover,
  .bayan-card-action-row .bayan-btn-pill:not(.bayan-btn-pill--coming-soon):active,
  .bayan-card .bayan-card-link:hover .bayan-btn-pill:not(.bayan-btn-pill--coming-soon),
  .bayan-card .bayan-card-link:active .bayan-btn-pill:not(.bayan-btn-pill--coming-soon) {
    transition-duration: 0.01ms;
    transform: none;
  }
}

/**
 * Mobile fallback: when the card column is narrow (phones), stack the price above a
 * full-width CTA so neither element gets squeezed below readable width. On md+ the
 * default flex row from .bayan-card-action-row takes over again.
 */
@media (max-width: 575.98px) {
  .bayan-card-action-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .bayan-card-action-row .bayan-card-price {
    text-align: left;
  }

  .bayan-card-action-row .bayan-btn-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.bayan-product-title {
  font-size: 36px;
  line-height: 44px;
}

.bayan-product-main-image-wrap {
  position: relative;
  background: #F4EFE6;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  min-height: 380px;
}

.bayan-product-main-image {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.bayan-thumb-item {
  width: 66px;
  height: 66px;
  border: 1px solid #E6DCCB;
  border-radius: 8px;
  background: #F4EFE6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bayan-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bayan-step-card {
  background: #F4EFE6;
  border: 1px solid #E6DCCB;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  height: 100%;
}

.bayan-step-number {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #343D35;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.bayan-step-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bayan-step-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.bayan-single-add-to-cart .wc-stripe-product-checkout-container {
  display: none !important;
}

.bayan-single-add-to-cart .single_add_to_cart_button {
  display: inline-flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 28px !important;
  background: #343D35 !important;
  border-color: #343D35 !important;
  color: #fff !important;
  border-radius: 50px !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bayan-single-add-to-cart .single_add_to_cart_button:hover,
.bayan-single-add-to-cart .single_add_to_cart_button:focus {
  background: #2A312B !important;
  border-color: #2A312B !important;
  box-shadow: 0 6px 14px rgba(52, 61, 53, 0.18);
}

.bayan-single-add-to-cart .quantity,
.bayan-single-add-to-cart .input-text.qty {
  display: none !important;
}

.bayan-single-add-to-cart .woocommerce-variation-price {
  display: none !important;
}

#bayanDynamicPrice {
  display: block !important;
  width: 100%;
}

.bayan-single-add-to-cart .single_variation_wrap {
  display: block !important;
  width: 100%;
}

.bayan-single-add-to-cart form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5em;
}

.bayan-single-add-to-cart .variations td,
.bayan-single-add-to-cart .variations th {
  vertical-align: middle !important;
}

.bayan-single-add-to-cart .variations tr:nth-child(2n + 1) td,
.bayan-single-add-to-cart .variations tr:nth-child(2n + 1) th {
  background: transparent !important;
}

.bayan-single-add-to-cart .variations td,
.bayan-single-add-to-cart .variations th {
  border: 0 !important;
  padding: 12px 10px 12px 0 !important;
}

.bayan-single-add-to-cart .variations td.label {
  width: 22% !important;
  min-width: 90px;
  white-space: nowrap;
}

.bayan-single-add-to-cart .variations td.label label {
  line-height: 2 !important;
  margin-top: -26px !important;
}

.bayan-full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.bayan-product-top-grid {
  column-gap: 0 !important;
}

@media (min-width: 576px) {
  .bayan-product-top-grid > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.bayan-product-tagline {
  margin-bottom: 1.1rem;
}

#bayanDynamicPrice {
  margin-top: 0.9rem;
  margin-bottom: 0.9rem;
}

.bayan-single-add-to-cart .single_add_to_cart_button {
  margin-top: 0.25rem;
}

/* Single product: fee disclosure above Purchase (matches checkout transparency URL) */
.bayan-product-fee-notice-wrap {
  border-top: 1px solid #E6DCCB;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.bayan-product-fee-notice {
  margin: 0;
  font-family: "Montserrat", Sans-serif;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #4a5565;
font-weight: 500;
}

.bayan-product-fee-notice__link {
  color: #343D35;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.bayan-product-fee-notice__link:hover {
  color: #805833;
}

.bayan-table-compare th,
.bayan-table-compare td {
  border: 1px solid #E6DCCB;
  padding: 0.9rem 1rem;
  font-family: "Montserrat", Sans-serif;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .bayan-product-wrap {
    padding: 1.25rem 0.75rem;
  }

  .bayan-product-main-image {
    min-height: 260px;
  }

  .bayan-product-main-image-wrap {
    min-height: 260px;
  }

/*   .bayan-card-image-wrap img {
/*     height: 160px; */
  } */

  .bayan-single-add-to-cart .single_add_to_cart_button {
    width: 100%;
    min-width: 0;
  }

  .bayan-product-title {
    font-size: 30px;
    line-height: 38px;
  }
}

@media (max-width: 991.98px) {
  .bayan-tab-media {
    display: none !important;
  }

  .bayan-tab-copy {
    text-align: center;
  }
}

/* Keep theme header visible on Woo pages even if a global turbo class is added. */
body.turbo-hide-theme-header.archive.woocommerce header,
body.turbo-hide-theme-header.archive.woocommerce .site-header,
body.turbo-hide-theme-header.archive.woocommerce .main-header,
body.turbo-hide-theme-header.archive.woocommerce #masthead,
body.turbo-hide-theme-header.archive.woocommerce .ast-site-header,
body.turbo-hide-theme-header.archive.woocommerce .storefront-header,
body.turbo-hide-theme-header.archive.woocommerce .generatepress-header,
body.turbo-hide-theme-header.archive.woocommerce .neve-header,
body.turbo-hide-theme-header.archive.woocommerce .hello-elementor-header,
body.turbo-hide-theme-header.archive.woocommerce .elementor-location-header {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}


body.turbo-hide-theme-header.archive.woocommerce #site-header {
 display: none !important;
}

/* Archive grid: stable 3-column layout without wrap glitches. */
.woocommerce.archive ul.products.row,
.woocommerce-page.archive ul.products.row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-left: 0 !important;
}

.woocommerce.archive ul.products.row::before,
.woocommerce.archive ul.products.row::after,
.woocommerce-page.archive ul.products.row::before,
.woocommerce-page.archive ul.products.row::after {
  content: none !important;
  display: none !important;
}

.woocommerce.archive ul.products.row > li.product.col-12.col-md-6.col-lg-4,
.woocommerce-page.archive ul.products.row > li.product.col-12.col-md-6.col-lg-4 {
  float: none !important;
  clear: none !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  display: block !important;
}

.woocommerce.archive ul.products.row > li.product.first,
.woocommerce.archive ul.products.row > li.product.last,
.woocommerce-page.archive ul.products.row > li.product.first,
.woocommerce-page.archive ul.products.row > li.product.last {
  clear: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.woocommerce.archive ul.products.columns-2 li.product,
.woocommerce.archive ul.products.columns-3 li.product,
.woocommerce.archive ul.products.columns-4 li.product,
.woocommerce.archive ul.products.columns-5 li.product,
.woocommerce-page.archive ul.products.columns-2 li.product,
.woocommerce-page.archive ul.products.columns-3 li.product,
.woocommerce-page.archive ul.products.columns-4 li.product,
.woocommerce-page.archive ul.products.columns-5 li.product {
  width: auto !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
}

@media (max-width: 991.98px) {
  .woocommerce.archive ul.products.row,
  .woocommerce-page.archive ul.products.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .woocommerce.archive ul.products.row,
  .woocommerce-page.archive ul.products.row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Subcategory cards: title only, centered; avoid tall empty body from .bayan-card-copy min-height */
.woocommerce.archive ul.products li.product-category .bayan-card-copy--category,
.woocommerce-page.archive ul.products li.product-category .bayan-card-copy--category {
  min-height: 0;
  justify-content: center;
  text-align: center;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.woocommerce.archive ul.products li.product-category .bayan-card-copy--category .card-title,
.woocommerce-page.archive ul.products li.product-category .bayan-card-copy--category .card-title {
  text-align: center;
}

/* Prevent Hello theme tablet max-width squeeze on Woo pages. */
@media (min-width: 768px) {
  body.woocommerce.single-product:not([class*="elementor-page-"]) .site-main,
  body.woocommerce.archive:not([class*="elementor-page-"]) .site-main {
    max-width: unset !important;
  }
}

/* Bayan auth tabs (My Account login/register) */
.bayan-auth-page .container {
  max-width: 760px;
}

.bayan-auth-card {
  background: #fff;
  border: 1px solid #E6DCCB;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(52, 61, 53, 0.08);
  max-width: 550px;
}

.bayan-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #E6DCCB;
  max-width: 550px;
  margin: 0 auto;
  padding: 0;
  gap: 0;
}

.bayan-auth-tab {
  padding: 14px 16px;
  border: 1px solid #D9C9B2;
  background: transparent;
  color: #343D35;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  border-radius: 50px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-account .bayan-auth-tab.is-active {
  background: #343D35;
  color: #fff;
  border-color: #343D35;
}

body.woocommerce-account .bayan-auth-tab:hover,
body.woocommerce-account .bayan-auth-tab:focus {
  background: #A67D56;
  color: #fff !important;
}

body.woocommerce-account .bayan-auth-tab {
  border-radius: 0 !important;
  border: none !important;
}

body.woocommerce-account a {
  color: #343D35;
}

body.woocommerce-account a:active,
body.woocommerce-account a:hover {
  color: #2A312B;
}

/* Logged-in account dashboard/orders */
body.woocommerce-account .bayan-account-container {
  max-width: 1140px;
}

body.woocommerce-account .bayan-account-nav {
  border: 1px solid #E6DCCB;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 100% !important;
}

body.woocommerce-account .bayan-account-nav-head {
  background: #343D35;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  padding: 14px 16px;
  font-size: 22px;
  line-height: 1.1;
}

body.woocommerce-account .bayan-account-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.woocommerce-account .bayan-account-nav li {
  border-top: 1px solid #EDE4D6;
}

body.woocommerce-account .bayan-account-nav a {
  display: block;
  padding: 12px 14px;
  color: #2A312B;
  text-decoration: none;
}

body.woocommerce-account .bayan-account-nav li.is-active a {
  background: #E4E8DD;
  font-weight: 600;
}

body.woocommerce-account .bayan-account-content-wrap {
  background: transparent;
}

body.woocommerce-account .bayan-account-title {
  font-family: "Montserrat", sans-serif;
  color: #2A312B;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.05;
  margin: 0 0 10px;
}

body.woocommerce-account .bayan-account-intro {
  color: #4a5565;
  max-width: 760px;
  margin-bottom: 20px;
}

body.woocommerce-account .bayan-account-quickcard {
  border: 1px solid #E6DCCB;
  border-radius: 10px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #2A312B;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-account .bayan-account-quickcard:hover,
body.woocommerce-account .bayan-account-quickcard:focus {
  border-color: #D9C9B2;
  box-shadow: 0 8px 18px rgba(52, 61, 53, 0.12);
}

body.woocommerce-account .bayan-account-quickcard-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* Unified Woo form fields */
body.woocommerce form input[type="text"],
body.woocommerce form input[type="email"],
body.woocommerce form input[type="password"],
body.woocommerce form input[type="number"],
body.woocommerce form input[type="tel"],
body.woocommerce form input[type="search"],
body.woocommerce form input[type="url"],
body.woocommerce form textarea,
body.woocommerce form select {
  border-color: rgb(217, 201, 178) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.woocommerce form input[type="text"]:focus,
body.woocommerce form input[type="email"]:focus,
body.woocommerce form input[type="password"]:focus,
body.woocommerce form input[type="number"]:focus,
body.woocommerce form input[type="tel"]:focus,
body.woocommerce form input[type="search"]:focus,
body.woocommerce form input[type="url"]:focus,
body.woocommerce form textarea:focus,
body.woocommerce form select:focus {
  border-color: rgb(166, 125, 86) !important;
  box-shadow: 0 0 0 3px rgba(52, 61, 53, 0.08);
  outline: none;
}

/* Woo default #1e85be -> Bayan brand #312E6B */
body.woocommerce .woocommerce-info {
  border-top-color: #343D35 !important;
}

body.woocommerce .woocommerce-info::before {
  color: #343D35 !important;
}

body.woocommerce form .form-row .woocommerce-input-wrapper .description {
  background: #343D35 !important;
}

body.woocommerce form .form-row .woocommerce-input-wrapper .description::before {
  border-color: #343D35 transparent transparent transparent !important;
}

body.woocommerce-account .bayan-account-quickcard-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

body.woocommerce-account .bayan-orders-table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #E6DCCB;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  background: #fff;
}

body.woocommerce-account .bayan-orders-table thead th {
  background: #343D35;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  border: 0;
  padding: 10px 12px;
  font-size: 14px;
}

body.woocommerce-account .bayan-orders-table tbody td {
  border-top: 1px solid #EDE4D6;
  border-left: 0;
  border-right: 0;
  padding: 10px 12px;
  color: #3F3F3C;
  vertical-align: middle;
}

body.woocommerce-account .bayan-orders-btn {
  border-radius: 999px !important;
  background: #343D35 !important;
  border: 1px solid #343D35 !important;
  color: #fff !important;
  padding: 8px 16px !important;
  min-width: 84px;
  text-align: center;
}

body.woocommerce-account .bayan-orders-btn:hover,
body.woocommerce-account .bayan-orders-btn:focus {
  background: #2A312B !important;
  border-color: #2A312B !important;
}

/* Three-section My Account Orders layout (Orders / Treatments / Labs). */
body.woocommerce-account .bayan-account-orders--sectioned .bayan-account-orders-section {
  margin-top: 2rem;
}

body.woocommerce-account .bayan-account-orders--sectioned .bayan-account-orders-section:first-of-type {
  margin-top: 1.25rem;
}

body.woocommerce-account .bayan-account-section-title {
  font-family: "Montserrat", sans-serif;
  color: #2A312B;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
}

body.woocommerce-account .bayan-account-orders-empty {
  background: #F4EFE6;
  border: 1px solid #E6DCCB;
  border-left: 4px solid #343D35;
  border-radius: 10px;
  color: #4a5565;
  padding: 0.85rem 1rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  position: relative;
}

body.woocommerce-account .bayan-account-orders-empty::before,
body.woocommerce-account .bayan-account-orders-empty::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 991.98px) {
  body.woocommerce-account .bayan-account-title {
    font-size: 40px;
  }
}

@media (max-width: 767.98px) {
  body.woocommerce-account .bayan-account-title {
    font-size: 34px;
  }
}

.bayan-auth-body {
  padding: 28px;
}

.bayan-auth-panel {
  display: none;
}

.bayan-auth-panel.is-active {
  display: block;
}

.bayan-auth-card label {
  font-family: "Montserrat", Sans-serif;
  color: #2A312B;
  font-weight: 600;
}

body.woocommerce-account .bayan-auth-card .input-text {
  border: 1px solid #ddd;
  background: #FAF7F2;
  border-radius: 10px;
  min-height: 50px;
  padding: 10px 14px;
}

.bayan-auth-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.bayan-auth-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 160px;
  padding: 10px 24px !important;
  background: #343D35 !important;
  border: 1px solid #343D35 !important;
  border-radius: 50px !important;
  color: #fff !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bayan-auth-btn:hover,
.bayan-auth-btn:focus {
  background: #2A312B !important;
  border-color: #2A312B !important;
  box-shadow: 0 8px 18px rgba(52, 61, 53, 0.18);
}

body.woocommerce-account .bayan-auth-card .lost_password {
  margin-top: 8px;
  text-align: center;
}

body.woocommerce-account .bayan-auth-card .woocommerce-form-login .woocommerce-form-login__submit {
  width: 100%;
  margin-top: 1em;
}

body.woocommerce-account .bayan-auth-card .show-password-input {
  opacity: 0.5;
}

/* Keep Elementor kit button globals from overriding auth CTA styling. */
body.woocommerce-account .bayan-auth-card button:hover,
body.woocommerce-account .bayan-auth-card button:focus,
body.woocommerce-account .bayan-auth-card input[type="button"]:hover,
body.woocommerce-account .bayan-auth-card input[type="button"]:focus,
body.woocommerce-account .bayan-auth-card input[type="submit"]:hover,
body.woocommerce-account .bayan-auth-card input[type="submit"]:focus,
body.woocommerce-account .bayan-auth-card .elementor-button:hover,
body.woocommerce-account .bayan-auth-card .elementor-button:focus {
  background-color: #2A312B !important;
}

@media (max-width: 767.98px) {
  .bayan-auth-body {
    padding: 20px 16px;
  }

  .bayan-auth-btn {
    width: 100%;
  }
}

/* .woocommerce-account.woocommerce-page .page-header {
  display: none !important;
} */

/* -------------------------------------------------------------------------
   Checkout (active — not order-received)
   Hello theme skips .site-main max-width on elementor-page-* bodies; WC Blocks
   often use alignwide/alignfull and stretch edge-to-edge without this block.
   ------------------------------------------------------------------------- */

body.woocommerce-checkout:not(.woocommerce-order-received) .site-main,
body.woocommerce-checkout:not(.woocommerce-order-received) main#content.site-main {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
  box-sizing: border-box;
  padding-top: 2rem !important;
  padding-bottom: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .page-header {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 1.5rem;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .page-header .entry-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #2A312B;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  line-height: 1.2;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .page-content {
  max-width: 100%;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .page-content .alignwide,
body.woocommerce-checkout:not(.woocommerce-order-received) .page-content .alignfull,
body.woocommerce-checkout:not(.woocommerce-order-received) .page-content .wp-block-woocommerce-checkout.alignwide,
body.woocommerce-checkout:not(.woocommerce-order-received) .page-content .wp-block-woocommerce-checkout.alignfull {
  margin-inline: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------------------------------------------------
   Order received / Thank you (checkout)
   ------------------------------------------------------------------------- */

body.woocommerce-order-received .site-main,
body.woocommerce-checkout.woocommerce-order-received .site-main {
  max-width: 960px !important;
  margin-left: auto;
  margin-right: auto;
  /* Breathing room below global header / before “Order received” title */
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem;
}

body.woocommerce-order-received .woocommerce-order.bayan-thankyou {
  font-family: "Montserrat", Sans-serif;
  font-weight: 500;
	color: #4a5565;
}

body.woocommerce-order-received .page-header {
  text-align: center;
  border: none;
  padding-top: 0.5rem;
  padding-bottom: 0;
  margin-bottom: 1.5rem;
}

body.woocommerce-order-received .page-header .entry-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #2A312B;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0;
}

.bayan-thankyou-inner {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.bayan-thankyou-hero {
  text-align: center;
  background: linear-gradient(180deg, #F4EFE6 0%, #ffffff 100%);
  border: 1px solid #EDE4D6;
  border-radius: 20px;
  padding: 2rem 1.5rem 2.25rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 28px rgba(52, 61, 53, 0.06);
}

.bayan-thankyou-hero-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.bayan-thankyou-hero .woocommerce-notice--success {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #4a5565 !important;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.bayan-thankyou-lead::before {
  display: none !important;
}

/* Summary strip — responsive cards
   WooCommerce core styles `ul.order_details` with floats + clearfix (::before/::after).
   That breaks CSS grid (pseudo-rows shift cards right). Reset fully. */
body.woocommerce-order-received ul.bayan-thankyou-summary.woocommerce-order-overview::before,
body.woocommerce-order-received ul.bayan-thankyou-summary.woocommerce-order-overview::after {
  content: none !important;
  display: none !important;
}

ul.bayan-thankyou-summary.woocommerce-order-overview {
  list-style: none !important;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  clear: both;
}

ul.bayan-thankyou-summary.woocommerce-order-overview li {
  background: #fff;
  border: 1px solid #EDE4D6;
  border-radius: 14px;
  padding: 1rem 1rem 1.1rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
  text-align: left;
  margin: 0 !important;
  float: none !important;
  width: auto;
  max-width: none;
  /* WooCommerce ul.order_details li defaults — must override */
  margin-right: 0 !important;
  margin-left: 0 !important;
  border-right: none !important;
  text-transform: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
  list-style-type: none !important;
}

ul.bayan-thankyou-summary.woocommerce-order-overview li strong.bayan-thankyou-summary-value {
  display: block;
  font-size: 0.9375rem !important;
  line-height: 1.35 !important;
  text-transform: none !important;
}

.bayan-thankyou-summary-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #857F75;
  font-family: "Montserrat", Sans-serif;
}
.bayan-thankyou-summary-value {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #2A312B;
  line-height: 1.35;
  word-break: break-word;
}

/* Keep payment method on its own row when present (cleaner than a 5th narrow cell) */
@media (min-width: 576px) {
  ul.bayan-thankyou-summary.woocommerce-order-overview .woocommerce-order-overview__payment-method.method {
    grid-column: 1 / -1;
  }
}

/* Protocol / recurring billing messages + order details */
.bayan-protocol-disclosure {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #F4EFE6;
  border: 1px solid #E6DCCB;
  border-left: 4px solid #343D35;
  border-radius: 10px;
  color: #4a5565;
  font-size: 0.92rem;
  line-height: 1.5;
}

.bayan-protocol-disclosure strong {
  color: #2A312B;
  font-weight: 700;
}

.bayan-thankyou-main {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.bayan-thankyou-main > p {
  margin: 0;
  padding: 1rem 1.25rem;
  background: #F4EFE6;
  border-radius: 12px;
  border: 1px solid #EDE4D6;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4a5565;
}

.bayan-thankyou-main > p a {
  color: #343D35;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bayan-thankyou-main > p a:hover {
  color: #2A312B;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  margin: 0;
  padding: 0;
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title,
body.woocommerce-order-received .bayan-thankyou-main > header h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #2A312B;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #343D35;
  display: inline-block;
  width: 100%;
}

body.woocommerce-order-received .woocommerce-table--order-details,
body.woocommerce-order-received table.shop_table {
  border: 1px solid #EDE4D6 !important;
  border-radius: 14px;
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin-bottom: 0 !important;
  background: #fff;
  box-shadow: 0 4px 18px rgba(52, 61, 53, 0.05);
}

body.woocommerce-order-received .woocommerce-table--order-details thead th,
body.woocommerce-order-received table.shop_table thead th {
  background: #F4EFE6 !important;
  color: #2A312B !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 1rem !important;
  border-bottom: 1px solid #EDE4D6 !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tbody td,
body.woocommerce-order-received .woocommerce-table--order-details tfoot th,
body.woocommerce-order-received .woocommerce-table--order-details tfoot td,
body.woocommerce-order-received table.shop_table td,
body.woocommerce-order-received table.shop_table th {
  padding: 0.85rem 1rem !important;
  border-color: #EDE4D6 !important;
  vertical-align: middle !important;
}

body.woocommerce-order-received .woocommerce-table--order-details tbody tr:last-child td {
  border-bottom: none !important;
}

body.woocommerce-order-received .woocommerce-table--order-details .product-name a {
  color: #343D35;
  font-weight: 600;
  text-decoration: none;
}

body.woocommerce-order-received .woocommerce-table--order-details .product-name a:hover {
  text-decoration: underline;
}

/* Related subscriptions table */
body.woocommerce-order-received table.woocommerce-orders-table--subscriptions {
  margin-top: 0.5rem !important;
}

body.woocommerce-order-received .woocommerce-orders-table--subscriptions .button.view,
body.woocommerce-order-received .woocommerce-table--order-details .woocommerce-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 1.25rem !important;
  border-radius: 50px !important;
  background: #343D35 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none !important;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

body.woocommerce-order-received .woocommerce-orders-table--subscriptions .button.view:hover,
body.woocommerce-order-received .woocommerce-table--order-details .woocommerce-button:hover {
  background: #2A312B !important;
  box-shadow: 0 6px 16px rgba(52, 61, 53, 0.2);
  color: #fff !important;
}

/* Addresses — grid (Bootstrap `.col-1` / `.col-2` removed in theme template; see order-details-customer.php) */
body.woocommerce-order-received .woocommerce-customer-details .bayan-addresses-grid,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
  width: 100% !important;
  margin: 1rem 0 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
}

body.woocommerce-order-received .woocommerce-customer-details .bayan-address-column,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses .woocommerce-column {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
  position: relative;
  min-width: 0;
}

/* Legacy Woo floats / clears — neutralize on thank-you */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns::before,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns::after {
  display: none !important;
  content: none !important;
}

body.woocommerce-order-received .woocommerce-customer-details address {
  background: #fff;
  border: 1px solid #EDE4D6;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4a5565;
  margin: 0;
  box-shadow: 0 4px 14px rgba(52, 61, 53, 0.04);
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  body.woocommerce-order-received .woocommerce-customer-details .bayan-addresses-grid,
  body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
    grid-template-columns: 1fr !important;
  }

  ul.bayan-thankyou-summary.woocommerce-order-overview {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 479.98px) {
  ul.bayan-thankyou-summary.woocommerce-order-overview {
    grid-template-columns: 1fr;
  }
}

.bayan-thankyou-alert--error {
  background: #fff5f5;
  border: 1px solid #f5c2c7;
  border-radius: 14px;
  padding: 1.5rem;
}

.woocommerce.archive ul.products li.product a img {
  margin-bottom: 0;
}

/* Consultation — product page card */
.bayan-consultation-mount {
  font-family: "Montserrat", Sans-serif;
  font-weight: 500;
}

.bayan-consultation-card {
  background: linear-gradient(145deg, #ffffff 0%, #F8F5EF 100%);
  border: 1px solid #EDE4D6 !important;
  border-radius: 30px;
  box-shadow: 0 8px 28px rgba(52, 61, 53, 0.07);
  overflow: hidden;
}

.bayan-consultation-card__title {
  font-family: "Montserrat", sans-serif;
  color: #2A312B;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bayan-consultation-card__lede {
  color: #6b7280;
  line-height: 1.55;
}

.bayan-consultation-card__row {
  border-bottom: 1px solid #EDE4D6;
}

.bayan-consultation-card__row:last-of-type {
  border-bottom: none;
}

.bayan-consultation-card__label {
  color: #4a5565;
}

.bayan-consultation-card__amt {
  color: #2A312B;
  font-size: 0.95rem;
}

.bayan-consultation-card__total {
  border-top: 2px solid #2A312B !important;
  margin-top: 0.25rem;
}

.bayan-consultation-card__total-amt {
  color: #343D35;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.bayan-consultation-card__context {
  color: #6b7280;
  border-top: 1px dashed #E6DCCB;
}

/* -------------------------------------------------------------------------
   Checkout — consultation (spec: #667c8a / #001f5c / #0056b3 / #4a5568 / #e2e8f0)
   ------------------------------------------------------------------------- */
.bayan-co {
  --co-muted: #6B6E66;
  --co-navy: #343D35;
  --co-blue: #A67D56;
  --co-body: #4a5568;
  --co-border: #E6DCCB;
  --co-price: #2E2E2E;
  /* Softer panel + typography (tweak tokens, not scattered literals) */
  --co-panel-bg: rgba(221, 221, 221, 0.15);
  --co-kicker-muted: rgba(0, 0, 0, 0.35);
  --co-price-cell: #4a5565;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.bayan-co *,
.bayan-co *::before,
.bayan-co *::after {
  box-sizing: border-box;
}

.bayan-co-panel {
  background: var(--co-panel-bg);
  border: 1px solid var(--co-border);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  padding: 1.25rem 1.125rem;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.bayan-co-intro__text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--co-muted);
  line-height: 1.5;
}

.bayan-co-intro__divider {
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--co-border);
  background: transparent;
}

.bayan-co-intro__link-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.bayan-co-intro__link {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--co-navy);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  line-height: 1.45;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.bayan-co-intro__link:hover {
  color: #805833;
}

.bayan-co-intro__link:focus-visible {
  outline: 2px solid var(--co-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

.bayan-co-intro__link-arrow {
  flex: 0 0 auto;
  color: var(--co-body);
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 400;
}

/* Fees block: ~20px below link row */
.bayan-co-fees {
  margin-top: 1.25rem;
}

.bayan-co-products {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bayan-co-product {
  margin: 0;
  padding: 0;
}

.bayan-co-product__kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--co-kicker-muted);
  line-height: 1.35;
}

/* Product line: semibold (edit rem if you change base size) */
.bayan-co-product__subtitle {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--co-body);
  line-height: 1.45;
}

.bayan-co-table-wrap {
  margin: 1rem 0 0;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  /* Light edge without a heavy frame (replaces a full 1px outer border) */
  /* box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.55); */
}

.bayan-co-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  font-size: 0.875rem;
}

.bayan-co-table th,
.bayan-co-table td {
  border: 1px solid var(--co-border);
  vertical-align: middle;
}

.bayan-co-table__label {
  width: 58%;
  text-align: start;
  padding: 1rem;
  color: var(--co-muted);
  font-weight: 400;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.bayan-co-table__price {
  width: 42%;
  text-align: end;
  padding: 1rem;
  color: var(--co-price-cell);
}

.bayan-co-table__price .woocommerce-Price-amount {
  font-weight: 700;
  color: var(--co-price-cell);
}

.bayan-co-table__total-row th,
.bayan-co-table__total-row td {
  padding: 1rem;
  background: #ffffff;
  color: var(--co-navy) !important;
  font-weight: 700;
}

.bayan-co-table__total-label {
  text-align: start !important;
  font-size: 0.875rem;
}

.bayan-co-table__total-price {
  text-align: end;
  font-size: 1rem;
}

.bayan-co-table__total-price .woocommerce-Price-amount {
  font-weight: 700;
  color: var(--co-navy) !important;
}

/* Scoped: flat rows + no hover tint (Hello reset applies global table striping) */
.bayan-co-table tbody > tr:nth-child(odd) > td,
.bayan-co-table tbody > tr:nth-child(odd) > th {
  background-color: transparent;
}

.bayan-co-table tbody tr:hover > td,
.bayan-co-table tbody tr:hover > th {
  background-color: transparent;
}

/* WooCommerce Blocks: restore table */
.wc-block-checkout .bayan-co-table-wrap,
.bayan-checkout-consultation-order-summary-addon .bayan-co-table-wrap {
  display: block !important;
  width: 100% !important;
}

.wc-block-checkout .bayan-co-table,
.bayan-checkout-consultation-order-summary-addon .bayan-co-table {
  display: table !important;
  width: 100% !important;
}

.wc-block-checkout .bayan-co-table tbody,
.wc-block-checkout .bayan-co-table tfoot,
.bayan-checkout-consultation-order-summary-addon .bayan-co-table tbody,
.bayan-checkout-consultation-order-summary-addon .bayan-co-table tfoot {
  display: table-row-group !important;
}

.wc-block-checkout .bayan-co-table tr,
.bayan-checkout-consultation-order-summary-addon .bayan-co-table tr {
  display: table-row !important;
}

.wc-block-checkout .bayan-co-table th,
.wc-block-checkout .bayan-co-table td,
.bayan-checkout-consultation-order-summary-addon .bayan-co-table th,
.bayan-checkout-consultation-order-summary-addon .bayan-co-table td {
  display: table-cell !important;
}

.woocommerce-checkout-review-order-table .bayan-checkout-consultation-summary-cell {
  border-top: 1px solid var(--co-border);
  vertical-align: top;
}

.woocommerce-checkout-review-order-table .bayan-checkout-consultation-order-summary-inner {
  padding: 0.5rem 0;
}

.wp-block-woocommerce-checkout-order-summary-block .bayan-checkout-consultation-order-summary-addon,
.wc-block-checkout .bayan-checkout-consultation-order-summary-addon {
  border-top: 1px solid var(--co-border);
  background: transparent;
  margin: 0;
  padding: 0.5rem;
}

@media (max-width: 380px) {
  .bayan-co-table__price,
  .bayan-co-table__label {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bayan-co-intro__link {
    transition: none;
  }
}

.bayan-co-intro__link {
  text-decoration: none !important;
}

/* --- Coming soon products (category cards + single product) --- */

.bayan-card--coming-soon .bayan-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(52, 61, 53, 0) 35%,
    rgba(52, 61, 53, 0.35) 100%
  );
  pointer-events: none;
  border-radius: 0;
}

.bayan-coming-soon-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-family: "Montserrat", Sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #805833;
  background: #F4EFE6;
  box-shadow: 0 4px 12px rgba(52, 61, 53, 0.35);
}

.bayan-btn-pill--coming-soon {

    border-radius: 999px;
  font-family: "Montserrat", Sans-serif;
  font-weight: 500;
	text-transform: uppercase;
    color: #805833;
    background: #F4EFE6;
    border: #D9C9B2;
}
.bayan-btn-pill--coming-soon:hover
{
	    border-radius: 999px;
  font-family: "Montserrat", Sans-serif;
  font-weight: 500;
	text-transform: uppercase;
    color: #805833;
    background: #F4EFE6;
    border: #D9C9B2;
}

.bayan-card--coming-soon:hover .bayan-btn-pill--coming-soon,
.bayan-card--coming-soon:focus-within .bayan-btn-pill--coming-soon {
  background: #EDE4D6 !important;
  border-color: #D9C9B2 !important;
  color: #3F3F3C !important;
}

.bayan-coming-soon-hero {
  border-radius: 12px;
  background: linear-gradient(110deg, #F4EFE6 0%, #fff 55%, #F4EFE6 100%);
  color: #2A312B;
  padding: 1rem 1.25rem;
}

.bayan-coming-soon-hero-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: #343D35;
}

.bayan-coming-soon-hero-text {
  font-family: "Montserrat", Sans-serif;
  font-weight: 500;
	font-size: 0.95rem;
  line-height: 1.5;
  color: #4a5565;
}

.bayan-product-media--coming-soon .bayan-product-main-image {
  opacity: 0.92;
  filter: saturate(0.92);
}

.bayan-coming-soon-media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 61, 53, 0.42);
  border-radius: 12px;
  pointer-events: none;
}

.bayan-coming-soon-media-label {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2A312B;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(52, 61, 53, 0.2);
}

.bayan-coming-soon-purchase-panel {
  background: #FAF7F2;
  border-color: #E6DCCB !important;
}

.bayan-product-wrap--coming-soon .bayan-single-add-to-cart {
  display: none;
}

/* --- Lab panel single product --- */

.bayan-product-wrap--lab .bayan-lab-tier-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  font-family: "Montserrat", Sans-serif;
	font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2A312B;
  background: #F4EFE6;
}

.bayan-product-wrap--lab .bayan-lab-tier-badge--core {
  background: #EDE4D6;
  color: #805833;
}

.bayan-product-wrap--lab .bayan-lab-tier-badge--optimization {
  background: #E4E8DD;
  color: #343D35;
  padding: 5px 10px;
}

.bayan-product-wrap--lab .bayan-lab-tier-badge--longevity {
  background: linear-gradient(90deg, #E4E8DD 0%, #EDE4D6 100%);
  color: #2A312B;
}

.bayan-product-wrap--lab .bayan-lab-positioning {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: #F8F5EF;
  border: 1px solid #EDE4D6;
}

.bayan-labs-hiw {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: bayan-lab-step;
}

@media (max-width: 991.98px) {
  .bayan-labs-hiw {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .bayan-labs-hiw {
    grid-template-columns: 1fr;
  }
}

.bayan-labs-hiw li {
  position: relative;
  margin: 0;
  padding: 1rem 0.85rem 0.85rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #EDE4D6;
  text-align: center;
  min-height: 100%;
}

.bayan-labs-hiw li::before {
  counter-increment: bayan-lab-step;
  content: counter(bayan-lab-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #343D35 0%, #2A312B 100%);
}

.bayan-labs-hiw li span {
  display: block;
  font-family: "Montserrat", Sans-serif;
  font-weight: 500;
	font-size: 0.85rem;
  line-height: 1.45;
  color: #4a5565;
}

.bayan-lab-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 991.98px) {
  .bayan-lab-includes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .bayan-lab-includes-grid {
    grid-template-columns: 1fr;
  }
}

.bayan-lab-includes-group {
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #EDE4D6;
  height: 100%;
}

.bayan-lab-includes-group__title {
  margin-bottom: 0.65rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #2A312B;
}

.bayan-lab-includes-list {
  margin: 0;
  padding-left: 1.1rem;
  font-family: "Montserrat", Sans-serif;
  font-weight: 500;
	font-size: 0.9rem;
  color: #4a5565;
}

.bayan-lab-includes-list li {
  margin-bottom: 0.35rem;
}

.bayan-labs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 991.98px) {
  .bayan-labs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .bayan-labs-grid {
    grid-template-columns: 1fr;
  }
}

.bayan-lab-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #EDE4D6;
  box-shadow: 0 8px 24px rgba(52, 61, 53, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bayan-lab-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(52, 61, 53, 0.1);
}

.bayan-lab-card__accent {
  height: 4px;
}

.bayan-lab-card__accent--green {
  background: #7A8F6B;
}

.bayan-lab-card__accent--blue {
  background: #343D35;
}

.bayan-lab-card__accent--dna {
  background: linear-gradient(90deg, #343D35, #7A8F6B);
}

.bayan-lab-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.bayan-lab-card__name {
  margin: 0 0 0.35rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #2A312B;
}

.bayan-lab-card__subtitle {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.bayan-lab-card__price {
  margin-bottom: 0.75rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #2A312B;
}

.bayan-lab-card__meta {
  margin-bottom: 1rem;
  flex: 1;
}

.bayan-lab-card__meta-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #857F75;
}

.bayan-lab-card__meta ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: #4a5565;
}

.bayan-lab-card__cta {
  margin-top: auto;
}

.comments-area a, .page-content a {
  text-decoration: none !important;
}