.wpph-account-section {
  width: 100%;
}

.wpph-account-heading {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.wpph-account-heading h2 {
  margin: 0 0 8px;
}

.wpph-account-heading p {
  margin: 0;
  color: #666666;
}

.wpph-empty-state {
  padding: 48px 24px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
}

.wpph-empty-state h3 {
  margin: 0 0 10px;
}

.wpph-empty-state p {
  margin: 0 0 20px;
  color: #666666;
}

.wpph-product-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
}

.wpph-product-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f7f7f7;
}

.wpph-product-image img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.wpph-product-content {
  padding: 20px;
}

.wpph-product-status {
  display: inline-flex;
  padding: 5px 10px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  background: #f0f6fc;
  border-radius: 20px;
}

.wpph-product-title {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.4;
}

.wpph-product-title a {
  color: inherit;
  text-decoration: none;
}

.wpph-product-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px 0;
  margin-bottom: 18px;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.wpph-product-meta span,
.wpph-product-meta strong {
  display: block;
}

.wpph-product-meta span {
  margin-bottom: 4px;
  font-size: 12px;
  color: #777777;
}

.wpph-product-meta strong {
  font-size: 14px;
  color: #222222;
}

.wpph-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wpph-product-actions .button {
  margin: 0;
}

.wpph-button-secondary {
  background: transparent;
}

.wpph-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.wpph-pagination .button {
  margin: 0;
}

@media screen and (max-width: 480px) {
  .wpph-product-meta {
    grid-template-columns: 1fr;
  }

  .wpph-product-actions {
    flex-direction: column;
  }

  .wpph-product-actions .button {
    width: 100%;
    text-align: center;
  }
}
.wpph-my-products .wpph-account-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.wpph-product-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 13px;
  color: #341066;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  background: #f2ecfa;
  border-radius: 999px;
}

.wpph-products-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wpph-product-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 140px;
  align-items: center;
  gap: 22px;
  min-height: 148px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e8e5ef;
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(30, 10, 60, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wpph-product-row:hover {
  border-color: #d8cce9;
  box-shadow: 0 12px 30px rgba(30, 10, 60, 0.09);
  transform: translateY(-2px);
}

.wpph-product-row__image {
  width: 150px;
  height: 118px;
  overflow: hidden;
  background: #f4f2f7;
  border-radius: 12px;
}

.wpph-product-row__image a {
  display: block;
  width: 100%;
  height: 100%;
}

.wpph-product-row__image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wpph-product-row:hover .wpph-product-row__image img {
  transform: scale(1.04);
}

.wpph-product-row__main {
  align-self: stretch;
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
}

.wpph-product-row__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #eeebf3;
}

.wpph-product-row__title-wrap {
  min-width: 0;
}

.wpph-product-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  margin-bottom: 8px;
  color: #187045;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  background: #e7f8ee;
  border-radius: 999px;
}

.wpph-product-status__dot {
  width: 6px;
  height: 6px;
  background: #27a762;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(39, 167, 98, 0.12);
}

.wpph-product-title {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
}

.wpph-product-title a {
  display: block;
  overflow: hidden;
  color: #211331;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpph-product-title a:hover {
  color: #4d1684;
}

.wpph-product-row__price {
  flex: 0 0 auto;
  text-align: right;
}

.wpph-product-row__price span,
.wpph-product-row__price strong {
  display: block;
}

.wpph-product-row__price span {
  margin-bottom: 3px;
  color: #858092;
  font-size: 11px;
}

.wpph-product-row__price strong {
  color: #241333;
  font-size: 16px;
  font-weight: 700;
}

.wpph-product-meta-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
  width: 100%;
}

.wpph-product-meta-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin: 0;
}

.wpph-product-meta-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  margin: 0;
  padding: 0;
  color: #53208a;
  line-height: 1;
  background: #f3eff8;
  border-radius: 9px;
}

.wpph-product-meta-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wpph-product-meta-item > div {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}

.wpph-product-meta-item > div > span {
  display: block;
  width: 100%;
  margin: 0 0 2px;
  padding: 0;
  color: #8a8494;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
}
.wpph-my-products,
.wpph-my-products *,
.wpph-my-products *::before,
.wpph-my-products *::after {
  box-sizing: border-box;
}

.wpph-product-meta-item > div > strong {
  display: block;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #30263b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpph-product-row__actions {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid #eeebf3;
}

.wpph-product-row__actions .wpph-product-action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  margin: 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(135deg, #180034, #401071);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 6px 15px rgba(39, 6, 75, 0.15);
}

.wpph-product-row__actions .wpph-product-action-button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #25004d, #572098);
  transform: translateY(-1px);
}

.wpph-product-action-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wpph-product-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #4c2671;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.wpph-product-download-link:hover {
  color: #21003f;
}

.wpph-product-download-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wpph-empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  color: #4d1684;
  background: #f2ecfa;
  border-radius: 18px;
}

.wpph-empty-state__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media screen and (max-width: 1100px) {
  .wpph-product-row {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .wpph-product-row__image {
    width: 130px;
    height: 110px;
  }

  .wpph-product-row__actions {
    grid-column: 1 / -1;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    padding: 12px 0 0;
    border-top: 1px solid #eeebf3;
    border-left: 0;
  }

  .wpph-product-row__actions .wpph-product-action-button {
    width: auto;
  }

  .wpph-product-meta-list {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
  }

  .wpph-product-row__actions {
    align-self: auto;
  }
}

@media screen and (max-width: 700px) {
  .wpph-my-products .wpph-account-heading {
    flex-direction: column;
  }

  .wpph-product-row {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 14px;
    min-height: auto;
    padding: 12px;
  }

  .wpph-product-row__image {
    width: 105px;
    height: 95px;
  }

  .wpph-product-row__top {
    display: block;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .wpph-product-row__price {
    margin-top: 10px;
    text-align: left;
  }

  .wpph-product-title {
    font-size: 16px;
  }
  .wpph-product-meta-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .wpph-product-meta-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
  }

  .wpph-product-meta-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }

  .wpph-product-meta-item:nth-child(3) {
    display: grid;
  }
}

@media screen and (max-width: 480px) {
  .wpph-product-row {
    display: block;
  }

  .wpph-product-row__image {
    width: 100%;
    height: 150px;
    margin-bottom: 15px;
  }

  .wpph-product-row__actions {
    justify-content: space-between;
  }

  .wpph-product-row__actions .wpph-product-action-button {
    flex: 1;
  }

  .wpph-product-title a {
    white-space: normal;
  }
  .wpph-product-meta-list {
    grid-template-columns: 1fr;
  }

  .wpph-product-meta-item {
    grid-template-columns: 32px minmax(0, 1fr);
  }
}
.wpph-customer-dashboard,
.wpph-customer-dashboard *,
.wpph-customer-dashboard *::before,
.wpph-customer-dashboard *::after {
  box-sizing: border-box;
}

.wpph-customer-dashboard {
  --wpph-dashboard-primary: #2b0a57;
  --wpph-dashboard-primary-dark: #190035;
  --wpph-dashboard-accent: #7c3aed;
  --wpph-dashboard-text: #171322;
  --wpph-dashboard-muted: #777181;
  --wpph-dashboard-border: #ebe8f0;
  --wpph-dashboard-surface: #ffffff;
  --wpph-dashboard-soft: #f7f5fa;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.wpph-dashboard-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  color: #ffffff;
  background: radial-gradient(
      circle at 85% 20%,
      rgba(142, 78, 210, 0.45),
      transparent 35%
    ),
    linear-gradient(135deg, #18002f, #3a0b68);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(35, 5, 67, 0.18);
}

.wpph-dashboard-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #cbb8df;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wpph-dashboard-welcome h2 {
  margin: 0 0 8px !important;
  color: #ffffff !important;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}

.wpph-dashboard-welcome p {
  margin: 0 !important;
  color: #ded3e9 !important;
  line-height: 1.6 !important;
}

.wpph-dashboard-shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 44px;
  padding: 11px 17px;
  color: #291044 !important;
  font-size: 13px;
  font-weight: 700 !important;
  text-decoration: none;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(12, 0, 26, 0.15);
}

.wpph-dashboard-shop-button svg,
.wpph-dashboard-icon-link svg,
.wpph-dashboard-action svg,
.wpph-dashboard-stat svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wpph-dashboard-shop-button svg {
  width: 16px;
  height: 16px;
}

.wpph-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wpph-dashboard-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 19px;
  background: var(--wpph-dashboard-surface);
  border: 1px solid var(--wpph-dashboard-border);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(30, 12, 50, 0.04);
}

.wpph-dashboard-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--wpph-dashboard-primary);
  background: #f1ebf8;
  border-radius: 11px;
}

.wpph-dashboard-stat__icon svg {
  width: 21px;
  height: 21px;
}

.wpph-dashboard-stat div {
  min-width: 0;
}

.wpph-dashboard-stat strong,
.wpph-dashboard-stat span {
  display: block;
}

.wpph-dashboard-stat div strong {
  overflow: hidden;
  margin-bottom: 3px;
  color: var(--wpph-dashboard-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpph-dashboard-stat div > span {
  color: var(--wpph-dashboard-muted);
  font-size: 11px;
  line-height: 1.4;
}

.wpph-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 20px;
}

.wpph-dashboard-panel {
  min-width: 0;
  padding: 22px;
  background: var(--wpph-dashboard-surface);
  border: 1px solid var(--wpph-dashboard-border);
  border-radius: 16px;
  box-shadow: 0 7px 22px rgba(30, 12, 50, 0.04);
}

.wpph-dashboard-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--wpph-dashboard-border);
}

.wpph-dashboard-panel__header h3 {
  margin: 0 0 4px !important;
  color: var(--wpph-dashboard-text);
  font-size: 17px;
  font-weight: 700;
}

.wpph-dashboard-panel__header p {
  margin: 0 !important;
  color: var(--wpph-dashboard-muted) !important;
  font-size: 11px;
  line-height: 1.5 !important;
}

.wpph-dashboard-panel__header > a {
  flex: 0 0 auto;
  color: var(--wpph-dashboard-primary) !important;
  font-size: 11px;
  font-weight: 700 !important;
  text-decoration: none;
}

.wpph-dashboard-product,
.wpph-dashboard-order {
  display: grid;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--wpph-dashboard-border);
}

.wpph-dashboard-product {
  grid-template-columns: 54px minmax(0, 1fr) 34px;
  padding: 13px 0;
}

.wpph-dashboard-product:last-child,
.wpph-dashboard-order:last-child {
  border-bottom: 0;
}

.wpph-dashboard-product__image {
  width: 54px;
  height: 46px;
  overflow: hidden;
  background: var(--wpph-dashboard-soft);
  border-radius: 9px;
}

.wpph-dashboard-product__image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.wpph-dashboard-product__content {
  min-width: 0;
}

.wpph-dashboard-product__content h4 {
  overflow: hidden;
  margin: 0 0 3px !important;
  color: var(--wpph-dashboard-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpph-dashboard-product__content span,
.wpph-dashboard-product__content small {
  display: inline;
  color: var(--wpph-dashboard-muted);
  font-size: 10px;
}

.wpph-dashboard-product__content small::before {
  content: " · ";
}

.wpph-dashboard-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--wpph-dashboard-primary) !important;
  background: #f2edf7;
  border-radius: 9px;
}
.wpph-dashboard-icon-link svg {
  width: 15px;
  height: 15px;
}

.wpph-dashboard-actions {
  padding-top: 8px;
}

.wpph-dashboard-action {
  display: grid;
  align-items: center;
}

.wpph-dashboard-action:last-child {
  border-bottom: 0;
}

.wpph-dashboard-action__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--wpph-dashboard-primary);
  background: #f2edf7;
  border-radius: 10px;
}

.wpph-dashboard-action__icon svg {
  width: 18px;
  height: 18px;
}

.wpph-dashboard-action__content {
  min-width: 0;
}

.wpph-dashboard-action__content strong,
.wpph-dashboard-action__content small {
  display: block;
}

.wpph-dashboard-action__content strong {
  margin-bottom: 2px;
  color: var(--wpph-dashboard-text);
  font-size: 12px;
  font-weight: 700;
}

.wpph-dashboard-action__content small {
  color: var(--wpph-dashboard-muted);
  font-size: 10px;
  line-height: 1.4;
}

.wpph-dashboard-action__arrow {
  width: 15px;
  height: 15px;
  color: #9e96a8;
}

.wpph-dashboard-order {
  grid-template-columns:
    minmax(90px, 0.7fr)
    minmax(120px, 1fr)
    minmax(60px, 0.45fr)
    minmax(100px, 0.8fr)
    minmax(100px, 0.75fr)
    34px;
  padding: 14px 0;
}

.wpph-dashboard-order > div {
  min-width: 0;
}

.wpph-dashboard-order > div > span,
.wpph-dashboard-order > div > strong {
  display: block;
}

.wpph-dashboard-order > div > span {
  margin-bottom: 3px;
  color: var(--wpph-dashboard-muted);
  font-size: 9px;
  line-height: 1.3;
  text-transform: uppercase;
}

.wpph-dashboard-order > div > strong {
  overflow: hidden;
  color: var(--wpph-dashboard-text);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpph-order-status {
  display: inline-flex !important;
  width: max-content;
  padding: 5px 9px;
  color: #17663f !important;
  font-size: 10px !important;
  background: #e5f7ec;
  border-radius: 999px;
}

.wpph-dashboard-empty {
  padding: 30px 10px;
  text-align: center;
}

.wpph-dashboard-empty p {
  margin: 0 !important;
  font-size: 12px;
}

@media screen and (max-width: 1100px) {
  .wpph-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wpph-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 800px) {
  .wpph-dashboard-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .wpph-dashboard-order {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 34px;
  }

  .wpph-dashboard-order > div:nth-child(4),
  .wpph-dashboard-order > div:nth-child(5) {
    margin-top: 8px;
  }

  .wpph-dashboard-order > .wpph-dashboard-icon-link {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media screen and (max-width: 520px) {
  .wpph-dashboard-stats {
    grid-template-columns: 1fr;
  }

  .wpph-dashboard-welcome,
  .wpph-dashboard-panel {
    padding: 18px;
  }

  .wpph-dashboard-shop-button {
    width: 100%;
  }

  .wpph-dashboard-panel__header {
    flex-direction: column;
  }

  .wpph-dashboard-order {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wpph-dashboard-order > .wpph-dashboard-icon-link {
    grid-column: auto;
    grid-row: auto;
  }

  .wpph-dashboard-product__content small {
    display: block;
  }

  .wpph-dashboard-product__content small::before {
    content: "";
  }
}
/**
 * Dashboard alignment corrections.
 */
.wpph-customer-dashboard .wpph-dashboard-stat {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.wpph-customer-dashboard .wpph-dashboard-stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.wpph-customer-dashboard .wpph-dashboard-stat__icon svg {
  display: block;
  width: 21px;
  height: 21px;
  margin: 0;
}

.wpph-customer-dashboard .wpph-dashboard-stat > div {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.wpph-customer-dashboard .wpph-dashboard-stat > div > strong {
  display: block;
  margin: 0 0 4px;
  line-height: 1.15;
}

.wpph-customer-dashboard .wpph-dashboard-stat > div > span {
  display: block;
  margin: 0;
  line-height: 1.35;
}

.wpph-customer-dashboard .wpph-dashboard-action {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 0;
  margin: 0;
}

.wpph-customer-dashboard .wpph-dashboard-action__icon {
  display: flex;
  grid-column: 1;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.wpph-customer-dashboard .wpph-dashboard-action__icon svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
}

.wpph-customer-dashboard .wpph-dashboard-action__content {
  display: block;
  grid-column: 2;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.wpph-customer-dashboard .wpph-dashboard-action__content strong {
  display: block;
  margin: 0 0 2px;
  line-height: 1.35;
}

.wpph-customer-dashboard .wpph-dashboard-action__content small {
  display: block;
  margin: 0;
  line-height: 1.4;
}

.wpph-customer-dashboard .wpph-dashboard-action__arrow {
  display: block;
  grid-column: 3;
  align-self: center;
  justify-self: end;
  width: 15px;
  height: 15px;
  margin: 0;
}

.wpph-customer-dashboard .wpph-dashboard-product > .wpph-dashboard-icon-link,
.wpph-customer-dashboard .wpph-dashboard-order > .wpph-dashboard-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: end;
  margin: 0;
  padding: 0;
}

.wpph-customer-dashboard .wpph-dashboard-icon-link svg {
  display: block;
  margin: 0;
}

.wpph-license-list{display:flex;flex-direction:column;gap:14px}.wpph-license-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;background:#fff;border:1px solid #ebe8f0;border-radius:14px}.wpph-license-card code{display:block;margin-top:7px;padding:7px 9px;background:#f5f1f9;border-radius:7px;word-break:break-all}.wpph-license-product{font-weight:700}.wpph-license-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:#777181;font-size:12px}.wpph-license-meta strong{padding:5px 9px;color:#17663f;background:#e5f7ec;border-radius:999px}@media(max-width:700px){.wpph-license-card{align-items:flex-start;flex-direction:column}}

/* Phase 3 customer portal. */
.woocommerce-account .woocommerce-MyAccount-navigation {
	padding: 14px;
	background: #1f0b35;
	border-radius: 18px;
	box-sizing: border-box;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 3px 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 11px 14px;
	color: rgba(255,255,255,.76);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 10px;
	transition: .2s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { color: #fff; background: linear-gradient(135deg,#5f2fbd,#8651df); }
.woocommerce-account .woocommerce-MyAccount-content { min-width: 0; }
.wpph-portal-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px;
	margin-bottom: 22px;
	color: #fff;
	background: linear-gradient(135deg,#25063e,#6f31c5 72%,#8b4de2);
	border-radius: 20px;
	box-shadow: 0 18px 45px rgba(49,13,84,.16);
}
.wpph-portal-hero h2 { margin: 5px 0 7px; color: #fff; font-size: 28px; }
.wpph-portal-hero p { max-width: 650px; margin: 0; color: rgba(255,255,255,.78); }
.wpph-portal-eyebrow { color: #d9c4f8; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.wpph-portal-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 17px; border-radius: 11px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.wpph-portal-button.is-light { color: #45207e; background: #fff; }
.wpph-portal-notice { padding: 13px 16px; margin: 0 0 18px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.wpph-portal-notice.is-success { color: #16643f; background: #e8f8ef; border: 1px solid #c5ecd6; }
.wpph-portal-notice.is-error { color: #9b2f38; background: #fff0f1; border: 1px solid #f4cdd1; }
.wpph-access-list,.wpph-renewal-list,.wpph-customer-notification-list { display: flex; flex-direction: column; gap: 16px; }
.wpph-access-card,.wpph-renewal-card,.wpph-customer-notification {
	padding: 20px;
	background: #fff;
	border: 1px solid #e8e1f0;
	border-radius: 18px;
	box-shadow: 0 8px 28px rgba(40,14,65,.055);
}
.wpph-access-card__product { display: flex; align-items: center; gap: 15px; }
.wpph-access-card__image,.wpph-renewal-card__image { flex: 0 0 70px; width: 70px; height: 70px; overflow: hidden; background: #f3eff7; border-radius: 14px; }
.wpph-access-card__image img,.wpph-renewal-card__image img { width: 100%; height: 100%; margin: 0; object-fit: cover; }
.wpph-access-card h3,.wpph-renewal-card h3,.wpph-customer-notification h3 { margin: 5px 0; color: #21172d; font-size: 17px; }
.wpph-access-card__product p,.wpph-renewal-card p { margin: 0; color: #777080; font-size: 12px; }
.wpph-access-status { display: inline-flex; padding: 5px 9px; color: #5d2eb3; background: #efe7fa; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.wpph-access-status.is-active { color: #19704a; background: #e6f7ee; }
.wpph-access-status.is-expiring { color: #8a5b00; background: #fff4d8; }
.wpph-access-status.is-expired,.wpph-access-status.is-cancelled { color: #a3353e; background: #fdebed; }
.wpph-access-card__metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; padding: 16px 0; margin: 16px 0 0; border-top: 1px solid #eee8f3; }
.wpph-access-card__metrics div { padding: 11px 12px; background: #faf8fc; border-radius: 11px; }
.wpph-access-card__metrics span,.wpph-access-card__metrics strong { display: block; }
.wpph-access-card__metrics span { margin-bottom: 4px; color: #8a8291; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.wpph-access-card__metrics strong { color: #2c2235; font-size: 12px; }
.wpph-access-card__actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 14px; border-top: 1px solid #eee8f3; }
.wpph-access-card__actions a { padding: 9px 13px; color: #5d2eb3; font-size: 12px; font-weight: 700; text-decoration: none; border-radius: 9px; }
.wpph-access-card__actions a.is-primary { color: #fff; background: linear-gradient(135deg,#5c2db8,#7d46d4); }
.wpph-credential-toggle { padding: 0; margin: 1px 0 14px; color: #6131b7; background: none; border: 0; font-size: 12px; font-weight: 800; cursor: pointer; }
.wpph-credential-form { padding: 16px; margin-bottom: 14px; background: #f8f5fb; border: 1px solid #e7dcf1; border-radius: 13px; }
.wpph-credential-form__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.wpph-credential-form label span { display: block; margin-bottom: 6px; color: #4d4556; font-size: 11px; font-weight: 700; }
.wpph-credential-form input { width: 100%; min-height: 42px; padding: 8px 11px; margin: 0; background: #fff; border: 1px solid #dcd2e5; border-radius: 9px; box-sizing: border-box; }
.wpph-credential-form__help { margin: 10px 0; color: #7d7485; font-size: 11px; }
.wpph-renewal-card { display: grid; grid-template-columns: minmax(0,1fr) 130px 170px; align-items: center; gap: 18px; }
.wpph-renewal-card__main { display: flex; align-items: center; gap: 15px; min-width: 0; }
.wpph-renewal-card__countdown { text-align: center; }
.wpph-renewal-card__countdown strong,.wpph-renewal-card__countdown span { display: block; }
.wpph-renewal-card__countdown strong { color: #4f2399; font-size: 28px; line-height: 1; }
.wpph-renewal-card__countdown span { margin-top: 5px; color: #7c7484; font-size: 10px; text-transform: uppercase; }
.wpph-renewal-card__action { text-align: right; }
.wpph-renewal-card__action .button { margin: 0; }
.wpph-renewal-card__action small { display: block; margin-top: 6px; color: #8b8391; font-size: 9px; }
.wpph-customer-notification { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; }
.wpph-customer-notification__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #6132b2; background: #efe8f8; border-radius: 12px; }
.wpph-customer-notification__heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.wpph-customer-notification__heading strong { color: #2d2238; font-size: 12px; }
.wpph-customer-notification__heading span { padding: 4px 8px; color: #6e548f; background: #f1ebf8; border-radius: 99px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.wpph-customer-notification p { margin: 5px 0; color: #6d6674; font-size: 12px; }
.wpph-customer-notification small { color: #9a929f; font-size: 10px; }
.wpph-dashboard-access-overview { padding: 20px; margin: 20px 0; color: #fff; background: linear-gradient(135deg,#2d0d4d,#59309b); border-radius: 17px; }
.wpph-dashboard-access-overview__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.wpph-dashboard-access-overview__heading span { color: #d7c5ed; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.wpph-dashboard-access-overview__heading h3 { margin: 3px 0 0; color: #fff; font-size: 18px; }
.wpph-dashboard-access-overview__heading a { color: #fff; font-size: 12px; font-weight: 700; }
.wpph-dashboard-access-overview__stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.wpph-dashboard-access-overview__stats div { padding: 13px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.1); border-radius: 11px; }
.wpph-dashboard-access-overview__stats strong,.wpph-dashboard-access-overview__stats span { display: block; }
.wpph-dashboard-access-overview__stats strong { color: #fff; font-size: 22px; }
.wpph-dashboard-access-overview__stats span { margin-top: 3px; color: rgba(255,255,255,.7); font-size: 10px; }
.wpph-portal-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 12px; color: #6130b4; background: #efe7f8; border-radius: 15px; font-size: 24px; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Downloads-table,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table { overflow: hidden; background: #fff; border: 1px solid #e8e1ef; border-radius: 15px; box-shadow: 0 8px 25px rgba(40,14,65,.045); }
@media (max-width: 900px) {
	.wpph-access-card__metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.wpph-credential-form__grid { grid-template-columns: 1fr; }
	.wpph-renewal-card { grid-template-columns: 1fr; }
	.wpph-renewal-card__countdown,.wpph-renewal-card__action { text-align: left; }
}
@media (max-width: 600px) {
	.wpph-portal-hero { align-items: flex-start; flex-direction: column; padding: 22px; }
	.wpph-access-card__metrics,.wpph-dashboard-access-overview__stats { grid-template-columns: 1fr 1fr; }
	.wpph-access-card__actions { justify-content: flex-start; flex-wrap: wrap; }
}


/* Phase 3.1 customer portal polish. */
:root {
	--wpph-ink: #21152f;
	--wpph-muted: #746c7e;
	--wpph-border: #e9e3ef;
	--wpph-surface: #ffffff;
	--wpph-soft: #f8f5fb;
	--wpph-primary: #5d2bb2;
	--wpph-primary-dark: #35105f;
	--wpph-primary-light: #8b50df;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	background: #ffffff;
	border: 1px solid var(--wpph-border);
	box-shadow: 0 18px 55px rgba(31, 10, 54, 0.07);
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
	position: relative;
	color: #30263d;
	border: 1px solid transparent;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	color: var(--wpph-primary);
	background: #f7f2fc;
	border-color: #eadff5;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	color: #fff;
	background: linear-gradient(135deg, #2d0750, #5e23a5);
	border-color: transparent;
	box-shadow: 0 12px 24px rgba(52, 10, 91, 0.2);
}

.wpph-portal-hero--light {
	position: relative;
	overflow: hidden;
	color: var(--wpph-ink);
	background:
		radial-gradient(circle at 100% 0, rgba(126, 65, 207, 0.14), transparent 38%),
		linear-gradient(135deg, #ffffff, #faf7fd);
	border: 1px solid #e7ddf0;
	box-shadow: 0 18px 45px rgba(45, 12, 74, 0.08);
}
.wpph-portal-hero--light::after {
	position: absolute;
	right: -55px;
	bottom: -80px;
	width: 190px;
	height: 190px;
	content: "";
	background: linear-gradient(135deg, rgba(90, 38, 166, 0.12), rgba(139, 78, 222, 0.03));
	border-radius: 50%;
}
.wpph-portal-hero--light > * { position: relative; z-index: 1; }
.wpph-portal-hero--light h2 { color: var(--wpph-ink); }
.wpph-portal-hero--light p { color: var(--wpph-muted); }
.wpph-portal-hero--light .wpph-portal-eyebrow { color: var(--wpph-primary); }
.wpph-portal-hero--light .wpph-portal-button.is-light {
	color: #fff;
	background: linear-gradient(135deg, #4a178c, #7b43ce);
	box-shadow: 0 9px 20px rgba(79, 28, 144, 0.2);
}
.wpph-portal-count {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 150px;
	padding: 12px 15px;
	background: #fff;
	border: 1px solid #e7dced;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(43, 14, 68, 0.06);
}
.wpph-portal-count strong { color: var(--wpph-primary-dark); font-size: 24px; line-height: 1; }
.wpph-portal-count span { color: var(--wpph-muted); font-size: 11px; line-height: 1.35; }

.wpph-dashboard-welcome {
	background:
		radial-gradient(circle at 90% 15%, rgba(255,255,255,.15), transparent 28%),
		linear-gradient(135deg, #25043f, #51158e 60%, #7135bd);
}
.wpph-dashboard-access-overview {
	padding: 22px;
	color: var(--wpph-ink);
	background: linear-gradient(135deg, #ffffff, #faf7fd);
	border: 1px solid #e6dced;
	box-shadow: 0 14px 38px rgba(42, 12, 67, 0.07);
}
.wpph-dashboard-access-overview__heading { margin-bottom: 18px; }
.wpph-dashboard-access-overview__heading span { color: var(--wpph-primary); }
.wpph-dashboard-access-overview__heading h3 { color: var(--wpph-ink); font-size: 19px; }
.wpph-dashboard-access-overview__heading p { max-width: 560px; margin: 5px 0 0; color: var(--wpph-muted); font-size: 12px; }
.wpph-dashboard-access-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 13px;
	color: var(--wpph-primary) !important;
	background: #f2ebf9;
	border-radius: 10px;
	text-decoration: none;
}
.wpph-dashboard-access-overview__stats div {
	position: relative;
	padding: 15px 14px 14px;
	background: #fff;
	border: 1px solid #ebe4f0;
	box-shadow: 0 6px 18px rgba(33, 12, 52, 0.035);
}
.wpph-dashboard-access-overview__stats strong { color: var(--wpph-ink); font-size: 23px; }
.wpph-dashboard-access-overview__stats span { color: var(--wpph-muted); }
.wpph-dashboard-access-overview__stats .wpph-access-dot {
	position: absolute;
	top: 13px;
	right: 13px;
	width: 8px;
	height: 8px;
	margin: 0;
	background: #8e83a0;
	border-radius: 50%;
}
.wpph-dashboard-access-overview__stats .is-active .wpph-access-dot { background: #27a667; }
.wpph-dashboard-access-overview__stats .is-expiring .wpph-access-dot { background: #e5a828; }
.wpph-dashboard-access-overview__stats .is-pending .wpph-access-dot { background: #7750d0; }
.wpph-dashboard-access-overview__stats .is-expired .wpph-access-dot { background: #d95b68; }

.wpph-products-list { gap: 16px; }
.wpph-product-row { border-color: #e9e2ef; box-shadow: 0 10px 30px rgba(34, 10, 54, 0.05); }
.wpph-product-row:hover { transform: translateY(-3px); }

.wpph-pagination { flex-direction: column; gap: 12px; }
.wpph-pagination ul.page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	padding: 0;
	margin: 0;
	list-style: none;
}
.wpph-pagination ul.page-numbers li { margin: 0; }
.wpph-pagination .page-numbers a,
.wpph-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 11px;
	color: #4e3c61;
	background: #fff;
	border: 1px solid #e5dcec;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	box-sizing: border-box;
}
.wpph-pagination .page-numbers.current {
	color: #fff;
	background: linear-gradient(135deg, #4a1889, #7540c7);
	border-color: transparent;
	box-shadow: 0 8px 18px rgba(73, 24, 133, .2);
}
.wpph-pagination__summary { margin: 0; color: #817888; font-size: 11px; }

.wpph-access-card {
	padding: 22px;
	border-color: #e8e0ee;
	box-shadow: 0 12px 35px rgba(38, 12, 59, .06);
}
.wpph-access-card__metrics div { background: #f8f5fa; border: 1px solid #eee8f2; }
.wpph-saved-access {
	padding: 15px;
	margin: 0 0 14px;
	background: #fbf9fd;
	border: 1px solid #e9e1ef;
	border-radius: 14px;
}
.wpph-saved-access__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid #eee7f2;
}
.wpph-saved-access__heading span,
.wpph-saved-access__heading strong { display: block; }
.wpph-saved-access__heading > div > span { margin-bottom: 3px; color: #82798b; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.wpph-saved-access__heading > div > strong { color: #2b1d36; font-size: 12px; }
.wpph-saved-access__secure { padding: 5px 8px; color: #197049 !important; background: #e7f8ef; border-radius: 999px; font-size: 9px !important; font-weight: 800; }
.wpph-saved-access__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 10px; }
.wpph-saved-access__grid > div { min-width: 0; padding: 10px 11px; background: #fff; border: 1px solid #eee7f2; border-radius: 10px; }
.wpph-saved-access__grid span,
.wpph-saved-access__grid strong { display: block; }
.wpph-saved-access__grid span { margin-bottom: 4px; color: #8a8191; font-size: 9px; text-transform: uppercase; }
.wpph-saved-access__grid strong { overflow: hidden; color: #34263e; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.wpph-saved-access__grid a { color: #5d2bb2; text-decoration: none; }
.wpph-credential-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 13px;
	color: #5c2cac;
	background: #f1eaf8;
	border: 1px solid #e3d6ed;
	border-radius: 9px;
}
.wpph-credential-toggle:hover { color: #fff; background: #5c2cac; }
.wpph-credential-form { animation: wpphFormReveal .22s ease; }
@keyframes wpphFormReveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
	.wpph-saved-access__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.wpph-portal-count { width: 100%; box-sizing: border-box; }
	.wpph-dashboard-access-overview__heading { align-items: flex-start; flex-direction: column; }
	.wpph-dashboard-access-link { width: 100%; justify-content: center; box-sizing: border-box; }
}
