/* ============================================================
   STOREFRONT ACCOUNT â€” BASE LAYOUT
============================================================ */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #222;
}

.sf-account-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
}

/* ============================================================
   SECTION HEADERS â€” Unified Style Update (with Icon Control)
============================================================ */
.sf-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary, #28a745);
  margin-bottom: 6px;
  padding: 2px 4px;
}

/* Lucide or inline SVG icon inside headers */
.sf-section-header i,
.sf-section-header svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary, #28a745);
  stroke: var(--color-primary, #28a745);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  margin-top: 1px; /* subtle visual centering */
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Optional hover enhancement for headers */
.sf-section-header:hover i,
.sf-section-header:hover svg {
  transform: scale(1.05);
  color: var(--color-primary-dark, #218838);
  stroke: var(--color-primary-dark, #218838);
}

/* ============================================================
   PROFILE HEADER SECTION
============================================================ */
.sf-profile-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--mh-primary);
  border-bottom: 1px solid #e5e5e5;
}

.sf-profile-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sf-profile-photo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #dcdcdc;
  background: #f2f2f2;
}

.sf-profile-info h2 {
  font-size: 1rem;
  margin: 0;
  color: #222;
  font-weight: 600;
}

.sf-profile-address {
  margin: 2px 0 0;
  color: #666;
  font-size: 0.8rem;
}

.sf-profile-edit {
  background: none;
  border: none;
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf-profile-edit i {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
  color: #2e7d32;
  transition: transform .2s ease;
}
.sf-profile-edit:hover i {
  transform: rotate(20deg);
}

/* ============================================================
   ORDERS + SUKI MODULES (Modern Carousel Layout)
============================================================ */
.sf-orders-card,
.sf-suki-card {
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 8px;
  background: #fff;
}

/* --- Orders Icons --- */
.sf-orders-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
}

.sf-order-status-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #333;
  transition: transform 0.2s ease, color 0.2s ease;
}
.sf-order-status-btn:hover {
  transform: scale(1.05);
  color: var(--color-primary);
}
.sf-order-status-btn i {
  width: 22px;
  height: 22px;
  color: #555;
}
.sf-order-status-btn span {
  font-size: 0.8rem;
}

/* --- Suki Carousel --- */
.sf-suki-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 8px;
  padding: 6px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.sf-suki-grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.sf-suki-item {
  flex: 0 0 auto;
  width: 100px;
  border: 1px solid rgba(40, 167, 69, 0.4);
  border-radius: 10px;
  background: #fff;
  text-align: center;
  scroll-snap-align: start;
  cursor: pointer;
  padding: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 40px;
}

.sf-suki-item:hover {
  transform: scale(1.06); /* ðŸ”¹ subtle zoom effect */
  border-color: var(--color-primary-dark, #218838);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Logo images â€” maintain proportions (no fixed height) */
.sf-suki-item img {
  width: 100%;
  height: auto;
  object-fit: contain !important;
  background: #fff;
  border: none !important;
  box-shadow: none !important;
  display: block;
  margin: 0 auto;
}

/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
  .sf-suki-item {
    width: 120px;
    padding: 5px;
  }
}

.sf-order-count-badge {
  position: absolute;
  top: 2px;
  right: 6px;
  background: var(--color-primary, #28a745);
  color: #fff;
  border-radius: 10px;
  font-size: 0.7rem;
  padding: 2px 5px;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  line-height: 1;
}
.sf-order-status-btn {
  position: relative; /* to anchor badge positioning */
}

.sf-pay-count-badge {
  position: absolute;
  top: 2px;
  right: 0px;
  background: var(--color-primary, #28a745);
  color: #fff;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sf-order-status-btn:hover .sf-pay-count-badge {
  transform: scale(1.05);
}

/* make sure parent is positioned for badge placement */
.sf-order-status-btn {
  position: relative;
}



/* ============================================================
   SLIDE PANEL BASE (Settings, Profile Edit, Addresses)
============================================================ */
.sf-slide-panel {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s ease, opacity .35s ease;
  will-change: transform, opacity;
  overflow-y: auto;
  z-index: 10000;
}
.sf-slide-panel.active {
  opacity: 1;
  visibility: visible;
}
.sf-slide-panel.slide-in-right { transform: translateX(0); }
.sf-slide-panel.slide-out-right { transform: translateX(100%); }
.sf-slide-panel.slide-out-left { transform: translateX(-100%); }
.sf-slide-panel.slide-in-left { transform: translateX(0); }
.sf-slide-panel.active::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: -2px 0 12px rgba(0,0,0,.08);
  pointer-events: none;
}

/* ============================================================
   SETTINGS PANEL
============================================================ */
.sf-settings-module {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}

/* Header */
.sf-settings-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e5e5;
  background: var(--mh-primary);
  position: sticky;
  top: 0;
  z-index: 2;
}
.sf-settings-header h2 {
  font-size: .95rem;
  font-weight: 600;
  color: #2e7d32;
  margin: 0;
}
.sf-back-icon {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.sf-back-icon i {
  width: 24px;
  height: 24px;
  color: #2e7d32;
  stroke-width: 1.8;
}

/* List */
.sf-settings-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow-y: auto;
}
.sf-settings-list li {
  border-bottom: 1px solid #e5e5e5;
}
.sf-settings-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 14px 18px;
  cursor: pointer;
  font-size: .85rem;
  color: #222;
  transition: background .2s ease;
}
.sf-settings-btn:hover { background: #f7fff7; }
.sf-settings-btn i {
  width: 20px;
  height: 20px;
  color: #555;
  stroke-width: 1.6;
}
.sf-settings-btn span {
  flex: 1;
  margin-left: 12px;
  text-align: left;
}
.sf-settings-btn .sf-arrow {
  color: #bbb;
  width: 16px;
  height: 16px;
}

/* Logout Button */
.sf-logout-btn-wide {
  border: none;
  width: calc(100% - 32px);
  margin: 16px auto 60px auto;
  padding: 14px 0;
  background: #fff;
  color: #d32f2f;
  font-weight: 600;
  font-size: .9rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .25s ease;
}
.sf-logout-btn-wide i {
  width: 18px;
  height: 18px;
  color: #d32f2f;
  stroke-width: 1.6;
}
.sf-logout-btn-wide:hover {
  background: #fff5f5;
}

/* ============================================================
   UNIVERSAL HELPERS
============================================================ */
.sf-empty-text {
  text-align: center;
  color: #888;
  font-size: .85rem;
  padding: 10px 0;
}
.sf-alt-text {
  color: #777;
  text-align: center;
  font-size: .85rem;
}
.sf-loader {
  text-align: center;
  padding: 20px;
  color: #2e7d32;
  font-weight: 500;
}
/* ============================================================
   STOREFRONT ACCOUNT â€” PROFILE EDIT PANEL
   Matches Settings Panel Template (v2.1)
============================================================ */

/* ---------- Panel Base ---------- */
.sf-profile-edit-module {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #fff;
  overflow: hidden;
}

/* ============================================================
   HEADER â€” Same as Settings Panel
============================================================ */
.sf-profile-edit-module .sf-settings-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e5e5;
  background: var(--mh-primary);
  position: sticky;
  top: 0;
  z-index: 10;
}

.sf-profile-edit-module .sf-settings-header h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2e7d32;
  margin: 0;
}

.sf-profile-edit-module .sf-back-icon {
  border: none;
  background: none;
  padding: 4px;
  cursor: pointer;
}
.sf-profile-edit-module .sf-back-icon i {
  width: 24px;
  height: 24px;
  color: #2e7d32;
  stroke-width: 1.8;
}

/* ============================================================
   BODY + FORM FIELDS
============================================================ */
.sf-profile-edit-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #fff;
}

.sf-input-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.sf-input-field input,
.sf-input-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  font-size: 0.9rem;
  background-color: #fff;   /* âœ… solid white fix */
  color: #222;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 0 transparent;      /* âœ… removes subtle blur overlay */
  appearance: none;
}

.sf-input-field input:focus,
.sf-input-field select:focus {
  border-color: #2e7d32;
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.1); /* subtle focus ring */
}


/* ---------- Readonly Fields ---------- */
.sf-input-field.readonly input[readonly] {
  background: #f8f8f8;
  color: #666;
  border-color: #e0e0e0;
  cursor: not-allowed;
}

/* ============================================================
   INTERESTS SECTION â€” Compact 2-Row Horizontal Scroll
============================================================ */

.sf-interest-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0;
}

.sf-interest-list {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-gap: 6px 8px;
  min-width: 100%;
  padding-bottom: 4px;
}

.sf-interest-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-size: 0.75rem;            /* smaller font */
  background: #fafafa;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.sf-interest-item i {
  width: 12px;
  height: 12px;
  color: #666;
}

.sf-interest-item.active {
  background: #e9f7ec;
  border-color: #2e7d32;
  color: #2e7d32;
}
.sf-interest-item.active i {
  color: #2e7d32;
}

/* smooth hide animation */
.sf-interest-item.hide {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: all 0.25s ease;
}

/* ============================================================
   SAVE BUTTON â€” Same dimensions as Logout
============================================================ */
.sf-save-btn {
  border: none;
  width: calc(100% - 32px);
  padding: 14px 0;
  margin: 16px auto 60px auto;
  background: #fff;
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.9rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.sf-save-btn:hover {
  background: #f5fbf5;
}

.sf-save-btn i {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
  color: #2e7d32;
}

/* ============================================================
   SCROLL + RESPONSIVE
============================================================ */
.sf-profile-edit-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@media (min-width: 768px) {
  .sf-profile-edit-body {
    max-width: 480px;
    margin: 0 auto;
  }
  .sf-save-btn {
    width: 480px;
  }
}

/* ============================================================
   SHIPPING ADDRESS MODULE â€” Account Styling (v2.2 Fixed)
============================================================ */
/* ----- Header (inherits .sf-settings-header base) ----- */
.sf-shipping-address-module .sf-settings-header {
  position: sticky;
  top: 0;
  z-index: 10100;
  background: var(--mh-primary);
  border-bottom: 1px solid #e5e5e5;
}

/* ----- Body (main fix) ----- */
.sf-shipping-address-body {
  flex: 1;
  overflow-y: auto;                    /* âœ… allow scroll */
  -webkit-overflow-scrolling: touch;   /* âœ… smooth mobile scroll */
  padding: 16px;
  background: #fff;
  position: relative;
  z-index: 1;                          /* âœ… ensure above panel base */
}

/* ----- Address Card ----- */
.sf-address-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  position: relative;
  z-index: 2;                          /* âœ… visible above background */
}

.sf-address-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sf-address-card.default {
  border-color: #2e7d32;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.15);
}

/* ----- Card Header ----- */
.sf-addr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.sf-addr-name {
  font-weight: 600;
  color: #222;
  font-size: 0.9rem;
}

.sf-addr-tag {
  background: #2e7d32;
  color: #fff;
  font-size: 0.7rem;
  border-radius: 6px;
  padding: 2px 6px;
  font-weight: 500;
}

/* ----- Card Details ----- */
.sf-addr-line,
.sf-addr-region,
.sf-addr-mobile {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

.sf-addr-mobile {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.sf-addr-mobile i {
  width: 14px;
  height: 14px;
  stroke-width: 1.6;
  color: #2e7d32;
}

/* ----- Add New Address Button ----- */
#sf-add-address-btn.sf-save-btn {
  border: none;
  width: calc(100% - 32px);
  margin: 16px auto 60px auto;
  padding: 14px 0;
  background: #fff;
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.9rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s ease;
}

#sf-add-address-btn.sf-save-btn:hover {
  background: #f5fbf5;
}

#sf-add-address-btn.sf-save-btn i {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
  color: #2e7d32;
}

/* ============================================================
   FINAL VISIBILITY + STACK FIX â€” Shipping Panel
============================================================ */
.sf-shipping-address-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  background: #fff;
}

.sf-address-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: #fff;
  color: #222;
  z-index: 1;
}

/* ============================================================
    Privacy Policy Section Styles (Compact & Readable)
============================================================ */
.sf-policy-content {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  padding: 12px 16px;
}
.sf-policy-content h1,
.sf-policy-content h2,
.sf-policy-content h3 {
  font-size: 1.1em;
  margin: 1.2em 0 0.5em;
  font-weight: 600;
}
.sf-policy-content p {
  margin: 0 0 1em;
}
.sf-empty-state {
  text-align: center;
  color: #777;
  padding: 40px 20px;
}
.sf-empty-state i {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  opacity: 0.6;
}

/* ============================================================
   ðŸ’° TO-PAY MODULE (Receipt Layout)
   Derived from bill.css â€” safely scoped for in-app panel
============================================================ */

.sf-to-pay-wrapper {
  max-width: 420px;
  margin: 20px auto;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #222;
  box-sizing: border-box;
}

/* ================= Order Meta ================= */
.sf-to-pay-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.sf-to-pay-meta .date {
  font-size: 13px;
  color: #666;
}

/* ================= Table ================= */
.sf-to-pay-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.sf-to-pay-table td {
  padding: 6px 4px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  font-size: 13px;
}

.sf-to-pay-table td.text-right {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.sf-to-pay-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ================= Totals ================= */
.sf-to-pay-totals {
  margin: 16px 0;
  font-size: 14px;
}

.sf-to-pay-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.sf-to-pay-totals-row.grand {
  font-weight: 700;
  font-size: 15px;
  border-top: 2px solid #ddd;
  margin-top: 6px;
  padding-top: 8px;
}

/* ================= Payment ================= */
.sf-to-pay-payment {
  text-align: center;
  margin: 20px 0 10px;
}

.sf-to-pay-payment-method {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary, #28a745);
}

.sf-to-pay-payment-label {
  font-size: 13px;
  color: #555;
}

/* ================= QR Code ================= */
.sf-to-pay-qr {
  max-width: 160px;
  display: block;
  margin: 12px auto 0;
}

/* ================= Mobile Adjustments ================= */
@media (max-width: 480px) {
  .sf-to-pay-wrapper {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .sf-to-pay-name { max-width: 120px; }
}

/* ============================================================
   DESKTOP ACCOUNT LAYOUT (v2.0 — UNIVERSAL THEME VERSION)
   Uses ONLY theme variables from sframework.css
   Single unified button system (Primary + Outline)
   ============================================================ */

.sf-account-desktop {
    padding: 20px 25px;
    min-height: 600px;
    font-family: Inter, sans-serif;
    background: var(--mh-body-bg);
}

/* ============================================================
   LEFT COLUMN NAVIGATION
   ============================================================ */
.account-left-nav {
    padding: 20px 15px;
    background: var(--mh-card-bg);
    border-radius: 10px;
    box-shadow: 0 1px 3px var(--mh-card-shadow);
    position: sticky;
}

.account-nav-section {
    margin-bottom: 28px;
}

.account-nav-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--mh-search-text);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* NAV LINKS */
.account-nav-link {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--mh-search-text);
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 3px;
    transition: all 0.2s ease;
}

.account-nav-link:hover {
    background: var(--mh-search-bg);
}

/* ACTIVE ITEM */
.account-nav-link.active {
    background: var(--mh-primary);
    color: var(--mh-text) !important;
    font-weight: 600;
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
.acc-section {
    background: var(--mh-card-bg);
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 1px 3px var(--mh-card-shadow);
    margin-bottom: 20px;
    border: 1px solid var(--mh-border-light);
    max-width: 860px;
}

.acc-section h2,
.acc-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--mh-search-text);
    font-weight: 700;
}

/* TABLES */
.acc-section table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.acc-section table th {
    background: var(--mh-header-bg);
    padding: 10px;
    text-align: left;
    font-weight: 600;
    color: var(--mh-search-text);
    border-bottom: 1px solid var(--mh-border-light);
}

.acc-section table td {
    padding: 10px;
    border-bottom: 1px solid var(--mh-border-light);
    color: var(--mh-search-text);
}

/* GENERIC CARD ITEMS */
.acc-card {
    border: 1px solid var(--mh-border-light);
    padding: 15px 20px;
    border-radius: 8px;
    background: var(--mh-search-bg);
    margin-bottom: 12px;
}

@media (max-width: 991px) {
    .sf-account-desktop,
    .account-left-nav {
        display: none !important;
    }
}

/* ============================================================
   UNIVERSAL BUTTON STYLES — FINAL CLEAN VERSION
   ============================================================ */

/* PRIMARY BUTTON (Green filled) */
.acc-btn {
    background: var(--mh-primary);
    border: 1px solid var(--mh-primary);
    color: var(--mh-text);
    padding: 10px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.acc-btn:hover {
    background: var(--mh-primary-dark);
    border-color: var(--mh-primary-dark);
}

/* OUTLINE BUTTON (Lazada-style universal) */
.acc-btn-outline {
    background: #ffffff;
    border: 1px solid var(--mh-primary);
    color: var(--mh-primary);
    padding: 10px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.15s ease;
}

.acc-btn-outline:hover {
    background: var(--mh-primary);
    color: var(--mh-text);
}

/* UNIVERSAL INLINE LINK BUTTON */
.acc-link-btn {
    color: var(--mh-primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

/* ============================================================
   DESKTOP PROFILE (Lazada-style 3-COLUMN)
   ============================================================ */

.profile-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 10px;
}

.profile-row-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.profile-col {
    display: flex;
    flex-direction: column;
}

.profile-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--mh-search-text);
    margin-bottom: 6px;
}

.profile-value {
    font-size: 14px;
    color: var(--mh-search-text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-change {
    font-size: 12px;
    color: var(--mh-primary);
    text-decoration: underline;
    cursor: pointer;
}

/* BUTTON GROUP UNDER PROFILE */
.profile-btn-group {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 260px;
}

/* ============================================================
   RESPONSIVE (Desktop Only)
   ============================================================ */


/* ============================================================
   PROFILE BUTTONS (Lazada-style Outline Buttons)
   ============================================================ */

.profile-btn-group {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 260px; /* consistent left alignment */
}

.profile-btn-group .acc-btn-outline {
    width: 100%;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    justify-content: center;
}

.sf-input {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid var(--mh-border-light);
    border-radius: 6px;
    background: var(--mh-search-bg);
    color: var(--mh-search-text);
}

/* FIX INTEREST SECTION OVERFLOW IN PROFILE EDIT */
.profile-row-3col.interests-row {
    grid-template-columns: 1fr !important;
}

.profile-row-3col.interests-row .sf-interest-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
}

.profile-row-3col.interests-row .sf-interest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 991px) {
    .sf-account-desktop,
    .account-left-nav {
        display: none !important;
    }
}
