/**
 * Account area — unified styles for newly integrated user pages
 * ----------------------------------------------------------------
 * Loaded only on /{lang}/user/* routes (see common/header.php).
 * Scope new rules under .sam-account-ui and/or .sam-footer-ui where
 * possible to avoid colliding with global storefront styles.
 *
 * Do not add non–account-area styles here; keep this file limited to
 * user dashboard, orders, quotations, price requests, profile, credit
 * term, shared sidebar, and account-related footer skin.
 */

/* =============================================================================
   SHARED — design tokens, wrappers, utilities
   (Used across multiple account pages; extend as the migration progresses.)
   ============================================================================= */

:root {
  --sam-account-bg: #eef0f0;
  --sam-account-page-bg: #eef0f0;
  --sam-account-card-bg: #ffffff;
  --sam-account-accent: #ff9900;
  --sam-account-accent-soft: #fff4e6;
  --sam-account-text: #1a1a1a;
  --sam-account-text-muted: #767676;
  --sam-account-logout: #e85d4c;
  --sam-account-radius-lg: 16px;
  --sam-account-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Page strip behind sidebar + main column */
.my-account-area {
  background-color: var(--sam-account-page-bg);
}

/* Right column: white panel (overrides main.css #f8f8ff on /user/* only) */
.my-account-area .my-account-content {
  background-color: var(--sam-account-card-bg) !important;
  border-radius: var(--sam-account-radius-lg);
  box-shadow: var(--sam-account-shadow);
}

/* Orders / quotations / pricerequests: gray behind search strip + account row */
.mainContent:has(.my-account-area) {
  background-color: var(--sam-account-page-bg);
}

/* Optional page shell: wrap account main content when views are updated */
.sam-account-ui {
  /* layout helpers live here as pages adopt .sam-account-ui */
}

/* =============================================================================
   SIDEBAR — userdashboard-sidebar.php (all /user/* pages using sidebar)
   ============================================================================= */

/* Column: no outer gray box — gutter only so the white card lines up with the main column. */
.my-account-area .userSidebar {
  background: transparent;
  padding: 0 12px 0 0;
  border-radius: 0;
  overflow: visible;
}

@media (min-width: 768px) {
  .my-account-area .userSidebar {
    padding: 0 16px 0 0;
  }

  /* Top-align sidebar and main content cards */
  .my-account-area .row {
    align-items: flex-start;
  }
}

/* Card: rounded corners + soft shadow (new design). */
.sam-account-sidebar {
  position: relative;
  background: var(--sam-account-card-bg);
  border-radius: var(--sam-account-radius-lg);
  box-shadow: var(--sam-account-shadow);
  padding: 48px 14px 18px;
  margin-top: 0;
}

.sam-account-sidebar__header {
  text-align: center;
  margin-bottom: 8px;
}

/* Avatar: orange circle + white FA user; sits above card edge. */
.sam-account-sidebar__avatar {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sam-account-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 18px rgba(255, 153, 0, 0.35);
}

.sam-account-sidebar__avatar .fa {
  line-height: 1;
}

.sam-account-sidebar__name {
  margin: 10px 0 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sam-account-text);
  line-height: 1.35;
}

.sam-account-sidebar__nav {
  margin-top: 4px;
}

.sam-account-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sam-account-sidebar__item {
  margin: 4px 0;
}

.sam-account-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--sam-account-text-muted);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  font-size: 0.9375rem;
}

.sam-account-sidebar__link:hover,
.sam-account-sidebar__link:focus {
  background: #f3f4f6;
  color: var(--sam-account-text);
  outline: none;
}

.sam-account-sidebar__icon {
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
  color: inherit;
}

.sam-account-sidebar__label {
  flex: 1;
  min-width: 0;
  text-align: left;
}

/* Active row: soft orange fill + orange icon/text */
.sam-account-sidebar__item--active .sam-account-sidebar__link {
  background: var(--sam-account-accent-soft);
  color: var(--sam-account-accent);
  font-weight: 600;
}

.sam-account-sidebar__item--active .sam-account-sidebar__icon {
  color: var(--sam-account-accent);
}

/* Credit term approved badge */
.sam-account-sidebar__status-icon {
  flex-shrink: 0;
  margin-left: auto;
  color: #22c55e;
  font-size: 1rem;
}

.sam-account-sidebar__divider {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 14px 0 10px;
}

.sam-account-sidebar__logout-wrap {
  padding: 0 2px 4px;
}

.sam-account-sidebar__logout-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--sam-account-logout);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.15s ease;
}

.sam-account-sidebar__logout-link:hover,
.sam-account-sidebar__logout-link:focus {
  background: #fff0ee;
  outline: none;
}

.sam-account-sidebar__logout-link .sam-account-sidebar__icon {
  color: var(--sam-account-logout);
}

/* Legacy wrapper no longer wraps the list; neutralize old rules if they leak. */
.userSidebar .my-account-navigation {
  margin-bottom: 0;
  height: auto;
}

/* =============================================================================
   DASHBOARD — master/user/dashboard.php
   ============================================================================= */

/* =============================================================================
   ORDERS — master/user/order_history.php (+ order detail if styled later)
   ============================================================================= */

.my-account-content .sam-orders,
.my-account-content .sam-quotations,
.my-account-content .sam-pricerequests,
.my-account-content .sam-pricerequest-add {
  padding: 0.25rem 0.25rem 0.5rem;
}

.sam-orders-title,
.sam-quotations-title,
.sam-pricerequests-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
}

.sam-orders-table-wrap,
.sam-quotations-table-wrap,
.sam-pricerequests-table-wrap {
  border-radius: 12px;
}

.my-account-content .sam-orders-table.table,
.my-account-content .sam-quotations-table.table,
.my-account-content .sam-pricerequests-table.table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: #fff;
}

.my-account-content .sam-orders-table thead th,
.my-account-content .sam-quotations-table thead th,
.my-account-content .sam-pricerequests-table thead th {
  background-color: #e5e7eb;
  color: #374151;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.85rem 0.75rem;
  vertical-align: middle;
  text-align: center;
  border-color: #d1d5db;
}

.my-account-content .sam-orders-table thead th label,
.my-account-content .sam-quotations-table thead th label,
.my-account-content .sam-pricerequests-table thead th label {
  color: inherit;
  margin: 0;
  font-weight: 600;
}

.my-account-content .sam-orders-table tbody td,
.my-account-content .sam-quotations-table tbody td,
.my-account-content .sam-pricerequests-table tbody td {
  text-align: center;
  vertical-align: middle;
  padding: 0.75rem 0.65rem;
  font-size: 0.875rem;
  color: #444;
  border-color: #e8eaed;
}

.my-account-content .sam-orders-table tbody tr:hover,
.my-account-content .sam-quotations-table tbody tr:hover,
.my-account-content .sam-pricerequests-table tbody tr:hover {
  background-color: #f9fafb;
}

.sam-orders-status {
  display: inline-block;
  font-weight: 600;
}

/* 0 = pending payment, 1 = pending received, 2 = delivered (labels from getOrderStatus) */
.sam-orders-status-cell--0 .sam-orders-status {
  color: #d97706;
}

.sam-orders-status-cell--1 .sam-orders-status,
.sam-orders-status-cell--2 .sam-orders-status {
  color: #22c55e;
}

.sam-orders-actions {
  white-space: nowrap;
}

.sam-orders-actions br + .sam-orders-pay-btn {
  margin-top: 0.35rem;
  display: inline-block;
}

.sam-orders-view-btn,
.sam-orders-pay-btn,
.sam-pricerequests-view-btn {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.3;
}

.sam-orders-view-btn,
.sam-pricerequests-view-btn {
  background-color: #22c55e;
  color: #fff !important;
}

.sam-orders-view-btn:hover,
.sam-pricerequests-view-btn:hover {
  background-color: #16a34a;
  color: #fff !important;
}

.sam-orders-pay-btn {
  background-color: var(--sam-account-accent);
  color: #fff !important;
}

.sam-orders-pay-btn:hover {
  background-color: #e08600;
  color: #fff !important;
}

/* Pagination (CodeIgniter: span.number / span.current) */
.sam-orders-pagination {
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.sam-orders-pagination span.number a,
.sam-orders-pagination span.number strong,
.sam-orders-pagination > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  border: none;
  background: #e5e7eb;
  color: #4b5563 !important;
  margin: 0 2px;
}

.sam-orders-pagination span.number a:hover,
.sam-orders-pagination > a:hover {
  background: #f3f4f6;
  color: #111827 !important;
}

.sam-orders-pagination span.current a {
  background-color: var(--sam-account-accent-soft);
  color: var(--sam-account-accent) !important;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .sam-orders-title,
  .sam-quotations-title,
  .sam-pricerequests-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .my-account-content .sam-orders-table tbody td,
  .my-account-content .sam-orders-table thead th,
  .my-account-content .sam-quotations-table tbody td,
  .my-account-content .sam-quotations-table thead th,
  .my-account-content .sam-pricerequests-table tbody td,
  .my-account-content .sam-pricerequests-table thead th {
    padding: 0.5rem 0.35rem;
    font-size: 0.8125rem;
  }
}
/* =============================================================================
   QUOTATIONS — master/user/quotation_history.php (+ quotation detail later)
   ============================================================================= */

.sam-quotations-status {
  display: inline-block;
  font-weight: 600;
}

.sam-quotations-status-cell--0 .sam-quotations-status {
  color: #d97706;
}

.sam-quotations-pay-btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.3;
  background-color: #22c55e;
  color: #fff !important;
}

.sam-quotations-pay-btn:hover {
  background-color: #16a34a;
  color: #fff !important;
}

/* Pagination (list pages): prev/next arrows + pills — quotations + price requests */
.sam-quotations-pagination,
.sam-pricerequests-pagination {
  flex-wrap: wrap;
  gap: 0.5rem 0.45rem;
  margin-top: 0.35rem;
}

.sam-quotations-pagination > a,
.sam-pricerequests-pagination > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 2rem;
  padding: 0 0.35rem;
  margin: 0;
  border-radius: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  border: none !important;
  background: transparent !important;
  color: #374151 !important;
}

.sam-quotations-pagination > a:hover,
.sam-pricerequests-pagination > a:hover {
  background: transparent !important;
  color: #111827 !important;
}

.sam-quotations-pagination span.number a,
.sam-quotations-pagination span.number strong,
.sam-quotations-pagination span.current a,
.sam-pricerequests-pagination span.number a,
.sam-pricerequests-pagination span.number strong,
.sam-pricerequests-pagination span.current a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.125rem;
  height: 2.125rem;
  padding: 0 0.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  border: none;
  margin: 0 2px;
}

.sam-quotations-pagination span.number a,
.sam-quotations-pagination span.number strong,
.sam-pricerequests-pagination span.number a,
.sam-pricerequests-pagination span.number strong {
  background: #e5e7eb;
  color: #4b5563 !important;
}

.sam-quotations-pagination span.number a:hover,
.sam-pricerequests-pagination span.number a:hover {
  background: #f3f4f6;
  color: #111827 !important;
}

.sam-quotations-pagination span.current a,
.sam-pricerequests-pagination span.current a {
  background-color: var(--sam-account-accent-soft);
  color: var(--sam-account-accent) !important;
  cursor: default;
  pointer-events: none;
}

/* =============================================================================
   PRICE REQUESTS — master/user/pricerequest/*.php (list, add, view)
   ============================================================================= */

.sam-pricerequests-status {
  display: inline-block;
  font-weight: 600;
}

/* getpaymentrequeststatus keys: 0 pending, 1 approved, 2 declined, 3 expired */
.sam-pricerequests-status-cell--0 .sam-pricerequests-status,
.sam-pricerequests-status--0 {
  color: #d97706;
}

.sam-pricerequests-status-cell--1 .sam-pricerequests-status,
.sam-pricerequests-status--1 {
  color: #22c55e;
}

.sam-pricerequests-status-cell--2 .sam-pricerequests-status,
.sam-pricerequests-status--2 {
  color: #dc2626;
}

.sam-pricerequests-status-cell--3 .sam-pricerequests-status,
.sam-pricerequests-status--3 {
  color: #6b7280;
}

.sam-pricerequest-btn-primary {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  background-color: #22c55e !important;
  color: #fff !important;
}

.sam-pricerequest-btn-primary:hover {
  background-color: #16a34a !important;
  color: #fff !important;
}

.sam-pricerequest-remove-link {
  color: var(--sam-account-logout) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.sam-pricerequest-remove-link:hover {
  text-decoration: underline !important;
}

.sam-pricerequest-details .sam-pricerequest-details-panel {
  border: 1px solid #e5e7eb;
  border-radius: var(--sam-account-radius-lg);
  box-shadow: var(--sam-account-shadow);
}

.sam-pricerequest-details .sam-pricerequest-details-messages {
  background: var(--sam-account-card-bg);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

/* =============================================================================
   PROFILE — master/user/edit_profile.php
   ============================================================================= */

.my-account-content .sam-profile-ui {
  padding: 0.35rem 0.25rem 1rem;
}

.sam-profile-ui .car-lists.productlisting {
  padding: 0;
}

.sam-profile-ui .cart-user-form.sam-profile-prefs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.sam-profile-ui .sam-profile-pref-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.sam-profile-ui .sam-profile-pref-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0 !important;
}

.sam-profile-ui .sam-profile-pref-row > .billing-details,
.sam-profile-ui .sam-profile-pref-row > .control-label {
  flex: 1 1 220px;
  margin-bottom: 0 !important;
  font-weight: 700;
  font-size: 0.95rem;
  color: #374151;
  text-align: left !important;
}

.sam-profile-ui .sam-profile-pref-row .col-sm-5 {
  flex: 0 1 auto;
  width: auto !important;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.sam-profile-ui .sam-profile-pref-row .form-check-inline {
  margin: 0 !important;
}

.sam-profile-ui .sam-profile-section-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.55rem;
}

.sam-profile-ui .sam-profile-section-heading__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sam-profile-ui
  .sam-profile-section-heading--billing
  .sam-profile-section-heading__icon {
  background: #dcfce7;
}

.sam-profile-ui
  .sam-profile-section-heading--shipping
  .sam-profile-section-heading__icon {
  background: #dbeafe;
}

.sam-profile-ui
  .sam-profile-section-heading--carrier
  .sam-profile-section-heading__icon {
  background: #ffedd5;
}

.sam-profile-ui .sam-profile-section-heading__icon img {
  display: block;
}

.sam-profile-ui .sam-profile-section-heading__text {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.sam-profile-ui .cart-form-grid {
  gap: 1rem 1.25rem !important;
}

.sam-profile-ui .formGrid.d-grid {
  gap: 1rem 1.25rem !important;
}

/* Override dynamic_colors.php (.form-control / .dd white bg !important) */
.sam-profile-ui .form-control,
.sam-profile-ui select.form-control,
.sam-profile-ui textarea.form-control,
.sam-profile-ui .dd,
.sam-profile-ui .ddcommon,
.sam-profile-ui .ddcommon .ddTitle {
  display: block;
  width: 100%;
  min-height: 45px;
  background-color: #eaeaea !important;
  border: none !important;
  border-color: transparent !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #374151 !important;
  box-shadow: inset 0 0 0 1px transparent;
}

.sam-profile-ui select.form-control {
  appearance: auto;
}

.sam-profile-ui .ddcommon .ddTitle {
  width: 100% !important;
}

.sam-profile-ui #cart_country_msdd,
.sam-profile-ui #ship_country_msdd {
  width: 100% !important;
  max-width: 100%;
}

.sam-profile-ui #popupboxcountrywrap,
.sam-profile-ui #ship-popupboxcountrywrap {
  width: 100%;
}

.sam-profile-ui .ddcommon .ddTitleText {
  min-height: 45px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.35;
}

.sam-profile-ui .ddcommon .ddTitleText img {
  margin-right: 0.4rem;
}

.sam-profile-ui .ddcommon .text {
  background-color: #eaeaea !important;
  border: none !important;
}

.sam-profile-ui .form-control:focus,
.sam-profile-ui select.form-control:focus,
.sam-profile-ui textarea.form-control:focus,
.sam-profile-ui .ddcommon:focus,
.sam-profile-ui .ddcommon:focus .ddTitle {
  background-color: #f3f4f6 !important;
  box-shadow: inset 0 0 0 2px var(--sam-account-accent);
  outline: none;
}

.sam-profile-ui .control-label,
.sam-profile-ui label.control-label,
.sam-profile-ui label.left {
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 0.45rem;
}

.sam-profile-ui .sam-profile-phone-row {
  gap: 0.5rem;
  align-items: stretch;
  margin-left: 0;
  margin-right: 0;
}

.sam-profile-ui .sam-profile-phone-row .country_code_div {
  flex: 0 0 5.5rem;
  max-width: 6.5rem;
  padding-left: 0;
  padding-right: 0;
}

.sam-profile-ui .sam-profile-phone-row > div:last-child {
  flex: 1 1 auto;
  padding-left: 0;
  padding-right: 0;
}

.sam-profile-ui .sam-profile-incoterm-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sam-profile-ui .sam-profile-incoterm-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid #c4c4c4;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.sam-profile-ui .sam-profile-incoterm-card:hover {
  border-color: #9ca3af;
}

.sam-profile-ui .sam-profile-incoterm-card:has(input:checked) {
  border-color: var(--sam-account-accent);
  background: #fff8f0;
}

.sam-profile-ui .sam-profile-incoterm-card .sam-profile-incoterm-card__inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.sam-profile-ui .sam-profile-client-upload .sam-profile-file-input {
  border: 2px dashed #ccc;
  border-radius: 10px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 45px;
  padding: 0.35rem 0.75rem;
}

.sam-profile-ui .sam-profile-client-upload .inputfilebtn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 !important;
  border-radius: 0;
  background: transparent !important;
  border: 0 !important;
  color: #595959 !important;
  font-weight: 700 !important;
}

.sam-profile-ui .sam-profile-submit {
  min-width: 8.5rem;
  padding: 0.55rem 1.5rem !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  background: var(--sam-account-accent) !important;
  border: none !important;
  color: #fff !important;
}

.sam-profile-ui .sam-profile-submit:hover {
  filter: brightness(0.95);
  color: #fff !important;
}

.my-account-content .sam-profile-submit-row {
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0 1.25rem 1.5rem;
}

.my-account-content .sam-profile-submit-row .productActionBtns {
  justify-content: center;
}

.my-account-content .sam-profile-submit-row.sticky_button_next {
  position: static;
  width: 100%;
}

@media (max-width: 767.98px) {
  .sam-profile-ui .sam-profile-pref-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .sam-profile-ui .sam-profile-pref-row .col-sm-5 {
    width: 100% !important;
  }
}

/* Two-column profile layout (edit_profile.php) */
.sam-profile-ui .sam-profile-layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 1.35rem 0;
}

.sam-profile-ui .sam-profile-layout__col {
  min-width: 0;
}

.sam-profile-ui .sam-profile-layout__col--left {
  flex: 1 1 58%;
  padding-right: 2rem;
}

.sam-profile-ui .sam-profile-layout__col--right {
  flex: 0 1 42%;
  padding-left: 2rem;
}

.sam-profile-ui .sam-profile-layout__divider {
  flex: 0 0 2px;
  align-self: stretch;
  background: rgba(201, 201, 201, 0.35);
  margin: 0;
}

.sam-profile-ui .sam-profile-section {
  margin-bottom: 0;
}

.sam-profile-ui .sam-profile-section + .sam-profile-section-divider {
  margin: 1.75rem 0;
  border: 0;
  border-top: 2px solid rgba(201, 201, 201, 0.35);
}

.sam-profile-ui
  .sam-profile-section-heading--contact
  .sam-profile-section-heading__icon {
  background: #fce7f3;
}

.sam-profile-ui
  .sam-profile-section-heading--security
  .sam-profile-section-heading__icon {
  background: #dbeafe;
}

.sam-profile-ui
  .sam-profile-section-heading--company
  .sam-profile-section-heading__icon {
  background: #f3e8ff;
}

.sam-profile-ui .sam-profile-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.sam-profile-ui .sam-profile-toggle-row__label {
  font-weight: 700;
  font-size: 1rem;
  color: #374151;
  margin: 0;
}

.sam-profile-ui .sam-profile-toggle {
  position: relative;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
  background: #c8c8c8;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  border: none;
  padding: 0;
}

.sam-profile-ui .sam-profile-toggle.is-on {
  background: #ffe0c0;
}

.sam-profile-ui .sam-profile-toggle__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #686662;
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.sam-profile-ui .sam-profile-toggle.is-on .sam-profile-toggle__knob {
  transform: translateX(24px);
  background: var(--sam-account-accent);
}

.sam-profile-ui .sam-profile-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.45rem;
}

.sam-profile-ui .sam-profile-field-grid .form-group {
  margin-bottom: 0 !important;
}

.sam-profile-ui .sam-profile-field-grid .col-lg-12 {
  padding-left: 0;
  padding-right: 0;
}

.sam-profile-ui .sam-profile-field-grid .sam-profile-field--full {
  grid-column: 1 / -1;
}

.sam-profile-ui .sam-profile-shipping-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sam-profile-ui .sam-profile-shipping-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid #a1a1a1;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.sam-profile-ui .sam-profile-shipping-option:hover {
  border-color: #9ca3af;
}

.sam-profile-ui .sam-profile-shipping-option.is-selected {
  border-color: var(--sam-account-accent);
  background: #fff8f0;
}

.sam-profile-ui .sam-profile-shipping-option__radio {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 2px solid #a1a1a1;
  border-radius: 50%;
  position: relative;
}

.sam-profile-ui
  .sam-profile-shipping-option.is-selected
  .sam-profile-shipping-option__radio {
  border-color: var(--sam-account-accent);
}

.sam-profile-ui
  .sam-profile-shipping-option.is-selected
  .sam-profile-shipping-option__radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--sam-account-accent);
  border-radius: 50%;
}

.sam-profile-ui .sam-profile-shipping-option__body {
  flex: 1;
  min-width: 0;
}

.sam-profile-ui .sam-profile-shipping-option__title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: #111827;
}

.sam-profile-ui .sam-profile-shipping-option__desc {
  display: block;
  font-size: 0.75rem;
  line-height: 1.45;
  margin: 0;
  color: #6b7280;
}

.sam-profile-ui .sam-profile-shipping-option__logo {
  flex-shrink: 0;
  max-height: 28px;
  width: auto;
  align-self: center;
  font-weight: 700;
  color: #e11d48;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.sam-profile-ui .sam-profile-shipping-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sam-profile-ui .sam-profile-company-carrier {
  margin-top: 1rem;
}

.sam-profile-ui .sam-profile-carrier-fields {
  margin-top: 1rem;
  gap: 1rem;
}

.sam-profile-ui #show_shipping_details_div {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 2px solid rgba(201, 201, 201, 0.35);
  width: 100%;
}

.sam-profile-ui
  .sam-profile-section-heading--shipping-address
  .sam-profile-section-heading__icon {
  background: rgba(255, 255, 255, 0.55);
}

.sam-profile-ui .sam-profile-shipping-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  margin-bottom: 1.25rem;
}

.sam-profile-ui .sam-profile-shipping-contact .form-group {
  width: 100%;
  margin-bottom: 0;
}

.sam-profile-ui .sam-profile-shipping-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.sam-profile-ui .sam-profile-shipping-fields .sam-profile-field--ship-zip {
  grid-column: 1 / -1;
  max-width: 50%;
}

.sam-profile-ui .sr-only-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 991.98px) {
  .sam-profile-ui .sam-profile-layout {
    flex-direction: column;
  }

  .sam-profile-ui .sam-profile-layout__col--left,
  .sam-profile-ui .sam-profile-layout__col--right {
    padding: 0;
    width: 100%;
  }

  .sam-profile-ui .sam-profile-layout__divider {
    flex: 0 0 auto;
    width: 100%;
    height: 2px;
    margin: 1.5rem 0;
  }
}

@media (max-width: 575.98px) {
  .sam-profile-ui .sam-profile-field-grid,
  .sam-profile-ui .sam-profile-shipping-fields,
  .sam-profile-ui .sam-profile-address-fields {
    grid-template-columns: 1fr;
  }

  .sam-profile-ui .sam-profile-shipping-fields .sam-profile-field--ship-zip {
    max-width: 100%;
  }
}

.sam-profile-ui .sam-profile-logo-duplicate,
.sam-profile-ui .sam-profile-contact-fields .sam-profile-contact-logo-wrap,
.sam-profile-ui .sam-profile-contact-fields .sam-profile-field--logo {
  display: none !important;
}

.sam-profile-ui .sam-profile-address-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.sam-profile-ui .sam-profile-contact-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.sam-profile-ui .sam-profile-contact-fields .form-group {
  width: 100%;
  margin-bottom: 0;
}

.sam-profile-ui .sam-profile-contact-fields .sam-profile-field--full,
.sam-profile-ui .sam-profile-contact-fields .sam-profile-field--logo {
  grid-column: unset;
  width: 100%;
}

.sam-profile-ui .sam-profile-address-fields .sam-profile-field--country {
  order: 1;
}
.sam-profile-ui .sam-profile-address-fields .sam-profile-field--state {
  order: 2;
}
.sam-profile-ui .sam-profile-address-fields .sam-profile-field--addr-line {
  order: 3;
}
.sam-profile-ui .sam-profile-address-fields .sam-profile-field--city {
  order: 4;
}
.sam-profile-ui .sam-profile-address-fields .sam-profile-field--zip {
  order: 5;
}
.sam-profile-ui .sam-profile-field--logo {
  display: none !important;
}

.sam-profile-ui .sam-profile-section-divider--contact {
  order: 9;
}

.sam-profile-ui .sam-profile-section--company {
  margin-top: 0;
}

.sam-profile-ui .sam-profile-section--contact {
  order: 8;
}

.sam-profile-ui .sam-profile-layout__col--left {
  display: flex;
  flex-direction: column;
}

.sam-profile-ui #sam_profile_company_section ~ .sam-profile-tax-fields,
.sam-profile-ui .sam-profile-tax-fields {
  margin-top: 0;
}

.sam-profile-ui .sam-profile-shipping-options .no_free_delivery > label {
  display: none;
}

.sam-profile-ui .sam-profile-shipping-options .exw,
.sam-profile-ui .sam-profile-shipping-options .dap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #a1a1a1;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.sam-profile-ui
  .sam-profile-shipping-options
  input[name="incoterms"]:checked
  + label,
.sam-profile-ui .sam-profile-shipping-options .exw:has(input:checked),
.sam-profile-ui .sam-profile-shipping-options .dap:has(input:checked) {
  border-color: var(--sam-account-accent);
  background: #fff8f0;
}

.sam-profile-ui .sam-profile-company-carrier {
  margin-top: 0.75rem;
}

.sam-profile-ui .sam-profile-company-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.sam-profile-ui .sam-profile-company-stack .form-group {
  width: 100%;
  margin-bottom: 0;
}

.sam-profile-ui .sam-profile-toggle-row--tax {
  margin-top: 0;
}

.sam-profile-ui .sam-profile-tax-question .sam-profile-toggle-row__label {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.sam-profile-ui .sam-profile-file-hint {
  color: #c0392b;
  font-size: 0.8125rem;
  margin-top: 0.35rem;
}

/* =============================================================================
   CREDIT TERM — master/user/credit_term.php
   ============================================================================= */

.sam-credit-ui .car-lists.productlisting {
  background: transparent;
}

.sam-credit-ui .sam-credit-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.sam-credit-ui .sam-credit-page-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--sam-account-text);
}

.sam-credit-ui .sam-credit-intro {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--sam-account-text);
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.sam-credit-ui .sam-credit-requirements {
  display: block;
  margin: 0;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--sam-account-text);
  list-style-type: disc;
  list-style-position: outside;
  white-space: normal;
}

.sam-credit-ui .sam-credit-requirements li {
  display: list-item;
  width: 100%;
  margin-bottom: 0.35rem;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.sam-credit-ui .sam-credit-section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}

.sam-credit-ui .sam-credit-section-heading__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sam-credit-ui .sam-credit-section-heading__icon img {
  display: block;
  width: 46px;
  height: 46px;
}

.sam-credit-ui .sam-credit-section-heading__text {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sam-account-text);
}

.sam-credit-ui .sam-credit-action-cards {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
}

.sam-credit-ui .sam-credit-action-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 180px;
  padding: 1.25rem 1rem;
  text-align: center;
  background: rgba(217, 217, 217, 0.28);
  border-radius: 12px;
}

.sam-credit-ui .sam-credit-action-card.form-group {
  margin-bottom: 0;
}

.sam-credit-ui .sam-credit-action-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--sam-account-text);
}

.sam-credit-ui .sam-credit-upload-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.sam-credit-ui .sam-credit-upload-label {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1rem;
  font-weight: 700;
  text-align: center;
  color: #111827;
  background: #d7f0e1;
  border: 2px dashed #33da73;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sam-credit-ui .sam-credit-upload-label:hover {
  background: #c8f1d9;
  color: #00b872;
}

.sam-credit-ui .sam-credit-upload-label__text {
  display: block;
}

.sam-credit-ui .sam-credit-file-input {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.sam-credit-ui .sam-credit-file-input .inputfile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.sam-credit-ui .sam-credit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 175px;
  padding: 0.75rem 2.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sam-credit-ui .sam-credit-btn:hover {
  opacity: 0.92;
  text-decoration: none;
  color: inherit;
}

.sam-credit-ui .sam-credit-btn--download {
  background: #33da73;
  color: #fff;
}

.sam-credit-ui .sam-credit-btn--submit {
  background: var(--sam-account-accent);
  color: #fff;
}

.sam-credit-ui .sam-credit-btn--compact {
  min-width: 0;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.sam-credit-ui .sam-credit-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.sam-credit-ui .sam-credit-action-card .help-block {
  width: 100%;
  margin: 0;
  text-align: center;
}

.sam-credit-ui .sam-credit-action-card.has-error .sam-credit-upload-label {
  border-color: #c0392b;
}

.sam-credit-ui .sam-credit-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.sam-credit-ui .sam-credit-status-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  background: rgba(217, 217, 217, 0.28);
  border-radius: 10px;
}

.sam-credit-ui .sam-credit-status-item--full {
  grid-column: 1 / -1;
}

.sam-credit-ui .sam-credit-status-item__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sam-account-text-muted);
}

.sam-credit-ui .sam-credit-status-item__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sam-account-text);
  word-break: break-word;
}

@media (max-width: 991.98px) {
  .sam-credit-ui .sam-credit-action-cards {
    flex-direction: column;
  }

  .sam-credit-ui .sam-credit-status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .sam-credit-ui .sam-credit-page-title {
    font-size: 1.25rem;
  }

  .sam-credit-ui .sam-credit-intro,
  .sam-credit-ui .sam-credit-requirements {
    font-size: 0.9375rem;
  }

  .sam-credit-ui .sam-credit-btn {
    width: 100%;
    max-width: 100%;
  }

  .sam-credit-ui .sam-credit-btn--submit {
    width: min(100%, 280px);
  }
}

/* =============================================================================
   FOOTER — common/footer.php
   ============================================================================= */

.sam-footer-ui.footerDiv,
.sam-footer-ui .footerDiv {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  background-color: #ffffff !important;
  color: #555555;
  box-shadow: 0 0px 8px rgba(0, 0, 0, 0.18);
}

/* Legacy JS reserved padding-bottom for position:absolute footer — not needed here */
body:has(.footerDiv.sam-footer-ui) .bodywrapper {
  padding-bottom: 0 !important;
}

.sam-footer-ui footer.sam-footer,
.sam-footer-ui .sam-footer {
  width: 100%;
  padding: 0 !important;
  color: #555555 !important;
  position: relative;
}

/* Shadow above footer only — separates page content from footer, not main vs copyright */
.sam-footer-ui footer.sam-footer::before,
.sam-footer-ui .sam-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.sam-footer-ui footer a,
.sam-footer-ui .sam-footer a {
  color: #555555 !important;
}

.sam-footer-ui footer a:hover,
.sam-footer-ui footer a:focus,
.sam-footer-ui .sam-footer a:hover,
.sam-footer-ui .sam-footer a:focus {
  color: #25221e !important;
}

.sam-footer-ui footer ul,
.sam-footer-ui .sam-footer ul {
  font-size: inherit !important;
  letter-spacing: normal !important;
}

.sam-footer-ui .sam-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 1fr) minmax(
      0,
      1.1fr
    );
  gap: 1rem 2rem;
  padding: 1.25rem 2.5rem 0;
  align-items: start;
}

.sam-footer-ui .sam-footer__section {
  min-width: 0;
  max-width: none;
  text-align: left;
}

.sam-footer-ui .sam-footer__section--brand {
  grid-column: 1;
}

.sam-footer-ui .sam-footer__section--menu {
  grid-column: 2;
}

.sam-footer-ui .sam-footer__section--payment {
  grid-column: 3;
}

.sam-footer-ui .sam-footer__section--map {
  grid-column: 4;
}

.sam-footer-ui .sam-footer__logo {
  display: block;
  margin-bottom: 1rem;
}

.sam-footer-ui .sam-footer__logo img {
  display: block;
  max-width: 120px;
  width: auto;
  height: auto;
}

.sam-footer-ui .sam-footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #3f3f3f;
}

.sam-footer-ui .sam-footer__contact-icon {
  flex-shrink: 0;
  display: block;
}

.sam-footer-ui .sam-footer__contact-icon-fa {
  flex-shrink: 0;
  width: 20px;
  font-size: 1.125rem;
  text-align: center;
  color: #3f3f3f;
}

.sam-footer-ui .sam-footer__contact-text {
  color: inherit;
  text-decoration: none;
  line-height: 1.45;
}

.sam-footer-ui .sam-footer__contact-text:hover {
  color: #25221e;
  text-decoration: none;
}

.sam-footer-ui .sam-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.sam-footer-ui .sam-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0.35rem;
  border: 3px solid #555555;
  border-radius: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sam-footer-ui .sam-footer__social-link:hover {
  border-color: #25221e;
  transform: scale(1.05);
}

.sam-footer-ui .sam-footer__social-link img {
  display: block;
  max-height: 20px;
  width: auto;
}

.sam-footer-ui .sam-footer__title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: none;
}

.sam-footer-ui .sam-footer__menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  float: none !important;
  width: 100% !important;
}

.sam-footer-ui .sam-footer__menu-item {
  display: block;
  margin: 0;
  padding: 0;
  float: none !important;
  width: 100% !important;
}

.sam-footer-ui .sam-footer__link {
  display: block;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #555555 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sam-footer-ui .sam-footer__menu-item:last-child .sam-footer__link {
  margin-bottom: 0;
}

.sam-footer-ui .sam-footer__link:hover,
.sam-footer-ui .sam-footer__link:focus,
.sam-footer-ui .sam-footer__link--active {
  color: #25221e;
  text-decoration: none;
}

.sam-footer-ui .sam-footer__payment {
  font-size: 0.95rem;
  font-weight: 600;
  color: #555555;
  line-height: 1.5;
}

.sam-footer-ui .sam-footer__payment p,
.sam-footer-ui .sam-footer__payment ol,
.sam-footer-ui .sam-footer__payment ul {
  margin: 0;
  padding: 0;
  float: none !important;
  width: 100% !important;
}

.sam-footer-ui .sam-footer__payment ol {
  list-style: decimal;
  padding-left: 1.1rem;
}

.sam-footer-ui .sam-footer__payment ul {
  list-style: none;
}

.sam-footer-ui .sam-footer__payment li,
.sam-footer-ui .sam-footer__payment p {
  margin-bottom: 1rem;
}

.sam-footer-ui .sam-footer__payment li:last-child,
.sam-footer-ui .sam-footer__payment p:last-child {
  margin-bottom: 0;
}

.sam-footer-ui .sam-footer__map {
  display: block;
  width: 100%;
  min-height: 220px;
  border: 0;
  border-radius: 8px;
}

.sam-footer-ui .sam-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem 2.5rem 0;
  color: #9e9e9e;
  font-size: 0.875rem;
  box-shadow: none;
  border-top: none;
}

.sam-footer-ui .sam-footer__copyright,
.sam-footer-ui .sam-footer__powered {
  margin: 0;
}

.sam-footer-ui .sam-footer__powered a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
}

.sam-footer-ui .sam-footer__powered a:hover {
  color: #555555;
}

.sam-footer-ui .scroll-btn {
  margin-top: 1rem;
}

@media (max-width: 991.98px) {
  .sam-footer-ui .sam-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sam-footer-ui .sam-footer__section--brand,
  .sam-footer-ui .sam-footer__section--menu,
  .sam-footer-ui .sam-footer__section--payment,
  .sam-footer-ui .sam-footer__section--map {
    grid-column: auto;
  }

  .sam-footer-ui .sam-footer__bottom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .sam-footer-ui .sam-footer__main {
    grid-template-columns: 1fr;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .sam-footer-ui .sam-footer__bottom {
    padding-left: 1rem;
    padding-right: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =============================================================================
   RESPONSIVE — account area breakpoints (shared)
   ============================================================================= */

@media (max-width: 767.98px) {
  .my-account-area .userSidebar {
    padding: 0 0 16px;
    margin-bottom: 0;
    border-radius: 0;
  }

  .sam-account-sidebar {
    margin-top: 0;
    padding-top: 44px;
  }

  .sam-account-sidebar__avatar {
    width: 64px;
    height: 64px;
    top: -32px;
    font-size: 24px;
  }
}
