/* ==========================================================================
   Buildsoftech — WooCommerce styles
   Products grid, product page, cart / checkout / my account, payment wizard.
   ========================================================================== */

/* ---------- Override WooCommerce's default (olive) price colour everywhere ---------- */
body .woocommerce div.product p.price,
body .woocommerce div.product span.price,
body.woocommerce div.product p.price,
body.woocommerce div.product span.price,
body .bst-pcard .price,
body .bst-tag-price .amount,
body .woocommerce-variation-price .price {
  color: var(--color-primary);
}
body .woocommerce div.product p.price ins,
body .woocommerce div.product span.price ins,
body.woocommerce div.product p.price ins,
body.woocommerce div.product span.price ins {
  text-decoration: none;
  font-weight: inherit;
}

/* ---------- Shop hero + section ---------- */
.subpage-hero.bst-shop-hero {
  min-height: 0;
  padding: 210px 0 140px;
}
.bst-shop-section {
  padding: 90px 0 120px;
  background: var(--color-white);
}
.bst-cat-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 56px;
}
.bst-cat-filter a {
  border: 1px solid var(--color-border-gray);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.bst-cat-filter a:hover,
.bst-cat-filter a.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ---------- Product grid + card ---------- */
.bst-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
/* Product card */
.bst-pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: 22px;
  padding: 12px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}
.bst-pcard:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 24px 50px rgba(27, 37, 80, 0.12);
}
.bst-pcard-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-bg-light);
}
.bst-pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.bst-pcard:hover .bst-pcard-media img {
  transform: scale(1.06);
}
.bst-pcard-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 7, 24, 0.28) 0%, rgba(2, 7, 24, 0) 38%);
  pointer-events: none;
}
.bst-pcard-cat,
.bst-pcard-plans,
.bst-pcard-sale {
  position: absolute;
  z-index: 1;
  top: 14px;
  border-radius: 50px;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}
.bst-pcard-cat {
  left: 14px;
  background: var(--color-white);
  color: var(--color-primary);
}
.bst-pcard-plans {
  right: 14px;
  background: rgba(2, 7, 24, 0.55);
  color: var(--color-white);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bst-pcard-sale {
  top: auto;
  bottom: 14px;
  left: 14px;
  background: var(--color-orange-accent);
  color: var(--color-primary);
}
.bst-pcard-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 10px 8px;
}
.bst-pcard-title {
  font-family: var(--font-primary);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3em;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.bst-pcard-title a {
  color: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--transition-smooth);
}
.bst-pcard:hover .bst-pcard-title a {
  background-size: 100% 1.5px;
}
.bst-pcard-desc {
  font-size: 14px;
  line-height: 1.6em;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 18px;
}
.bst-pcard-feats {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.bst-pcard-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45em;
  color: var(--color-primary);
}
.bst-pcard-feats i {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: #e9eefe;
  color: var(--color-accent-blue);
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bst-pcard-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px 16px 18px;
  border-radius: 16px;
  background: var(--color-bg-light);
}
.bst-pcard-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.bst-pcard-price-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
}
.bst-pcard-price-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.bst-pcard-price-value strong,
.bst-pcard-price-value strong .amount {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.1;
}
.bst-pcard-price-value small {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.bst-pcard-btn {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-45deg);
  transition: transform var(--transition-smooth), background var(--transition-fast);
}
.bst-pcard:hover .bst-pcard-btn {
  transform: rotate(0deg);
  background: var(--color-accent-blue);
  color: var(--color-white);
}
.bst-tag-price {
  font-weight: 700;
}
.bst-tag-price .bst-price-from {
  font-size: 11px;
}
.bst-price-from {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

/* Home page: one row of 4 product cards */
.bst-home-product-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.bst-home-product-grid .bst-pcard-body {
  padding: 18px 6px 6px;
}
.bst-home-product-grid .bst-pcard-title {
  font-size: 18px;
}
.bst-home-product-grid .bst-pcard-foot {
  padding: 14px 12px 14px 14px;
}
.bst-home-product-grid .bst-pcard-price-value strong,
.bst-home-product-grid .bst-pcard-price-value strong .amount {
  font-size: 19px;
}
.bst-home-product-grid .bst-pcard-btn {
  width: 44px;
  height: 44px;
}
@media (max-width: 1200px) {
  .bst-home-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .bst-home-product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Custom-software band under the grid */
.bst-custom-band {
  padding: 0 0 120px;
  background: var(--color-white);
}
.bst-custom-card {
  background: var(--color-secondary);
  border-radius: 16px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--color-white);
}
.bst-custom-card h3 {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}
.bst-custom-card p {
  font-size: 16px;
  line-height: 1.5em;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}

/* ---------- Single product ---------- */
.bst-product-hero.ps-hero {
  padding-bottom: 110px;
}
.bst-product-hero .ps-hero-tag {
  transition: background var(--transition-fast), color var(--transition-fast);
}
.bst-product-hero .ps-hero-tag:hover {
  background: var(--color-white);
  color: var(--color-primary);
}
.bst-product-main {
  padding: 90px 40px 120px;
  background: var(--color-white);
}
.bst-product-main > .section-container {
  padding: 0;
  max-width: 1280px;
}
.bst-product-layout {
  display: grid;
  /* minmax(0, …): the gallery slider lays all slides side by side, which would otherwise
     stretch the first column and squeeze the buy box. */
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.bst-product-gallery .woocommerce-product-gallery {
  position: relative;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  opacity: 1 !important;
}
.bst-product-gallery .woocommerce-product-gallery__wrapper {
  margin: 0;
}
.bst-product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
.bst-product-gallery {
  min-width: 0;
}
.bst-product-gallery .flex-viewport {
  border-radius: 16px;
}
.bst-product-gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
.bst-product-gallery .flex-control-thumbs li {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
}
.bst-product-gallery .flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: opacity var(--transition-fast);
}
.bst-product-gallery .flex-control-thumbs img {
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.6;
}
.bst-product-gallery .flex-control-thumbs img.flex-active,
.bst-product-gallery .flex-control-thumbs img:hover {
  opacity: 1;
}
.bst-product-gallery .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}
.bst-product-gallery .woocommerce-product-gallery__trigger::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 15px;
  color: var(--color-primary);
}

.bst-buy-card {
  position: sticky;
  top: 24px;
  border: 1px solid var(--color-border-gray);
  border-radius: 16px;
  padding: 36px;
  background: var(--color-white);
}
.bst-buy-price .price {
  font-family: var(--font-primary);
  font-size: 34px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 18px;
}
.bst-buy-price .price del {
  font-size: 20px;
  color: var(--color-text);
  opacity: 0.6;
  margin-right: 8px;
}
.bst-buy-price .price ins {
  text-decoration: none;
}
.bst-buy-excerpt {
  font-size: 15px;
  line-height: 1.6em;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 24px;
}
.bst-buy-excerpt ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.bst-buy-excerpt li {
  position: relative;
  padding-left: 26px;
}
.bst-buy-excerpt li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent-blue);
}

/* Variation form */
.bst-buy-form form.cart {
  margin: 0;
}
.bst-buy-form table.variations {
  width: 100%;
  border: none;
  margin: 0 0 8px;
}
.bst-buy-form table.variations tr,
.bst-buy-form table.variations th,
.bst-buy-form table.variations td {
  display: block;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
}
.bst-buy-form table.variations th.label {
  margin-bottom: 12px;
}
.bst-buy-form table.variations th label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.bst-duration-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.bst-duration-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border: 1.5px solid var(--color-border-gray);
  border-radius: 12px;
  background: var(--color-white);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.bst-duration-pill:hover {
  border-color: var(--color-primary);
}
.bst-duration-pill.is-active {
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(57, 86, 218, 0.12);
}
.bst-pill-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}
.bst-pill-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.bst-duration-pill.is-active .bst-pill-price {
  color: var(--color-accent-blue);
}
.bst-buy-form .single_variation_wrap {
  margin-top: 18px;
}
.bst-buy-form .woocommerce-variation-price .price {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 14px;
  display: block;
}
.bst-buy-form .woocommerce-variation-description {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 12px;
}
.bst-buy-form .woocommerce-variation-add-to-cart,
.bst-buy-form form.cart:not(.variations_form) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bst-buy-form .quantity {
  display: none !important;
}
.bst-buy-form .single_add_to_cart_button,
.bst-buy-form .bst-buy-now-btn {
  width: 100%;
  border-radius: 50px !important;
  padding: 16px 18px !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast) !important;
}
.bst-buy-form .single_add_to_cart_button {
  background: var(--color-white) !important;
  color: var(--color-primary) !important;
  border: 1.5px solid var(--color-primary) !important;
}
.bst-buy-form .single_add_to_cart_button:hover {
  background: var(--color-bg-light) !important;
}
.bst-buy-form .bst-buy-now-btn {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  border: 1.5px solid var(--color-primary) !important;
}
.bst-buy-form .bst-buy-now-btn:hover {
  background: var(--color-accent-blue) !important;
  border-color: var(--color-accent-blue) !important;
}
.bst-buy-form .disabled,
.bst-buy-form .wc-variation-selection-needed {
  opacity: 0.5;
  cursor: not-allowed;
}
.bst-trust-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border-light);
}
.bst-trust-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}
.bst-trust-list i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-bg-light);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.bst-buy-help {
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-text);
}
.bst-buy-help a {
  color: var(--color-accent-blue);
  font-weight: 600;
  text-decoration: underline;
}
.bst-buy-help .bst-text-btn {
  font-size: 14px;
}

/* Tabs */
.bst-product-tabs {
  margin-top: 80px;
}
.bst-product-tabs .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 32px;
  border: none;
}
.bst-product-tabs .woocommerce-tabs ul.tabs::before,
.bst-product-tabs .woocommerce-tabs ul.tabs li::before,
.bst-product-tabs .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}
.bst-product-tabs .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}
.bst-product-tabs .woocommerce-tabs ul.tabs li a {
  display: block;
  border: 1px solid var(--color-border-gray);
  border-radius: 50px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.bst-product-tabs .woocommerce-tabs ul.tabs li.active a {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.bst-product-tabs .woocommerce-Tabs-panel {
  font-size: 16px;
  line-height: 1.7em;
  font-weight: 500;
  color: var(--color-text);
  max-width: 900px;
}
.bst-product-tabs .woocommerce-Tabs-panel > h2:first-child {
  display: none;
}
.bst-product-tabs .woocommerce-Tabs-panel h2,
.bst-product-tabs .woocommerce-Tabs-panel h3 {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--color-primary);
  font-size: 24px;
  margin: 28px 0 12px;
}
.bst-product-tabs .woocommerce-Tabs-panel p + p {
  margin-top: 14px;
}
.bst-product-tabs .woocommerce-Tabs-panel ul {
  list-style: disc;
  padding-left: 22px;
  margin-top: 12px;
}
.bst-feature-list {
  list-style: none !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}
.bst-feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.bst-feature-list i {
  color: var(--color-accent-blue);
  margin-top: 5px;
}
.bst-steps-list {
  list-style: none;
  counter-reset: bst-step;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bst-steps-list li {
  counter-increment: bst-step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.bst-steps-list li::before {
  content: counter(bst-step);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bst-related-products {
  padding: 0 0 120px;
  background: var(--color-white);
}
.bst-related-heading {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 48px;
}

/* ---------- WooCommerce notices ---------- */
.woocommerce-notices-wrapper:empty {
  display: none;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  border: none !important;
  border-radius: 12px;
  padding: 16px 20px !important;
  margin: 0 0 28px !important;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none !important;
}
.woocommerce-message {
  background: #e8f8ee !important;
  color: #146c3a !important;
}
.woocommerce-info {
  background: #eef1fd !important;
  color: var(--color-secondary) !important;
}
.woocommerce-error {
  background: #fdecec !important;
  color: #a12626 !important;
}
.woocommerce-message .button,
.woocommerce-info .button {
  order: 2;
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  border-radius: 50px !important;
  padding: 9px 18px !important;
  font-size: 12px !important;
  text-transform: uppercase;
}

/* ---------- Shared WooCommerce form + button look (cart, checkout, account) ---------- */
.bst-woo-content {
  font-size: 15px;
  color: var(--color-text);
}
.bst-woo-content .button,
.bst-woo-content button.button,
.bst-woo-content input.button,
.bst-woo-content #place_order {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 13px 26px !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-fast) !important;
}
.bst-woo-content .button:hover,
.bst-woo-content #place_order:hover {
  background: var(--color-accent-blue) !important;
}
.bst-woo-content .button:disabled,
.bst-woo-content .button.disabled {
  opacity: 0.5;
}
.bst-woo-content input[type="text"],
.bst-woo-content input[type="email"],
.bst-woo-content input[type="tel"],
.bst-woo-content input[type="password"],
.bst-woo-content input[type="number"],
.bst-woo-content select,
.bst-woo-content textarea {
  width: 100%;
  border: 1px solid var(--color-border-gray) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-primary);
  background: var(--color-white);
  outline: none;
  box-shadow: none;
}
.bst-woo-content input:focus,
.bst-woo-content select:focus,
.bst-woo-content textarea:focus {
  border-color: var(--color-accent-blue) !important;
}
.bst-woo-content label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
  display: inline-block;
}
.bst-woo-content .form-row {
  margin: 0 0 16px;
  padding: 0;
}
.bst-woo-content .required {
  color: #c62828;
  text-decoration: none;
}
.bst-woo-content h2,
.bst-woo-content h3 {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--color-primary);
  font-size: 24px;
  margin-bottom: 18px;
}
.bst-woo-content table.shop_table {
  width: 100%;
  border: 1px solid var(--color-border-gray);
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  margin-bottom: 28px;
}
.bst-woo-content table.shop_table th,
.bst-woo-content table.shop_table td {
  padding: 16px 18px;
  border-top: 1px solid var(--color-border-light);
  text-align: left;
  vertical-align: middle;
}
.bst-woo-content table.shop_table thead th {
  border-top: none;
  background: var(--color-bg-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.bst-woo-content table.shop_table a {
  color: var(--color-primary);
  font-weight: 600;
}
.bst-woo-content .amount {
  font-weight: 600;
  color: var(--color-primary);
}

/* Cart */
.bst-cart-empty {
  max-width: 520px;
  margin: 10px auto 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bst-cart-empty-icon {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--color-bg-light);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.bst-woo-content .bst-cart-empty-title {
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 12px;
}
.bst-cart-empty-text {
  font-size: 16px;
  line-height: 1.6em;
  color: var(--color-text);
  margin-bottom: 26px;
}
.bst-cart-empty-btn {
  min-width: 190px;
}
.woocommerce-cart .bst-woo-content .product-thumbnail img {
  width: 72px;
  height: auto;
  border-radius: 10px;
}
.woocommerce-cart .bst-woo-content .product-remove a {
  font-size: 22px;
  color: #c62828 !important;
}
.woocommerce-cart .bst-woo-content .actions .coupon {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.woocommerce-cart .bst-woo-content .actions .coupon input {
  max-width: 220px;
}
.woocommerce-cart .bst-woo-content .actions > .button[name="update_cart"] {
  display: none !important;
}
.woocommerce-cart .bst-woo-content .cart-collaterals {
  display: flex;
  justify-content: flex-end;
}
.woocommerce-cart .bst-woo-content .cart_totals {
  width: 100%;
  max-width: 460px;
}
.woocommerce-cart .bst-woo-content .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  text-align: center;
}
.bst-woo-content .cart-empty {
  text-align: center;
  display: block;
  font-size: 18px;
}
.bst-woo-content .return-to-shop {
  text-align: center;
  margin-top: 20px;
}

/* Checkout */
.woocommerce-checkout .bst-woo-content form.checkout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.woocommerce-checkout .bst-woo-content form.checkout > .woocommerce-NoticeGroup {
  grid-column: 1 / -1;
}
.woocommerce-checkout .bst-woo-content #customer_details .col-1,
.woocommerce-checkout .bst-woo-content #customer_details .col-2 {
  width: 100%;
  float: none;
}
.woocommerce-checkout .bst-woo-content #customer_details {
  border: 1px solid var(--color-border-gray);
  border-radius: 16px;
  padding: 32px;
}
.woocommerce-checkout .bst-woo-content .form-row-first,
.woocommerce-checkout .bst-woo-content .form-row-last {
  width: calc(50% - 8px);
  float: left;
}
.woocommerce-checkout .bst-woo-content .form-row-last {
  float: right;
}
.woocommerce-checkout .bst-woo-content .form-row-wide,
.woocommerce-checkout .bst-woo-content .woocommerce-billing-fields__field-wrapper::after {
  clear: both;
}
.woocommerce-checkout .bst-woo-content .woocommerce-billing-fields__field-wrapper::after {
  content: "";
  display: table;
}
.woocommerce-checkout .bst-woo-content #order_review_heading {
  display: none;
}
.woocommerce-checkout .bst-woo-content #order_review {
  position: sticky;
  top: 24px;
  border: 1px solid var(--color-border-gray);
  border-radius: 16px;
  padding: 32px;
  background: var(--color-bg-light);
}
.woocommerce-checkout .bst-woo-content #order_review::before {
  content: "Your order";
  display: block;
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 18px;
}
.woocommerce-checkout .bst-woo-content #order_review table.shop_table {
  background: var(--color-white);
}
.woocommerce-checkout .bst-woo-content #payment {
  background: transparent;
  border-radius: 0;
}
.woocommerce-checkout .bst-woo-content #payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border: none;
}
.woocommerce-checkout .bst-woo-content #payment ul.payment_methods li {
  background: var(--color-white);
  border: 1.5px solid var(--color-accent-blue);
  border-radius: 12px;
  padding: 16px 18px;
}
.woocommerce-checkout .bst-woo-content #payment ul.payment_methods li label {
  font-size: 15px;
  margin: 0;
}
.woocommerce-checkout .bst-woo-content #payment div.payment_box {
  background: transparent;
  padding: 8px 0 0;
  margin: 0;
  font-size: 14px;
  color: var(--color-text);
}
.woocommerce-checkout .bst-woo-content #payment div.payment_box::before {
  display: none;
}
.woocommerce-checkout .bst-woo-content #payment .place-order {
  padding: 0;
}
.woocommerce-checkout .bst-woo-content #place_order {
  width: 100%;
  padding: 17px 26px !important;
  font-size: 14px !important;
}
.woocommerce-checkout .bst-woo-content .woocommerce-privacy-policy-text {
  font-size: 13px;
  margin-bottom: 14px;
}
.woocommerce-checkout .bst-woo-content .woocommerce-account-fields {
  margin-top: 8px;
}
.woocommerce-checkout .bst-woo-content .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .bst-woo-content .woocommerce-form-coupon-toggle .woocommerce-info {
  justify-content: flex-start;
}
.woocommerce-checkout .bst-woo-content .woocommerce-form-login,
.woocommerce-checkout .bst-woo-content .checkout_coupon {
  border: 1px solid var(--color-border-gray);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
}

/* ---------- My Account ---------- */
/* WooCommerce adds clearfix ::before/::after to these wrappers; inside a CSS grid they
   become invisible grid items and push the real columns out of place. */
.bst-woo-content .woocommerce::before,
.bst-woo-content .woocommerce::after,
.bst-woo-content .col2-set::before,
.bst-woo-content .col2-set::after,
.bst-woo-content form.checkout::before,
.bst-woo-content form.checkout::after {
  display: none !important;
  content: none !important;
}
.woocommerce-account.logged-in .bst-woo-content > .woocommerce {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}
.woocommerce-account .bst-woo-content > .woocommerce > .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}
.woocommerce-account .bst-woo-content .woocommerce-MyAccount-navigation,
.woocommerce-account .bst-woo-content .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
}

/* Sidebar */
.bst-account-nav {
  position: sticky;
  top: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border-gray);
  border-radius: 18px;
  overflow: hidden;
}
.bst-account-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  background: var(--color-secondary);
  color: var(--color-white);
}
.bst-account-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-orange-accent);
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bst-account-user-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bst-account-user-text strong {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bst-account-user-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bst-account-nav ul {
  list-style: none;
  margin: 0;
  padding: 10px;
}
.bst-account-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  transition: background var(--transition-fast);
}
.bst-account-nav li a i {
  width: 18px;
  text-align: center;
  color: var(--color-text);
}
.bst-account-nav li a:hover {
  background: var(--color-bg-light);
}
.bst-account-nav li.is-active a {
  background: var(--color-primary);
  color: var(--color-white);
}
.bst-account-nav li.is-active a i {
  color: var(--color-white);
}
.bst-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout {
  border-top: 1px solid var(--color-border-light);
  margin-top: 6px;
  padding-top: 6px;
}
.bst-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a,
.bst-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a i {
  color: #c62828;
}

/* Content panel */
.woocommerce-account .bst-woo-content .woocommerce-MyAccount-content {
  background: var(--color-white);
  border: 1px solid var(--color-border-gray);
  border-radius: 18px;
  padding: 32px;
  min-width: 0;
}
.woocommerce-account .bst-woo-content .woocommerce-MyAccount-content > p + p {
  margin-top: 12px;
}

/* Status pills */
.bst-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  background: #eef0f3;
  color: #4a5160;
}
.bst-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.bst-status--on-hold,
.bst-status--pending {
  background: #fff4e0;
  color: #a4620a;
}
.bst-status--processing {
  background: #e9eefe;
  color: #2e48c4;
}
.bst-status--completed {
  background: #e6f7ed;
  color: #19803f;
}
.bst-status--cancelled,
.bst-status--failed,
.bst-status--refunded {
  background: #fdecec;
  color: #b42323;
}

/* Dashboard */
.bst-dash {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.bst-dash-hello h2 {
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.bst-dash-hello p {
  font-size: 15px;
  color: var(--color-text);
}
.bst-dash-alert {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff8ec;
  border: 1px solid #f6d7a3;
  border-radius: 14px;
  padding: 16px 18px;
}
.bst-dash-alert > i {
  font-size: 22px;
  color: #d98a10;
}
.bst-dash-alert > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bst-dash-alert strong {
  color: var(--color-primary);
  font-size: 15px;
}
.bst-dash-alert span {
  font-size: 13px;
  color: var(--color-text);
}
.bst-dash-alert .bst-dark-pill {
  padding: 10px 20px;
  font-size: 12px;
}
.bst-dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.bst-dash-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--color-border-gray);
  border-radius: 14px;
  padding: 18px;
  color: var(--color-text);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.bst-dash-stat:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.bst-dash-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e9eefe;
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.bst-dash-stat-icon.is-amber {
  background: #fff4e0;
  color: #d98a10;
}
.bst-dash-stat-icon.is-green {
  background: #e6f7ed;
  color: #19803f;
}
.bst-dash-stat strong {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.1;
}
.bst-dash-stat span:last-child {
  font-size: 13px;
  font-weight: 600;
}
.bst-dash-block {
  border: 1px solid var(--color-border-gray);
  border-radius: 14px;
  overflow: hidden;
}
.bst-dash-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--color-bg-light);
}
.bst-dash-block-head h3 {
  font-family: var(--font-primary);
  font-size: 17px !important;
  font-weight: 600;
  margin: 0 !important;
  color: var(--color-primary);
}
.bst-dash-block-head a {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-blue);
}
.bst-mini-orders {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bst-mini-orders li + li {
  border-top: 1px solid var(--color-border-light);
}
.bst-mini-orders a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  color: inherit;
  transition: background var(--transition-fast);
}
.bst-mini-orders a:hover {
  background: #fafaf8;
}
.bst-mini-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.bst-mini-main strong {
  font-size: 15px;
  color: var(--color-primary);
}
.bst-mini-main span {
  font-size: 13px;
  color: var(--color-text);
}
.bst-mini-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.bst-mini-side strong {
  font-size: 15px;
  color: var(--color-primary);
}
.bst-dash-empty {
  text-align: center;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--color-text);
}
.bst-dash-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.bst-dash-actions a {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--color-border-gray);
  border-radius: 14px;
  padding: 16px;
  color: var(--color-primary);
  transition: border-color var(--transition-fast);
}
.bst-dash-actions a:hover {
  border-color: var(--color-primary);
}
.bst-dash-actions i {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.bst-dash-actions .fa-whatsapp {
  background: #e6f7ed;
  color: #19803f;
}
.bst-dash-actions span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.bst-dash-actions strong {
  font-size: 14px;
}
.bst-dash-actions small {
  font-size: 12px;
  color: var(--color-text);
}

/* Orders list */
.bst-orders-head {
  margin-bottom: 22px;
}
.bst-orders-head h2 {
  font-family: var(--font-primary);
  font-size: 24px !important;
  font-weight: 600;
  margin-bottom: 4px !important;
}
.bst-orders-head p {
  font-size: 14px;
  color: var(--color-text);
}
.bst-order-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bst-order-card {
  border: 1px solid var(--color-border-gray);
  border-left: 4px solid var(--color-border-gray);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bst-order-card--on-hold,
.bst-order-card--pending {
  border-left-color: #f0a73a;
}
.bst-order-card--processing {
  border-left-color: var(--color-accent-blue);
}
.bst-order-card--completed {
  border-left-color: #25b45d;
}
.bst-order-card--cancelled,
.bst-order-card--failed {
  border-left-color: #d64545;
}
.bst-oc-top,
.bst-oc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.bst-oc-bottom {
  align-items: flex-end;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border-gray);
}
.bst-oc-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.bst-oc-title a {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}
.bst-oc-title span {
  font-size: 13px;
  color: var(--color-text);
}
.bst-oc-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bst-oc-total span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
}
.bst-oc-total strong {
  font-family: var(--font-primary);
  font-size: 20px;
  color: var(--color-primary);
}
.bst-oc-total small {
  font-size: 12px;
  color: var(--color-text);
}
.bst-oc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.bst-oc-btn {
  border-radius: 50px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background: var(--color-white);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.bst-oc-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.bst-oc-btn--bst_pay {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.bst-oc-btn--bst_pay:hover {
  background: #1ebe5b;
  border-color: #1ebe5b;
}
.bst-orders-pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

/* View order */
.bst-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 18px;
}
.bst-back-link:hover {
  color: var(--color-primary);
}
.bst-order-status-card {
  border: 1px solid var(--color-border-gray);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 28px;
  background: #fafaf8;
}
.bst-osc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.bst-osc-head > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bst-osc-label {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
}
.bst-osc-date {
  font-size: 13px;
  color: var(--color-text);
}
.bst-osc-text {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6em;
  color: var(--color-text);
}
.bst-osc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.bst-osc-actions .bst-whatsapp-btn,
.bst-osc-actions .bst-dark-pill {
  padding: 11px 20px;
  font-size: 13px;
}
.woocommerce-account .bst-woo-content .woocommerce-order-details__title,
.woocommerce-account .bst-woo-content .woocommerce-column__title,
.bst-order-updates h2 {
  font-size: 18px !important;
  font-weight: 600;
  margin: 0 0 14px !important;
}
.woocommerce-account .bst-woo-content .woocommerce-customer-details address {
  border: 1px solid var(--color-border-gray);
  border-radius: 14px;
  padding: 16px 18px;
  font-style: normal;
  line-height: 1.7em;
}
.woocommerce-account .bst-woo-content .woocommerce-customer-details .woocommerce-column--billing-address {
  width: 100%;
  float: none;
}
.bst-order-updates {
  margin-top: 28px;
}
.bst-updates-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--color-border-gray);
}
.bst-updates-list li {
  position: relative;
  padding: 0 0 16px 18px;
}
.bst-updates-list li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent-blue);
}
.bst-update-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
}
.bst-update-text {
  font-size: 14px;
  color: var(--color-primary);
  margin-top: 4px;
}

/* Account details form */
.woocommerce-account .bst-woo-content .woocommerce-EditAccountForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.woocommerce-account .bst-woo-content .woocommerce-EditAccountForm > * {
  grid-column: 1 / -1;
}
.woocommerce-account .bst-woo-content .woocommerce-EditAccountForm > .form-row-first {
  grid-column: 1;
}
.woocommerce-account .bst-woo-content .woocommerce-EditAccountForm > .form-row-last {
  grid-column: 2;
}
.woocommerce-account .bst-woo-content .woocommerce-EditAccountForm .form-row {
  width: 100% !important;
  float: none !important;
}
.woocommerce-account .bst-woo-content .woocommerce-EditAccountForm > .clear {
  display: none;
}
.woocommerce-account .bst-woo-content .woocommerce-EditAccountForm em {
  display: block;
  font-size: 12px;
  color: var(--color-text);
  margin-top: 6px;
}
.woocommerce-account .bst-woo-content .woocommerce-EditAccountForm fieldset {
  border: 1px solid var(--color-border-gray);
  border-radius: 14px;
  padding: 18px 20px 4px;
  margin: 10px 0 20px;
}
.woocommerce-account .bst-woo-content .woocommerce-EditAccountForm legend {
  font-weight: 700;
  color: var(--color-primary);
  padding: 0 8px;
}
.woocommerce-account .bst-woo-content .password-input {
  display: block;
  position: relative;
}
.woocommerce-account .bst-woo-content .show-password-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

/* Logged out: Login / Create account card */
.woocommerce-account:not(.logged-in) .bst-woo-content > .woocommerce {
  max-width: 500px;
  margin: 0 auto;
}
.bst-auth {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(27, 37, 80, 0.08);
}
.bst-auth-main {
  padding: 40px 48px 44px;
}
.bst-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 50px;
  background: var(--color-bg-light);
  margin-bottom: 32px;
}
.bst-auth-tab {
  border: none;
  border-radius: 50px;
  background: transparent;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.bst-auth-tab[aria-selected="true"] {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.bst-auth-title {
  font-family: var(--font-primary);
  font-size: 26px !important;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 6px !important;
}
.bst-auth-sub {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 26px;
}
.bst-woo-content .bst-auth-form {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0;
}
.bst-auth-form .form-row {
  margin: 0 0 18px !important;
}
.bst-auth-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.bst-input-icon {
  position: relative;
  display: block;
}
.bst-input-icon > i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-size: 15px;
  color: #9a9a9a;
  pointer-events: none;
  transition: color var(--transition-fast);
}
.bst-input-icon:focus-within > i {
  color: var(--color-accent-blue);
}
.bst-woo-content .bst-auth-form .bst-input-icon input.input-text {
  height: 52px;
  padding: 12px 48px 12px 48px !important;
  border-radius: 14px !important;
  background: #fbfbfa;
  font-size: 15px;
}
.bst-woo-content .bst-auth-form .bst-input-icon input.input-text:focus {
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(57, 86, 218, 0.12);
}
.bst-auth-form .password-input {
  display: block;
  position: relative;
}
.bst-auth-form .show-password-input {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #8a8a8a;
}
.bst-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 22px;
}
.bst-woo-content .bst-auth-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}
.bst-auth-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
}
.bst-auth-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-blue);
}
.bst-auth-link:hover {
  text-decoration: underline;
}
.bst-woo-content .bst-auth-submit {
  width: 100%;
  height: 52px;
  font-size: 14px !important;
  border-radius: 14px !important;
}
.bst-auth-note {
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 18px;
}
.bst-auth-form .woocommerce-privacy-policy-text {
  font-size: 12px;
  line-height: 1.6em;
  color: var(--color-text);
  margin-bottom: 18px;
}
.bst-auth-form .woocommerce-privacy-policy-text p {
  margin: 0;
}
.bst-auth-switch {
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text);
}
.bst-auth-switch .bst-text-btn {
  text-decoration: none;
  font-size: 14px;
}
.bst-auth-switch .bst-text-btn:hover {
  text-decoration: underline;
}

/* Lost / reset password forms */
.woocommerce-account:not(.logged-in) .bst-woo-content .woocommerce-ResetPassword {
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--color-border-light);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(27, 37, 80, 0.06);
}
.woocommerce-account:not(.logged-in) .bst-woo-content .woocommerce-ResetPassword > p:first-child {
  font-size: 14px;
  line-height: 1.6em;
  margin-bottom: 20px;
}
.woocommerce-account:not(.logged-in) .bst-woo-content .woocommerce-ResetPassword .form-row {
  width: 100%;
  float: none;
}
.woocommerce-account:not(.logged-in) .bst-woo-content .woocommerce-ResetPassword .button {
  width: 100%;
  height: 50px;
}

/* ---------- Order received: payment wizard ---------- */
.bst-wizard-page {
  max-width: 620px;
  margin: 0 auto 60px;
  text-align: center;
}
.bst-order-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1px;
  background: var(--color-border-gray);
  border: 1px solid var(--color-border-gray);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 36px;
  text-align: left;
}
.bst-order-summary > div {
  background: var(--color-white);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bst-order-summary span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
}
.bst-order-summary strong {
  font-size: 15px;
  color: var(--color-primary);
}
/* Stepper: numbered circles connected by a line, label under each circle. */
.bst-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 0 auto 32px;
  max-width: 420px;
}
.bst-stepper li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.bst-stepper li + li::before {
  content: "";
  position: absolute;
  top: 17px;
  right: calc(50% + 24px);
  left: calc(-50% + 24px);
  height: 2px;
  border-radius: 2px;
  background: var(--color-border-gray);
  transition: background var(--transition-fast);
}
.bst-stepper li.is-done + li::before,
.bst-stepper li.is-done + li.is-current::before {
  background: #25d366;
}
.bst-stepper-dot {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-border-gray);
  background: var(--color-white);
  color: #9a9a9a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition-fast);
}
.bst-stepper-dot i {
  display: none;
  font-size: 14px;
}
.bst-stepper-label {
  font-size: 13px;
  font-weight: 700;
  color: #9a9a9a;
}
.bst-stepper li.is-current .bst-stepper-dot {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 0 0 5px rgba(45, 45, 45, 0.1);
}
.bst-stepper li.is-current .bst-stepper-label {
  color: var(--color-primary);
}
.bst-stepper li.is-done .bst-stepper-dot {
  border-color: #25d366;
  background: #25d366;
  color: #fff;
}
.bst-stepper li.is-done .bst-stepper-dot .bst-stepper-num {
  display: none;
}
.bst-stepper li.is-done .bst-stepper-dot i {
  display: block;
}
.bst-stepper li.is-done .bst-stepper-label {
  color: #19803f;
}
.bst-step h2 {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 22px;
}
.bst-qr-card {
  border: 1px solid var(--color-border-gray);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.bst-qr-image {
  width: 260px;
  height: 260px;
  border-radius: 12px;
  border: 1px solid var(--color-border-light);
}
.bst-upi-id {
  font-size: 15px;
  color: var(--color-text);
}
.bst-upi-id strong {
  color: var(--color-primary);
  user-select: all;
}
.bst-upi-app-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-blue);
  text-decoration: underline;
}
.bst-qr-note {
  font-size: 14px;
  line-height: 1.6em;
  color: var(--color-text);
  max-width: 460px;
}
.bst-wizard-btn {
  min-width: 280px;
}
.bst-utr-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}
.bst-utr-input {
  width: 100%;
  max-width: 360px;
  text-align: center;
  font-size: 20px !important;
  letter-spacing: 0.08em;
}
.bst-utr-error {
  color: #c62828;
  font-size: 14px;
  font-weight: 500;
}
.bst-wizard-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.bst-post-note {
  font-size: 15px;
  line-height: 1.6em;
  color: var(--color-text);
  margin: 0 auto 22px;
  max-width: 520px;
}
.bst-post-note-muted {
  font-size: 13px;
  margin-top: 22px;
}
.bst-post-note a {
  color: var(--color-accent-blue);
  font-weight: 600;
}
.bst-order-details-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.bst-order-details-wrap .woocommerce-bacs-bank-details,
.bst-order-details-wrap > p:first-child:empty {
  display: none;
}
.bst-order-details-wrap .woocommerce-customer-details {
  margin-top: 28px;
}
.bst-order-details-wrap address {
  border: 1px solid var(--color-border-gray) !important;
  border-radius: 14px;
  padding: 18px 20px !important;
  font-style: normal;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bst-auth-tab {
    padding: 11px 8px;
    font-size: 13px;
  }
  .bst-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
  .bst-product-main {
    padding: 70px 24px 100px;
  }
  .bst-product-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .bst-buy-card {
    position: static;
  }
  .woocommerce-checkout .bst-woo-content form.checkout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .woocommerce-checkout .bst-woo-content #order_review {
    position: static;
  }
  .woocommerce-account.logged-in .bst-woo-content > .woocommerce {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bst-account-nav {
    position: static;
  }
  .bst-account-nav ul {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px;
  }
  .bst-account-nav ul::-webkit-scrollbar {
    display: none;
  }
  .bst-account-nav li a {
    white-space: nowrap;
    padding: 10px 14px;
    background: var(--color-bg-light);
  }
  .bst-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }
  .bst-dash-actions {
    grid-template-columns: 1fr;
  }
  .bst-custom-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
  }
}

@media (max-width: 767px) {
  .subpage-hero.bst-shop-hero {
    min-height: 0;
  }
  .bst-shop-section {
    padding: 50px 0 60px;
  }
  .bst-cat-filter {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -25px 32px;
    padding: 0 25px 4px;
    scrollbar-width: none;
  }
  .bst-cat-filter::-webkit-scrollbar {
    display: none;
  }
  .bst-cat-filter a {
    flex-shrink: 0;
    font-size: 12px;
    padding: 9px 16px;
  }
  .bst-product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .subpage-hero.bst-shop-hero {
    padding: 130px 0 70px;
  }
  .bst-shop-section {
    padding: 50px 0 60px;
  }
  .bst-pcard {
    border-radius: 20px;
    padding: 10px;
  }
  .bst-pcard:hover {
    transform: none;
  }
  .bst-pcard-body {
    padding: 16px 8px 6px;
  }
  .bst-pcard-title {
    font-size: 19px;
  }
  .bst-pcard-foot {
    padding: 14px 14px 14px 16px;
  }
  .bst-pcard-price-value strong,
  .bst-pcard-price-value strong .amount {
    font-size: 20px;
  }
  .bst-pcard-btn {
    width: 46px;
    height: 46px;
  }
  .bst-custom-band {
    padding-bottom: 0;
  }
  .bst-custom-band .section-container {
    padding: 0;
  }
  .bst-custom-card {
    border-radius: 0;
    padding: 50px 25px;
  }
  .bst-custom-card h3 {
    font-size: 22px;
  }
  .bst-product-hero.ps-hero {
    padding-bottom: 60px;
  }
  .bst-product-main {
    padding: 40px 25px 60px;
  }
  .bst-buy-card {
    padding: 24px 20px;
  }
  .bst-buy-price .price {
    font-size: 28px;
  }
  .bst-buy-form .woocommerce-variation-add-to-cart,
  .bst-buy-form form.cart:not(.variations_form) {
    grid-template-columns: 1fr;
  }
  .bst-product-tabs {
    margin-top: 48px;
  }
  .bst-product-tabs .woocommerce-tabs ul.tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .bst-product-tabs .woocommerce-tabs ul.tabs li a {
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 12px;
  }
  .bst-product-tabs .woocommerce-Tabs-panel {
    font-size: 14px;
  }
  .bst-feature-list {
    grid-template-columns: 1fr;
  }
  .bst-related-products {
    padding: 0 0 60px;
  }
  .bst-related-heading {
    font-size: 24px;
    margin-bottom: 28px;
  }
  .bst-woo-content table.shop_table th,
  .bst-woo-content table.shop_table td {
    padding: 12px;
  }
  .woocommerce-cart .bst-woo-content table.shop_table_responsive tr td::before {
    font-weight: 700;
    color: var(--color-primary);
  }
  .woocommerce-checkout .bst-woo-content #customer_details,
  .woocommerce-checkout .bst-woo-content #order_review,
  .woocommerce-account .bst-woo-content .woocommerce-MyAccount-content,
  .bst-woo-content .u-columns .u-column1,
  .bst-woo-content .u-columns .u-column2 {
    padding: 22px 18px;
  }
  .woocommerce-checkout .bst-woo-content .form-row-first,
  .woocommerce-checkout .bst-woo-content .form-row-last {
    width: 100%;
    float: none;
  }
  .bst-auth {
    border-radius: 20px;
  }
  .bst-auth-main {
    padding: 24px 20px 28px;
  }
  .bst-auth-title {
    font-size: 21px !important;
  }
  .bst-auth-tabs {
    margin-bottom: 24px;
  }
  .woocommerce-account:not(.logged-in) .bst-woo-content .woocommerce-ResetPassword {
    padding: 24px 18px;
  }
  .bst-order-summary {
    grid-template-columns: 1fr;
  }
  .bst-step h2 {
    font-size: 22px;
  }
  .bst-qr-card {
    padding: 22px 16px;
  }
  .bst-qr-image {
    width: 220px;
    height: 220px;
  }
  .bst-wizard-btn {
    min-width: 0;
    width: 100%;
  }
  .woocommerce-account .bst-woo-content .woocommerce-MyAccount-content {
    padding: 20px 16px;
  }
  .bst-account-user {
    padding: 16px;
  }
  .bst-dash-hello h2 {
    font-size: 21px;
  }
  .bst-dash-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .bst-dash-stat {
    padding: 12px 10px;
  }
  .bst-dash-stat-icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .bst-dash-stat strong {
    font-size: 22px;
  }
  .bst-dash-stat span:last-child {
    font-size: 11px;
  }
  .bst-dash-alert {
    flex-wrap: wrap;
  }
  .bst-dash-alert .bst-dark-pill {
    width: 100%;
  }
  .bst-mini-orders a {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .bst-mini-side {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .bst-order-card {
    padding: 16px;
  }
  .bst-oc-top {
    flex-direction: column;
    gap: 10px;
  }
  .bst-oc-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .bst-oc-actions {
    justify-content: stretch;
  }
  .bst-oc-actions a {
    flex: 1;
    text-align: center;
  }
  .woocommerce-account .bst-woo-content .woocommerce-EditAccountForm {
    grid-template-columns: 1fr;
  }
  .woocommerce-account .bst-woo-content .woocommerce-EditAccountForm > .form-row-first,
  .woocommerce-account .bst-woo-content .woocommerce-EditAccountForm > .form-row-last {
    grid-column: 1;
  }
  .bst-osc-head {
    flex-direction: column;
    gap: 10px;
  }
  .bst-stepper-label {
    font-size: 12px;
  }
}
