/* =========================================================
   Mi cuenta — CSS aislado
   Archivo cargado sólo en Mi cuenta.
   No contiene cambios funcionales.
========================================================= */

/* =========================================================
   Variables / base
========================================================= */

/* Variables locales de Mi cuenta: se mantienen cerca del rediseño 2026 para respetar la cascada original. */

/* =========================================================
   Login / registro
========================================================= */

/* =========================================================
   MI CUENTA
========================================================= */

.woocommerce-account .site.grid-container{
  width: min(92vw, 1210px) !important;
  max-width: 1210px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.woocommerce-account .site-content{
  display: block !important;
}

.woocommerce-account .content-area,
.woocommerce-account #primary{
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.woocommerce-account .inside-article{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.woocommerce-account .entry-content{
  margin-top: 0 !important;
}

.woocommerce-account .woocommerce{
  max-width: 840px;
  margin: 8px auto 0;
}

.woocommerce-account .entry-title{
  font-family: var(--pf-font-headings);
  font-size: 36px;
  line-height: 1.08;
  font-weight: 600;
  color: #0f172b;
  margin-bottom: 22px;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content{
  float: none !important;
  width: 100% !important;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation{
  margin: 0 0 34px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--pf-color-border);
  text-align: center;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: stretch;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation li{
  flex: 1 1 0;
  display: flex;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:hover{
  background-color: #f0f0f0;
  cursor: pointer;
}

.woocommerce-account .woocommerce-MyAccount-navigation a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 8px;
  font-family: var(--pf-font-headings);
  font-size: 19px;
  font-weight: 400;
  text-align: center;
  color: #4a4a4a;
  text-decoration: none;
  border-bottom: 0;
  box-shadow: none;
  transition: color .15s ease, box-shadow .15s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
  color: #0f172b;
  border-bottom: 0;
  box-shadow: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{
  color: #0f172b;
  font-weight: 400;
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 #0f172b;
}

.woocommerce-account .woocommerce-MyAccount-content{
  font-family: var(--pf-font-base);
  font-size: 20px;
  line-height: 1.4;
  color: #333;
}

.woocommerce-account .woocommerce-MyAccount-content h2{
  text-transform: uppercase;
  font-size: 18px;
  padding: 10px;
  margin-bottom: 0;
  background-color: #ededed;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-child{
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 18px;
}

.woocommerce-account .woocommerce-MyAccount-content p{ margin-bottom: 16px; }

.woocommerce-account .woocommerce-MyAccount-content a{
  color: #6f7db2;
  text-decoration: underline;
}

.woocommerce-account .woocommerce-MyAccount-content a.edit{
  float: left !important;
  margin-bottom: 20px;
  margin-top: 20px;
  padding-left: 10px;
}

.woocommerce-account .woocommerce-MyAccount-content address{
  font-style: normal;
  padding-left: 10px;
}

.woocommerce-account .woocommerce-MyAccount-content strong{
  font-weight: 600;
  color: #111;
}

.woocommerce-account table.shop_table{
  border-collapse: collapse !important;
  width: 100%;
  margin-top: 14px;
  font-size: 18px;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td{
  padding: 12px 14px;
  border: 1px solid var(--pf-color-border);
  text-align: left;
}

.woocommerce-account table.shop_table th{
  font-family: var(--pf-font-headings);
  font-size: 18px;
  font-weight: 600;
  background: #faf8f5;
}

.woocommerce-account .button,
.woocommerce-account button.button,
.woocommerce-account input.button{
  border: 0 !important;
  border-radius: 6px;
  background: #e8e1ec !important;
  color: #3c3240 !important;
  font-family: var(--pf-font-headings);
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
  padding: 12px 18px;
  box-shadow: none !important;
}

.woocommerce-account .button:hover,
.woocommerce-account button.button:hover,
.woocommerce-account input.button:hover{
  background: #ddd3e4 !important;
  color: #2f2832 !important;
}

.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-address-fields,
.woocommerce-account form{
  max-width: 760px;
}

.woocommerce-account form .form-row label{
  font-size: 17px;
  color: #4a4a4a;
  margin-bottom: 6px;
}

.woocommerce-account form input[type="text"],
.woocommerce-account form input[type="email"],
.woocommerce-account form input[type="password"],
.woocommerce-account form input[type="tel"],
.woocommerce-account form select,
.woocommerce-account form textarea{
  border: 1px solid #bfb8b2;
  border-radius: 4px;
  background: #fff;
  font-size: 18px;
  color: #2f2f2f;
}

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error{
  margin-bottom: 22px;
  border: 1px solid var(--pf-color-border);
  background: #faf8f5;
  color: #333;
}

@media (max-width: 768px){
  .woocommerce-account:not(.logged-in) .editorial-account-auth{
    margin-top: 28px;
    margin-bottom: 56px;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__title{
    margin-bottom: 18px;
    font-size: 24px;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__field label,
  .woocommerce-account:not(.logged-in) .editorial-account-auth__check{
    font-size: 15px;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__field input[type="text"],
  .woocommerce-account:not(.logged-in) .editorial-account-auth__field input[type="email"],
  .woocommerce-account:not(.logged-in) .editorial-account-auth__field input[type="password"]{
    font-size: 17px;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__row,
  .woocommerce-account:not(.logged-in) .editorial-account-auth__actions-left,
  .woocommerce-account:not(.logged-in) .editorial-account-auth__actions-right{
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__actions-right{
    margin-top: 2px;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__btn{
    width: 100%;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__link{
    white-space: normal;
  }

  .woocommerce-account .entry-title{
    font-size: 30px;
    margin-bottom: 18px;
  }

  .woocommerce-account .woocommerce,
  .woocommerce-account .woocommerce-MyAccount-content{
    max-width: 100%;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation{
    margin-bottom: 26px;
    padding-bottom: 10px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul{
    flex-wrap: wrap;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li{
    flex: 1 1 50%;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a{
    font-size: 18px;
  }

  .woocommerce-account .woocommerce-MyAccount-content{
    font-size: 18px;
  }

  .woocommerce-account .woocommerce-MyAccount-content > p:first-child{
    font-size: 21px;
  }

  .woocommerce-account table.shop_table{
    font-size: 16px;
  }

  .woocommerce-account table.shop_table th,
  .woocommerce-account table.shop_table td{
    padding: 10px 10px;
  }
}

@media (max-width: 520px){
  .woocommerce-account .woocommerce-MyAccount-navigation li{
    flex: 1 1 100%;
  }
}


.woocommerce-account:not(.logged-in) .editorial-account-auth__section--register .woocommerce-privacy-policy-text{
  margin-top: 20px;
  font-family: var(--pf-font-base);
  font-size: 16px;
  line-height: 1.2;
  text-align: justify;
}

.woocommerce-account:not(.logged-in) .entry-title{
  display:none;
}

.woocommerce-account:not(.logged-in) .woocommerce{
  max-width:100% !important;
  margin:42px auto 80px !important;
}

.woocommerce-account:not(.logged-in) .u-columns{
  display:block !important;
}

.woocommerce-account:not(.logged-in) .u-column1,
.woocommerce-account:not(.logged-in) .u-column2,
.woocommerce-account:not(.logged-in) .col-1,
.woocommerce-account:not(.logged-in) .col-2{
  float:none !important;
  width:auto !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}

.woocommerce-account:not(.logged-in) form.woocommerce-form-login,
.woocommerce-account:not(.logged-in) form.woocommerce-form-register{
  border:0 !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login > h2,
.woocommerce-account:not(.logged-in) .woocommerce-form-register > h2,
.woocommerce-account:not(.logged-in) .u-column1 h2,
.woocommerce-account:not(.logged-in) .u-column2 h2{
  display:none !important;
}

.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper,
.woocommerce-account:not(.logged-in) .woocommerce-message,
.woocommerce-account:not(.logged-in) .woocommerce-info,
.woocommerce-account:not(.logged-in) .woocommerce-error{
  width:min(92vw, 520px);
  max-width:520px;
  margin-left:auto;
  margin-right:auto;
}

.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper{
  margin-top:0;
  margin-bottom:18px;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth{
  width:min(92vw, 520px);
  max-width:520px;
  margin:0 auto;
  display:block;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__card{
  width:100%;
  max-width:520px;
  margin:0 auto;
  background:#ffffff;
  border:1px solid #ded8d2;
  padding:34px 36px 30px;
  box-sizing:border-box;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__title{
  margin:0 0 26px;
  text-align:center;
  font-family:var(--pf-font-headings);
  font-size:28px;
  line-height:1.1;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:normal;
  color:#1f2430;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__section{
  margin:0;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__field{
  margin:0 0 18px;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__field-group{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__field label{
  display:block;
  margin:0 0 8px;
  font-family:var(--pf-font-base);
  font-size:18px;
  line-height:1.25;
  color:#444;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__field label span{
  color:#b24b56;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__field input[type="text"],
.woocommerce-account:not(.logged-in) .editorial-account-auth__field input[type="email"],
.woocommerce-account:not(.logged-in) .editorial-account-auth__field input[type="password"]{
  width:100%;
  height:46px;
  padding:10px 12px;
  border:1px solid #bdb6af;
  background:#edf2fa;
  box-sizing:border-box;
  font-family:var(--pf-font-base);
  font-size:18px;
  color:#222;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__field input:focus{
  border-color:#8e857c;
  outline:none;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__password-wrap{
  position:relative;
  margin-bottom:30px;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__password-wrap input{
  padding-right:42px;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__eye{
  position:absolute;
  top:50%;
  right:10px;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  padding:0;
  font-size:16px;
  line-height:1;
  color:#4e5560;
  cursor:pointer;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__divider{
  margin:30px 0 16px;
  border:0;
  border-top:1px solid #d9d2cc;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:100%;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__row--login{ margin-top:4px; }
.woocommerce-account:not(.logged-in) .editorial-account-auth__row--register{ margin-top:8px; }

.woocommerce-account:not(.logged-in) .editorial-account-auth__actions-left,
.woocommerce-account:not(.logged-in) .editorial-account-auth__actions-right{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__actions-left{ flex:1 1 auto; }
.woocommerce-account:not(.logged-in) .editorial-account-auth__actions-right{ flex:0 0 auto; }

.woocommerce-account:not(.logged-in) .editorial-account-auth__btn{
  min-width:106px;
  height:40px;
  padding:0 18px;
  border:0;
  border-radius:6px;
  background:#dfdfdf;
  color:#3c3240;
  font-family:var(--pf-font-headings);
  font-size:20px;
  line-height:1;
  font-weight:700;
  text-align:center;
  cursor:pointer;
  box-shadow:none;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__btn:hover{
  background:#ddd3e4;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__check{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-family:var(--pf-font-base);
  font-size:16px;
  line-height:1.3;
  color:#4a4a4a;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__check input[type="checkbox"]{
  margin:0;
  transform:translateY(1px);
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__check--policy{
  flex-wrap:wrap;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__link,
.woocommerce-account:not(.logged-in) .editorial-account-auth__check a{
  font-family:var(--pf-font-base, system-ui, sans-serif) !important;
  color:#6f7db2;
  text-decoration:underline;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__link{
  white-space:nowrap;
}

@media (max-width: 640px){
  .woocommerce-account:not(.logged-in) .editorial-account-auth{
    width:min(92vw, 420px);
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__card{
    padding:26px 20px 24px;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__field-group{
    grid-template-columns:1fr;
    gap:0;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__row{
    flex-direction:column;
    align-items:flex-start;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__actions-left,
  .woocommerce-account:not(.logged-in) .editorial-account-auth__actions-right{
    width:100%;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__actions-right{
    justify-content:flex-start;
  }
}


/* =========================================================
   Cupones
========================================================= */

/* Mi cuenta > Mis cupones */
.editorial-my-coupons {
    margin-top: 1rem;
}

.editorial-my-coupons__block + .editorial-my-coupons__block {
    margin-top: 2rem;
}

.editorial-my-coupons__table-wrap {
    overflow-x: auto;
}

.editorial-my-coupons__table code {
    font-size: 0.92em;
    font-weight: 600;
}


/* =========================================================
   Descargas
========================================================= */

/* Mi cuenta > Descargas exclusivas */
.editorial-downloads {
    margin-top: 1rem;
}

.editorial-download-card {
    display: grid;
    grid-template-columns: minmax(110px, 180px) 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--pf-color-border, #e6e6e6);
}

.editorial-download-card:first-of-type {
    border-top: 1px solid var(--pf-color-border, #e6e6e6);
}

.editorial-download-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.editorial-download-content h3 {
    margin: 0.15rem 0 0.65rem;
}

.editorial-download-date,
.editorial-download-limit {
    margin: 0 0 0.5rem;
    color: var(--pf-color-text-soft, #666);
    font-size: 0.95rem;
}

.editorial-download-description p:last-child {
    margin-bottom: 0;
}

.editorial-download-button {
    margin-top: 0.35rem;
}

@media (max-width: 640px) {
    .editorial-download-card {
        grid-template-columns: 1fr;
    }

    .editorial-download-image {
        max-width: 180px;
    }
}

/* =========================================================
   Lista de deseos
========================================================= */

.editorial-wishlist{
  max-width: 980px;
}

.editorial-wishlist-section{
  margin: 0 0 34px;
}

.editorial-wishlist-items{
  display: grid;
  gap: 18px;
}

.editorial-wishlist-item{
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--pf-color-border, #e6e6e6);
  background: #fff;
}

.editorial-wishlist-cover img{
  display: block;
  width: 100%;
  height: auto;
}

.editorial-wishlist-content > *:first-child{
  margin-top: 0;
}

.editorial-wishlist-author,
.editorial-wishlist-price,
.editorial-wishlist-stock{
  margin: 0 0 8px;
}

.editorial-wishlist-author,
.editorial-wishlist-stock{
  color: var(--pf-color-text-soft, #666);
}

.editorial-wishlist-title{
  margin: 0 0 8px;
}

.editorial-wishlist-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.editorial-wishlist-actions form{
  margin: 0;
}

.editorial-account-dashboard-card--wishlist{
  border-color: var(--pf-color-accent, #0f172b);
}

@media (max-width: 640px){
  .editorial-wishlist-item{
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .editorial-wishlist-actions{
    align-items: stretch;
    flex-direction: column;
  }

  .editorial-wishlist-actions .button,
  .editorial-wishlist-actions form,
  .editorial-wishlist-actions button{
    width: 100%;
    text-align: center;
  }
}


/* =========================================================
   Sugerencias
========================================================= */

.editorial-wishlist-suggestions{
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}

.editorial-wishlist-suggestion{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--pf-color-border, #e6e6e6);
  background: #fff;
}

.editorial-wishlist-suggestion-image img{
  display: block;
  width: 96px;
  height: auto;
}

.editorial-wishlist-suggestion-content > *:first-child,
.editorial-wishlist-suggestion-form > *:first-child{
  margin-top: 0;
}

.editorial-wishlist-suggestion-content:first-child{
  grid-column: 1 / -1;
}

.editorial-wishlist-suggestion__title{
  margin: 0 0 8px;
}

.editorial-wishlist-suggestion__author,
.editorial-wishlist-suggestion__reference,
.editorial-wishlist-suggestion__comment,
.editorial-wishlist-suggestion__meta{
  margin: 0 0 8px;
}

.editorial-wishlist-suggestion__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--pf-color-text-soft, #666);
  font-size: 0.95em;
}

@media (max-width: 640px){
  .editorial-wishlist-suggestion{
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .editorial-wishlist-suggestion-image img{
    width: 76px;
  }
}

.editorial-wishlist-suggestion-form{
  padding: 18px;
  border: 1px solid var(--pf-color-border, #e6e6e6);
  background: #fff;
}

.editorial-wishlist-suggestion-form__field label{
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
}

.editorial-wishlist-suggestion-form__field input,
.editorial-wishlist-suggestion-form__field textarea{
  width: 100%;
}

.editorial-wishlist-suggestion-form__actions{
  margin-bottom: 0;
}


/* =========================================================
   Layout general Mi cuenta
========================================================= */

/* =========================================================
   Mi cuenta — rediseño editorial 2026
========================================================= */
.woocommerce-account{
  --pf-account-ink:#111;
  --pf-account-muted:#666;
  --pf-account-soft:#f4f4f4;
  --pf-account-panel:#fff;
  --pf-account-line:#dedede;
  --pf-account-line-dark:#c8c8c8;
  --pf-account-accent:#111;
  --pf-account-accent-soft:#eeeeee;
  --pf-account-shadow:none;
}

.woocommerce-account .site-content,
.woocommerce-account .inside-article,
.woocommerce-account .entry-content{
  background:transparent;
}

.woocommerce-account .inside-article{
  padding-top:42px;
  padding-bottom:72px;
}

.woocommerce-account.logged-in .woocommerce{
  display:block;
  width:min(1240px, calc(100vw - 56px));
  max-width:none;
  margin:8px auto 0;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
.woocommerce-account.logged-in .woocommerce-MyAccount-content{
  box-sizing:border-box;
  float:none !important;
  clear:both;
  width:100% !important;
  max-width:none;
  margin:0;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  text-align:left;
}

.woocommerce-account.logged-in .entry-title{
  display:none;
}

.editorial-account-nav__intro{
  margin:0 0 22px;
}

.editorial-account-nav__title{
  margin:0;
  color:var(--pf-account-ink);
  font-family:var(--pf-font-headings, Georgia, serif);
  font-size:34px;
  font-weight:600;
  line-height:1.18;
  letter-spacing:normal;
  text-transform:none;
}

.editorial-account-heading{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
}

.editorial-account-heading__avatar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  overflow:hidden;
  border-radius:50%;
  background:#f0f1f3;
}

.editorial-account-heading__avatar img,
.editorial-account-heading__avatar svg{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.editorial-account-heading__title{
  margin:0;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  list-style:none;
  width:100%;
  margin:0 0 30px;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li{
  display:block;
  flex:0 1 auto;
  margin:0;
  padding:0;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li:hover{
  background:transparent;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a{
  display:inline-flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  min-height:48px;
  width:auto;
  padding:10px 14px;
  border:1px solid transparent;
  border-bottom:2px solid transparent;
  color:#555;
  font-family:var(--pf-font-headings, Georgia, serif);
  font-size:20px;
  line-height:1.2;
  text-align:left;
  text-decoration:none;
  box-shadow:none;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:focus{
  background:var(--pf-account-soft);
  color:var(--pf-account-ink);
  outline:none;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.is-active a{
  border-color:var(--pf-account-line);
  border-bottom-color:var(--pf-account-ink);
  background:var(--pf-account-soft);
  color:var(--pf-account-ink);
  font-weight:400;
  box-shadow:none;
}

.editorial-account-nav-icon,
.editorial-account-dashboard-card__icon svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content{
  min-width:0;
  color:var(--pf-account-ink);
  font-family:var(--pf-font-base, system-ui, sans-serif);
  font-size:18px;
  line-height:1.5;
}

.editorial-account-dashboard{
  width:100%;
  min-width:0;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content > p:first-child,
.editorial-account-dashboard-text{
  width:100%;
  max-width:none;
  margin:0 0 26px;
  padding:30px 34px;
  border:1px solid var(--pf-account-line);
  background:var(--pf-account-panel);
  box-shadow:none;
  color:#333;
  font-family:var(--pf-font-headings, Georgia, serif);
  font-size:24px;
  line-height:1.35;
  box-sizing:border-box;
}

.editorial-account-dashboard-text p{
  max-width:none;
  margin:0 0 14px;
}

.editorial-account-dashboard-text p:last-child{
  margin-bottom:0;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content h2,
.woocommerce-account.logged-in .woocommerce-MyAccount-content h3,
.woocommerce-account.logged-in .woocommerce-MyAccount-content legend{
  margin:0 0 18px;
  padding:0;
  background:transparent;
  color:var(--pf-account-ink);
  font-family:var(--pf-font-headings, Georgia, serif);
  font-weight:500;
  letter-spacing:normal;
  line-height:1.08;
  text-transform:none;
}

.editorial-account-dashboard-card__heading h3{
  letter-spacing:normal;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content h2{
  font-size:28px;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content h3,
.woocommerce-account.logged-in .woocommerce-MyAccount-content legend{
  font-size:26px;
}

.editorial-account-dashboard-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
  width:100%;
  min-width:0;
  margin:0 0 28px;
}

.editorial-account-dashboard-card,
.editorial-download-card,
.editorial-wishlist-item,
.editorial-wishlist-suggestion,
.editorial-wishlist-suggestion-form,
.editorial-my-coupons__block,
.woocommerce-account.logged-in .woocommerce-Address,
.woocommerce-account.logged-in .woocommerce-EditAccountForm,
.woocommerce-account.logged-in .woocommerce-address-fields,
.woocommerce-account.logged-in .woocommerce-MyAccount-content > form:not(.editorial-wishlist-suggestion-form){
  border:1px solid var(--pf-account-line);
  background:var(--pf-account-panel);
  box-shadow:none;
}

.editorial-account-dashboard-card,
.editorial-my-coupons__block,
.woocommerce-account.logged-in .woocommerce-Address,
.woocommerce-account.logged-in .woocommerce-EditAccountForm,
.woocommerce-account.logged-in .woocommerce-address-fields,
.woocommerce-account.logged-in .woocommerce-MyAccount-content > form:not(.editorial-wishlist-suggestion-form){
  min-width:0;
  padding:22px;
}

.editorial-account-dashboard-card--wishlist{
  border-color:var(--pf-account-line);
}

.editorial-account-dashboard-card__heading{
  display:flex;
  gap:12px;
  align-items:center;
  margin:0 0 14px;
}

.editorial-account-dashboard-card__heading h3{
  margin:0 !important;
  font-size:21px !important;
}

.editorial-account-dashboard-card__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  flex:0 0 34px;
  border:1px solid var(--pf-account-line);
  color:var(--pf-account-ink);
  background:var(--pf-account-soft);
}

.editorial-downloads,
.editorial-wishlist,
.editorial-my-coupons{
  max-width:none;
  margin-top:0;
}

.editorial-wishlist-section{
  margin:0 0 28px;
  padding:24px;
  border:1px solid var(--pf-account-line);
  background:rgba(255,255,255,.66);
}

.editorial-download-card{
  grid-template-columns:minmax(110px,160px) minmax(0,1fr);
  gap:24px;
  margin:0 0 18px;
  padding:22px;
  border-bottom:1px solid var(--pf-account-line);
}

.editorial-download-card:first-of-type{
  border-top:1px solid var(--pf-account-line);
}

.editorial-wishlist-item,
.editorial-wishlist-suggestion{
  gap:20px;
  padding:18px;
}

.editorial-wishlist-cover img,
.editorial-wishlist-suggestion-image img,
.editorial-download-image img{
  border:0;
  background: transparent;
}

.editorial-download-date,
.editorial-download-limit,
.editorial-wishlist-author,
.editorial-wishlist-price,
.editorial-wishlist-stock,
.editorial-wishlist-suggestion__author,
.editorial-wishlist-suggestion__reference,
.editorial-wishlist-suggestion__comment,
.editorial-wishlist-suggestion__meta{
  color:var(--pf-account-muted);
  font-size:15px;
}

.woocommerce-account table.shop_table,
.editorial-my-coupons__table{
  overflow:hidden;
  border:1px solid var(--pf-account-line) !important;
  border-collapse:separate !important;
  border-spacing:0;
  background:var(--pf-account-panel);
  font-size:16px;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td{
  padding:14px 16px;
  border:0;
  border-bottom:1px solid var(--pf-account-line);
  text-align:left;
  vertical-align:middle;
}

.woocommerce-account table.shop_table tr:last-child td{
  border-bottom:0;
}

.woocommerce-account table.shop_table th{
  background:#faf8f5;
  color:var(--pf-account-muted);
  font-family:var(--pf-font-base, system-ui, sans-serif);
  font-size:12px;
  font-weight:700;
  letter-spacing:normal;
  text-transform:uppercase;
}

.woocommerce-account .button,
.woocommerce-account button.button,
.woocommerce-account input.button,
.woocommerce-account a.button,
.woocommerce-account .editorial-account-auth__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:11px 18px !important;
  border:0 !important;
  border-radius:0 !important;
  background:#bbb8b8 /*var(--pf-account-soft) !important*/;
  color:#222 !important;
  font-family:var(--pf-font-base, system-ui, sans-serif) !important;
  font-size:16px !important;
  font-weight:400 !important;
  letter-spacing:normal;
  line-height:1.2 !important;
  text-decoration:none !important;
  box-shadow:none !important;
  cursor:pointer;
}

.woocommerce-account .button:hover,
.woocommerce-account button.button:hover,
.woocommerce-account input.button:hover,
.woocommerce-account a.button:hover,
.woocommerce-account .editorial-account-auth__btn:hover{
  border-color:transparent !important;
  background:#e2e2e2 !important;
  color:#111 !important;
}

.woocommerce-account .button.checkout,
.woocommerce-account button[name="save_account_details"],
.woocommerce-account button[name="save_address"],
.woocommerce-account button[name="login"],
.woocommerce-account button[name="register"],
.woocommerce-account .editorial-download-button,
.woocommerce-account .editorial-wishlist-suggestion-form__submit{
  background:var(--pf-account-ink) !important;
  border-color:var(--pf-account-ink) !important;
  color:#fff !important;
}

.woocommerce-account .editorial-wishlist-button--remove{
  background:transparent !important;
  color:var(--pf-account-muted) !important;
}

.woocommerce-account form .form-row label,
.woocommerce-account .editorial-wishlist-suggestion-form__field label,
.woocommerce-account .editorial-account-auth__field label{
  display:block;
  margin:0 0 7px;
  color:var(--pf-account-ink);
  font-family:var(--pf-font-base, system-ui, sans-serif);
  font-size:14px;
  font-weight:700;
  letter-spacing:normal;
}

.woocommerce-account form input[type="text"],
.woocommerce-account form input[type="email"],
.woocommerce-account form input[type="password"],
.woocommerce-account form input[type="tel"],
.woocommerce-account form input[type="url"],
.woocommerce-account form select,
.woocommerce-account form textarea,
.woocommerce-account:not(.logged-in) .editorial-account-auth__field input[type="text"],
.woocommerce-account:not(.logged-in) .editorial-account-auth__field input[type="email"],
.woocommerce-account:not(.logged-in) .editorial-account-auth__field input[type="password"]{
  width:100%;
  min-height:44px;
  border:1px solid var(--pf-account-line-dark);
  border-radius:0;
  background:#fff;
  color:var(--pf-account-ink);
  font-family:var(--pf-font-base, system-ui, sans-serif);
  font-size:16px;
  box-shadow:none;
}

.woocommerce-account form textarea{
  min-height:128px;
  resize:vertical;
}

.woocommerce-account form input:focus,
.woocommerce-account form select:focus,
.woocommerce-account form textarea:focus{
  border-color:var(--pf-account-ink);
  outline:2px solid rgba(17,17,17,.12);
  outline-offset:0;
}

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error,
.editorial-wishlist-empty{
  padding:16px 18px 16px 42px !important;
  border:1px solid var(--pf-account-line) !important;
  border-top:1px solid var(--pf-account-line) !important;
  background:rgba(255,255,255,.82) !important;
  color:var(--pf-account-ink) !important;
}

.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-error::before{
  left:16px;
  top:16px;
  color:var(--pf-account-ink) !important;
}

.woocommerce-account:not(.logged-in) .woocommerce{
  width:min(900px, calc(100vw - 32px));
  max-width:none;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth{
  margin:10px auto 72px;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__card{
  max-width:760px;
  border:1px solid var(--pf-account-line);
  border-radius:0;
  background:rgba(255,255,255,.9);
  box-shadow:var(--pf-account-shadow);
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__title{
  color:var(--pf-account-ink);
  font-family:var(--pf-font-headings, Georgia, serif);
  font-size:40px;
  letter-spacing:normal;
  text-transform:uppercase;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__section{
  border:0;
  background:transparent;
}

@media (max-width: 920px){
  .woocommerce-account.logged-in .woocommerce{
    width:min(900px, calc(100vw - 32px));
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul{
    gap:7px;
  }
}

@media (max-width: 640px){
  .woocommerce-account .inside-article{
    padding-top:24px;
    padding-bottom:48px;
  }

  .woocommerce-account.logged-in .woocommerce{
    width:calc(100vw - 28px);
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul,
  .woocommerce-account.logged-in .woocommerce-MyAccount-content > p:first-child,
  .editorial-account-dashboard-text,
  .editorial-wishlist-section{
    padding:20px;
  }
  
  .editorial-account-dashboard-text p{
   font-size:19px;  
  }

  .editorial-account-nav__title{
    font-size:30px;
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul{
    display:block;
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation li + li{
    margin-top:8px;
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation a{
    display:flex;
    width:100%;
    justify-content:flex-start;
  }

  .editorial-account-dashboard-cards{
    grid-template-columns:1fr;
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-content h2{
    font-size:24px;
  }

  .editorial-download-card{
    grid-template-columns:1fr;
  }

  .editorial-wishlist-item,
  .editorial-wishlist-suggestion{
    grid-template-columns:82px minmax(0,1fr);
    gap:14px;
    padding:14px;
  }

  .editorial-wishlist-actions,
  .editorial-wishlist-suggestion-form__actions{
    align-items:stretch;
    flex-direction:column;
  }

  .editorial-wishlist-actions .button,
  .editorial-wishlist-actions form,
  .editorial-wishlist-actions button,
  .editorial-wishlist-suggestion-form__submit{
    width:100%;
  }

  .woocommerce-account table.shop_table{
    display:block;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
}

/* =========================================================
   Mi cuenta — ajustes visuales mayo 2026
========================================================= */
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a{
  border:0;
  color:#444;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.is-active a{
  border:0;
  background:#e6e6e6;
  color:#000;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:focus{
  background:#f0f0f0;
  color:#111;
}

.editorial-account-dashboard-card{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:18px 20px;
}

.editorial-account-dashboard-card__intro{
  display:flex;
  gap:12px;
  align-items:center;
  margin:0;
  color:#111;
  font-size:19px;
  line-height:1.35;
}

.editorial-account-dashboard-card__intro .editorial-account-dashboard-card__icon{
  border:0;
  background:transparent;
}

.editorial-account-dashboard-card__action{
  display:flex;
  justify-content:flex-end;
  margin:auto 0 0;
}

.editorial-account-dashboard-card__action .button,
.woocommerce-account .editorial-download-button,
.woocommerce-account button[name="save_account_details"],
.woocommerce-account button[name="save_address"],
.woocommerce-account .editorial-wishlist-suggestion-form__submit{
  background:#eeeeee !important;
  color:#222 !important;
  font-size:19px !important;
  font-weight:400 !important;
}

.woocommerce-account table.shop_table,
.editorial-my-coupons__table{
  font-size:18px;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td,
.editorial-my-coupons__table th,
.editorial-my-coupons__table td{
  text-align:center;
}

.woocommerce-account table.shop_table th,
.editorial-my-coupons__table th{
  font-size:18px;
}

.woocommerce-account table.shop_table .button + .button,
.woocommerce-account table.shop_table .button + a,
.woocommerce-account table.shop_table a + .button,
.woocommerce-account table.shop_table a + a{
  margin-left:8px;
}

.editorial-download-card{
  grid-template-columns:minmax(120px,170px) minmax(0,1fr);
  align-items:start;
}

.editorial-download-card--no-image{
  grid-template-columns:1fr;
}

.editorial-download-image img{
  width:100%;
  max-height:240px;
  object-fit:contain;
}

.editorial-download-content h3{
  margin:0 0 12px;
  letter-spacing: normal !important;
  line-height:1.2;
}

.editorial-download-description,
.editorial-download-description p,
.editorial-download-date{
  font-size:19px;
  line-height:1.45;
}

.editorial-download-date{
  font-size:15px;
  margin:14px 0;
}

.editorial-download-actions{
  display:flex;
  justify-content:flex-end;
  margin:16px 0 0;
}

.editorial-wishlist-item{
  grid-template-columns:112px minmax(0,1fr);
}

.editorial-wishlist-content{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:start;
}

.editorial-wishlist-book-meta{
  margin:0 0 12px;
}

.editorial-wishlist-title{
  margin:0 0 3px;
}

.editorial-wishlist-title a{
  color:#333;
  text-decoration:none;
}

.editorial-wishlist-title a:hover,
.editorial-wishlist-title a:focus{
  color:#111;
  text-decoration:underline;
}

.editorial-wishlist-author,
.editorial-wishlist-price,
.editorial-wishlist-stock,
.editorial-wishlist-suggestion__author,
.editorial-wishlist-suggestion__reference,
.editorial-wishlist-suggestion__comment,
.editorial-wishlist-suggestion__meta,
.editorial-wishlist-suggestion-form,
.editorial-wishlist-suggestion-form input,
.editorial-wishlist-suggestion-form textarea{
  font-size:19px;
  line-height:1.45;
}

.editorial-wishlist-suggestion__meta{
  font-size:15px;
}

.editorial-wishlist-author,
.editorial-wishlist-suggestion__author{
  margin-bottom:0;
}

.editorial-wishlist-actions{
  justify-content:flex-end;
  margin-top:0;
}

.woocommerce-account .editorial-wishlist-icon-button{
  width:44px;
  min-width:44px;
  min-height:44px;
  padding:0 !important;
  background:#eeeeee !important;
  color:#222 !important;
}

.woocommerce-account .editorial-wishlist-button--remove{
  background:#eeeeee !important;
  color:#222 !important;
}

.editorial-wishlist-actions form{
  display:inline-flex;
}

.editorial-wishlist-action-icon{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.woocommerce-account .editorial-wishlist-amazon-button{
  min-height:44px;
  font-size:16px !important;
}

.woocommerce-account.logged-in .editorial-wishlist-action--amazon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:40px;
  padding:8px 10px;
  line-height:1;
}

.woocommerce-account.logged-in .editorial-wishlist-action--amazon .editorial-wishlist-action__amazon-logo{
  display:block;
  width:58px;
  max-width:100%;
  height:auto;
}

.editorial-wishlist-suggestion{
  grid-template-columns:112px minmax(0,1fr);
}

.editorial-wishlist-suggestion-image img{
  width:112px;
  height:168px;
  object-fit:contain;
}

.editorial-wishlist-suggestion__title{
  margin:0 0 3px;
}

.editorial-wishlist-suggestion__meta{
  gap:8px 28px;
}

.editorial-wishlist-suggestion-form{
  width:100%;
  box-sizing:border-box;
}


@media (min-width: 769px){
  .editorial-wishlist .editorial-wishlist-items{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
  }

  .editorial-wishlist .editorial-wishlist-item{
    grid-template-columns:104px minmax(0,1fr);
    gap:16px;
    align-items:start;
    padding:16px;
  }

  .editorial-wishlist .editorial-wishlist-cover img{
    width:100%;
    max-height:156px;
    object-fit:contain;
  }

  .editorial-wishlist .editorial-wishlist-content{
    grid-template-columns:minmax(0,1fr) minmax(96px,max-content);
    gap:14px;
    min-width:0;
  }

  .editorial-wishlist .editorial-wishlist-book-meta{
    min-width:0;
    margin-bottom:0;
  }

  .editorial-wishlist .editorial-wishlist-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    align-items:flex-start;
    align-content:flex-start;
    gap:8px;
    width:104px;
    margin-top:0;
  }

  .editorial-wishlist .editorial-wishlist-actions form{
    display:inline-flex;
    width:auto;
  }

  .editorial-wishlist .editorial-wishlist-actions .button,
  .editorial-wishlist .editorial-wishlist-actions button{
    margin:0;
  }

  .woocommerce-account .editorial-wishlist .editorial-wishlist-icon-button{
    width:44px;
    min-width:44px;
    flex:0 0 44px;
  }

  .woocommerce-account .editorial-wishlist .editorial-wishlist-amazon-button{
    flex:1 0 100%;
    width:100%;
    min-width:0;
    padding-right:10px !important;
    padding-left:10px !important;
    white-space:normal;
    text-align:center;
  }

  .woocommerce-account.logged-in .editorial-wishlist .editorial-wishlist-action--amazon{
    text-align:center;
  }
}

@media (max-width:640px){
  .woocommerce-account.logged-in .editorial-wishlist-action--amazon .editorial-wishlist-action__amazon-logo{
    width:52px;
  }
}

/* =========================================================
   MI CUENTA — Detalles de cuenta móvil: campos en una columna
========================================================= */

@media (max-width: 768px){

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  form.woocommerce-EditAccountForm .form-row-first,
  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  form.woocommerce-EditAccountForm .form-row-last{
    float: none !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

}

/* =========================================================
   MI CUENTA — Detalles de cuenta: ocultar ayuda Nombre visible
========================================================= */

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
form.woocommerce-EditAccountForm
#account_display_name + span,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
form.woocommerce-EditAccountForm
#account_display_name + em{
  display: none !important;
}

@media (min-width: 769px){

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content > form:has(.woocommerce-address-fields){
    width: min(75%, 760px) !important;
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

}

@media (max-width: 768px){

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-address-fields .form-row-first,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-address-fields .form-row-last{
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-address-fields .form-row-first input,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-address-fields .form-row-last input{
    width: 100% !important;
  }

}

.editorial-account-addresses{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:18px;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content .editorial-account-address h2{
  margin-bottom:16px;
  letter-spacing:normal;
}

.editorial-account-address__body{
  margin:0;
  font-size:18px;
  line-height:1.5;
}

.editorial-account-address__contact{
  display:flex;
  gap:8px;
  align-items:center;
  margin-top:8px;
}

.editorial-account-address__contact--phone{
  margin-top:20px;
  padding-top:12px;
}

.editorial-account-address__contact--email{
  margin-top:0px;
}

.editorial-account-address__actions{
  display:flex;
  justify-content:flex-end;
  margin:18px 0 0;
}

.woocommerce-account.logged-in .woocommerce-EditAccountForm,
.woocommerce-account.logged-in .woocommerce-address-fields{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}

.woocommerce-account form .form-row label,
.woocommerce-account .editorial-wishlist-suggestion-form__field label{
  font-size:16px;
  letter-spacing:normal;
}

.woocommerce-account form input[type="text"],
.woocommerce-account form input[type="email"],
.woocommerce-account form input[type="password"],
.woocommerce-account form input[type="tel"],
.woocommerce-account form input[type="url"],
.woocommerce-account form select,
.woocommerce-account form textarea{
  font-size:19px;
}

.editorial-my-coupons__block > p{
  font-size:19px;
}

@media (max-width: 640px){
  .editorial-wishlist-content{
    grid-template-columns:1fr;
  }

  .editorial-wishlist-actions{
    flex-direction:row;
    justify-content:flex-start;
  }

  .editorial-wishlist-actions .button,
  .editorial-wishlist-actions form,
  .editorial-wishlist-actions button{
    width:auto;
  }

  .editorial-wishlist-suggestion{
    grid-template-columns:86px minmax(0,1fr);
  }

  .editorial-wishlist-suggestion-image img{
    width:86px;
    height:129px;
  }
}

/* =========================================================
   Mi cuenta — correcciones visuales responsive mayo 2026
========================================================= */
.woocommerce-account.logged-in .woocommerce-orders-table__cell-order-number a{
  color:inherit;
  font:inherit;
  font-weight:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}

.woocommerce-account.logged-in .editorial-downloads,
.woocommerce-account.logged-in .editorial-downloads *,
.woocommerce-account.logged-in .editorial-wishlist-section > h2,
.woocommerce-account.logged-in .editorial-wishlist-section > h3,
.woocommerce-account.logged-in .editorial-wishlist-section .editorial-wishlist-suggestion-form__field label{
  letter-spacing:normal;
}

.woocommerce-account.logged-in .editorial-wishlist-title,
.woocommerce-account.logged-in .editorial-wishlist-title a,
.woocommerce-account.logged-in .editorial-wishlist-title a:visited{
  color:#222 !important;
}

.woocommerce-account.logged-in .editorial-wishlist-title a:hover,
.woocommerce-account.logged-in .editorial-wishlist-title a:focus{
  color:#000 !important;
  text-decoration:underline;
  text-underline-offset:2px;
}

.woocommerce-account.logged-in .editorial-wishlist-icon-button{
  align-items:center;
  justify-content:center;
  line-height:1 !important;
}

.woocommerce-account.logged-in .editorial-wishlist-icon-button .editorial-wishlist-action-icon{
  display:block;
  width:20px;
  height:20px;
  flex:0 0 20px;
}

.woocommerce-account.logged-in .editorial-wishlist-suggestion-image{
  align-self:start;
  background:var(--pf-account-soft);
}

.woocommerce-account.logged-in .editorial-wishlist-suggestion-image img{
  display:block;
  width:112px;
  height:168px;
  object-fit:contain;
  object-position:center;
  background:var(--pf-account-soft);
}

.woocommerce-account.logged-in .editorial-wishlist-suggestion-form{
  width:100%;
  max-width:none !important;
}

.woocommerce-account.logged-in .editorial-wishlist-suggestion-form__field input,
.woocommerce-account.logged-in .editorial-wishlist-suggestion-form__field textarea{
  width:100%;
  box-sizing:border-box;
}


@media (max-width:640px){
  .editorial-account-dashboard-card--coupons,
  .editorial-account-dashboard-card--downloads,
  .editorial-account-dashboard-card--wishlist{
    display:flex;
    flex-flow:row wrap;
    align-items:center;
    gap:12px 14px;
  }

  .editorial-account-dashboard-card--coupons .editorial-account-dashboard-card__intro,
  .editorial-account-dashboard-card--downloads .editorial-account-dashboard-card__intro,
  .editorial-account-dashboard-card--wishlist .editorial-account-dashboard-card__intro{
    flex:1 1 0;
    min-width:210px;
    align-items:center;
    margin:0;
  }

  .editorial-account-dashboard-card--coupons .editorial-account-dashboard-card__intro span:last-child,
  .editorial-account-dashboard-card--downloads .editorial-account-dashboard-card__intro span:last-child,
  .editorial-account-dashboard-card--wishlist .editorial-account-dashboard-card__intro span:last-child{
    min-width:0;
  }

  .editorial-account-dashboard-card--coupons .editorial-account-dashboard-card__action,
  .editorial-account-dashboard-card--downloads .editorial-account-dashboard-card__action,
  .editorial-account-dashboard-card--wishlist .editorial-account-dashboard-card__action{
    flex:0 0 auto;
    margin:0 0 0 auto;
  }

  .editorial-account-dashboard-card--coupons .editorial-account-dashboard-card__action .button,
  .editorial-account-dashboard-card--downloads .editorial-account-dashboard-card__action .button,
  .editorial-account-dashboard-card--wishlist .editorial-account-dashboard-card__action .button{
    white-space:nowrap;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table{
    display:block;
    overflow:visible;
    border:0 !important;
    background:transparent;
    font-size:18px;
  }

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

  .woocommerce-account.logged-in .woocommerce-orders-table tbody,
  .woocommerce-account.logged-in .woocommerce-orders-table tr,
  .woocommerce-account.logged-in .woocommerce-orders-table td{
    display:block;
    width:100%;
    box-sizing:border-box;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table tr.woocommerce-orders-table__row{
    margin:0 0 16px;
    padding:16px;
    border:1px solid var(--pf-account-line);
    background:var(--pf-account-panel);
  }

  .woocommerce-account.logged-in .woocommerce-orders-table td{
    display:flex;
    gap:14px;
    align-items:flex-start;
    justify-content:space-between;
    min-height:auto;
    padding:10px 0;
    border:0;
    border-bottom:1px solid var(--pf-account-line);
    color:var(--pf-account-ink);
    font-size:18px;
    line-height:1.35;
    text-align:left !important;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table td:last-child{
    border-bottom:0;
    padding-bottom:0;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table td::before{
    content:attr(data-title) ": ";
    flex:0 0 40%;
    max-width:150px;
    color:#111;
    font-weight:600;
    text-align:left;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table__cell-order-number{
    align-items:center;
    font-size:19px;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table__cell-order-number a{
    color:#111;
    font-size:19px;
    font-weight:400;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table__cell-order-actions{
    display:block;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table__cell-order-actions::before{
    display:block;
    margin:0 0 10px;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table__cell-order-actions .button{
    width:auto;
    font-size:18px !important;
  }

  .woocommerce-account.logged-in .editorial-wishlist-suggestion-form{
    max-width:none !important;
    padding:16px;
  }

  .woocommerce-account.logged-in .editorial-wishlist-suggestion-form__field input,
  .woocommerce-account.logged-in .editorial-wishlist-suggestion-form__field textarea{
    font-size:19px;
  }
}

@media (max-width:420px){
  .editorial-account-dashboard-card--coupons .editorial-account-dashboard-card__intro,
  .editorial-account-dashboard-card--downloads .editorial-account-dashboard-card__intro,
  .editorial-account-dashboard-card--wishlist .editorial-account-dashboard-card__intro{
    flex-basis:100%;
    min-width:0;
  }

  .editorial-account-dashboard-card--coupons .editorial-account-dashboard-card__action,
  .editorial-account-dashboard-card--downloads .editorial-account-dashboard-card__action,
  .editorial-account-dashboard-card--wishlist .editorial-account-dashboard-card__action{
    margin-left:46px;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table td{
    display:block;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table td::before{
    display:block;
    max-width:none;
    margin:0 0 4px;
  }
}

/* =========================================================
   Mi cuenta — pedidos, ver pedido y direcciones mayo 2026
========================================================= */
.woocommerce-account.logged-in .woocommerce-orders-table__cell-order-number a,
.woocommerce-account.logged-in .woocommerce-orders-table__cell-order-number a:visited{
  color:var(--pf-account-ink, #222) !important;
  font-size:inherit !important;
  font-weight:400 !important;
  line-height:inherit;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}

.woocommerce-account.logged-in .woocommerce-orders-table__cell-order-number a:hover,
.woocommerce-account.logged-in .woocommerce-orders-table__cell-order-number a:focus{
  color:#000 !important;
  text-decoration-thickness:1.5px;
}

.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details{
  width:100%;
  border:1px solid var(--pf-account-line, #dddddd) !important;
  border-collapse:collapse;
  border-spacing:0;
  background:#fff !important;
  color:var(--pf-account-ink, #222);
  font-size:18px;
  line-height:1.4;
}

.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details thead,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details thead,
.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tbody,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tbody,
.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tfoot,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tfoot,
.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tr,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tr,
.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details th,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details th,
.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details td,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details td{
  background:#fff !important;
  color:var(--pf-account-ink, #222);
}

.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details th,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details th,
.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details td,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details td{
  padding:13px 16px;
  border:0;
  border-bottom:1px solid var(--pf-account-line, #dddddd) !important;
  vertical-align:middle;
}

.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details thead th,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details thead th{
  color:#333;
  font-size:15px;
  font-weight:600;
  letter-spacing:normal;
  text-align:left;
}

.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details thead th:last-child,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details thead th:last-child,
.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details .woocommerce-table__product-total,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details .woocommerce-table__product-total{
  text-align:left !important;
}

.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tbody tr:last-child td,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tbody tr:last-child td,
.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tfoot tr:last-child th,
.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tfoot tr:last-child td,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tfoot tr:last-child td{
  border-bottom:0 !important;
}

.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tfoot th,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tfoot th{
  width:45%;
  color:#333;
  font-weight:600;
  text-align:right !important;
}

.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tfoot td,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tfoot td{
  text-align:left !important;
}

.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details a.button,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details a.button,
.woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details .button,
.woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details .button{
  min-height:42px;
  padding:9px 18px !important;
  background:#eeeeee !important;
  color:#222 !important;
  border:0 !important;
  border-radius:0;
  font-size:17px !important;
  font-weight:400 !important;
  line-height:1.35 !important;
}

.woocommerce-account.logged-in .woocommerce-EditAccountForm,
.woocommerce-account.logged-in .woocommerce-address-fields,
.woocommerce-account.logged-in .woocommerce-address-fields__field-wrapper{
  width:min(100%, 820px);
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
  box-sizing:border-box;
}

.woocommerce-account.logged-in button[name="save_address"]{
  background:#eeeeee !important;
  color:#222 !important;
  border:0 !important;
  font-size:19px !important;
  font-weight:400 !important;
}

@media (max-width:640px){
  .woocommerce-account.logged-in .woocommerce-orders-table tr.woocommerce-orders-table__row,
  .woocommerce-account.logged-in .woocommerce-orders-table tbody tr:nth-child(odd),
  .woocommerce-account.logged-in .woocommerce-orders-table tbody tr:nth-child(even),
  .woocommerce-account.logged-in .woocommerce-orders-table td,
  .woocommerce-account.logged-in .woocommerce-orders-table td:nth-child(odd),
  .woocommerce-account.logged-in .woocommerce-orders-table td:nth-child(even){
    background:var(--pf-account-panel, #fff) !important;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table tr.woocommerce-orders-table__row{
    border:1px solid var(--pf-account-line, #dddddd) !important;
    box-shadow:none;
  }

  .woocommerce-account.logged-in .woocommerce-orders-table__cell-order-actions .button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details,
  .woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details{
    display:table;
    table-layout:auto;
    overflow:visible;
    font-size:17px;
  }

  .woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details thead,
  .woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details thead{
    display:table-header-group;
  }

  .woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tbody,
  .woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tbody,
  .woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tfoot,
  .woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tfoot{
    display:table-row-group;
  }

  .woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tr,
  .woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tr{
    display:table-row;
    border:0;
  }

  .woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details th,
  .woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details th,
  .woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details td,
  .woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details td{
    display:table-cell;
    width:auto;
    padding:12px 10px;
    background:#fff !important;
    font-size:17px;
    line-height:1.35;
  }

  .woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details td::before,
  .woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details td::before{
    content:none !important;
  }

  .woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tfoot th,
  .woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tfoot th{
    width:44%;
    text-align:right !important;
  }

  .woocommerce-account.logged-in .woocommerce-order-details .woocommerce-table--order-details tfoot td,
  .woocommerce-account.logged-in .woocommerce-order-details table.shop_table.order_details tfoot td{
    width:56%;
    text-align:left !important;
  }

  .woocommerce-account.logged-in .woocommerce-EditAccountForm,
  .woocommerce-account.logged-in .woocommerce-address-fields,
  .woocommerce-account.logged-in .woocommerce-address-fields__field-wrapper{
    width:100%;
    max-width:none;
  }
}


/* =========================================================
   Mi cuenta — tablas responsive en móvil
========================================================= */
@media (max-width: 768px){
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive.woocommerce-orders-table,
  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive{
    display:block;
    width:100%;
    overflow:visible;
    border:0 !important;
    background:transparent !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive.woocommerce-orders-table thead,
  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive thead{
    display:none;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive.woocommerce-orders-table tbody,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive.woocommerce-orders-table tr,
  .woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive.woocommerce-orders-table td,
  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive tbody,
  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive tr,
  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive td{
    display:block;
    width:100%;
    box-sizing:border-box;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive.woocommerce-orders-table tr.woocommerce-orders-table__row,
  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive tbody tr{
    margin:0 0 16px;
    padding:16px;
    border:1px solid var(--pf-account-line, #dddddd) !important;
    background:var(--pf-account-panel, #fff) !important;
    box-shadow:none;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive.woocommerce-orders-table td,
  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive td{
    display:flex !important;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:5px;
    min-height:0;
    padding:10px 0 !important;
    border:0 !important;
    border-bottom:1px solid var(--pf-account-line, #dddddd) !important;
    background:transparent !important;
    color:var(--pf-account-ink, #222);
    line-height:1.4;
    text-align:left !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive.woocommerce-orders-table td:last-child,
  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive td:last-child{
    border-bottom:0 !important;
    padding-bottom:0 !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive.woocommerce-orders-table td::before,
  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive td::before{
    content:attr(data-title);
    float:none !important;
    display:block !important;
    width:auto;
    max-width:none;
    margin:0;
    color:#111;
    font-weight:700;
    line-height:1.25;
    text-align:left;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions,
  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive td[data-title="Acción"]{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before,
  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive td[data-title="Acción"]::before{
    flex:0 0 100%;
    margin:0 0 2px;
  }

  .woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button,
  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive .editorial-copy-coupon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto;
    min-height:40px;
    white-space:nowrap;
  }

  .woocommerce-account .editorial-my-coupons .editorial-my-coupons__table.shop_table_responsive code{
    display:block;
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-word;
    white-space:normal;
    line-height:1.35;
  }

  .woocommerce-account .editorial-my-coupons .editorial-copy-coupon__status{
    display:inline-block;
    margin:0 0 8px;
  }
}

/* =========================================================
   MI CUENTA — Pedidos móvil: tarjetas en filas compactas
========================================================= */

@media (max-width: 768px){

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  tbody th.woocommerce-orders-table__cell-order-number{
    display: flex !important;
    align-items: baseline;
    gap: .35em;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--pf-account-line, #dddddd) !important;
    background: transparent !important;
    color: var(--pf-account-ink, #222);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 400;
    text-align: left !important;
    letter-spacing:normal;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  tbody th.woocommerce-orders-table__cell-order-number::before{
    content: "Pedido:";
    display: inline;
    margin: 0;
    color: #111;
    font-weight: 700;
    text-transform: none;
    letter-spacing:normal;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  tbody th.woocommerce-orders-table__cell-order-number a{
    display: inline;
    color: inherit;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  tbody th.woocommerce-orders-table__cell-order-number a::before{
    content: "";
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  tbody th.woocommerce-orders-table__cell-order-number a{
    font-variant-numeric: lining-nums;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell{
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline;
    justify-content: flex-start;
    gap: .35em;
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--pf-account-line, #dddddd) !important;
    background: transparent !important;
    text-align: left !important;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell::before{
    content: attr(data-title) ":";
    display: inline !important;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    margin: 0;
    color: #111;
    font-weight: 700;
    line-height: inherit;
    text-align: left;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-total{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: .35em;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-total::before{
    content: "Total:";
    display: inline !important;
    flex: 0 0 auto;
    margin: 0;
    font-weight: 700;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-total .woocommerce-Price-amount,
  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-total .amount{
    display: inline !important;
    white-space: nowrap;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-total .woocommerce-Price-amount::after,
  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-total .amount::after{
    content: none !important;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-actions{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-actions::before{
    flex: 0 0 auto;
    margin: 0 .2em 0 0;
  }


}

/* =========================================================
   MI CUENTA — Pedidos móvil: estilo ticket
========================================================= */

@media (max-width: 768px){

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  tbody th.woocommerce-orders-table__cell-order-number,
  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell{
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    text-align: left !important;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  tbody th.woocommerce-orders-table__cell-order-number::before,
  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell::before{
    flex: 0 0 auto;
    margin: 0;
    text-align: left;
    white-space: nowrap;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  tbody th.woocommerce-orders-table__cell-order-number a{
    margin-left: auto;
    text-align: right;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-date,
  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-status,
  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-total{
    text-align: right !important;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-actions{
    align-items: center;
    justify-content: space-between;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-actions::before{
    flex: 0 0 auto;
    margin: 0;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-actions .button:first-of-type{
    margin-left: auto !important;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-actions .button{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .woocommerce-account table.shop_table .button + .button,
  .woocommerce-account table.shop_table .button + a,
  .woocommerce-account table.shop_table a + .button,
  .woocommerce-account table.shop_table a + a{
    margin-left:0px !important;
  }

}

/* Ajuste final: Total compacto dentro del estilo ticket */
@media (max-width: 768px){

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-total{
    justify-content: flex-start !important;
    gap: .25em !important;
    column-gap: .25em !important;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-total::before{
    margin-right: auto !important;
  }

  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-total .woocommerce-Price-amount,
  body.woocommerce-account.logged-in
  .woocommerce-MyAccount-content
  table.shop_table_responsive.woocommerce-orders-table
  td.woocommerce-orders-table__cell-order-total .amount{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

}
/* =========================================================
   Nota de organización
========================================================= */

/* Las secciones de navegación, avisos, pedidos, direcciones y formularios se mantienen junto a sus bloques efectivos para conservar la cascada actual. */

/* =========================================================
   Ver pedido — detalle de pedido refinado mayo 2026
========================================================= */
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details{
  width:min(75%, 860px);
  max-width:860px;
  margin-left:auto;
  margin-right:auto;
  table-layout:fixed;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details thead th,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details thead th{
  text-align:center !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details thead th:first-child,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details thead th:first-child,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tbody .woocommerce-table__product-name,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tbody .woocommerce-table__product-name{
  text-align:left !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details thead th:last-child,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details thead th:last-child,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tbody .woocommerce-table__product-total,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tbody .woocommerce-table__product-total{
  text-align:right !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tbody .woocommerce-table__product-name,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tbody .woocommerce-table__product-name{
  width:68%;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tbody .woocommerce-table__product-total,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tbody .woocommerce-table__product-total{
  width:32%;
  white-space:nowrap;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tbody tr:last-child td,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tbody tr:last-child td{
  border-bottom:1px solid var(--pf-account-line, #dddddd) !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tfoot tr:first-child th,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot tr:first-child th,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tfoot tr:first-child td,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot tr:first-child td{
  padding-top:22px;
  /*border-top:3px solid #f1f1f1 !important;*/
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tfoot th,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot th{
  width:42%;
  color:#333;
  font-size:16px;
  text-align:left !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tfoot td,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot td{
  width:58%;
  color:var(--pf-account-ink, #222);
  text-align:right !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tfoot td .button,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot td .button{
  margin-top:4px !important;
  margin-bottom:4px !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details address .woocommerce-customer-details--phone{
  margin-top:20px !important;
  margin-bottom:0px !important;
  padding-top:12px;
}

@media (max-width:860px){
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details{
    width:100%;
    max-width:none;
  }
}

@media (max-width:640px){
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details{
    table-layout:auto;
    font-size:16px;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details th,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details th,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details td,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details td{
    padding:12px 9px;
    line-height:1.35;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tbody .woocommerce-table__product-name,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tbody .woocommerce-table__product-name{
    width:62%;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tbody .woocommerce-table__product-total,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tbody .woocommerce-table__product-total{
    width:38%;
    white-space:normal;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tfoot th,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot th{
    width:44%;
    padding-top:14px;
    padding-bottom:14px;
    font-size:15px;
    text-align:left !important;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tfoot td,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot td{
    width:56%;
    padding-top:14px;
    padding-bottom:14px;
    text-align:right !important;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .woocommerce-table--order-details tfoot td .button,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot td .button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:8px !important;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details address .woocommerce-customer-details--phone,
  body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details address .woocommerce-customer-details--email{
    display:block;
    margin:6px 0 0;
    line-height:1.45;
  }

  body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details address .woocommerce-customer-details--email{
    margin-top:0 !important;
  }
 
  body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details address .woocommerce-customer-details--phone{
    margin-top:20px !important;
    padding-top:12px;
  }
}
/* =========================================================
   Mi cuenta — Lista de deseos móvil
========================================================= */
@media (max-width: 768px){
  body.woocommerce-account.logged-in .editorial-wishlist{
    width:100%;
    max-width:none;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-section{
    margin-bottom:24px;
    padding:18px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-items,
  body.woocommerce-account.logged-in .editorial-wishlist-suggestions{
    gap:16px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-item{
    grid-template-columns:1fr;
    gap:16px;
    padding:18px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-cover{
    justify-self:center;
    width:min(54vw, 150px);
    max-width:150px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-cover img{
    width:100%;
    max-height:225px;
    object-fit:contain;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-content{
    display:block;
    min-width:0;
    text-align:left;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-book-meta{
    margin-bottom:14px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-title,
  body.woocommerce-account.logged-in .editorial-wishlist-title a,
  body.woocommerce-account.logged-in .editorial-wishlist-author,
  body.woocommerce-account.logged-in .editorial-wishlist-price,
  body.woocommerce-account.logged-in .editorial-wishlist-stock{
    overflow-wrap:anywhere;
    word-break:normal;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-title{
    margin-bottom:6px;
    font-size:22px;
    line-height:1.18;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-author,
  body.woocommerce-account.logged-in .editorial-wishlist-price,
  body.woocommerce-account.logged-in .editorial-wishlist-stock{
    margin-bottom:8px;
    font-size:18px;
    line-height:1.4;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-actions{
    display:flex;
    flex-flow:row wrap;
    gap:8px;
    justify-content:center;
    align-items:center;
    max-width:100%;
    margin-top:14px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-actions form{
    display:inline-flex;
    flex:0 0 auto;
    width:auto;
    margin:0;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-actions .button,
  body.woocommerce-account.logged-in .editorial-wishlist-actions button{
    width:auto;
    max-width:100%;
    min-width:44px;
    margin:0 !important;
    white-space:nowrap;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-actions .editorial-wishlist-icon-button,
  body.woocommerce-account.logged-in .editorial-wishlist-actions .editorial-wishlist-button--remove{
    flex:0 0 44px;
    width:44px;
    min-width:44px;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-amazon-button{
    flex:1 1 180px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-action--amazon{
    flex:0 1 auto;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion{
    grid-template-columns:92px minmax(0,1fr);
    gap:16px;
    align-items:start;
    padding:18px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-image{
    display:flex;
    align-items:center;
    justify-content:center;
    justify-self:start;
    width:92px;
    aspect-ratio:2 / 3;
    overflow:hidden;
    background:var(--pf-account-soft);
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-image img{
    display:block;
    width:100%;
    height:100%;
    max-height:none;
    object-fit:contain;
    object-position:center;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-content{
    min-width:0;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion__title{
    margin-bottom:6px;
    font-size:22px;
    line-height:1.18;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion__author,
  body.woocommerce-account.logged-in .editorial-wishlist-suggestion__reference,
  body.woocommerce-account.logged-in .editorial-wishlist-suggestion__comment,
  body.woocommerce-account.logged-in .editorial-wishlist-suggestion__meta{
    margin-bottom:9px;
    overflow-wrap:anywhere;
    word-break:normal;
    font-size:18px;
    line-height:1.42;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion__meta{
    display:block;
    margin-top:20px;
    margin-bottom:0;
    color:var(--pf-account-muted);
    font-size:14px;
    line-height:1.2;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion__meta > *{
    display:block;
    margin-bottom:3px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-form{
    padding:18px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-form__field{
    margin-bottom:16px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-form__field input,
  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-form__field textarea{
    width:100%;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-form__field textarea{
    min-height:150px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-form__actions{
    display:flex;
    justify-content:flex-start;
    margin-top:4px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-form__submit{
    width:auto;
    min-width:180px;
  }
}

@media (max-width: 420px){
  body.woocommerce-account.logged-in .editorial-wishlist-section,
  body.woocommerce-account.logged-in .editorial-wishlist-item,
  body.woocommerce-account.logged-in .editorial-wishlist-suggestion,
  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-form{
    padding:16px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-cover{
    width:min(62vw, 142px);
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-image{
    width:86px;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion{
    grid-template-columns:86px minmax(0,1fr);
  }

  body.woocommerce-account.logged-in .editorial-wishlist-actions{
    align-items:center;
  }

  body.woocommerce-account.logged-in .editorial-wishlist-suggestion-form__submit{
    width:100%;
  }
}

@media (max-width: 768px){

  body.woocommerce-account.logged-in .editorial-download-card{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:18px;
  }

  body.woocommerce-account.logged-in .editorial-download-image{
    display:flex;
    align-self:center;
    justify-content:center;
    width:100%;
    max-width:210px;
    margin:0 auto 2px;
  }

  body.woocommerce-account.logged-in .editorial-download-image img{
    display:block;
    width:auto;
    max-width:min(210px, 100%);
    height:auto;
    max-height:none;
    object-fit:contain;
    object-position:center;
  }

  body.woocommerce-account.logged-in .editorial-download-content{
    width:100%;
    min-width:0;
  }

  body.woocommerce-account.logged-in .editorial-download-content h3{
    width:100%;
    margin-bottom:12px;
    overflow-wrap:break-word;
    word-break:normal;
  }

  body.woocommerce-account.logged-in .editorial-download-description,
  body.woocommerce-account.logged-in .editorial-download-description p{
    width:100%;
    max-width:100%;
  }

  body.woocommerce-account.logged-in .editorial-download-date,
  body.woocommerce-account.logged-in .editorial-download-limit{
    margin:16px 0 0;
  }

  body.woocommerce-account.logged-in .editorial-download-actions{
    display:flex;
    justify-content:flex-end;
    width:100%;
    margin:18px 0 0;
  }

  body.woocommerce-account.logged-in .editorial-download-button{
    display:inline-flex;
    align-self:flex-end;
    width:auto;
    max-width:100%;
    margin-top:18px;
    margin-left:auto;
  }

  body.woocommerce-account.logged-in .editorial-download-actions .editorial-download-button{
    margin-top:0;
  }

  .editorial-wishlist .editorial-wishlist-suggestion-image{
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  .editorial-wishlist .editorial-wishlist-suggestion-image img{
    width: auto;
    max-width: 100%;
    max-height: 150px;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
  }

}
/* Foto de perfil en Detalles de cuenta */
.woocommerce-account .editorial-account-avatar{
  display:flex;
  align-items:center;
  gap:20px;
  width:100%;
  max-width:760px;
  margin:0 0 28px;
  padding:18px 20px;
  border:1px solid var(--pf-account-line, #e6e6e6);
  background:#fff;
  box-sizing:border-box;
}

.woocommerce-account .editorial-account-avatar__preview{
  flex:0 0 auto;
}

.woocommerce-account .editorial-account-avatar__trigger{
  position:relative;
  display:block;
  width:96px;
  height:96px;
  margin:0;
  cursor:pointer;
}

.woocommerce-account .editorial-account-avatar__trigger img{
  display:block;
  width:96px;
  height:96px;
  border-radius:50%;
  object-fit:cover;
  background:#f0f1f3;
  border:1px solid #d8d3ce;
}

.woocommerce-account .editorial-account-avatar__camera{
  position:absolute;
  right:2px;
  bottom:2px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border:2px solid #fff;
  border-radius:50%;
  background:var(--pf-account-ink, #1f2430);
  color:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.14);
}

.woocommerce-account .editorial-account-avatar__camera svg{
  display:block;
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.woocommerce-account .editorial-account-avatar__body{
  min-width:0;
  flex:1 1 auto;
}

.woocommerce-account .editorial-account-avatar__body h3{
  margin:0 0 12px;
  font-family:var(--pf-font-headings, Georgia, serif);
  font-size:22px;
  line-height:1.15;
  font-weight:600;
  color:var(--pf-account-ink, #1f2430);
}

.woocommerce-account .editorial-account-avatar__actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 12px;
}

.woocommerce-account .editorial-account-avatar__input{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.woocommerce-account .editorial-account-avatar__change{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  margin:0;
  padding:9px 15px;
  border:1px solid var(--pf-account-line, #e6e6e6);
  background:var(--pf-account-soft, #faf8f5);
  color:var(--pf-account-ink, #1f2430);
  font-family:var(--pf-font-base, system-ui, sans-serif);
  font-size:17px;
  line-height:1.2;
  cursor:pointer;
  text-decoration:none;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}

.woocommerce-account .editorial-account-avatar__change:hover,
.woocommerce-account .editorial-account-avatar__change:focus,
.woocommerce-account .editorial-account-avatar__trigger:focus-within .editorial-account-avatar__camera{
  border-color:var(--pf-account-ink, #1f2430);
  background:#fff;
  color:var(--pf-account-ink, #1f2430);
}

.woocommerce-account .editorial-account-avatar__filename{
  min-width:0;
  color:#555;
  font-family:var(--pf-font-base, system-ui, sans-serif);
  font-size:16px;
  line-height:1.35;
}

.woocommerce-account .editorial-account-avatar__remove{
  display:inline-flex;
  margin:12px 0 0;
  padding:0;
  border:0;
  background:transparent;
  color:#7a342d;
  font-family:var(--pf-font-base, system-ui, sans-serif);
  font-size:15px;
  line-height:1.35;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}

.woocommerce-account .editorial-account-avatar__remove:hover,
.woocommerce-account .editorial-account-avatar__remove:focus{
  color:#4f211c;
}

.woocommerce-account .editorial-account-avatar__notice{
  margin:12px 0 0;
  color:#6d5948;
  font-family:var(--pf-font-base, system-ui, sans-serif);
  font-size:14px;
  line-height:1.35;
}

.woocommerce-account .editorial-account-avatar__notice[hidden]{
  display:none;
}

@media (max-width: 640px){
  .editorial-account-heading{
    gap:10px;
  }

  .editorial-account-heading__avatar{
    flex-basis:34px;
    width:34px;
    height:34px;
  }
}

@media (max-width: 620px){
  .woocommerce-account .editorial-account-avatar{
    flex-direction:column;
    align-items:flex-start;
    padding:18px;
  }

  .woocommerce-account .editorial-account-avatar__preview{
    align-self:center;
  }

  .woocommerce-account .editorial-account-avatar__trigger,
  .woocommerce-account .editorial-account-avatar__trigger img{
    width:88px;
    height:88px;
  }

  .woocommerce-account .editorial-account-avatar__actions{
    align-items:flex-start;
    flex-direction:column;
  }
}

.woocommerce-account form.editorial-account-saving{
  position:relative;
}

.woocommerce-account form.editorial-account-saving::after{
  content:"Guardando cambios…";
  display:inline-flex;
  align-items:center;
  min-height:34px;
  margin-top:12px;
  padding:7px 11px;
  border:1px solid var(--pf-account-line, #e6e6e6);
  background:var(--pf-account-soft, #faf8f5);
  color:var(--pf-account-ink, #1f2430);
  font-family:var(--pf-font-base, system-ui, sans-serif);
  font-size:14px;
  line-height:1.35;
}

/* Estado de guardado en Detalles de cuenta */
.woocommerce-account form.woocommerce-EditAccountForm{
  position:relative;
}

.woocommerce-account form.woocommerce-EditAccountForm.is-saving{
  cursor:wait;
}

.woocommerce-account form.woocommerce-EditAccountForm.is-saving::after{
  content:"Guardando cambios…";
  position:absolute;
  inset:0;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.58);
  color:var(--pf-account-ink, #1f2430);
  font-family:var(--pf-font-base, system-ui, sans-serif);
  font-size:16px;
  cursor:wait;
}

.woocommerce-account form.woocommerce-EditAccountForm.is-saving > *{
  opacity:.58;
}

.woocommerce-account form.woocommerce-EditAccountForm.is-saving input,
.woocommerce-account form.woocommerce-EditAccountForm.is-saving select,
.woocommerce-account form.woocommerce-EditAccountForm.is-saving textarea,
.woocommerce-account form.woocommerce-EditAccountForm.is-saving button,
.woocommerce-account form.woocommerce-EditAccountForm.is-saving a{
  cursor:wait !important;
  pointer-events:none;
}

/* =========================================================
   MI CUENTA — Lista de deseos: botones de acción uniformes
========================================================= */

.woocommerce-account.logged-in
.editorial-wishlist
.editorial-wishlist-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:flex-end;
  gap:8px;
}

.woocommerce-account.logged-in
.editorial-wishlist
.editorial-wishlist-actions form{
  display:flex;
  margin:0;
  padding:0;
}

.woocommerce-account.logged-in
.editorial-wishlist
.editorial-wishlist-actions a.button,
.woocommerce-account.logged-in
.editorial-wishlist
.editorial-wishlist-actions button.button,
.woocommerce-account.logged-in
.editorial-wishlist
.editorial-wishlist-icon-button,
.woocommerce-account.logged-in
.editorial-wishlist
.editorial-wishlist-action--amazon{
  box-sizing:border-box !important;
  width:44px !important;
  min-width:44px !important;
  max-width:44px !important;
  height:44px !important;
  min-height:44px !important;
  max-height:44px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  text-align:center !important;
  vertical-align:top !important;
  background:#eeeeee !important;
  color:#222 !important;
}

.woocommerce-account.logged-in
.editorial-wishlist
.editorial-wishlist-action-icon{
  width:20px !important;
  height:20px !important;
  min-width:20px !important;
  min-height:20px !important;
  max-width:20px !important;
  max-height:20px !important;
}

.woocommerce-account.logged-in
.editorial-wishlist
.editorial-wishlist-action--amazon
.editorial-wishlist-action__amazon-logo{
  display:block !important;
  width:20px !important;
  height:20px !important;
  min-width:20px !important;
  min-height:20px !important;
  max-width:20px !important;
  max-height:20px !important;
  object-fit:contain !important;
}

/* =========================================================
   MI CUENTA — Acceso / registro no logueado
   Ajuste visual definitivo
========================================================= */

.woocommerce-account:not(.logged-in) .woocommerce{
  width:min(92vw, 540px) !important;
  max-width:540px !important;
  margin:42px auto 86px !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth{
  width:100% !important;
  max-width:540px !important;
  margin:0 auto !important;
  display:block !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__card{
  width:100% !important;
  max-width:540px !important;
  margin:0 auto !important;
  padding:34px 36px 32px !important;
  border:1px solid #ded8d2 !important;
  border-radius:4px !important;
  background:#fff !important;
  box-shadow:none !important;
  box-sizing:border-box !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__title{
  margin:0 0 26px !important;
  color:#111 !important;
  font-family:var(--pf-font-headings, Georgia, serif) !important;
  font-size:28px !important;
  font-weight:700 !important;
  line-height:1.15 !important;
  letter-spacing:.04em !important;
  text-align:center !important;
  text-transform:uppercase !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__section{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__section + .editorial-account-auth__section{
  margin-top:24px !important;
  padding-top:24px !important;
  border-top:1px solid #ded8d2 !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__field{
  margin:0 0 16px !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__field label{
  display:block !important;
  margin:0 0 7px !important;
  color:#111 !important;
  font-family:var(--pf-font-base, system-ui, sans-serif) !important;
  font-size:18px !important;
  font-weight:400 !important;
  line-height:1.25 !important;
  letter-spacing:normal !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__field input[type="text"],
.woocommerce-account:not(.logged-in) .editorial-account-auth__field input[type="email"],
.woocommerce-account:not(.logged-in) .editorial-account-auth__field input[type="password"]{
  width:100% !important;
  min-height:42px !important;
  padding:8px 11px !important;
  border:1px solid #c9c9c9 !important;
  border-radius:4px !important;
  background:#eef3f8 !important;
  color:#111 !important;
  font-family:var(--pf-font-base, system-ui, sans-serif) !important;
  font-size:18px !important;
  font-weight:400 !important;
  line-height:1.25 !important;
  letter-spacing:normal !important;
  box-shadow:none !important;
  box-sizing:border-box !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__field input:focus{
  border-color:#777 !important;
  outline:2px solid rgba(17,17,17,.12) !important;
  outline-offset:0 !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__field-group{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:14px !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__actions{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  margin:6px 0 0 !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__remember{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  margin:0 !important;
  color:#333 !important;
  font-family:var(--pf-font-base, system-ui, sans-serif) !important;
  font-size:16px !important;
  font-weight:400 !important;
  line-height:1.2 !important;
  letter-spacing:normal !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__lost-password{
  margin-left:auto !important;
  color:var(--pf-account-link, #53627f) !important;
  font-family:var(--pf-font-base, system-ui, sans-serif) !important;
  font-size:16px !important;
  font-weight:400 !important;
  line-height:1.2 !important;
  letter-spacing:normal !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__privacy{
  margin:18px 0 0 !important;
  color:#111 !important;
  font-family:var(--pf-font-base, system-ui, sans-serif) !important;
  font-size:20px !important;
  font-weight:400 !important;
  line-height:1.35 !important;
  letter-spacing:normal !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__privacy a{
  font-size:inherit !important;
}

.woocommerce-account:not(.logged-in) .editorial-account-auth__btn,
.woocommerce-account:not(.logged-in) button[name="login"],
.woocommerce-account:not(.logged-in) button[name="register"]{
  min-height:42px !important;
  padding:8px 22px !important;
  border:0 !important;
  border-radius:4px !important;
  background:#eeeeee !important;
  color:#111 !important;
  font-family:var(--pf-font-base, system-ui, sans-serif) !important;
  font-size:22px !important;
  font-weight:600 !important;
  line-height:1.15 !important;
  letter-spacing:normal !important;
  box-shadow:none !important;
}

.woocommerce-account:not(.logged-in) button[name="login"]:hover,
.woocommerce-account:not(.logged-in) button[name="register"]:hover{
  background:#e2e2e2 !important;
  color:#111 !important;
}

.woocommerce-account:not(.logged-in) button[name="register"]{
  margin-left:auto !important;
}

.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper,
.woocommerce-account:not(.logged-in) .woocommerce-message,
.woocommerce-account:not(.logged-in) .woocommerce-info,
.woocommerce-account:not(.logged-in) .woocommerce-error{
  width:min(92vw, 540px) !important;
  max-width:540px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  font-family:var(--pf-font-base, system-ui, sans-serif) !important;
  font-size:16px !important;
  letter-spacing:normal !important;
}

/* Móvil */

@media (max-width:640px){
  .woocommerce-account:not(.logged-in) .woocommerce{
    width:calc(100vw - 28px) !important;
    max-width:none !important;
    margin:28px auto 56px !important;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth{
    max-width:none !important;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__card{
    max-width:none !important;
    padding:28px 22px 26px !important;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__title{
    font-size:28px !important;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__field-group{
    grid-template-columns:1fr !important;
    gap:0 !important;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__actions{
    flex-wrap:wrap !important;
    align-items:center !important;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__lost-password{
    width:100% !important;
    margin:8px 0 0 !important;
    text-align:left !important;
  }

  .woocommerce-account:not(.logged-in) button[name="register"]{
    margin-left:0 !important;
  }

  .woocommerce-account:not(.logged-in) .editorial-account-auth__privacy{
    font-size:18px !important;
  }
}
/* =========================================================
   Mi cuenta — Flujo restablecer contraseña
========================================================= */
.woocommerce-account .editorial-password-flow {
  max-width: 540px;
  margin: 44px auto 64px;
}

.woocommerce-account .editorial-password-flow__box {
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  padding: 24px;
  color: #333333;
}

.woocommerce-account .editorial-password-flow__box > p,
.woocommerce-account .editorial-password-flow .woocommerce-ResetPassword > p:first-child {
  font-family: var(--pf-font-base);
  font-size: 20px;
  line-height: 1.25;
  color: #333333;
  margin: 0 0 18px;
}

.woocommerce-ResetPassword button{
  margin-top:20px !important;
}

.editorial-password-flow__intro{
  font-weight:600 !important;
}

/* Mi cuenta · contraseña · pantalla email enviado */
.woocommerce-lost-password .woocommerce-message + p {
  font-family: var(--pf-font-base);
  font-size: 20px;
  line-height: 1.35;
  color: #333333;
  font-weight: 400;
  margin: 18px 0 0;
}

.woocommerce-account .editorial-password-flow .form-row label {
  font-size: 18px;
  font-weight: 400;
  color: #333333;
}

.woocommerce-account .editorial-password-flow input[type="text"],
.woocommerce-account .editorial-password-flow input[type="email"],
.woocommerce-account .editorial-password-flow input[type="password"] {
  width: 100%;
  border: 1px solid #b9b9b9;
  border-radius: 5px;
  background: #edf0f2;
  color: #333333;
  font-size: 18px;
  padding: 11px 12px;
}

.woocommerce-account .editorial-password-flow .woocommerce-password-strength {
  width: 100%;
  margin-top: 8px;
}

.woocommerce-account .editorial-password-flow .woocommerce-password-hint {
  font-size: 16px;
  line-height: 1.4;
  color: #333333;
}

.woocommerce-account .editorial-password-flow .form-row-first,
.woocommerce-account .editorial-password-flow .form-row-last {
  float: none;
  width: 100%;
  margin-right: 0;
}

.woocommerce-account .editorial-password-flow .editorial-password-flow__actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0;
}

.woocommerce-account .editorial-password-flow .button {
  background: #e6e6e6 !important;
  color: #333333 !important;
  border-radius: 5px;
  font-size: 22px;
  line-height: 1;
  padding: 12px 26px;
}

.woocommerce-account .editorial-password-flow .woocommerce-info,
.woocommerce-account .editorial-password-flow .woocommerce-message,
.woocommerce-account .editorial-password-flow .woocommerce-error {
  margin: 0 0 18px;
  background: #fff;
  border: 1px solid #d8d8d8;
  color: #333333;
}

.woocommerce-account .editorial-password-flow .woocommerce-info::before,
.woocommerce-account .editorial-password-flow .woocommerce-message::before,
.woocommerce-account .editorial-password-flow .woocommerce-error::before {
  top: 50%;
  transform: translateY(-50%);
}

/* Mi cuenta · flujo contraseña · ocultar control mostrar/ocultar */
.woocommerce-lost-password .editorial-password-flow .show-password-input {
	display: none !important;
}

.woocommerce-lost-password .editorial-password-flow .password-input {
	display: block;
	width: 100%;
}

.woocommerce-lost-password .editorial-password-flow .password-input input {
	width: 100%;
	padding-right: 14px !important;
}

/* Mi cuenta > Ver pedido · versión solo lectura estilo carrito */
body.woocommerce-account.woocommerce-view-order .editorial-account-order-status,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-details,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses{width:75%;max-width:1100px;margin-left:auto;margin-right:auto;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-status,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-details,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-details *,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses *{font-family:-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-status,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-items,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses .woocommerce-column{border:1px solid var(--pf-account-line);background:var(--pf-account-panel);box-shadow:none;box-sizing:border-box;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-status{margin-top:0;margin-bottom:18px;padding:16px 18px;font-size:17px;line-height:1.5;color:#222;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-status mark{padding:0;background:transparent;color:inherit;font-weight:600;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-status__part{display:inline;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-status__part:not(:last-child)::after{content:". ";}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-details{margin-top:0;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-items{padding:18px 22px 0;border-top:1px solid var(--pf-account-line);}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-header,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-items__head,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item{display:grid;grid-template-columns:minmax(0,1fr) 98px 155px 135px;gap:0;align-items:center;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-items__head{padding:0 0 14px;border-bottom:1px solid #d9d9d9;font-size:14px;line-height:1.5;font-weight:600;text-transform:uppercase;letter-spacing:0;color:#333;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-items__head span:not(:first-child){text-align:center;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item{padding:22px 0;border-bottom:1px solid #ececec;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__book{display:grid;grid-template-columns:86px minmax(0,1fr);gap:18px;align-items:center;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__thumb a{display:block;width:86px;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__thumb img{width:86px;max-width:86px;height:auto;display:block;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__title{margin:0;font-size:18px;line-height:1.05;font-weight:600;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__title a{color:inherit;text-decoration:none;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__author{margin:7px 0 0;font-size:15px;line-height:1.3;color:#5f6468;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__historical{margin:6px 0 0;font-size:13px;line-height:1.35;color:#7b7b7b;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__meta{text-align:center;white-space:nowrap;font-size:18px;line-height:1.3;font-weight:400;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__meta-label{display:none;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__qty{text-align:center;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__subtotal{font-weight:700;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary{width:528px !important;max-width:100%;margin:28px 0 24px auto !important;padding:5px 10px 10px 10px;border-color:var(--pf-account-line);box-sizing:border-box;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary th,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary td{font-size:17px;line-height:1.5;padding:14px 0 !important;border-bottom:1px solid #e5e5e5;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary th{text-align:right !important;font-weight:700;text-transform:none;letter-spacing:0;color:#222;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary td{text-align:right !important;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary tr:last-child th,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary tr:last-child td{font-size:17px;font-weight:700;color:#111;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary caption{caption-side:top;margin:0 0 18px;padding:0;text-align:left;font-size:24px;line-height:1.1;font-weight:600;color:#222;}
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details.editorial-account-order-summary{width:528px !important;max-width:100% !important;margin:28px 0 24px auto !important;table-layout:auto !important;}
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details.editorial-account-order-summary tfoot th{width:42%;padding:14px 0 !important;text-align:right !important;}
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details.editorial-account-order-summary tfoot td{width:58%;padding:14px 0 !important;text-align:right !important;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-actions{width:528px;max-width:100%;margin:22px 0 26px auto;text-align:left;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-actions .button{border-radius:0;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses .woocommerce-customer-details{margin-top:10px;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses .woocommerce-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses .woocommerce-columns::before,
body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses .woocommerce-columns::after{content:none !important;display:none !important;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses .woocommerce-column{float:none !important;clear:none !important;width:auto !important;max-width:none;margin:0 !important;padding:18px 20px;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses .woocommerce-column h2{margin:0 0 12px;font-size:24px;line-height:1.2;font-weight:600;color:#222;}
body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses address{margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;}

@media (max-width: 1024px){
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__title{font-size:18px;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__meta{font-size:17px;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary th,
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary td{font-size:17px;}
}

@media (max-width: 768px){
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-status,
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-details,
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses{width:100%;max-width:none;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-status{padding:14px 16px;font-size:16px;margin-bottom:18px;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-status__part{display:block;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-status__part:not(:last-child)::after{content:"";}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-details{margin-top:0;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-details .woocommerce-order-details__title{font-size:30px;margin-bottom:18px;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-items{padding:16px 14px 0;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-items__head{display:none;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item{grid-template-columns:72px minmax(0,1fr);column-gap:14px;row-gap:0;align-items:start;padding:14px 0;border-bottom:1px solid #e6e6e6;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__book{display:contents;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__main{grid-column:2;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__thumb a{width:72px;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__thumb img{width:72px;max-width:72px;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__title{display:block;font-size:15px;line-height:1.15;font-weight:600;margin:0 0 3px;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__author{font-size:14px;line-height:1.2;margin-top:0;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__historical{font-size:12px;line-height:1.25;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__meta{grid-column:2;display:flex;justify-content:flex-end;align-items:baseline;text-align:right;font-size:14px;line-height:1.15;gap:8px;white-space:normal;padding:0;margin-bottom:0 !important;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__price{margin-top:4px !important;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__qty,
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__subtotal{margin-top:5px !important;}
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .editorial-account-order-item__meta,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .editorial-account-order-item__meta *,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .editorial-account-order-item__meta :last-child{margin-top:5px !important;margin-bottom:0 !important;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-item__meta-label{display:inline-block;min-width:54px;margin-right:auto;font-size:14px;line-height:1.2;font-weight:600;text-transform:uppercase;letter-spacing:0;color:#333;text-align:left;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary{width:100% !important;margin:22px 0 20px !important;padding:22px 20px 24px;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary caption{font-size:24px;margin-bottom:18px;}
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details.editorial-account-order-summary{width:100% !important;margin:28px 0 24px !important;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary th,
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary td{font-size:17px;line-height:1.5;padding:10px 0 !important;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary th{text-align:left !important;}
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details.editorial-account-order-summary tfoot th{padding:10px 0 !important;text-align:left !important;}
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details.editorial-account-order-summary tfoot td{padding:10px 0 !important;text-align:right !important;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary tr:last-child th,
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-summary tr:last-child td{font-size:17px;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-actions{width:100%;margin:18px 0 22px auto;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses .woocommerce-columns{display:grid;grid-template-columns:1fr;gap:18px;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses .woocommerce-column{padding:16px;}
  body.woocommerce-account.woocommerce-view-order .editorial-account-order-addresses .woocommerce-column h2{font-size:22px;}
}