/* Account-only presentation; WooCommerce keeps ownership of forms and actions. */
/* stylelint-disable selector-class-pattern -- Native WooCommerce class names. */
.woocommerce-account .psk-content-shell .woocommerce,
.woocommerce-account .psk-content-shell .woocommerce * { box-sizing: border-box; }
.psk-account-menu-toggle { display: none; }
.psk-account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; text-align: left; }
.psk-account-return__help { position: relative; flex-basis: 100%; margin: 0; text-align: left; font-size: 0.8125rem; line-height: 1.55; }
.psk-account-return__help summary { padding-block: 6px; min-height: 32px; color: #286348; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.psk-account-return__panel { position: absolute; z-index: 5; right: 0; width: 300px; max-width: calc(100vw - 64px); padding: 18px; border: 1px solid #e8ece9; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / 8%); color: #454b48; }
.woocommerce-account .woocommerce .psk-account-return__panel p { margin: 0 0 10px; text-align: left; font-size: 0.8125rem; line-height: 1.6; }
.psk-account-return__links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.woocommerce-account .woocommerce .psk-account-return__links a { display: inline-flex; align-items: center; width: auto; min-height: 32px; margin: 0; padding: 0; text-align: left; color: #286348; font-size: 0.8125rem; }
.woocommerce-account .psk-content-shell .woocommerce:has(> .woocommerce-MyAccount-navigation) {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 32px;
}
.woocommerce-account .psk-content-shell .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
.woocommerce-account .psk-content-shell .woocommerce:has(> .woocommerce-MyAccount-navigation)::after { display: none; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content { float: none; width: 100%; min-width: 0; }
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation { padding: 12px; border-radius: 16px; background: #f6f7f7; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 12px; border-radius: 10px; color: #454b48; text-decoration: none; font-size: 0.9375rem; line-height: 1.4; }
.woocommerce-account .woocommerce-MyAccount-navigation a::before { content: ""; flex: 0 0 20px; height: 20px; background: currentcolor; mask: var(--psk-account-icon, url("../images/icons/account.svg")) center / contain no-repeat; }
.woocommerce-MyAccount-navigation-link--dashboard { --psk-account-icon: url("../images/icons/view-grid-4.svg"); }
.woocommerce-MyAccount-navigation-link--orders { --psk-account-icon: url("../images/icons/cart.svg"); }
.woocommerce-MyAccount-navigation-link--downloads { --psk-account-icon: url("../images/icons/media-pdf.svg"); }
.woocommerce-MyAccount-navigation-link--edit-address { --psk-account-icon: url("../images/icons/pin.svg"); }
.woocommerce-MyAccount-navigation-link--payment-methods { --psk-account-icon: url("../images/icons/product-details.svg"); }
.woocommerce-MyAccount-navigation-link--customer-logout { --psk-account-icon: url("../images/icons/breadcrumb-back.svg"); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--wp--preset--color--surface-green, #edf5ef); color: var(--wp--preset--color--brand-green, #286348); font-weight: 650; }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: #fff; color: var(--wp--preset--color--brand-green, #286348); }
.woocommerce-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--wp--preset--color--action-danger, #c9202a); }
.woocommerce-account .woocommerce-MyAccount-content > p { max-width: 78ch; line-height: 1.8; color: #505652; margin-block: 0 18px; }
.woocommerce-account .woocommerce-MyAccount-content > p:first-child { font-size: 1.125rem; color: #171717; }
.woocommerce-account .woocommerce-MyAccount-content a:not(.button, .psk-account-shortcut) { text-underline-offset: 4px; }
.psk-account-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.psk-account-shortcut { position: relative; display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: 16px; background: #f6f7f7; color: #171717; text-decoration: none; }
.psk-account-shortcut::before { content: ""; width: 28px; height: 28px; margin-bottom: 12px; background: var(--wp--preset--color--brand-green, #286348); mask: var(--psk-account-icon) center / contain no-repeat; }
.psk-account-shortcut--cart { --psk-account-icon: url("../images/icons/cart.svg"); }
.psk-account-shortcut--pin { --psk-account-icon: url("../images/icons/pin.svg"); }
.psk-account-shortcut--account { --psk-account-icon: url("../images/icons/account.svg"); }
.psk-account-shortcut strong { font-size: 1.0625rem; }
.psk-account-shortcut > span:not(.psk-account-shortcut__arrow) { font-size: 0.875rem; line-height: 1.6; color: #59615c; }
.psk-account-shortcut__arrow { position: absolute; top: 24px; right: 24px; color: #286348; }
.psk-account-shortcut:hover { background: var(--wp--preset--color--surface-green, #edf5ef); }

.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table { width: 100%; border: 0; border-collapse: separate; border-spacing: 0; font-size: 0.875rem; }
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead th { padding: 14px 16px; background: #f6f7f7; font-size: 0.8125rem; font-weight: 600; color: #59615c; border: 0; }
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead th:first-child { border-radius: 10px 0 0 10px; }
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table thead th:last-child { border-radius: 0 10px 10px 0; }
.woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table tbody :is(td, th) { padding: 20px 16px; border: 0; border-bottom: 1px solid #edf0ee; vertical-align: middle; line-height: 1.6; }
.woocommerce-account .woocommerce-orders-table__cell-order-number a { font-weight: 650; color: #286348; }
.woocommerce-account .woocommerce-orders-table__cell-order-actions { min-width: 156px; }
.woocommerce-account .woocommerce .button,
.woocommerce-account .woocommerce button.button,
.woocommerce-account .woocommerce a.button { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 42px; padding: 10px 16px; margin: 4px 6px 4px 0; border: 1px solid transparent; background: var(--wp--preset--color--surface-green, #edf5ef); color: var(--wp--preset--color--brand-green, #286348); box-shadow: none; font-size: 0.875rem; font-weight: 600; line-height: 1.4; white-space: normal; text-align: center; }
.woocommerce-account .woocommerce .button:hover { background: #dfebe2; color: #204f39; }
.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions .button:not(.view, .pay) { background: transparent; color: #5c625f; border-color: #e1e6e2; font-weight: 400; }
.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions .button:not(.view, .pay):hover { background: #f6f7f7; color: #171717; }
.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions .button.pay { background: #286348; color: #fff; }
.woocommerce-account .woocommerce .psk-account-actions > .button { flex: 0 0 auto; width: auto; min-height: 36px; margin: 0; padding: 8px 12px; font-size: 0.8125rem; text-decoration: none; }
.woocommerce-account .woocommerce .psk-account-actions > .button.psk-account-return__disabled { opacity: 1; background: #f6f7f7; color: #707773; border-color: #e8ece9; cursor: not-allowed; }
.woocommerce-account .woocommerce :is(.woocommerce-info, .woocommerce-message) { border: 0; border-radius: 12px; background: var(--wp--preset--color--surface-green, #edf5ef); color: #264835; padding: 20px 24px 20px 52px; line-height: 1.7; }
.woocommerce-account .woocommerce :is(.woocommerce-info, .woocommerce-message)::before { color: #286348; top: 21px; left: 22px; }
.woocommerce-account .woocommerce :is(.woocommerce-info, .woocommerce-message) .button { background: #fff; }
.woocommerce-account .woocommerce .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 20px; width: 100%; }
.woocommerce-account .woocommerce .woocommerce-Addresses::before,
.woocommerce-account .woocommerce .woocommerce-Addresses::after { display: none; }
.woocommerce-account .woocommerce .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; min-width: 0; margin: 0; padding: 20px; border: 1px solid #e8ece9; border-radius: 12px; background: #fff; }
.woocommerce-account .woocommerce .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 14px; }
.woocommerce-account .woocommerce .woocommerce-Address-title::before,
.woocommerce-account .woocommerce .woocommerce-Address-title::after { display: none; }
.woocommerce-account .woocommerce .woocommerce-Address-title h2 { float: none; margin: 0; }
.woocommerce-account .woocommerce .woocommerce-Address-title a.edit { display: inline-flex; align-items: center; min-height: 44px; float: none; font-size: 0.8125rem; color: #286348; }
.woocommerce-account .woocommerce .woocommerce-Addresses h2 { font-size: 1.125rem; }
.woocommerce-account .woocommerce .woocommerce-Addresses address { font-style: normal; line-height: 1.8; }
.woocommerce-account .woocommerce-MyAccount-content h2 { font-size: 1.375rem; }
.woocommerce-account .woocommerce-MyAccount-content :is(a, button, input, select):focus-visible { outline: 2px solid #286348; outline-offset: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible { outline: 2px solid #286348; outline-offset: 2px; }

@media (max-width: 1100px) {
  .woocommerce-account .psk-content-shell .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .psk-account-shortcuts { grid-template-columns: 1fr; }
  .psk-account-shortcut { padding: 20px 56px 20px 64px; gap: 4px; }
  .psk-account-shortcut::before { position: absolute; left: 20px; top: 24px; width: 24px; height: 24px; }
}

@media (max-width: 900px) {
  .woocommerce-account .psk-content-shell .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-navigation { padding: 0; background: transparent; border-radius: 0; }
  .woocommerce-account .woocommerce .psk-account-menu-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #e8ece9; background: #fff; color: #286348; text-align: left; font-size: 0.875rem; font-weight: 600; box-shadow: none; }
  .psk-account-menu-toggle::after { content: ""; width: 8px; height: 8px; flex: 0 0 8px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); margin: -4px 2px 0 0; }
  .psk-account-menu-toggle[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 4px; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns: 1fr; margin-top: 8px; padding: 6px; background: #f8f9f8; border-radius: 10px; }
  .woocommerce-account .psk-account-menu-toggle[aria-expanded="false"] + ul { display: none; }
  .woocommerce-account .woocommerce-MyAccount-content > p:first-child { font-size: 1rem; }
  .woocommerce-account .woocommerce-MyAccount-content > p { font-size: 0.9375rem; line-height: 1.65; }
  .psk-account-shortcuts { margin-top: 20px; gap: 0; }
  .psk-account-shortcut { min-height: 56px; padding: 16px 36px; border-radius: 0; border-bottom: 1px solid #edf0ee; background: transparent; }
  .psk-account-shortcut::before { left: 4px; top: 18px; width: 20px; height: 20px; }
  .psk-account-shortcut strong { font-size: 0.9375rem; }
  .psk-account-shortcut > span:not(.psk-account-shortcut__arrow) { display: none; }
  .psk-account-shortcut__arrow { top: 16px; right: 10px; }
  .psk-account-shortcut:hover { background: #f8f9f8; }
}

@media (max-width: 600px) {
  .woocommerce-account .woocommerce .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .woocommerce-account .woocommerce .woocommerce-Addresses .woocommerce-Address { padding: 16px; }
}

@media (max-width: 768px) {
  .psk-account-actions { width: 100%; }
  .woocommerce-account .woocommerce .psk-account-actions > .button { min-height: 44px; }
  .psk-account-return__panel { position: static; width: 100%; max-width: none; margin-top: 6px; padding: 16px; box-shadow: none; }
  .woocommerce-account .woocommerce .psk-account-return__links a { min-height: 44px; }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table { margin-top: 16px; }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table_responsive tbody tr { display: block; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #f6f7f7; }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table_responsive tbody :is(td, th) { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; background: transparent; text-align: right; }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table_responsive tbody th::before { content: attr(data-title); font-weight: 500; color: #59615c; }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table_responsive tbody td::before { font-weight: 500; color: #59615c; text-align: left; }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table_responsive tbody td:last-child { border-bottom: 0; }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions { justify-content: flex-start; flex-wrap: wrap; }
  .woocommerce-account .woocommerce .woocommerce-MyAccount-content table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions::before { display: none; }
  .woocommerce-account .woocommerce-MyAccount-navigation a { padding: 10px 8px; font-size: 0.8125rem; gap: 8px; }
  .woocommerce-account .woocommerce :is(.woocommerce-info, .woocommerce-message) .button { float: none; display: flex; margin-bottom: 12px; }
}
