/* Blue Surf Marine — My Account dashboard (Bootstrap 5 first) */

:root {
  --bsm-account-header-offset: var(--bsm-header-offset, 90px);
  --bsm-account-primary: #405ff2;
}

body.bsm-account-app {
  background: #f4f6fb;
}

body.bsm-account-app .site-main {
  background: #f4f6fb;
  padding-top: var(--bsm-account-header-offset);
}

body.bsm-account-app .site-main > .woocommerce {
  max-width: none;
  margin: 0;
  padding: 0;
  float: none;
  width: 100%;
}

/* Reset legacy WooCommerce account layout rules */
.bsm-account-app .woocommerce-MyAccount-navigation,
.bsm-account-app .woocommerce-MyAccount-content {
  float: none;
  width: auto;
}

.bsm-account-app .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bsm-account-avatar {
  width: 5.5rem;
  height: 5.5rem;
}

.bsm-account-nav__sidebar {
  top: calc(var(--bsm-account-header-offset) + 1rem);
  z-index: 20;
}

.bsm-account-nav__mobile {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bsm-account-nav__mobile::-webkit-scrollbar {
  display: none;
}

.bsm-account-nav .nav-link {
  color: #475467;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.bsm-account-nav .nav-link.active {
  background: #eef2ff;
  color: var(--bsm-account-primary);
}

.bsm-account-nav .nav-link:not(.active):hover {
  background: #f8fafc;
  color: #1d2939;
}

.bsm-account-nav__icon {
  line-height: 0;
}

.bsm-account-stat-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bsm-account-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.5rem rgba(16, 24, 40, 0.08) !important;
}

.bsm-account-stat-card__icon {
  width: 2.75rem;
  height: 2.75rem;
}

.bsm-account-content .woocommerce-info,
.bsm-account-content .woocommerce-message,
.bsm-account-content .woocommerce-error,
.bsm-account .woocommerce-info,
.bsm-account .woocommerce-message,
.bsm-account .woocommerce-error {
  border-radius: 0.75rem;
}

.bsm-account-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #667085;
  white-space: nowrap;
}

.bsm-account-table td,
.bsm-account-table th {
  padding: 0.95rem 1rem;
}

.bsm-account-content .form-row label,
.bsm-account .form-row label {
  display: block;
  margin-bottom: 0.4rem;
}

.bsm-account-content .input-text,
.bsm-account-content .form-control,
.bsm-account-content select,
.bsm-account-content textarea,
.bsm-account .input-text,
.bsm-account .form-control,
.bsm-account select,
.bsm-account textarea {
  width: 100%;
  min-height: 3rem;
  border-radius: 0.75rem;
}

.bsm-account-content .input-text:focus,
.bsm-account-content .form-control:focus,
.bsm-account .input-text:focus,
.bsm-account .form-control:focus {
  border-color: var(--bsm-account-primary);
  box-shadow: 0 0 0 0.2rem rgba(64, 95, 242, 0.15);
}

.bsm-account-app .btn-primary {
  --bs-btn-bg: var(--bsm-account-primary);
  --bs-btn-border-color: var(--bsm-account-primary);
  --bs-btn-hover-bg: #2f4de0;
  --bs-btn-hover-border-color: #2f4de0;
  background: #3a78ff;
  border-color: #3a78ff;
  border-radius: 50px !important;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  min-height: 46px;
  padding: 10px 22px;
}

.btn-outline-danger{
  border-radius: 50px !important;
  font-size: 14px;
  font-weight: 600;
  min-height: 46px;
  padding: 10px 22px;
}

.btn{
  border-radius: 50px !important;
  font-size: 14px;
  font-weight: 600;
  min-height: 46px;
  padding: 10px 18px;
}

.object-fit-cover {
  object-fit: cover;
}

.bsm-saved-item-card .stretched-link::after {
  z-index: 1;
}

@media (max-width: 991.98px) {
  .bsm-account-nav__sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 767.98px) {
  .bsm-account-avatar {
    width: 4.5rem;
    height: 4.5rem;
  }

  .bsm-account-table thead {
    display: none;
  }

  .bsm-account-table tbody tr {
    display: block;
    border-bottom: 1px solid #eef2f7;
    padding: 0.75rem 0;
  }

  .bsm-account-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    padding: 0.35rem 0;
  }

  .bsm-account-table tbody td::before {
    content: attr(data-title);
    font-weight: 600;
    color: #667085;
  }
}
.bsm-account-app .card.border-0.shadow-sm.rounded-4.mb-4.mb-lg-5.overflow-hidden{
  height: unset;
}

.bsm-account-app img.object-fit-cover{
height: auto;
max-height: 100%;

}

.bsm-account-app .card.border-0.shadow-sm.rounded-4{
  height: unset;
}

