.poc-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.poc-toolbar .poc-search {
  min-width: 220px;
  flex: 1;
}

.poc-toolbar input,
.poc-toolbar select,
.poc-filter-panel input,
.poc-filter-panel select {
  width: 100%;
  border: 1px solid #d5d5d5;
  padding: 9px 12px;
  border-radius: 8px;
  background: #fff;
}

.poc-toolbar .poc-sort {
  width: 220px;
}

.poc-active-filters {
  margin: 14px 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.poc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f3f8ff;
  border: 1px solid #cddfff;
  color: #274c84;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
}

.poc-chip button {
  border: none;
  background: transparent;
  font-size: 14px;
  line-height: 1;
  color: #274c84;
  cursor: pointer;
}

.poc-filter-panel {
  display: grid;
  gap: 10px;
}

.poc-filter-panel .price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.poc-filter-panel .inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.poc-filter-actions {
  display: flex;
  gap: 8px;
}

.poc-filter-actions .theme-btn {
  border: none;
}

.poc-empty {
  text-align: center;
  background: #fafafa;
  border: 1px dashed #d8d8d8;
  border-radius: 10px;
  padding: 22px 12px;
  color: #6d6d6d;
}

.poc-chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #eb0029;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1200;
}

.poc-chat-panel {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 340px;
  max-width: calc(100vw - 28px);
  height: 430px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  display: none;
  grid-template-rows: auto 1fr auto;
  z-index: 1200;
}

.poc-chat-panel.open {
  display: grid;
}

.poc-chat-head {
  padding: 12px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.poc-chat-head h5 {
  margin: 0;
}

.poc-chat-log {
  padding: 12px;
  overflow: auto;
  display: grid;
  gap: 8px;
}

.poc-msg {
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.35;
  max-width: 90%;
}

.poc-msg.user {
  margin-left: auto;
  background: #e8f0ff;
  color: #18386f;
}

.poc-msg.bot {
  background: #f6f6f6;
  color: #333;
}

.poc-chat-input {
  padding: 10px;
  border-top: 1px solid #eee;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.poc-chat-input input {
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  padding: 9px 10px;
  color: #333;
}

.poc-chat-input button,
.poc-chat-head button {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
}

@media (max-width: 767px) {
  .poc-chat-fab {
    right: 16px;
    bottom: 16px;
  }

  .poc-chat-panel {
    right: 12px;
    bottom: 84px;
    width: calc(100vw - 24px);
    height: 58vh;
  }
}

/* ── User Profile Dropdown ── */
/* Dark variant for main header (white/transparent bg) */
.user-name-dark {
  font-size: 14px;
  font-weight: 500;
  color: #010F1C;
  white-space: nowrap;
}

.user-caret-dark {
  font-size: 11px;
  color: #010F1C;
  transition: transform 0.25s;
}

.user-profile-wrapper.open .user-caret-dark {
  transform: rotate(180deg);
}

.header-user-profile {
  position: relative;
}

.user-profile-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.user-profile-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eb0029;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.user-caret {
  font-size: 11px;
  color: #fff;
  transition: transform 0.25s;
}

.user-profile-wrapper.open .user-caret {
  transform: rotate(180deg);
}

.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  overflow: hidden;
}

.user-profile-wrapper.open .user-dropdown {
  display: block;
}

.user-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: background 0.15s;
}

.user-dd-item:hover {
  background: #f5f5f5;
  color: #eb0029;
}

.user-dd-item i {
  width: 16px;
  text-align: center;
  color: #666;
}

.user-dd-item:hover i {
  color: #eb0029;
}

/* ── Account Page ── */
.account-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  padding: 40px 0 32px;
  color: #fff;
}

.account-hero .user-big-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eb0029;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.account-hero h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}

.account-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.account-cards-section {
  padding: 48px 0 64px;
  background: #f7f8fa;
}

.account-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
  cursor: pointer;
}

.account-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.account-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #fff3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-card-icon i {
  font-size: 22px;
  color: #eb0029;
}

.account-card-body h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #111;
}

.account-card-body p {
  font-size: 13px;
  color: #777;
  margin: 0;
  line-height: 1.5;
}

/* ── Orders Page ── */
.orders-hero {
  background: #1a1a2e;
  padding: 32px 0;
  color: #fff;
}

.orders-hero h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.orders-section {
  background: #f7f8fa;
  padding: 40px 0 64px;
  min-height: 60vh;
}

.orders-tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #e5e5e5;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.orders-tab-btn {
  background: none;
  border: none;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #777;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s;
}

.orders-tab-btn.active {
  color: #eb0029;
  border-bottom-color: #eb0029;
}

.orders-tab-btn:hover {
  color: #eb0029;
}

.orders-tab-pane {
  display: none;
}

.orders-tab-pane.active {
  display: block;
}

.order-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.order-card-header {
  background: #f9f9f9;
  border-bottom: 1px solid #e8e8e8;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.order-card-header .order-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.order-meta-item label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}

.order-meta-item span {
  font-size: 13px;
  font-weight: 600;
  color: #222;
}

.order-status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-delivered  { background: #e6f9f0; color: #1a8a4a; }
.badge-processing { background: #fff3e0; color: #e65c00; }
.badge-shipped    { background: #e3f2fd; color: #1565c0; }
.badge-returned   { background: #fce4ec; color: #b71c1c; }
.badge-cancelled  { background: #f3e5f5; color: #6a1b9a; }

.order-card-body {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.order-product-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
  flex-shrink: 0;
}

.order-product-info h5 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #111;
}

.order-product-info p {
  font-size: 13px;
  color: #777;
  margin: 0 0 6px;
}

.order-product-info .order-price {
  font-size: 16px;
  font-weight: 700;
  color: #eb0029;
}

.order-card-actions {
  padding: 12px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.order-btn {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #eb0029;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
}

.order-btn.primary {
  background: #eb0029;
  color: #fff;
}

.order-btn.primary:hover {
  background: #c50021;
  color: #fff;
}

.order-btn.outline {
  background: #fff;
  color: #eb0029;
}

.order-btn.outline:hover {
  background: #eb0029;
  color: #fff;
}

.orders-empty {
  text-align: center;
  padding: 60px 20px;
  color: #888;
}

.orders-empty i {
  font-size: 52px;
  color: #ddd;
  margin-bottom: 16px;
  display: block;
}

.orders-empty h4 {
  font-size: 18px;
  color: #555;
  margin-bottom: 8px;
}

.account-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.account-breadcrumb a {
  color: #eb0029;
  text-decoration: none;
  font-size: 14px;
}

.account-breadcrumb span {
  font-size: 14px;
  color: #888;
}

.account-breadcrumb .sep {
  margin: 0 8px;
  color: #ccc;
}

/* ── Account Hero Icon ── */
.account-hero-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-hero-icon i {
  font-size: 26px;
  color: #fff;
}

/* ── Toast Notification ── */
.ls-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a2e;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}

.ls-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Login & Security Page ── */
.ls-section {
  background: #f7f8fa;
  padding: 40px 0 64px;
  min-height: 60vh;
}

.ls-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.ls-card-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ls-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 4px;
}

.ls-value {
  font-size: 15px;
  font-weight: 500;
  color: #222;
}

.ls-edit-btn {
  background: none;
  border: 1.5px solid #eb0029;
  color: #eb0029;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.ls-edit-btn:hover {
  background: #eb0029;
  color: #fff;
}

.ls-edit-form {
  display: none;
  padding: 0 24px 24px;
  border-top: 1px solid #f0f0f0;
  margin-top: 0;
}

.ls-edit-form.open {
  display: block;
  padding-top: 20px;
}

.ls-field-label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  display: block;
  margin-bottom: 6px;
}

.ls-input {
  width: 100%;
  border: 1px solid #d5d5d5;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: #333;
  transition: border-color 0.2s;
}

.ls-input:focus {
  outline: none;
  border-color: #eb0029;
}

.ls-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ls-save-btn {
  background: #eb0029;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.ls-save-btn:hover { background: #c50021; }

.ls-cancel-btn {
  background: #fff;
  color: #555;
  border: 1.5px solid #d5d5d5;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ls-cancel-btn:hover { background: #f5f5f5; }

.ls-hint {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ls-password-wrap {
  position: relative;
}

.ls-password-wrap .ls-input {
  padding-right: 44px;
}

.ls-eye-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 4px;
}

.ls-strength-bar {
  height: 4px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.ls-strength-fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 0.3s, background 0.3s;
}

.ls-strength-fill.weak { background: #e53935; }
.ls-strength-fill.fair { background: #fb8c00; }
.ls-strength-fill.good { background: #43a047; }
.ls-strength-fill.strong { background: #1b5e20; }

.ls-strength-label {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

.ls-password-rules {
  margin: 12px 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ls-rule {
  font-size: 12px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ls-rule i { color: #d32f2f; }
.ls-rule.pass { color: #388e3c; }
.ls-rule.pass i { color: #388e3c; }

.ls-status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.ls-badge-off { background: #fce4ec; color: #b71c1c; }
.ls-badge-on  { background: #e6f9f0; color: #1a8a4a; }

.ls-2fa-options {
  display: grid;
  gap: 10px;
}

.ls-2fa-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.ls-2fa-option:has(input:checked) {
  border-color: #eb0029;
  background: #fff6f7;
}

.ls-2fa-option input { display: none; }

.ls-2fa-option-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ls-2fa-option-body i { font-size: 20px; color: #eb0029; }

.ls-2fa-option-body strong { display: block; font-size: 14px; font-weight: 600; color: #222; }
.ls-2fa-option-body span  { font-size: 12px; color: #777; }

.ls-connected-accounts { padding: 0 24px 20px; }

.ls-connected-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 12px;
}

.ls-connected-item:last-child { border-bottom: none; }

.ls-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.ls-social-icon.google   { background: #db4437; }
.ls-social-icon.facebook { background: #1877f2; }

.ls-connected-status {
  font-size: 12px;
  color: #aaa;
  display: block;
}

.ls-connected-status.connected { color: #1a8a4a; }

.ls-disconnect-btn, .ls-connect-btn {
  border: 1.5px solid #d5d5d5;
  background: #fff;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.ls-disconnect-btn:hover { background: #fce4ec; border-color: #eb0029; color: #eb0029; }
.ls-connect-btn { border-color: #eb0029; color: #eb0029; }
.ls-connect-btn:hover { background: #eb0029; color: #fff; }

.ls-danger-card { border-color: #fce4ec; }
.ls-delete-btn {
  border: 1.5px solid #d32f2f;
  background: #fff;
  color: #d32f2f;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.ls-delete-btn:hover { background: #d32f2f; color: #fff; }

.ls-hint-text { font-size: 13px; color: #666; margin-bottom: 12px; }

/* ── Addresses Page ── */
.addr-section {
  background: #f7f8fa;
  padding: 40px 0 64px;
  min-height: 60vh;
}

.addr-toolbar {
  margin-bottom: 28px;
}

.addr-add-btn {
  background: #eb0029;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.addr-add-btn:hover { background: #c50021; }

.addr-form-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
}

.addr-form-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a2e;
}

.addr-default-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444;
  cursor: pointer;
}

.addr-default-check input { cursor: pointer; }

.addr-card {
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  position: relative;
}

.addr-card-default {
  border-color: #eb0029;
}

.addr-default-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #eb0029;
  background: #fff5f6;
  border: 1px solid #ffd0d6;
  border-radius: 20px;
  padding: 2px 10px;
  margin-bottom: 12px;
}

.addr-type-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.addr-name {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.addr-lines {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.addr-phone {
  font-size: 13px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.addr-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.addr-action-btn {
  border: 1.5px solid #d5d5d5;
  background: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s;
}

.addr-action-btn:hover { background: #f5f5f5; }

.addr-action-default {
  border-color: #eb0029;
  color: #eb0029;
}

.addr-action-default:hover {
  background: #eb0029;
  color: #fff;
}

/* ── Payment Options Page ── */
.pay-section {
  background: #f7f8fa;
  padding: 40px 0 64px;
  min-height: 60vh;
}

.pay-group {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px 24px;
}

.pay-side-card { }

.pay-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pay-group-header h5 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pay-group-header h5 i { color: #eb0029; }

.pay-add-btn {
  background: none;
  border: 1.5px solid #eb0029;
  color: #eb0029;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
}

.pay-add-btn:hover { background: #eb0029; color: #fff; }

.pay-form-card {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}

.pay-card-input-wrap { position: relative; }

.pay-card-icons {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
  font-size: 20px;
  color: #aaa;
}

.pay-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.pay-card-item:last-child { border-bottom: none; }

.pay-card-item.pay-card-default { background: #fff9fa; border-radius: 8px; padding: 16px; margin: 0 -4px; }

.pay-card-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.pay-card-details { flex: 1; }

.pay-card-number {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  letter-spacing: 1px;
}

.pay-card-meta {
  font-size: 13px;
  color: #777;
  margin-top: 2px;
}

.pay-default-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #eb0029;
  background: #fff5f6;
  border: 1px solid #ffd0d6;
  border-radius: 20px;
  padding: 2px 9px;
  margin-top: 4px;
}

.pay-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-wallet-list { display: grid; gap: 0; }

.pay-wallet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 12px;
}

.pay-wallet-item:last-child { border-bottom: none; }

.pay-wallet-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}

.pay-wallet-icon.paypal  { background: #003087; }
.pay-wallet-icon.apple   { background: #000; }
.pay-wallet-icon.google-pay { background: #fff; color: #4285f4; border: 1.5px solid #e0e0e0; }

.pay-wallet-info {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.pay-gift-balance {
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  border-radius: 10px;
}

.pay-gift-amount {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.pay-gift-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.pay-credits-row {
  display: flex;
  gap: 0;
}

.pay-credit-item {
  flex: 1;
  text-align: center;
  padding: 12px 0;
}

.pay-credit-val {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #eb0029;
}

.pay-credit-key {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
  display: block;
}

.pay-credits-note {
  font-size: 12px;
  color: #999;
  margin: 8px 0 0;
  line-height: 1.5;
}

.pay-billing-options {
  display: grid;
  gap: 10px;
}

.pay-billing-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
  cursor: pointer;
}

/* ── Profile & Preferences Page ── */
.profile-section {
  background: #f7f8fa;
  padding: 40px 0 64px;
  min-height: 60vh;
}

.profile-completion-bar {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 18px 24px;
}

.profile-completion-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.profile-completion-pct {
  font-size: 15px;
  font-weight: 800;
  color: #eb0029;
}

.profile-progress-track {
  height: 8px;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
}

.profile-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #eb0029 0%, #ff6b8a 100%);
  border-radius: 8px;
  transition: width 0.5s ease;
}

.profile-completion-note {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}

.profile-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px;
}

.profile-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.profile-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-card-icon i { font-size: 20px; color: #eb0029; }

.profile-card-head h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #111;
}

.profile-card-head p {
  font-size: 13px;
  color: #888;
  margin: 0;
}

.profile-input { cursor: pointer; }

/* Category grid */
.profile-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.profile-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  color: #777;
  text-align: center;
  transition: all 0.2s;
}

.profile-cat-item i { font-size: 20px; color: #bbb; }

.profile-cat-item:hover {
  border-color: #eb0029;
  color: #eb0029;
}

.profile-cat-item:hover i { color: #eb0029; }

.profile-cat-item.active {
  background: #fff3f5;
  border-color: #eb0029;
  color: #eb0029;
}

.profile-cat-item.active i { color: #eb0029; }

/* Colour picker */
.profile-color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.profile-color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}

.profile-color-swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.profile-color-swatch.selected {
  box-shadow: 0 0 0 3px #eb0029;
}

.profile-color-swatch i { font-size: 12px; }

/* Chip group (occasion / sale prefs) */
.profile-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-chip-opt {
  cursor: pointer;
}

.profile-chip-opt input { display: none; }

.profile-chip-opt span {
  display: inline-block;
  padding: 7px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 999px;
  font-size: 13px;
  color: #555;
  transition: all 0.2s;
}

.profile-chip-opt:has(input:checked) span {
  background: #eb0029;
  border-color: #eb0029;
  color: #fff;
}

.profile-chip-opt span:hover { border-color: #eb0029; color: #eb0029; }

/* Brand tag input */
.profile-tag-input-wrap {
  border: 1.5px solid #d5d5d5;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  background: #fff;
  min-height: 44px;
  cursor: text;
}

.profile-tag-input-wrap:focus-within { border-color: #eb0029; }

.profile-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f3f8ff;
  border: 1px solid #cddfff;
  color: #274c84;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 13px;
}

.profile-tag button {
  background: none;
  border: none;
  color: #274c84;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.profile-tag-input {
  border: none;
  outline: none;
  font-size: 13px;
  color: #333;
  flex: 1;
  min-width: 140px;
  background: transparent;
}

/* Toggle switch */
.profile-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

.profile-toggle-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin-bottom: 2px;
}

.profile-toggle-item span {
  font-size: 12px;
  color: #888;
}

.profile-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.profile-toggle input { display: none; }

.profile-toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  transition: background 0.25s;
  cursor: pointer;
}

.profile-toggle-slider::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: left 0.25s;
}

.profile-toggle input:checked + .profile-toggle-slider { background: #eb0029; }
.profile-toggle input:checked + .profile-toggle-slider::after { left: 23px; }

/* Save row */
.profile-save-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0 8px;
}

.profile-save-btn {
  background: #eb0029;
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.profile-save-btn:hover { background: #c50021; }

.profile-save-note {
  font-size: 12px;
  color: #999;
}

@media (max-width: 575px) {
  .profile-category-grid { grid-template-columns: repeat(3, 1fr); }
  .ls-password-rules { grid-template-columns: 1fr; }
}
