/* ==========================================================================
   Pages — onoretty EC-CUBE
   TOPページ以外の全ページ共通スタイル（BEM / モバイルファースト）
   ========================================================================== */

/* ------------------------------------------------------------------
   Page Layout
   ------------------------------------------------------------------ */

.p-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

@media (min-width: 768px) {
  .p-page {
    padding: 32px 24px 64px;
  }
}

.p-page__breadcrumb {
  font-size: 0.75rem;
  color: var(--color-text-muted, #999);
  margin-bottom: 16px;
}

.p-page__breadcrumb a {
  color: var(--color-text-muted, #999);
  text-decoration: none;
}

.p-page__breadcrumb a:hover {
  text-decoration: underline;
}

.p-page__title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold, 700);
  color: var(--color-text, #333);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary, #1a2a5c);
}

@media (min-width: 768px) {
  .p-page__title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }
}

.p-page__subtitle {
  font-size: 1rem;
  font-weight: var(--font-weight-bold, 700);
  margin-bottom: 16px;
}

.p-page__empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--color-text-muted, #999);
}

.p-page__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .p-page__actions {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
}

.p-page__nav {
  margin-top: 32px;
  text-align: center;
}

.p-page__nav a {
  color: var(--color-primary, #1a2a5c);
  text-decoration: none;
}

.p-page__nav a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------------
   Alert
   ------------------------------------------------------------------ */

.p-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm, 4px);
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.p-alert--error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* ------------------------------------------------------------------
   Progress (Cart → Order → Confirm → Complete)
   ------------------------------------------------------------------ */

.p-progress {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
}

.p-progress__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  max-width: 120px;
  opacity: 0.4;
}

.p-progress__item.is-active,
.p-progress__item.is-complete {
  opacity: 1;
}

.p-progress__number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary, #1a2a5c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold, 700);
}

.p-progress__item.is-complete .p-progress__number {
  background: var(--color-success, #16a34a);
}

.p-progress__label {
  font-size: 0.625rem;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .p-progress__label {
    font-size: 0.75rem;
  }
}

/* ------------------------------------------------------------------
   Category Filter
   ------------------------------------------------------------------ */

.p-category-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.p-category-filter__item {
  padding: 8px 16px;
  border: 1px solid var(--color-border, #ddd);
  border-radius: var(--radius-sm, 4px);
  text-decoration: none;
  color: var(--color-text, #333);
  font-size: 0.875rem;
  transition: var(--transition-fast, 150ms ease);
}

.p-category-filter__item:hover {
  background: var(--color-primary, #1a2a5c);
  color: #fff;
  border-color: var(--color-primary, #1a2a5c);
}

/* ------------------------------------------------------------------
   Product List
   ------------------------------------------------------------------ */

.p-product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .p-product-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.p-product-list__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--color-text-muted, #999);
}

/* ------------------------------------------------------------------
   Product Card
   ------------------------------------------------------------------ */

.p-product-card {
  border: 1px solid var(--color-border, #ddd);
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  transition: var(--transition-fast, 150ms ease);
}

.p-product-card:hover {
  box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
}

.p-product-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.p-product-card__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
}

.p-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-product-card__name {
  font-size: 0.75rem;
  padding: 8px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .p-product-card__name {
    font-size: 0.875rem;
    padding: 12px;
  }
}

.p-product-card__price {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold, 700);
  color: var(--color-primary, #1a2a5c);
  padding: 0 8px 12px;
}

@media (min-width: 768px) {
  .p-product-card__price {
    padding: 0 12px 16px;
  }
}

/* ------------------------------------------------------------------
   Product Detail
   ------------------------------------------------------------------ */

.p-product-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .p-product-detail {
    flex-direction: row;
    gap: 40px;
  }
}

.p-product-detail__gallery {
  flex: 1;
}

.p-product-detail__main-img {
  aspect-ratio: 1;
  background: #f5f5f5;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
}

.p-product-detail__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-product-detail__info {
  flex: 1;
}

.p-product-detail__name {
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold, 700);
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .p-product-detail__name {
    font-size: 1.25rem;
  }
}

.p-product-detail__price {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold, 700);
  color: var(--color-primary, #1a2a5c);
  margin-bottom: 24px;
}

.p-product-detail__option {
  margin-bottom: 16px;
}

.p-product-detail__option label {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium, 500);
  margin-bottom: 4px;
}

.p-product-detail__option select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--color-border, #ddd);
  border-radius: var(--radius-sm, 4px);
}

.p-product-detail__quantity {
  margin-bottom: 24px;
}

.p-product-detail__quantity label {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium, 500);
  margin-bottom: 4px;
}

.p-product-detail__quantity input {
  width: 80px;
  padding: 8px 12px;
  border: 1px solid var(--color-border, #ddd);
  border-radius: var(--radius-sm, 4px);
  text-align: center;
}

.p-product-detail__cart-btn {
  width: 100%;
}

.p-product-detail__desc {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border, #ddd);
  font-size: 0.875rem;
  line-height: 1.75;
}

/* ------------------------------------------------------------------
   Login Page — Figma: グループ 23366 (1:54930)
   カード型ログインUI（1200×796px、中央配置）
   ------------------------------------------------------------------ */

/* サイドバー非表示 + フルワイドレイアウト */
.login_page .sidebar { display: none !important; }
.login_page .ec-layoutRole__contents {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.login_page .ec-layoutRole__mainWithColumn,
.login_page .ec-layoutRole__main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
}
.login_page .p-page__title { display: none; }
.login_page .ec-layoutRole__contentBottom,
.login_page .ec-layoutRole__footer { display: none; }

/* ── カードコンテナ ── */
.p-login-card {
  max-width: 100%;
  margin: 24px auto;
  padding: 40px 24px 48px;
  text-align: center;
}

@media (min-width: 768px) {
  .p-login-card {
    max-width: 1200px;
    margin: 40px auto;
    padding: 51px 60px 60px;
    background: var(--color-bg-white, #fff);
    border: 1px solid var(--color-border-medium, #707070);
    border-radius: 30px;
  }

  .login_page .ec-layoutRole__contentBottom,
  .login_page .ec-layoutRole__footer { display: block; }
}

/* ── ロゴ ── */
.p-login-card__logo {
  margin-bottom: 7px;
  text-align: center;
}

.p-login-card__logo img {
  display: inline-block;
  width: 240px;
  height: auto;
}

@media (min-width: 768px) {
  .p-login-card__logo img {
    width: 312px;
  }
}

/* ── タイトル「ログイン」── */
.p-login-card__title {
  font-family: var(--font-family-ja, "Noto Sans JP", sans-serif);
  font-weight: var(--font-weight-bold, 700);
  font-size: 1.5rem;
  color: #000;
  margin: 0 0 32px;
  border: none;
  padding: 0;
}

@media (min-width: 768px) {
  .p-login-card__title {
    font-size: 2.1875rem; /* 35px */
    margin-bottom: 60px;
    line-height: 37px;
  }
}

/* ── フォーム ── */
.p-login-card__form {
  max-width: 520px;
  margin: 0 auto;
}

/* ── 入力欄 ── */
.p-login-card__inputs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 13px;
}

.p-login-card__input {
  width: 100%;
  height: 50px;
  padding: 0 19px;
  border: 1px solid #bcbcbc;
  border-radius: 10px;
  font-family: var(--font-family-base, "Inter", "Noto Sans JP", sans-serif);
  font-size: 1rem;
  color: var(--color-text-primary, #364360);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .p-login-card__input {
    height: 60px;
    font-size: 1.25rem; /* 20px */
  }
}

.p-login-card__input::placeholder {
  color: #bcbcbc;
}

.p-login-card__input:focus {
  outline: none;
  border-color: var(--color-primary, #364360);
}

/* ── オプション行（自動ログイン＋パスワード忘れ）── */
.p-login-card__options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 13px;
}

.p-login-card__auto-login {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family-ja, "Noto Sans JP", sans-serif);
  font-weight: var(--font-weight-medium, 500);
  font-size: 0.875rem;
  color: #000;
  cursor: pointer;
}

.p-login-card__auto-login input[type="checkbox"] {
  width: 14px;
  height: 14px;
  border: 1px solid #000;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  cursor: pointer;
}

.p-login-card__auto-login input[type="checkbox"]:checked {
  background: var(--color-primary, #364360);
  border-color: var(--color-primary, #364360);
}

.p-login-card__forgot {
  font-family: var(--font-family-ja, "Noto Sans JP", sans-serif);
  font-weight: var(--font-weight-medium, 500);
  font-size: 0.875rem;
  color: #0089d2;
  text-decoration: none;
}

.p-login-card__forgot:hover {
  text-decoration: underline;
}

/* ── 送信ボタン ── */
.p-login-card__submit {
  width: 100%;
  margin-top: 20px;
  height: 50px;
  border: none;
  border-radius: 10px;
  background: var(--color-primary, #364360);
  color: var(--color-text-white, #fff);
  font-family: var(--font-family-ja, "Noto Sans JP", sans-serif);
  font-weight: var(--font-weight-bold, 700);
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity var(--transition-fast, 0.2s);
}

.p-login-card__submit:hover {
  opacity: 0.85;
}

@media (min-width: 768px) {
  .p-login-card__submit {
    height: 60px;
    font-size: 1.125rem;
  }
}

/* ── 区切り線「または」── */
.p-login-card__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}

@media (min-width: 768px) {
  .p-login-card__divider {
    margin: 51px 60px 31px;
  }
}

.p-login-card__divider::before,
.p-login-card__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #000;
}

.p-login-card__divider span {
  font-family: var(--font-family-ja, "Noto Sans JP", sans-serif);
  font-weight: var(--font-weight-medium, 500);
  font-size: 1.125rem; /* 18px */
  color: #000;
  letter-spacing: 0.9px;
  white-space: nowrap;
  padding: 0 8px;
  background: #fff;
}

/* ── SNSログイン ── */
.p-login-card__sns {
  margin-bottom: 37px;
}

.p-login-card__sns-title {
  font-family: var(--font-family-ja, "Noto Sans JP", sans-serif);
  font-weight: var(--font-weight-bold, 700);
  font-size: 1.125rem; /* 18px */
  color: #000;
  margin: 0 0 30px;
}

.p-login-card__sns-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .p-login-card__sns-icons {
    gap: 40px;
  }
}

.p-login-card__sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  background: #fff;
  text-decoration: none;
  transition: box-shadow var(--transition-fast, 0.2s);
}

@media (min-width: 768px) {
  .p-login-card__sns-btn {
    width: 63px;
    height: 63px;
  }
}

.p-login-card__sns-btn:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.p-login-card__sns-btn img {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}

/* ── 新規会員登録リンク ── */
.p-login-card__register {
  display: inline-block;
  font-family: var(--font-family-ja, "Noto Sans JP", sans-serif);
  font-weight: var(--font-weight-medium, 500);
  font-size: 0.875rem;
  color: #0089d2;
  text-decoration: none;
  margin-bottom: 35px;
}

.p-login-card__register:hover {
  text-decoration: underline;
}

/* ── フッターロゴ ── */
.p-login-card__footer-logo {
  margin: 0;
  text-align: center;
}

.p-login-card__footer-logo img {
  display: inline-block;
  width: 120px;
  height: auto;
}

@media (min-width: 768px) {
  .p-login-card__footer-logo img {
    width: 135px;
  }
}

/* ------------------------------------------------------------------
   Form
   ------------------------------------------------------------------ */

.p-form {
  max-width: 640px;
}

.p-form-group {
  margin-bottom: 20px;
}

.p-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium, 500);
  margin-bottom: 4px;
}

.p-form-required {
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: var(--font-weight-normal, 400);
}

.p-form-group__row {
  display: flex;
  gap: 8px;
}

.p-form-group__row > * {
  flex: 1;
}

.p-form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border, #ddd);
  border-radius: var(--radius-sm, 4px);
  font-size: 0.875rem;
}

.p-form-control:focus {
  outline: none;
  border-color: var(--color-primary, #1a2a5c);
  box-shadow: 0 0 0 2px rgba(26, 42, 92, 0.1);
}

.p-form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* EC-CUBE form widget styling */
.p-form input[type="text"],
.p-form input[type="email"],
.p-form input[type="password"],
.p-form input[type="tel"],
.p-form input[type="number"],
.p-form select,
.p-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border, #ddd);
  border-radius: var(--radius-sm, 4px);
  font-size: 0.875rem;
  font-family: inherit;
}

.p-form input:focus,
.p-form select:focus,
.p-form textarea:focus {
  outline: none;
  border-color: var(--color-primary, #1a2a5c);
  box-shadow: 0 0 0 2px rgba(26, 42, 92, 0.1);
}

/* ------------------------------------------------------------------
   Confirm
   ------------------------------------------------------------------ */

.p-confirm__list {
  max-width: 640px;
  margin-bottom: 24px;
}

.p-confirm__item {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light, #eee);
}

@media (min-width: 768px) {
  .p-confirm__item {
    flex-direction: row;
  }
}

.p-confirm__item dt {
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium, 500);
  color: var(--color-text-muted, #999);
  min-width: 160px;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .p-confirm__item dt {
    margin-bottom: 0;
  }
}

.p-confirm__item dd {
  font-size: 0.875rem;
}

/* ------------------------------------------------------------------
   Complete
   ------------------------------------------------------------------ */

.p-complete {
  text-align: center;
  padding: 48px 16px;
}

.p-complete__message {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.p-complete__order-no {
  font-size: 0.875rem;
  color: var(--color-text-muted, #999);
  margin-bottom: 24px;
}

/* ------------------------------------------------------------------
   Mypage Layout
   ------------------------------------------------------------------ */

.p-mypage-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .p-mypage-layout {
    flex-direction: row;
    gap: 32px;
  }
}

.p-mypage-layout__main {
  flex: 1;
  min-width: 0;
}

/* ------------------------------------------------------------------
   Mypage Nav
   ------------------------------------------------------------------ */

.p-mypage-nav {
  width: 100%;
}

@media (min-width: 768px) {
  .p-mypage-nav {
    width: 200px;
    flex-shrink: 0;
  }
}

.p-mypage-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

@media (min-width: 768px) {
  .p-mypage-nav__list {
    flex-direction: column;
  }
}

.p-mypage-nav__item a {
  display: block;
  padding: 8px 16px;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--color-text, #333);
  border: 1px solid var(--color-border, #ddd);
  border-radius: var(--radius-sm, 4px);
  transition: var(--transition-fast, 150ms ease);
}

.p-mypage-nav__item a:hover {
  background: var(--color-bg-gray, #f5f5f5);
}

.p-mypage-nav__item.is-active a {
  background: var(--color-primary, #1a2a5c);
  color: #fff;
  border-color: var(--color-primary, #1a2a5c);
}

/* ------------------------------------------------------------------
   Order List
   ------------------------------------------------------------------ */

.p-order-list__item {
  border: 1px solid var(--color-border, #ddd);
  border-radius: var(--radius-md, 8px);
  padding: 16px;
  margin-bottom: 12px;
}

.p-order-list__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.p-order-list__date {
  font-size: 0.875rem;
  color: var(--color-text-muted, #999);
}

.p-order-list__status {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: var(--color-bg-gray, #f5f5f5);
  border-radius: var(--radius-sm, 4px);
}

.p-order-list__body {
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.p-order-list__detail {
  font-size: 0.875rem;
  color: var(--color-primary, #1a2a5c);
  text-decoration: none;
}

.p-order-list__detail:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------------
   Cart
   ------------------------------------------------------------------ */

.p-cart {
  margin-bottom: 32px;
}

.p-cart__header {
  padding: 12px 16px;
  background: var(--color-bg-gray, #f5f5f5);
  border-radius: var(--radius-sm, 4px) var(--radius-sm, 4px) 0 0;
  margin-bottom: 0;
}

.p-cart__header h2 {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold, 700);
}

.p-cart__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-border-light, #eee);
  border-top: none;
}

.p-cart__img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius-sm, 4px);
  overflow: hidden;
}

.p-cart__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-cart__info {
  flex: 1;
  min-width: 0;
}

.p-cart__name {
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium, 500);
  text-decoration: none;
  color: var(--color-text, #333);
}

.p-cart__name:hover {
  text-decoration: underline;
}

.p-cart__class {
  font-size: 0.75rem;
  color: var(--color-text-muted, #999);
}

.p-cart__price {
  font-size: 0.875rem;
  margin-top: 4px;
}

.p-cart__quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-cart__qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border, #ddd);
  border-radius: var(--radius-sm, 4px);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-cart__qty-num {
  font-size: 0.875rem;
  min-width: 24px;
  text-align: center;
}

.p-cart__subtotal {
  font-weight: var(--font-weight-bold, 700);
  white-space: nowrap;
}

.p-cart__remove {
  background: none;
  border: none;
  color: var(--color-text-muted, #999);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px;
}

.p-cart__total {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--color-border-light, #eee);
  border-top: 2px solid var(--color-primary, #1a2a5c);
}

.p-cart__total-price {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold, 700);
  color: var(--color-primary, #1a2a5c);
}

/* ------------------------------------------------------------------
   Shopping Sections
   ------------------------------------------------------------------ */

.p-shopping-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border-light, #eee);
}

.p-shopping-section__title {
  font-size: 1rem;
  font-weight: var(--font-weight-bold, 700);
  margin-bottom: 12px;
}

.p-shopping-address {
  font-size: 0.875rem;
  line-height: 1.6;
}

.p-shopping-total {
  max-width: 400px;
  margin-left: auto;
  margin-bottom: 32px;
}

.p-shopping-total__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.875rem;
}

.p-shopping-total__row--total {
  border-top: 2px solid var(--color-primary, #1a2a5c);
  padding-top: 12px;
  margin-top: 8px;
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold, 700);
}

/* ------------------------------------------------------------------
   Help / Static Pages
   ------------------------------------------------------------------ */

.p-help__section {
  margin-bottom: 32px;
}

.p-help__heading {
  font-size: 1rem;
  font-weight: var(--font-weight-bold, 700);
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--color-primary, #1a2a5c);
}

.p-help p {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 8px;
}

.p-help__list {
  padding-left: 20px;
  font-size: 0.875rem;
  line-height: 1.75;
}

/* ------------------------------------------------------------------
   Table
   ------------------------------------------------------------------ */

.p-table {
  width: 100%;
  border-collapse: collapse;
}

.p-table th,
.p-table td {
  padding: 12px 16px;
  border: 1px solid var(--color-border, #ddd);
  font-size: 0.875rem;
  text-align: left;
  vertical-align: top;
}

.p-table th {
  background: var(--color-bg-gray, #f5f5f5);
  font-weight: var(--font-weight-medium, 500);
  width: 30%;
  white-space: nowrap;
}

/* ------------------------------------------------------------------
   Withdraw
   ------------------------------------------------------------------ */

.p-withdraw__text {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ------------------------------------------------------------------
   Forgot
   ------------------------------------------------------------------ */

.p-forgot__text {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ------------------------------------------------------------------
   Buttons (supplement c-btn for page-specific use)
   ------------------------------------------------------------------ */

.c-btn--danger {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}

.c-btn--danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}
