/* ---------- My Account / Login (reference style) ---------- */
.account-page .account-band,
body.woocommerce-account .account-band {
  background: #f3f4f6;
  min-height: 60vh;
}
.account-page .account-shell,
body.woocommerce-account .account-shell {
  width: min(70% - 2rem, 70%);
  margin-inline: auto;
  padding: 48px 0 80px;
  box-sizing: border-box;
}

/* Guest login + register: give the two-column auth layout more room */
body.woocommerce-account:not(.logged-in) .account-shell {
  width: min(100% - 2rem, 1040px);
}
.account-page .account-article,
.account-page .account-article .entry-content,
.account-page .account-article .woocommerce {
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
  float: none;
}
.account-page .article-body h1,
.woocommerce-account .account-article > h1 {
  display: none;
}

.shop-account-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(28, 25, 23, 0.06);
  border: 1px solid rgba(28, 25, 23, 0.04);
}

/* Login */
.shop-account-login {
  max-width: 560px;
  margin: 0 auto;
}
.shop-account-login-title {
  margin: 0 0 18px;
  text-align: center;
  font-family: var(--font-heading, inherit);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #1c1917;
  letter-spacing: 0;
  text-transform: none;
}
.shop-account-login .shop-account-card {
  padding: 36px 40px 32px;
}
.shop-account-login .woocommerce-form-login .form-row,
.shop-account-login .woocommerce-form-login .woocommerce-form-row {
  margin: 0 0 20px;
}
.shop-account-login label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #292524;
}
.shop-account-login .required {
  color: #b91c1c;
}
.shop-account-login .woocommerce-Input,
.shop-account-login input.input-text,
.shop-account-card input.input-text,
.shop-account-card input[type="text"],
.shop-account-card input[type="email"],
.shop-account-card input[type="password"],
.shop-account-card input[type="tel"],
.shop-account-card select,
.shop-account-card textarea {
  width: 100%;
  height: 46px;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #1c1917;
  font-size: 15px;
  box-sizing: border-box;
  box-shadow: none;
}
.shop-account-card textarea {
  height: auto;
  min-height: 100px;
}
.shop-account-login .woocommerce-Input:focus,
.shop-account-card input:focus,
.shop-account-card select:focus,
.shop-account-card textarea:focus {
  outline: none;
  border-color: var(--color-primary, #1e5bb8);
  box-shadow: 0 0 0 3px rgba(30, 91, 184, 0.12);
}
.shop-login-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 18px !important;
}
.shop-login-actions .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}
.shop-login-actions .woocommerce-form-login__rememberme input {
  width: 16px;
  height: 16px;
  margin: 0;
}
.shop-account-login .woocommerce-form-login__submit,
.shop-account-card .woocommerce-button,
.shop-account-card button.button,
.shop-account-card a.button,
.shop-account-card .button,
.woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-MyAccount-content a.woocommerce-button,
.woocommerce-MyAccount-content button.button,
.woocommerce-MyAccount-content a.button,
.woocommerce-MyAccount-content .button {
  appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  border: 0;
  background: var(--color-primary, #1e5bb8) !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 0 22px !important;
  min-height: 40px;
  height: auto;
  font-family: var(--font-heading, inherit);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none;
  line-height: 1 !important;
  box-sizing: border-box;
}
.shop-account-login .woocommerce-form-login__submit:hover,
.shop-account-card .woocommerce-button:hover,
.shop-account-card button.button:hover,
.shop-account-card a.button:hover,
.woocommerce-MyAccount-content .woocommerce-button:hover,
.woocommerce-MyAccount-content a.woocommerce-button:hover,
.woocommerce-MyAccount-content button.button:hover,
.woocommerce-MyAccount-content a.button:hover {
  background: var(--color-blue-deep, #0f3f8c) !important;
  color: #fff !important;
  text-decoration: none !important;
}
.shop-account-login .lost_password {
  margin: 0;
}
.shop-account-login .lost_password a,
.shop-account-card a {
  color: var(--color-primary, #1e5bb8);
  text-decoration: none;
}
.shop-account-login .lost_password a:hover,
.shop-account-card a:hover {
  text-decoration: underline;
}

.shop-account-auth {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 28px;
  width: 100% !important;
  max-width: 1120px;
  margin: 0 auto;
  float: none !important;
}

/* Kill WooCommerce float columns — they fight the grid and stagger Login/Register */
.shop-account-auth.col2-set::before,
.shop-account-auth.col2-set::after,
.woocommerce .shop-account-auth.col2-set::before,
.woocommerce .shop-account-auth.col2-set::after,
.woocommerce-page .shop-account-auth.col2-set::before,
.woocommerce-page .shop-account-auth.col2-set::after {
  content: none !important;
  display: none !important;
}

.shop-account-auth .u-column1,
.shop-account-auth .u-column2,
.shop-account-auth .col-1,
.shop-account-auth .col-2,
.woocommerce .shop-account-auth.col2-set .col-1,
.woocommerce .shop-account-auth.col2-set .col-2,
.woocommerce-page .shop-account-auth.col2-set .col-1,
.woocommerce-page .shop-account-auth.col2-set .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}

.shop-account-auth .shop-account-login {
  max-width: none;
  margin: 0;
}

.shop-account-auth .shop-account-card {
  padding: 36px 40px 32px;
}

.shop-account-auth label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #292524;
}

.shop-account-auth .woocommerce-form-register .form-row,
.shop-account-auth .woocommerce-form-register .woocommerce-form-row {
  margin: 0 0 20px;
}

.shop-account-auth .woocommerce-form-register__submit {
  width: 100%;
  min-height: 44px;
}

@media (min-width: 900px) {
  .shop-account-auth.col2-set {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: none;
  }
}

/* Logged-in account layout — override WC float 30%/68% */
.woocommerce-account .shop-account-layout,
.shop-account-layout {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-page .woocommerce-MyAccount-navigation,
.woocommerce-page .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  max-width: none !important;
}
.woocommerce-MyAccount-navigation.shop-account-card {
  padding: 0;
  overflow: hidden;
  min-width: 0;
  width: 100%;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-MyAccount-navigation li {
  margin: 0;
  border-bottom: 1px solid #eef0f3;
}
.woocommerce-MyAccount-navigation li:last-child {
  border-bottom: 0;
}
.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 16px 20px 16px 22px;
  color: #44403c;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  border-left: 3px solid transparent;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.woocommerce-MyAccount-navigation a:hover {
  color: var(--color-primary, #1e5bb8);
  background: #f8fafc;
  text-decoration: none;
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li.is-active a[aria-current="page"] {
  color: var(--color-primary, #1e5bb8);
  font-weight: 700;
  border-left-color: var(--color-primary, #1e5bb8);
  background: linear-gradient(90deg, #eef5ff 0%, #ffffff 78%);
}
.woocommerce-MyAccount-content.shop-account-card {
  padding: 32px 36px;
  color: #44403c;
  font-size: 17px;
  line-height: 1.7;
}
.woocommerce-MyAccount-content p {
  margin: 0 0 1em;
}
.woocommerce-MyAccount-content p:last-child {
  margin-bottom: 0;
}
.woocommerce-MyAccount-content a {
  color: var(--color-primary, #1e5bb8);
  font-weight: 600;
}
.woocommerce-MyAccount-content strong {
  color: #1c1917;
}
.woocommerce-MyAccount-content .woocommerce-orders-table,
.woocommerce-MyAccount-content table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}
.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td {
  padding: 12px 10px;
  border-bottom: 1px solid #eef0f3;
  text-align: left;
}

/* Orders — empty state */
.shop-account-empty-orders {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 28px;
  background: #eef5ff;
  border: 1px solid #c5dcff;
  border-radius: 12px;
}
.shop-account-empty-orders p {
  margin: 0 !important;
  color: #2b6ce2;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.shop-account-browse-btn,
.shop-account-empty-orders .shop-account-browse-btn.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 22px;
  min-height: 44px;
  border: 0 !important;
  border-radius: 8px;
  background: var(--color-primary, #1e5bb8) !important;
  color: #fff !important;
  font-family: var(--font-heading, inherit);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  text-transform: none;
  box-shadow: none;
  white-space: nowrap;
}
.shop-account-browse-btn:hover,
.shop-account-empty-orders .shop-account-browse-btn.button:hover {
  background: var(--color-blue-deep, #0f3f8c) !important;
  color: #fff !important;
}

/* Addresses */
.shop-account-address-intro {
  margin: 0 0 22px !important;
  padding: 16px 18px;
  background: #f3f4f6;
  border-radius: 8px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
}
.shop-account-addresses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.shop-account-addresses.has-shipping {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.shop-account-address-card {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(28, 25, 23, 0.04);
  padding: 0;
  overflow: hidden;
}
.shop-account-address-card .woocommerce-Address-title,
.shop-account-address-card header.title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  margin: 0;
  border-bottom: 1px solid #eef0f3;
}
.shop-account-address-card h2,
.shop-account-address-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1c1917;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}
.shop-account-address-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--color-primary, #1e5bb8) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.2;
  white-space: nowrap;
}
.shop-account-address-edit:hover {
  background: #dceaff;
  text-decoration: none !important;
}
.shop-account-address-edit svg {
  flex: 0 0 auto;
}
.shop-account-address-card address {
  display: block;
  margin: 0;
  padding: 18px;
  font-style: normal;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

/* Hide default WC notices styling when empty orders uses custom box */
.woocommerce-MyAccount-content .woocommerce-info {
  background: #eef5ff;
  border-color: #c5dcff;
  color: #2b6ce2;
}

/* Hide leftover WC notice shells on Orders (empty state uses custom box) */
body.woocommerce-account.woocommerce-orders .woocommerce-notices-wrapper,
body.woocommerce-account.woocommerce-orders
  .woocommerce-MyAccount-content
  > .woocommerce-info,
body.woocommerce-account.woocommerce-orders
  .woocommerce-MyAccount-content
  > .woocommerce-message,
body.woocommerce-account.woocommerce-orders
  .woocommerce-MyAccount-content
  > .woocommerce-error {
  display: none !important;
}

@media (max-width: 767px) {
  .account-page .account-shell,
  body.woocommerce-account .account-shell {
    width: min(100% - 2rem, 1100px);
    padding: 32px 0 56px;
  }
  .shop-account-login .shop-account-card {
    padding: 28px 20px 24px;
  }
  .shop-account-auth .shop-account-card {
    padding: 28px 20px 24px;
  }
  .shop-account-auth {
    gap: 36px;
  }
  .shop-account-layout,
  .woocommerce-account .shop-account-layout {
    grid-template-columns: 1fr !important;
  }
  .woocommerce-MyAccount-navigation a {
    white-space: normal;
  }
  .woocommerce-MyAccount-content.shop-account-card {
    padding: 24px 20px;
  }
  .shop-login-actions {
    flex-wrap: wrap;
  }
  .shop-login-actions .woocommerce-form-login__submit {
    margin-left: auto;
  }
  .shop-account-addresses.has-shipping {
    grid-template-columns: 1fr;
  }
  .shop-account-empty-orders {
    padding: 22px 18px;
  }

  /* Orders list: space between each order card on mobile */
  .woocommerce-MyAccount-content
    table.woocommerce-orders-table.shop_table_responsive
    tbody
    tr,
  .woocommerce-MyAccount-content
    table.shop_table.shop_table_responsive
    tbody
    tr,
  .woocommerce-account .woocommerce-orders-table tbody tr {
    display: block;
    margin: 0 0 14px;
    padding: 4px 0;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
  }
  .woocommerce-MyAccount-content
    table.woocommerce-orders-table.shop_table_responsive
    tbody
    tr:last-child,
  .woocommerce-MyAccount-content
    table.shop_table.shop_table_responsive
    tbody
    tr:last-child {
    margin-bottom: 0;
  }
  .woocommerce-MyAccount-content
    table.woocommerce-orders-table.shop_table_responsive
    td,
  .woocommerce-MyAccount-content table.shop_table.shop_table_responsive td {
    border-bottom: 1px solid #eef0f3;
    padding: 12px 14px !important;
  }
  .woocommerce-MyAccount-content
    table.woocommerce-orders-table.shop_table_responsive
    td:last-child,
  .woocommerce-MyAccount-content
    table.shop_table.shop_table_responsive
    td:last-child {
    border-bottom: 0;
  }
  .shop-account-address-card .woocommerce-Address-title,
  .shop-account-address-card header.title {
    flex-wrap: wrap;
  }
}

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

.woocommerce-checkout .col2-set {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .woocommerce-checkout .col2-set {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.cart-line a {
  color: inherit;
  text-decoration: none;
}

.shop-sidebar .filter-btn {
  display: flex;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.shop-sidebar a.filter-btn.is-active {
  font-weight: 700;
}

.cat-icon-grid a.filter-btn {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Order details: product thumbnail next to the product name */
.woocommerce-table__product-name .order-item-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.woocommerce-table__product-name .order-item-thumb-link {
  display: block;
  flex: 0 0 72px;
  width: 72px;
  text-decoration: none;
}
.woocommerce-table__product-name .order-item-thumb {
  display: block;
  width: 72px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}
.woocommerce-table__product-name .order-item-details {
  flex: 1 1 auto;
  min-width: 0;
}
.woocommerce-table__product-name .order-item-details a {
  color: var(--color-primary, #1e5bb8);
  text-decoration: none;
  font-weight: 600;
}
.woocommerce-table__product-name .order-item-details a:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {
  .woocommerce-table__product-name .order-item-thumb-link,
  .woocommerce-table__product-name .order-item-thumb {
    width: 56px;
    flex-basis: 56px;
  }
}

/* Multi shipping addresses manager */
.shop-address-manager {
  width: 100%;
}
.shop-address-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.shop-address-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1c1917;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}
.shop-address-back {
  color: var(--color-primary, #1e5bb8) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}
.shop-address-back:hover {
  text-decoration: underline !important;
}
.shop-address-empty {
  margin: 0;
  padding: 28px;
  background: #f3f4f6;
  border-radius: 10px;
  color: #6b7280;
  text-align: center;
}
.shop-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.shop-address-card {
  margin: 0;
}
.shop-address-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.shop-address-delete {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.2;
  white-space: nowrap;
}
.shop-address-delete:hover {
  background: #fee2e2;
  text-decoration: none !important;
}
.shop-address-form {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(28, 25, 23, 0.04);
  padding: 26px 28px;
}
.shop-address-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.shop-address-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shop-address-field label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #292524;
}
.shop-address-field .required {
  color: #b91c1c;
}
.shop-address-input {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #1c1917;
  font-size: 15px;
  box-sizing: border-box;
  box-shadow: none;
}
.shop-address-input:focus {
  outline: none;
  border-color: var(--color-primary, #1e5bb8);
  box-shadow: 0 0 0 3px rgba(30, 91, 184, 0.12);
}
.shop-address-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
@media (max-width: 767px) {
  .shop-address-form-grid {
    grid-template-columns: 1fr;
  }
  .shop-address-form {
    padding: 22px 18px;
  }
}

/* Checkout: pick a saved shipping address for the billing step */
.shop-saved-address-picker {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #eef5ff;
  border: 1px solid #c5dcff;
  border-radius: 8px;
}
.shop-saved-address-picker label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #2b6ce2;
}
.shop-saved-address-picker select {
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  border: 1px solid #c5dcff;
  border-radius: 6px;
  background: #fff;
  color: #1c1917;
  font-size: 14px;
  box-sizing: border-box;
}

/* Checkout: hide product meta/description on line items */
.wc-block-components-product-metadata {
  display: none !important;
}

/* Orders — Refund action button */
.woocommerce-MyAccount-content .woocommerce-orders-table .button.refund,
.woocommerce-MyAccount-content table.shop_table .button.refund {
  margin-left: 8px;
  background: #fff !important;
  color: #1c1917 !important;
  border: 1px solid #d6d3d1 !important;
  box-shadow: none;
}
.woocommerce-MyAccount-content .woocommerce-orders-table .button.refund:hover,
.woocommerce-MyAccount-content table.shop_table .button.refund:hover {
  background: #f5f5f4 !important;
  color: #1c1917 !important;
  border-color: #a8a29e !important;
}
.woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions,
.woocommerce-MyAccount-content table.shop_table td.order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Refund request form */
.shop-refund-manager {
  width: 100%;
  max-width: 720px;
}
.shop-refund-head {
  margin: 0 0 12px;
}
.shop-refund-back {
  color: var(--color-primary, #1e5bb8) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}
.shop-refund-back:hover {
  text-decoration: underline !important;
}
.shop-refund-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.25;
  color: #1c1917;
  text-transform: none;
  letter-spacing: 0;
}
.shop-refund-intro {
  margin: 0 0 18px;
  color: #57534e;
  font-size: 15px;
  line-height: 1.55;
}
.shop-refund-notice {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #fff4ed;
  border: 1px solid #fed7aa;
  color: #44403c;
  font-size: 14px;
  line-height: 1.6;
}
.shop-refund-notice a {
  color: #c2410c !important;
  font-weight: 700;
  text-decoration: none !important;
}
.shop-refund-notice a:hover {
  text-decoration: underline !important;
}
.shop-refund-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.shop-refund-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shop-refund-field label {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1c1917;
}
.shop-refund-field .required {
  color: #dc2626;
}
.shop-refund-field__help {
  margin: 0;
  color: #78716c;
  font-size: 13px;
  line-height: 1.5;
}
.shop-refund-textarea {
  width: 100%;
  min-height: 160px;
  padding: 14px 16px;
  border: 1px solid #fdba74;
  border-radius: 8px;
  background: #fff;
  color: #1c1917;
  font: inherit;
  font-size: 15px;
  line-height: 1.55;
  resize: vertical;
  box-sizing: border-box;
  box-shadow: none;
}
.shop-refund-textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}
.shop-refund-textarea::placeholder {
  color: #a8a29e;
}
.shop-refund-upload {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shop-refund-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shop-refund-upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 120px;
  height: 120px;
  border: 2px dashed #d6d3d1;
  border-radius: 10px;
  background: #fafaf9;
  color: #78716c;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.shop-refund-upload-dropzone:hover {
  border-color: #a8a29e;
  background: #f5f5f4;
}
.shop-refund-upload-dropzone__icon {
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;
  color: #57534e;
}
.shop-refund-upload-dropzone__text {
  font-size: 12px;
  font-weight: 600;
}
.shop-refund-upload-hint {
  margin: 0;
  color: #78716c;
  font-size: 12px;
  line-height: 1.45;
}
.shop-refund-upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.shop-refund-upload-preview__item {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  background: #fff;
}
.shop-refund-upload-preview__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-refund-upload-preview__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.72);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.shop-refund-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.shop-refund-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: #1c1917;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.shop-refund-submit:hover,
.shop-refund-submit:focus {
  background: #292524;
  color: #fff;
}
.shop-refund-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid #1c1917;
  border-radius: 999px;
  background: #fff;
  color: #1c1917 !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}
.shop-refund-cancel:hover {
  background: #f5f5f4;
  color: #1c1917 !important;
}
.shop-refund-status {
  padding: 22px 24px;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  background: #fff;
}
.shop-refund-status--inactive {
  background: #f9fafb;
}
.shop-refund-status--declined {
  margin-bottom: 24px;
  border-color: #fecaca;
  background: #fffafb;
}
.shop-refund-resubmit-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #1c1917;
}
.shop-refund-form--resubmit {
  margin-top: 0;
}
.shop-refund-history {
  margin-top: 20px;
}
.shop-refund-history__title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #57534e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.shop-refund-attempt {
  padding: 16px 0;
  border-top: 1px solid #eef0f3;
}
.shop-refund-attempt:first-child {
  border-top: 0;
  padding-top: 0;
}
.shop-refund-attempt--current {
  padding-bottom: 0;
}
.shop-refund-attempt__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1c1917;
}
.shop-refund-attempt__status,
.shop-refund-attempt__meta {
  margin: 0 0 8px;
  font-size: 14px;
  color: #57534e;
}
.shop-refund-attempt__reason {
  margin-top: 12px;
}
.shop-refund-attempt__customer {
  margin-top: 12px;
}
.shop-refund-attempt__photos {
  margin-top: 12px;
}
.shop-refund-attempt__photos .shop-refund-upload-preview,
.shop-refund-attempt__photos .shop-refund-admin__photos {
  margin-top: 8px;
}
.shop-refund-status--declined .shop-refund-history {
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #fecaca;
}
.shop-refund-status__label {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #78716c;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.shop-refund-status__value {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #1c1917;
}
.shop-refund-status__meta {
  margin: 0 0 16px;
  color: #57534e;
  font-size: 14px;
}
.shop-refund-status__reason {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eef0f3;
}
.shop-refund-status__reason p:last-child {
  margin-bottom: 0;
  white-space: pre-wrap;
}
.shop-refund-upload-preview--readonly .shop-refund-upload-preview__item {
  display: block;
  text-decoration: none;
}

@media (max-width: 767px) {
  .shop-refund-manager {
    max-width: none;
  }
  .shop-refund-notice {
    padding: 14px 16px;
  }
  .shop-refund-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-refund-submit,
  .shop-refund-cancel {
    width: 100%;
  }
  .woocommerce-MyAccount-content .woocommerce-orders-table .button.refund,
  .woocommerce-MyAccount-content table.shop_table .button.refund {
    margin-left: 0;
  }
}
