/* ==================================================
   My Account — Sidebar
   ================================================== */
/* Menu My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 280px;
  height: 100vh;
  position: fixed;
  padding: 24px;
  border: 3px solid var(--base-dark);
  border-radius: 12px;
  box-shadow: 8px 8px 0 0 var(--base-dark);
  background: #fff;
}
.woocommerce-MyAccount-navigation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  width: 100%;
}
.woocommerce-MyAccount-navigation a {
  text-decoration: none;
}
.woocommerce-MyAccount-navigation-link {
  padding: 12px 16px;
  border: 3px solid transparent;
  color: var(--base-dark);
  text-decoration: none;
  font-family: var(--heading-font);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.woocommerce-MyAccount-navigation-link.is-active,
.woocommerce-MyAccount-navigation-link:hover {
  border: 3px solid var(--base-dark);
  border-radius: 12px;
  box-shadow: 8px 8px 0 0 var(--base-dark);
  background-color: var(--electric-blue);
  color: #fff;
}

/* Konten My Account */
.woocommerce-account .woocommerce-MyAccount-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #fff;
  width: calc(100% - 290px);
  padding: 24px;
  border: 3px solid var(--base-dark);
  border-radius: 12px;
  box-shadow: 8px 8px 0 0 var(--base-dark);
}

/* ==================================================
   My Account — Dashboard
   ================================================== */
/* Dashboard My Account */
.gpm-welcome-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  margin-bottom: 32px;
  padding: 24px;

  color: #ffffff;
  background: var(--electric-blue);
  border: 3px solid var(--base-dark);
  border-radius: 12px;
  box-shadow: 8px 8px 0 0 var(--base-dark);
}

.gpm-welcome-card__identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gpm-welcome-card__avatar {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 3px solid #ffffff;
  border-radius: 100% !important;
}

.gpm-welcome-card__label {
  margin: 0 0 4px;
  color: #fff;
  font-size: 14px;
  font-family: var(--body-font);
}

.gpm-welcome-card__name {
  margin: 0;
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: clamp(24px, 3vw, 40px);
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
}

.gpm-welcome-card__logout {
  flex-shrink: 0;
  padding: 12px 32px;

  color: var(--base-dark) !important;
  background: #ffffff;
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 4px 4px 0 0 var(--base-dark);
  font-family: var(--heading-font);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.gpm-welcome-card__logout:hover {
  background: var(--neon-mint);
}

.gpm-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 32px;
}

.gpm-summary-card {
  --card-accent: var(--electric-blue);

  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 150px;
  overflow: hidden;
  padding: 24px 20px 18px;

  color: var(--base-dark) !important;
  background: #ffffff;
  border: 2px solid var(--base-dark);
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--base-dark);
  text-decoration: none !important;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gpm-summary-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--card-accent);
  content: "";
}

.gpm-summary-card--total {
  --card-accent: var(--electric-blue);
}

.gpm-summary-card--payment {
  --card-accent: var(--yellow);
}

.gpm-summary-card--processing {
  --card-accent: var(--purple);
}

.gpm-summary-card--completed {
  --card-accent: var(--neon-mint);
}

.gpm-summary-card:hover {
  color: var(--base-dark) !important;
  box-shadow: 8px 8px 0 var(--base-dark);
  transform: translate(-3px, -3px);
}

.gpm-summary-card:focus-visible {
  outline: 3px solid var(--card-accent);
  outline-offset: 4px;
}

.gpm-summary-card__label {
  color: var(--body-text);
  font-family: var(--body-font);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.gpm-summary-card__count {
  margin: 8px 0;
  color: var(--base-dark);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
}

.gpm-summary-card__action {
  margin-top: auto;
  color: var(--card-accent);
  font-size: 14px;
  font-weight: 700;
}

/* Order Stepper */
.gpm-order-progress,
.gpm-order-history,
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-MyAccount-content
  .woocommerce-Address,
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-MyAccount-content
  > form {
  margin-bottom: 32px;
  padding: 24px;
  background: #ffffff;
  border: 2px solid var(--base-dark);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--base-dark);
}

.gpm-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.gpm-panel-header h2 {
  margin: 16px 0 0;
  color: var(--base-dark);
  font-size: clamp(22px, 3vw, 32px);
  font-family: var(--heading-font);
  font-weight: 900;
  line-height: normal;
}

.gpm-panel-header__eyebrow {
  color: #fff;
  font-family: var(--tag-font);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  border-radius: 100px;
  border: 2px solid var(--base-dark);
  background: var(--electric-blue);
  padding: 6px 16px;
}

.gpm-panel-header__link,
.gpm-history-item__link {
  color: var(--electric-blue) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.gpm-panel-header__link:hover,
.gpm-history-item__link:hover {
  color: var(--base-dark) !important;
}

/* Stepper */
.gpm-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.gpm-stepper__step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #8a8a8a;
  text-align: center;
}

.gpm-stepper__step:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 18px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 4px;
  background: #dddddd;
  content: "";
}

.gpm-stepper__step--completed:not(:last-child)::after {
  background: #22a06b;
}

.gpm-stepper__marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;

  color: #777777;
  background: #ffffff;
  border: 3px solid #dddddd;
  border-radius: 50%;
  font-weight: 700;
}

.gpm-stepper__step--completed .gpm-stepper__marker {
  color: #ffffff;
  background: #22a06b;
  border-color: #22a06b;
}

.gpm-stepper__step--current .gpm-stepper__marker {
  color: #ffffff;
  background: var(--electric-blue);
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 5px rgba(69, 99, 245, 0.15);
}

.gpm-stepper__step--completed .gpm-stepper__label {
  color: #16744d;
}

.gpm-stepper__step--current .gpm-stepper__label {
  color: var(--electric-blue);
}

.gpm-stepper__label {
  max-width: 150px;
  font-size: 13px;
  font-weight: 700;
}

/* History */
.gpm-history-list {
  display: grid;
  gap: 12px;
}

.gpm-history-item {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto auto auto;
  align-items: center;
  gap: 20px;
  padding: 16px;

  background: #f8f8f8;
  border: 1px solid #dddddd;
  border-radius: 10px;
}

.gpm-history-item__identity {
  display: grid;
  gap: 3px;
}

.gpm-history-item__identity time {
  color: #777777;
  font-size: 12px;
}

.gpm-history-status {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.gpm-history-status--cancelled {
  color: #4b5563;
  background: #e5e7eb;
}

.gpm-history-status--failed {
  color: #b42318;
  background: #fee4e2;
}

.gpm-history-status--refunded {
  color: #6941c6;
  background: #f4ebff;
}

.gpm-history-status--pending {
  color: #92400e;
  background: #fef3c7;
}

.gpm-history-status--on-hold {
  color: #9a3412;
  background: #ffedd5;
}

.gpm-history-status--processing {
  color: #3730a3;
  background: #e0e7ff;
}

.gpm-history-status--completed {
  color: #166534;
  background: #dcfce7;
}

.gpm-history-item__total {
  white-space: nowrap;
}

.gpm-panel-empty {
  margin: 0;
  padding: 20px;
  color: #666666;
  background: #f7f7f7;
  border-radius: 10px;
}

/* Action Required */
.gpm-action-required {
  margin: 0 0 32px;
  padding: 24px;
  background: #fff;
  border: 2px solid var(--base-dark);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--base-dark);
}

.gpm-action-list {
  display: grid;
  gap: 14px;
}

.gpm-action-item {
  --action-color: #b45309;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px;
  background: #fff7ed;
  border-left: 8px solid var(--action-color);
  border-radius: 12px;
}

.gpm-action-item--failed {
  --action-color: #b42318;
  background: #fef2f2;
}

.gpm-action-item__status {
  color: var(--action-color);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.gpm-action-item__content h3 {
  margin: 6px 0;
  font-size: 18px;
}

.gpm-action-item__content p {
  margin: 0;
}

.gpm-action-item__buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.gpm-action-button {
  color: #fff;
  padding: 12px 16px;
  border: 2px solid var(--action-color);
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 4px 4px 0 0 var(--base-dark);
}

.gpm-action-button--pay {
  color: #fff;
  background: var(--action-color);
}

.gpm-action-button--view {
  color: var(--action-color);
  background: #fff;
}

.gpm-action-button--pay:hover,
.gpm-action-button--view:hover {
  color: var(--base-dark);
  background: var(--neon-mint);
  border: 2px solid var(--base-dark);
}

.gpm-action-button:focus-visible {
  outline: 3px solid var(--base-dark);
  outline-offset: 3px;
}

/* Invoice */
.gpm-invoice-card {
  padding: 24px;
  background: #fff;
  border: 2px solid var(--base-dark);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--base-dark);
}

.gpm-invoice-card__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.gpm-invoice-card__item + .gpm-invoice-card__item {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
}

.gpm-invoice-card__identity {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.gpm-invoice-card__identity time {
  color: #505565;
  font-size: 13px;
}

.gpm-invoice-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--heading-font);
  font-size: 14px;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--base-dark);
}

.gpm-invoice-card__button--view {
  color: var(--base-dark);
  background: #fff;
}

.gpm-invoice-card__button--view:hover {
  background: var(--neon-mint);
}

/* Guest Results */
.gpm-guest-result {
  margin: 32px 0;
  padding: 24px;
  background: #fff;
  border: 2px solid var(--base-dark);
  border-radius: 16px;
  box-shadow: 8px 8px 0 var(--base-dark);
}

.gpm-guest-result--removed {
  background: #fff5f5;
  border-color: #b42318;
  box-shadow: 8px 8px 0 #b42318;
}

.gpm-guest-result__status {
  padding: 7px 12px;
  color: #fff;
  background: #15803d;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.gpm-guest-result--removed .gpm-guest-result__status {
  background: #b42318;
}

.gpm-guest-result__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.gpm-guest-result__field {
  padding: 16px;
  background: #f8f8f8;
  border: #ddd solid 1px;
  border-radius: 12px;
}

.gpm-guest-result__field span {
  display: block;
  margin-bottom: 6px;
  color: var(--body-text);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.gpm-guest-result__field strong {
  color: var(--base-dark);
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.gpm-quest-result__action {
  display: flex;
  justify-content: end;
}

.gpm-guest-result__button {
  display: inline-flex;
  align-self: end;
  padding: 12px 16px;
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--heading-font);
  font-size: 14px;
  text-decoration: none;
  color: var(--base-dark);
  box-shadow: 4px 4px 0 var(--base-dark);
}

.gpm-guest-result__button:hover {
  background: var(--neon-mint);
}

.gpm-guest-result__button:focus-visible {
  outline: 3px solid var(--base-dark);
  outline-offset: 3px;
}

/* Download dan Laporan */
.gpm-download-report {
  margin: 32px 0;
  padding: 24px;
  background: #fff;
  border: 2px solid var(--base-dark);
  border-radius: 16px;
  box-shadow: 8px 8px 0 var(--base-dark);
}

.gpm-report-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.gpm-report-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 12px;
}

.gpm-report-item__identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.gpm-report-item__type {
  flex-shrink: 0;
  padding: 8px 10px;
  color: #fff;
  background: var(--electric-blue);
  border-radius: 8px;
  font-family: var(--tag-font);
  font-size: 11px;
  font-weight: 700;
}

.gpm-report-item h3 {
  margin: 0 0 5px;
  color: var(--base-dark);
  font-family: var(--heading-font);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.gpm-report-item p {
  margin: 0;
  color: var(--body-text);
  font-size: 13px;
}

.gpm-report-item__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
}

.gpm-report-item__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  color: var(--base-dark);
  background: #fff;
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--base-dark);
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.gpm-report-item__button--download {
  color: #fff;
  background: var(--electric-blue);
}

.gpm-report-item__button:hover {
  color: var(--base-dark);
  background: var(--neon-mint);
}

.gpm-report-item__button:focus-visible {
  outline: 3px solid var(--base-dark);
  outline-offset: 3px;
}

.gpm-report-item__preview {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  overflow: hidden;
  border: 2px solid var(--base-dark);
  border-radius: 10px;
  background: #fff;
}

.gpm-report-item__preview a {
  display: block;
  width: 100%;
  height: 100%;
}

.gpm-report-item__thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gpm-report-item__preview .gpm-report-item__type {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 0;
}

/* Notifications */
.gpm-latest-notifications,
.gpm-notifications-page {
  margin: 32px 0;
  padding: 24px;
  background: #fff;
  border: 2px solid var(--base-dark);
  border-radius: 16px;
  box-shadow: 8px 8px 0 var(--base-dark);
}

.gpm-notification-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.gpm-notification-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 12px;
}

.gpm-notification-item__message p {
  margin: 0;
  color: var(--base-dark);
  font-weight: 600;
}

.gpm-notification-item__meta {
  margin: 6px 0 0;
  color: var(--body-text);
  font-size: 13px;
}

.gpm-notification-item__action {
  padding: 12px 16px;
  color: var(--base-dark);
  background: #fff;
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--base-dark);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--heading-font);
  text-decoration: none;
}

.gpm-notification-item__action:hover {
  color: var(--base-dark);
  background: var(--neon-mint);
}

.gpm-notification-item__action:focus-visible {
  outline: 3px solid var(--base-dark);
  outline-offset: 3px;
}

.gpm-notification-pagination {
  margin-top: 24px;
}

/* My Account — Orders */
.woocommerce-account
  .woocommerce-MyAccount-content
  table.woocommerce-orders-table {
  width: 100%;
  margin: 0 0 32px;
  overflow: hidden;
  border: 3px solid var(--base-dark);
  border-collapse: separate;
  border-radius: 14px;
  box-shadow: 8px 8px 0 var(--base-dark);
  background: #fff;
}

/* Header tabel */
.woocommerce-account .woocommerce-orders-table thead th {
  padding: 16px;
  border: 0;
  background: var(--electric-blue);
  color: #fff;
  font-family: var(--tag-font);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

/* Isi tabel */
.woocommerce table.shop_table tbody th {
  border: 0 !important;
}

.woocommerce-account .woocommerce-orders-table tbody th,
.woocommerce-account .woocommerce-orders-table tbody td {
  padding: 16px;
  border: 0 !important;
  vertical-align: middle;
}

.woocommerce-account .woocommerce-orders-table tbody tr:not(:last-child) > * {
  border-bottom: 1px solid #ddd;
}

/* Nomor pesanan */
.woocommerce-account .woocommerce-orders-table__cell-order-number a {
  color: var(--electric-blue);
  font-weight: 800;
  text-decoration: none;
}

.woocommerce-account .woocommerce-orders-table__cell-order-number a:hover {
  color: var(--base-dark);
}

/* Status pesanan — cell */
.woocommerce-account .woocommerce-orders-table__cell-order-status {
  width: 1%;
  border: 0 !important;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* Status pesanan — badge */
.gpm-order-status {
  display: inline-block;
  padding: 8px 12px; /* Padding badge diatur di sini */
  border-radius: 999px;
  line-height: 1.2;
}

/* Completed */
.woocommerce-account
  .woocommerce-orders-table__row--status-completed
  .gpm-order-status {
  color: #166534;
  background-color: #dcfce7;
}

/* Processing */
.woocommerce-account
  .woocommerce-orders-table__row--status-processing
  .gpm-order-status {
  color: #3730a3;
  background-color: #e0e7ff;
}

/* On hold */
.woocommerce-account
  .woocommerce-orders-table__row--status-on-hold
  .gpm-order-status {
  color: #9a3412;
  background-color: #ffedd5;
}

/* Pending */
.woocommerce-account
  .woocommerce-orders-table__row--status-pending
  .gpm-order-status {
  color: #92400e;
  background-color: #fef3c7;
}

/* Cancelled */
.woocommerce-account
  .woocommerce-orders-table__row--status-cancelled
  .gpm-order-status {
  color: #4b5563;
  background-color: #e5e7eb;
}

/* Failed */
.woocommerce-account
  .woocommerce-orders-table__row--status-failed
  .gpm-order-status {
  color: #b42318;
  background-color: #fee4e2;
}

/* Refunded */
.woocommerce-account
  .woocommerce-orders-table__row--status-refunded
  .gpm-order-status {
  color: #6941c6;
  background-color: #f4ebff;
}

/* Tombol aksi */
.woocommerce-account
  .woocommerce-orders-table__cell-order-actions
  .woocommerce-button {
  margin: 3px;
  padding: 6px 12px;
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  background-color: var(--canvas-bg);
  box-shadow: 4px 4px 0 var(--base-dark);
  font-size: 12px;
  font-family: var(--heading-font);
  font-weight: 700;
}

.woocommerce-account
  .woocommerce-orders-table__cell-order-actions
  .woocommerce-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--base-dark);
  background-color: var(--neon-mint);
}

/* WooCommerce Info */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
  margin: 0 0 32px;
  padding: 20px 20px 20px 52px;

  color: var(--base-dark);
  background: #fff;
  border: 2px solid var(--base-dark);
  border-top: 6px solid var(--electric-blue);
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--base-dark);
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before {
  top: 20px;
  left: 20px;
  color: var(--electric-blue);
}

/* Tombol di WooCommerce Info */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button {
  float: right;
  margin-left: 20px;
  padding: 12px 16px;

  color: #fff;
  background: var(--electric-blue);
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--base-dark);

  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.woocommerce-account
  .woocommerce-MyAccount-content
  .woocommerce-info
  .button:hover {
  color: var(--base-dark);
  background: var(--neon-mint);
}

/* Orders Pagination */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.woocommerce-account
  .woocommerce-MyAccount-content
  .woocommerce-pagination
  .woocommerce-button {
  display: inline-flex;
  float: none;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;

  color: #fff;
  background: var(--electric-blue);
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--base-dark);

  font-size: 14px;
  font-family: var(--heading-font);
  font-weight: 700;
  text-decoration: none;
}

.woocommerce-account
  .woocommerce-MyAccount-content
  .woocommerce-pagination
  .woocommerce-button:hover {
  color: var(--base-dark);
  background: var(--neon-mint);
}

.woocommerce-account
  .woocommerce-MyAccount-content
  .woocommerce-pagination
  .woocommerce-button:focus-visible,
.woocommerce-account
  .woocommerce-MyAccount-content
  .woocommerce-info
  .button:focus-visible {
  outline: 3px solid var(--neon-mint);
  outline-offset: 3px;
}

.woocommerce-account .woocommerce-MyAccount-content .gpm-orders-pagination,
body.woocommerce-din-packages .din-packages__pagination {
  align-items: center;
  flex-wrap: wrap;
}

.woocommerce-account .gpm-orders-pagination ul.page-numbers,
.woocommerce-account .gpm-notification-pagination ul.page-numbers,
body.woocommerce-din-packages .din-packages__pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.woocommerce-account .gpm-orders-pagination ul.page-numbers li,
.woocommerce-account .gpm-notification-pagination ul.page-numbers li,
body.woocommerce-din-packages .din-packages__pagination ul.page-numbers li {
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
}

.woocommerce-account .gpm-orders-pagination li .page-numbers,
.woocommerce-account .gpm-notification-pagination li .page-numbers,
body.woocommerce-din-packages .din-packages__pagination li .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  background: #fff;
  color: var(--base-dark);
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-content .gpm-orders-pagination li .current,
.woocommerce-account .woocommerce-MyAccount-content .gpm-notification-pagination li .current,
body.woocommerce-din-packages .woocommerce-MyAccount-content .din-packages__pagination li .current {
  background: var(--electric-blue);
  color: #fff;
  box-shadow: 3px 3px 0 var(--base-dark);
}

.woocommerce-account .gpm-orders-pagination li .dots,
.woocommerce-account .gpm-notification-pagination li .dots,
body.woocommerce-din-packages .din-packages__pagination li .dots {
  min-width: 24px;
  padding-inline: 2px;
  border-color: transparent;
  background: transparent;
}

.woocommerce-account .woocommerce-MyAccount-content .gpm-orders-pagination li a:hover,
.woocommerce-account .woocommerce-MyAccount-content .gpm-orders-pagination li a:focus-visible,
.woocommerce-account .woocommerce-MyAccount-content .gpm-notification-pagination li a:hover,
.woocommerce-account .woocommerce-MyAccount-content .gpm-notification-pagination li a:focus-visible,
body.woocommerce-din-packages .woocommerce-MyAccount-content .din-packages__pagination li a:hover,
body.woocommerce-din-packages .woocommerce-MyAccount-content .din-packages__pagination li a:focus-visible {
  background: var(--neon-mint);
  color: var(--base-dark);
}

.woocommerce-account .gpm-orders-pagination li a:focus-visible,
.woocommerce-account .gpm-notification-pagination li a:focus-visible,
body.woocommerce-din-packages .din-packages__pagination li a:focus-visible {
  outline: 3px solid var(--base-dark);
  outline-offset: 3px;
}

/* ==================================================
   My Account — View Order
   ================================================== */

/* Kartu utama */
body.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type,
body.woocommerce-view-order .woocommerce-OrderUpdates,
body.woocommerce-view-order .woocommerce-order-details,
body.woocommerce-view-order .woocommerce-customer-details {
  margin: 0 0 32px;
  padding: 24px;

  color: var(--base-dark);
  background: #fff;
  border: 2px solid var(--base-dark);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--base-dark);
}

/* Ringkasan order */
body.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type {
  line-height: 1.8;
}

body.woocommerce-view-order .woocommerce-MyAccount-content mark {
  color: var(--electric-blue);
  background: transparent;
  font-weight: 800;
}

body.woocommerce-view-order .woocommerce-MyAccount-content mark.order-status {
  display: inline-block;
  padding: 5px 10px;

  color: #fff;
  background: var(--electric-blue);
  border-radius: 999px;

  font-size: 12px;
  line-height: 1.2;
}

/* Judul section */
body.woocommerce-view-order .woocommerce-MyAccount-content > h2,
body.woocommerce-view-order .woocommerce-order-details__title,
body.woocommerce-view-order .woocommerce-column__title,
body.woocommerce-view-order .din-order-history > h2,
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-MyAccount-content
  h2 {
  margin: 0 0 20px;
  color: var(--base-dark);
  font-family: var(--heading-font);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
}

/* Order Updates */
body.woocommerce-view-order .woocommerce-OrderUpdates {
  display: grid;
  gap: 12px;
  padding: 24px;
  list-style: none;
}

body.woocommerce-view-order .woocommerce-OrderUpdate {
  margin: 0;
  padding: 16px 18px;

  background: #f8f8f8;
  border: 1px solid #ddd;
  border-left: 6px solid var(--electric-blue);
  border-radius: 10px;
}

body.woocommerce-view-order .woocommerce-OrderUpdate-meta {
  margin: 0 0 8px;
  color: var(--body-text);
  font-family: var(--tag-font);
  font-size: 12px;
  font-weight: 700;
}

body.woocommerce-view-order .woocommerce-OrderUpdate-description p {
  margin: 0;
  color: var(--base-dark);
}

/* Section order dan attachments */
body.woocommerce-view-order .woocommerce-order-details {
  padding: 24px;
}

/* Tabel */
body.woocommerce-view-order .woocommerce-order-details table.shop_table {
  width: 100%;
  margin: 0;
  overflow: hidden;

  background: #fff;
  border: 1px solid #ddd;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  box-shadow: none;
}

body.woocommerce-view-order
  .woocommerce-order-details
  table.shop_table
  thead
  th {
  padding: 14px 16px;

  color: #fff;
  background: var(--electric-blue);
  border: 0;

  font-family: var(--tag-font);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

body.woocommerce-view-order
  .woocommerce-order-details
  table.shop_table
  tbody
  td,
body.woocommerce-view-order
  .woocommerce-order-details
  table.shop_table
  tbody
  th,
body.woocommerce-view-order
  .woocommerce-order-details
  table.shop_table
  tfoot
  td,
body.woocommerce-view-order
  .woocommerce-order-details
  table.shop_table
  tfoot
  th {
  padding: 14px 16px;
  background: #fff;
  border: 0;
  border-top: 1px solid #ddd;
  vertical-align: middle;
}

body.woocommerce-view-order
  .woocommerce-order-details
  table.shop_table
  tbody
  tr:hover
  > * {
  background: var(--canvas-bg);
}

/* Total akhir */
body.woocommerce-view-order
  .woocommerce-order-details
  table.shop_table
  tfoot
  tr:last-child
  > * {
  color: var(--base-dark);
  background: #f8f8f8;
  font-weight: 800;
}

/* Link produk */
body.woocommerce-view-order .woocommerce-order-details table.shop_table a {
  color: var(--electric-blue);
  font-weight: 700;
  text-decoration: none;
}

body.woocommerce-view-order
  .woocommerce-order-details
  table.shop_table
  a:hover {
  color: var(--base-dark);
}

/* Tombol Order Again dan attachment */
body.woocommerce-view-order .woocommerce-order-details .order-again .button,
body.woocommerce-view-order .woocommerce-order-details .order-actions-button,
body.woocommerce-view-order .din-order-attachments tbody td:last-child a,
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-Address-title
  a.edit,
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  button[name="save_address"] {
  display: inline-flex;
  float: none;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;

  color: #fff;
  background: var(--electric-blue);
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--base-dark);

  font-size: 14px;
  font-family: var(--heading-font);
  font-weight: 700;
  text-transform: capitalize;
  text-decoration: none;
}

body.woocommerce-view-order
  .woocommerce-order-details
  .order-again
  .button:hover,
body.woocommerce-view-order
  .woocommerce-order-details
  .order-actions-button:hover,
body.woocommerce-view-order .din-order-attachments tbody td:last-child a:hover,
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-Address-title
  a.edit:hover,
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  button[name="save_address"]:hover:not(:disabled) {
  color: var(--base-dark);
  background: var(--neon-mint);
}

body.woocommerce-view-order .woocommerce-order-details .order-again {
  margin: 24px 0 0;
}

body.woocommerce-view-order .order-again + .din-order-attachments {
  margin-top: 24px;
}

body.woocommerce-view-order .din-order-attachments .gpm-order-publication__removed {
  background: #b42318;
}

/* Billing dan Shipping address */
body.woocommerce-view-order .woocommerce-customer-details {
  padding: 24px;
}

body.woocommerce-view-order .woocommerce-customer-details address,
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-Address
  address {
  margin: 0;
  padding: 18px;

  color: var(--base-dark);
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 10px;

  font-style: normal;
  line-height: 1.8;
}

body.woocommerce-view-order .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.woocommerce-view-order
  .woocommerce-columns--addresses
  .woocommerce-column {
  float: none;
  width: auto;
}

/* ==================================================
   My Account — Addresses
   ponytail: reuse dashboard cards/buttons; keep native address forms and validation.
   ================================================== */
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce:has(> .woocommerce-MyAccount-content) {
  width: calc(100% - 32px);
  margin: 24px auto 40px;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-MyAccount-content {
  min-width: 0;
  color: var(--base-dark);
  font-family: var(--body-font), sans-serif;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-MyAccount-content
  > p {
  margin: 0 0 24px;
  line-height: 1.7;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-MyAccount-content
  :is(.woocommerce-Addresses, .woocommerce-Address-title)::before,
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-MyAccount-content
  :is(.woocommerce-Addresses, .woocommerce-Address-title)::after {
  content: none;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-MyAccount-content
  .woocommerce-Address {
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-Address-title {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-Address-title
  h2 {
  float: none;
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-Address
  address {
  overflow-wrap: anywhere;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  .form-row {
  grid-column: 1 / -1;
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  :is(.form-row-first, .form-row-last) {
  grid-column: auto;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  label {
  display: block;
  margin-bottom: 8px;
  color: var(--base-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  .woocommerce-input-wrapper {
  display: block;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  :is(input.input-text, textarea, select:not(.select2-hidden-accessible)),
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  .select2-selection--single {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--base-dark);
  background: #fff;
  border: 2px solid var(--base-dark);
  border-radius: 10px;
  box-shadow: none;
  font-family: var(--body-font), sans-serif;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  .select2-container {
  max-width: 100%;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  .select2-selection--single {
  height: 52px;
  padding: 0;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .select2-selection--single
  .select2-selection__rendered {
  padding: 12px 40px 12px 14px;
  color: var(--base-dark);
  line-height: 24px;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .select2-selection--single
  .select2-selection__arrow {
  top: 0;
  right: 12px;
  height: 100%;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  .woocommerce-invalid
  :is(input.input-text, select, .select2-selection--single) {
  border-color: #b42318;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-MyAccount-content
  :is(
    a.edit,
    input,
    select,
    textarea,
    button,
    .select2-selection
  ):focus-visible {
  outline: 3px solid var(--electric-blue);
  outline-offset: 3px;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-Address-title
  a.edit,
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  button[name="save_address"] {
  min-height: 44px;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  .woocommerce-address-fields
  button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* SelectWoo attaches its dropdown to body, outside the form. */
body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  > .select2-container
  .select2-dropdown {
  overflow: hidden;
  color: var(--base-dark);
  background: #fff;
  border: 2px solid var(--base-dark);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--base-dark);
  font-family: var(--body-font), sans-serif;
  font-size: 16px;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  > .select2-container
  .select2-search__field {
  min-height: 44px;
  border: 2px solid var(--base-dark);
  border-radius: 6px;
}

body:is(.woocommerce-edit-address, .woocommerce-edit-account)
  > .select2-container
  .select2-results__option--highlighted {
  color: var(--base-dark);
  background: var(--neon-mint);
}

/* ==================================================
   My Account — Login & Register
   Hanya berlaku sebelum pengguna login.
   ================================================== */

/* Area form */
body.woocommerce-account:not(.logged-in) .woocommerce:has(.gpm-auth-card) {
  width: calc(100% - 32px);
  max-width: 560px;
  margin: 64px auto;
  color: var(--base-dark);
  font-family: var(--body-font), sans-serif;
  box-sizing: border-box;
}

/* Kartu */
body.woocommerce-account:not(.logged-in) .gpm-auth-card {
  padding: 32px;
  background: #fff;
  border: 3px solid var(--base-dark);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--base-dark);
  box-sizing: border-box;
}

/* Heading Login / Register */
body.woocommerce-account:not(.logged-in) .gpm-auth-card > h2 {
  margin: 0 0 24px;
  color: var(--electric-blue);
  font-family: var(--heading-font), sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.3;
}

/* Hilangkan border form bawaan agar tidak menjadi kartu ganda */
body.woocommerce-account:not(.logged-in) form:is(.login, .register) {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--body-font), sans-serif;
}

/* Shared field and button styles are in auth.css. */

body.woocommerce-account:not(.logged-in) .gpm-auth-card .gpm-auth-home {
  margin: 24px 0 0;
  font-size: 14px;
  text-align: center;
}

body.woocommerce-account:not(.logged-in) .gpm-auth-card .gpm-auth-switch {
  margin: 16px 0 0;
  font-size: 14px;
}

/* Pesan error, informasi, dan sukses */
body.woocommerce-account:not(.logged-in)
  .woocommerce:has(.gpm-auth-card)
  :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) {
  margin: 0 0 24px;
  padding: 16px 18px 16px 46px;
  color: var(--base-dark);
  background: var(--canvas-bg);
  border: 2px solid var(--base-dark);
  border-radius: 10px;
  font-size: 14px;
}

body.woocommerce-account:not(.logged-in)
  .woocommerce:has(.gpm-auth-card)
  :is(.woocommerce-error, .woocommerce-info, .woocommerce-message)::before {
  top: 16px;
  left: 16px;
}

/* My Account — Account Details */
body.woocommerce-edit-account .woocommerce-MyAccount-content {
  container: account-details / inline-size;
}

body.woocommerce-edit-account .woocommerce-EditAccountForm fieldset {
  min-width: 0;
  margin: 28px 0;
  padding: 24px;
  background: var(--canvas-bg);
  border: 2px solid var(--base-dark);
  border-radius: 12px;
}

body.woocommerce-edit-account .woocommerce-EditAccountForm legend {
  width: auto;
  max-width: 100%;
  padding: 0 8px;
  color: var(--electric-blue);
  font-family: var(--heading-font), sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

body.woocommerce-edit-account #account_display_name_description {
  display: block;
  margin-top: 8px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.6;
}

body.woocommerce-edit-account
  .woocommerce-EditAccountForm
  fieldset
  .form-row:last-child {
  margin-bottom: 0;
}

/* ponytail: arrange the native form without duplicating its template or fields. */
@container account-details (min-width: 850px) {
  body.woocommerce-edit-account .woocommerce-EditAccountForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
  }

  body.woocommerce-edit-account .woocommerce-EditAccountForm > * {
    grid-column: 1 / -1;
    min-width: 0;
  }

  body.woocommerce-edit-account .woocommerce-EditAccountForm > .form-row {
    grid-column: 1;
    float: none;
    width: 100%;
    margin: 0;
  }

  body.woocommerce-edit-account
    .woocommerce-EditAccountForm
    > fieldset:has(#password_current) {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin: 0;
  }

  body.woocommerce-edit-account .woocommerce-EditAccountForm > .clear:empty {
    display: none;
  }
}

/* Modal konfirmasi logout */
#gpm-logout-dialog {
  width: calc(100% - 32px);
  max-width: 440px;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 28px;
  overflow: auto;
  box-sizing: border-box;

  color: var(--base-dark);
  background: #ffe6e1;
  border: 3px solid var(--red);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--red);

  font-family: var(--body-font), sans-serif;
}

#gpm-logout-dialog::backdrop {
  background: rgba(18, 19, 26, 0.6);
}

#gpm-logout-dialog form {
  margin: 0;
}

#gpm-logout-dialog h2 {
  margin: 0 0 8px;
  color: var(--red);
  font-family: var(--heading-font), sans-serif;
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 900;
  line-height: 1.4;
}

#gpm-logout-dialog p {
  margin: 0 0 28px;
  color: var(--base-dark);
  font-size: 20px;
  line-height: 1.5;
}

#gpm-logout-dialog .gpm-logout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#gpm-logout-dialog button {
  flex: 1 1 120px;
  min-height: 48px;
  padding: 12px 16px;
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--base-dark);

  font-family: var(--heading-font), sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
}

/* Cancel — merah */
#gpm-logout-dialog .gpm-logout-cancel {
  color: #fff;
  background: var(--red);
}

#gpm-logout-dialog .gpm-logout-cancel:hover {
  color: #fff;
  background: #b91c1c;
}

/* Logout — abu-abu, tetap aktif */
#gpm-logout-dialog .gpm-logout-confirm {
  color: #fff;
  background: var(--body-text);
}

#gpm-logout-dialog .gpm-logout-confirm:hover {
  background: var(--red);
}

#gpm-logout-dialog button:focus-visible {
  outline: 3px solid var(--electric-blue);
  outline-offset: 4px;
}

/* ==================================================
   My Package — mengikuti desain Dashboard
   ================================================== */

/* Panel utama */
body.woocommerce-account .din-packages {
  min-width: 0;
  margin: 0 0 32px;
  padding: 24px;
  background: #fff;
  color: var(--base-dark);
  border: 2px solid var(--base-dark);
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--base-dark);
  font-family: var(--body-font);
}

/* Header */
body.woocommerce-account .din-packages .din-packages__header {
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

body.woocommerce-account .din-packages .din-packages__eyebrow {
  display: inline-block;
  margin: 0;
  padding: 6px 16px;
  color: #fff;
  background: var(--electric-blue);
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  font-family: var(--tag-font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: uppercase;
}

body.woocommerce-account .din-packages h2 {
  margin: 16px 0 0;
  font-family: var(--heading-font);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.woocommerce-account .din-packages h3 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

/* Kartu setiap paket */
body.woocommerce-account .din-packages .din-packages__card {
  padding: 20px;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: none;
}

/* Warna masing-masing status tetap mengikuti plugin */
body.woocommerce-account .din-packages .din-packages__status {
  display: inline-block;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

/* Informasi periode dan tanggal.
   Layout dua/satu kolom tetap memakai CSS plugin. */
body.woocommerce-account .din-packages .din-packages__dates > div {
  min-width: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
}

body.woocommerce-account .din-packages .din-packages__dates dt {
  margin-bottom: 6px;
  color: var(--body-text);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

body.woocommerce-account .din-packages .din-packages__dates dd {
  margin: 0;
  color: var(--base-dark);
  font-size: 16px;
  font-weight: 700;
}

/* Link lihat semua dan pagination */
body.woocommerce-account .din-packages a {
  color: var(--electric-blue);
  font-weight: 700;
  text-decoration: none;
}

body.woocommerce-account .din-packages a:hover {
  color: var(--base-dark);
}

/* Tombol lihat order, renewal, dan upgrade */
body.woocommerce-account .din-packages .din-packages__order,
body.woocommerce-account .din-packages .din-packages__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: 12px 16px;
  color: #fff;
  background: var(--electric-blue);
  border: 2px solid var(--base-dark);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--base-dark);
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

body.woocommerce-account .din-packages .din-packages__order {
  color: var(--base-dark);
  background: #fff;
}

body.woocommerce-account .din-packages .din-packages__order:hover,
body.woocommerce-account .din-packages .din-packages__button:hover {
  color: var(--base-dark);
  background: var(--neon-mint);
}

body.woocommerce-account .din-packages a:focus-visible,
body.woocommerce-account .din-packages button:focus-visible {
  outline: 3px solid var(--base-dark);
  outline-offset: 5px;
}

body.woocommerce-account .din-packages .din-packages__actions form {
  min-width: 0;
  max-width: 100%;
}

/* Accordion hanya pada menu My Package; dashboard dan detail order tetap terbuka. */
body.woocommerce-account.woocommerce-din-packages .din-packages .din-packages__card {
  padding: 0;
}

body.woocommerce-din-packages .din-packages__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  list-style: none;
}

body.woocommerce-din-packages .din-packages__summary::-webkit-details-marker {
  display: none;
}

body.woocommerce-din-packages .din-packages__summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  justify-self: center;
}

body.woocommerce-din-packages .din-packages__summary:focus-visible {
  outline: 3px solid var(--electric-blue);
  outline-offset: -4px;
}

body.woocommerce-din-packages .din-packages__summary-text {
  display: grid;
  gap: 6px;
  min-width: 0;
  overflow-wrap: anywhere;
}

body.woocommerce-din-packages .din-packages__summary-name {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

body.woocommerce-din-packages .din-packages__summary-meta {
  color: var(--body-text);
  font-size: 12px;
}

body.woocommerce-din-packages .din-packages__preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-height: 3em;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
}

body.woocommerce-din-packages .din-packages__details[open] > summary {
  border-bottom: 1px solid #ddd;
  border-radius: 12px 12px 0 0;
}

body.woocommerce-din-packages .din-packages__details[open] > summary::after {
  transform: rotate(225deg);
}

body.woocommerce-din-packages .din-packages__body {
  padding: 20px;
}

body.woocommerce-din-packages .din-packages__body > .din-packages__heading:first-child {
  margin-top: 0;
}

/* ==================================================
   Mobile
   ================================================== */
@media (max-width: 1024px) {
  .gpm-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gpm-welcome-card {
    align-items: flex-start;
    flex-direction: column;
    box-shadow: 6px 6px 0 var(--base-dark);
    .gpm-action-item {
      align-items: flex-start;
      flex-direction: column;
    }

    .gpm-action-item__buttons {
      display: grid;
      width: 100%;
    }

    .gpm-action-button {
      text-align: center;
    }
  }

  .gpm-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .gpm-stepper {
    grid-template-columns: 1fr;
  }

  .gpm-stepper__step {
    grid-template-columns: 40px 1fr;
    justify-items: start;
    align-items: center;
    min-height: 72px;
    gap: 14px;
    text-align: left;
  }

  .gpm-stepper__step:not(:last-child)::after {
    top: 40px;
    bottom: 0;
    left: 18px;
    width: 4px;
    height: calc(100% - 40px);
  }

  .gpm-history-item {
    grid-template-columns: 1fr auto;
  }

  .gpm-history-item__total {
    grid-column: 1;
  }

  .gpm-history-item__link {
    grid-column: 2;
  }

  .gpm-guest-result__details {
    grid-template-columns: 1fr 1fr;
  }

  .woocommerce-account .woocommerce-orders-table {
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .woocommerce-account .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-account .woocommerce-orders-table tbody,
  .woocommerce-account .woocommerce-orders-table tbody tr {
    display: block;
    width: 100%;
  }

  .woocommerce-account .woocommerce-orders-table tbody tr {
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid var(--base-dark);
    border-radius: 12px;
    box-shadow: 6px 6px 0 var(--base-dark);
    background: #fff;
  }

  .woocommerce-account .woocommerce-orders-table tbody tr > * {
    width: auto;
    padding: 14px 16px;
  }

  .woocommerce-account .woocommerce-orders-table__cell-order-status {
    border-radius: 0;
    background-clip: border-box;
  }

  .woocommerce-account .woocommerce-orders-table__cell-order-actions {
    white-space: normal;
  }

  .woocommerce-account
    .woocommerce-MyAccount-content
    .woocommerce-info
    .button {
    display: block;
    float: none;
    width: 100%;
    margin: 0 0 16px;
    text-align: center;
  }

  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-pagination {
    flex-direction: column;
  }

  .woocommerce-account
    .woocommerce-MyAccount-content
    .woocommerce-pagination
    .woocommerce-button {
    width: 100%;
  }

  body.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type,
  body.woocommerce-view-order .woocommerce-OrderUpdates,
  body.woocommerce-view-order .woocommerce-order-details,
  body.woocommerce-view-order .woocommerce-customer-details {
    padding: 18px;
    box-shadow: 5px 5px 0 var(--base-dark);
  }

  body.woocommerce-view-order .woocommerce-order-details table.shop_table {
    display: block;
    overflow-x: auto;
  }

  body.woocommerce-view-order .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
  }

  body.woocommerce-view-order .woocommerce-order-details .order-actions-button,
  body.woocommerce-view-order .din-order-attachments tbody td:last-child a {
    width: 100%;
  }

  body.woocommerce-view-order .woocommerce-order-details .order-again .button {
    width: 100%;
  }

  body.woocommerce-account:not(.logged-in) .gpm-auth-card {
    padding: 24px 20px;
    box-shadow: 5px 5px 0 var(--base-dark);
  }

  body.woocommerce-edit-account .woocommerce-EditAccountForm fieldset {
    padding: 16px;
  }

  body:is(.woocommerce-edit-address, .woocommerce-edit-account)
    .woocommerce:has(> .woocommerce-MyAccount-content)::before,
  body:is(.woocommerce-edit-address, .woocommerce-edit-account)
    .woocommerce:has(> .woocommerce-MyAccount-content)::after {
    content: none;
  }

  body:is(.woocommerce-edit-address, .woocommerce-edit-account)
    .woocommerce:has(> .woocommerce-MyAccount-content) {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  body:is(.woocommerce-edit-address, .woocommerce-edit-account)
    .woocommerce-MyAccount-navigation,
  body:is(.woocommerce-edit-address, .woocommerce-edit-account)
    .woocommerce-MyAccount-content {
    position: static;
    float: none;
    width: 100%;
    height: auto;
    padding: 16px;
  }

  body:is(.woocommerce-edit-address, .woocommerce-edit-account)
    .woocommerce-MyAccount-content
    .woocommerce-Address,
  body:is(.woocommerce-edit-address, .woocommerce-edit-account)
    .woocommerce-MyAccount-content
    > form {
    padding: 16px;
    box-shadow: 5px 5px 0 var(--base-dark);
  }

  body:is(.woocommerce-edit-address, .woocommerce-edit-account)
    .woocommerce-address-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  body:is(.woocommerce-edit-address, .woocommerce-edit-account)
    .woocommerce-Address-title
    a.edit,
  body:is(.woocommerce-edit-address, .woocommerce-edit-account)
    .woocommerce-address-fields
    button[name="save_address"] {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .gpm-summary {
    grid-template-columns: 1fr;
  }

  .gpm-report-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .gpm-report-item__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .gpm-report-item__button {
    width: 100%;
    text-align: center;
  }

  .gpm-notification-item {
    grid-template-columns: 1fr;
  }

  .gpm-notification-item__action {
    width: 100%;
    text-align: center;
  }

  body.woocommerce-account .din-packages {
    padding: 16px;
  }

  body.woocommerce-account .din-packages .din-packages__header {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  body.woocommerce-account .din-packages .din-packages__card {
    padding: 16px;
  }

  body.woocommerce-din-packages .din-packages__summary {
    grid-template-columns: minmax(0, 1fr) 16px;
    padding: 16px;
  }

  body.woocommerce-din-packages .din-packages__summary::after {
    grid-column: 2;
    grid-row: 1;
  }

  body.woocommerce-din-packages .din-packages__summary > .din-packages__status {
    grid-column: 1;
    justify-self: start;
  }

  body.woocommerce-din-packages .din-packages__body {
    padding: 16px;
  }

  body.woocommerce-account .din-packages .din-packages__order,
  body.woocommerce-account .din-packages .din-packages__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .gpm-guest-result__details {
    grid-template-columns: 1fr;
  }
}

/* Buyer dashboard: respond to the space left beside the account navigation. */
.gpm-dashboard-bento {
  container: buyer-dashboard / inline-size;
  min-width: 0;
  margin-bottom: 32px;
}

.gpm-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

body.woocommerce-account .gpm-dashboard-grid > section {
  container: buyer-card / inline-size;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--base-dark);
}

body.woocommerce-account .gpm-dashboard-grid > .gpm-guest-result--removed {
  box-shadow: 4px 4px 0 #b42318;
}

body.woocommerce-account .gpm-dashboard-grid > .gpm-invoice-card {
  display: none;
}

.gpm-dashboard-grid > :is(.gpm-order-progress, .din-packages, .gpm-guest-result, .gpm-order-history) {
  grid-column: 1 / -1;
}

body.woocommerce-account .gpm-dashboard-grid :is(.gpm-panel-header, .din-packages__header) {
  flex-flow: row wrap;
  gap: 12px;
  margin-bottom: 20px;
}

body.woocommerce-account .gpm-dashboard-grid :is(.gpm-panel-header h2, .din-packages h2) {
  font-size: 24px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.woocommerce-account .gpm-dashboard-grid :is(.gpm-panel-header h2, .din-packages h2) {
  margin-top: 12px;
}

body.woocommerce-account .gpm-dashboard-grid :is(.gpm-panel-header__eyebrow, .din-packages__eyebrow) {
  display: inline-block;
  max-width: 100%;
  padding: 4px 10px;
  line-height: 1.5;
}

.gpm-dashboard-grid :is(.gpm-report-list, .gpm-notification-list) {
  gap: 12px;
  margin-top: 0;
}

.gpm-dashboard-grid .gpm-guest-result__details {
  gap: 12px;
  margin: 0 0 20px;
}

.gpm-dashboard-grid :is(.gpm-history-item, .gpm-report-item, .gpm-notification-item) {
  gap: 12px;
}

.gpm-dashboard-grid :is(.gpm-history-item__identity, .gpm-report-item__identity > div,
  .gpm-notification-item > div, .gpm-panel-header > div) {
  min-width: 0;
}

.gpm-dashboard-grid :is(dd, strong, time, .gpm-notification-item__message,
  .gpm-notification-item__meta, .gpm-report-item p) {
  overflow-wrap: anywhere;
}

.gpm-dashboard-grid .gpm-history-item__total {
  white-space: normal;
}

.gpm-dashboard-grid :is(.gpm-guest-result__field span,
  .gpm-history-item__identity time, .gpm-report-item p, .gpm-notification-item__meta) {
  color: #505565;
}

.gpm-dashboard-grid .gpm-stepper__step--upcoming {
  color: #626677;
}

.gpm-dashboard-grid .gpm-report-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gpm-dashboard-grid .gpm-report-item__actions > a,
.gpm-dashboard-grid :is(.gpm-panel-header__link, .gpm-history-item__link,
  .gpm-notification-item__action) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
}

.gpm-dashboard-grid .gpm-notification-item__action {
  justify-self: start;
}

.gpm-dashboard-grid a:focus-visible {
  outline: 3px solid var(--electric-blue);
  outline-offset: 4px;
}

@container buyer-dashboard (min-width: 850px) {
  .gpm-dashboard-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}

@container buyer-dashboard (max-width: 500px) {
  body.woocommerce-account .gpm-dashboard-grid > section {
    padding: 20px;
  }
}

@container buyer-card (max-width: 540px) {
  .gpm-dashboard-grid .gpm-history-item {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  }

  .gpm-dashboard-grid .gpm-history-item__total {
    grid-column: 1;
  }

  .gpm-dashboard-grid .gpm-history-item__link {
    grid-column: 2;
  }

  .gpm-dashboard-grid .gpm-report-item {
    flex-direction: column;
    align-items: stretch;
  }

  .gpm-dashboard-grid .gpm-notification-item {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container buyer-card (max-width: 300px) {
  .gpm-dashboard-grid .gpm-guest-result__details {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The fixed account sidebar must release its width on the buyer dashboard too. */
@media (max-width: 767px) {
  body.woocommerce-account .woocommerce:has(.gpm-dashboard-bento) {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: calc(100% - 24px);
    margin: 12px auto 24px;
  }

  body.woocommerce-account .woocommerce:has(.gpm-dashboard-bento)::before,
  body.woocommerce-account .woocommerce:has(.gpm-dashboard-bento)::after {
    content: none;
  }

  body.woocommerce-account .woocommerce:has(.gpm-dashboard-bento)
    > :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) {
    position: static;
    float: none;
    width: 100%;
    height: auto;
    min-width: 0;
    padding: 16px;
  }

  body.woocommerce-account .woocommerce:has(.gpm-dashboard-bento)
    > .woocommerce-MyAccount-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.woocommerce-account .woocommerce:has(.gpm-dashboard-bento)
    .woocommerce-MyAccount-navigation-link {
    padding: 10px 6px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }
}

/* Tombol login */
.woocommerce-account .woocommerce-button {
  border: 3px solid var(--base-dark);
  border-radius: 12px;
  box-shadow: 8px 8px 0 0 var(--base-dark);
  background-color: var(--electric-blue);
  color: #fff;
}
