body.right-sidebar #primary {width:100%}
#right-sidebar {display:none !important}
/* =====================================================
   WOOCOMMERCE – MI CUENTA (CUSTOM UI)
   ===================================================== */

/* ---------- VARIABLES ---------- */
:root {
  --acc-primary: #007CB0;
  --acc-dark: #003750;
  --acc-primary-soft: #e6f4fa;
  --acc-border: #dbe7ee;
  --acc-radius: 14px;
  --acc-shadow: 0 12px 30px rgba(0, 55, 80, 0.12);
}

/* ---------- CONTENEDOR GENERAL ---------- */
body.woocommerce-account  .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
body.woocommerce-account .woocommerce::before {display:none}
body.woocommerce-account  .woocommerce-MyAccount-content, body.woocommerce-account .woocommerce-MyAccount-navigation {width:auto;float:inherit;}
/* ---------- LAYOUT ---------- */
body.woocommerce-account.logged-in .woocommerce {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}
body.woocommerce-account .u-column1.col-1 {width:400px; max-width:100%; float:inherit;margin:0 auto;background:#fff; padding-top:10px;padding: 30px 25px;
  box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.10);}
  body.woocommerce-account h1.entry-title {display:none;}
body.woocommerce-account .u-column1.col-1 h2 {text-align:center}
body.woocommerce-account .u-column2.col-2 {display:none}
/* ---------- MENÚ MI CUENTA ---------- */
.woocommerce-MyAccount-navigation {
  background: linear-gradient(160deg, var(--acc-dark), var(--acc-primary));
  border-radius: var(--acc-radius);
  padding: 24px 0;
  box-shadow: var(--acc-shadow);
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation li {
  margin: 0;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 14px 28px;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  opacity: 0.85;
}

.woocommerce-MyAccount-navigation a:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.woocommerce-MyAccount-navigation .is-active a {
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  font-weight: 600;
}

/* ---------- CONTENIDO ---------- */
.woocommerce-MyAccount-content {
  background: #ffffff;
  border-radius: var(--acc-radius);
  padding: 32px;
  box-shadow: var(--acc-shadow);
}

/* ---------- TÍTULOS ---------- */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  color: var(--acc-dark);
  margin-bottom: 20px;
}

/* ---------- TABLAS (PEDIDOS) ---------- */
.woocommerce-account table.shop_table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--acc-border);
}

.woocommerce-account table.shop_table th {
  background: var(--acc-primary-soft);
  color: var(--acc-dark);
  font-weight: 600;
  padding: 14px;
}

.woocommerce-account table.shop_table td {
  padding: 14px;
  border-top: 1px solid var(--acc-border);
}

.woocommerce-account table.shop_table tr:hover td {
  background: #f9fcfe;
}

/* ---------- BOTONES ---------- */
.woocommerce-account  a.button,
.woocommerce-account  button.button {
	margin:5px;
  background: linear-gradient(135deg, var(--acc-primary), var(--acc-dark));
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 22px;
  border: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.woocommerce-account  a.button:hover,
.woocommerce-account  button.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 55, 80, 0.25);
}

/* ---------- ENLACES ---------- */
.woocommerce-MyAccount-content a {
  color: var(--acc-primary);
  font-weight: 500;
}

.woocommerce-MyAccount-content a:hover {
  color: var(--acc-dark);
}

/* ---------- MENSAJES ---------- */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border-radius: 12px;
  padding: 16px 20px;
  border: none;
  box-shadow: var(--acc-shadow);
}

.woocommerce-message {
  background: linear-gradient(135deg, #e8f7ef, #d1f0e2);
  color: #1f6b45;
	padding-left:50px
}

.woocommerce-error {
  background: linear-gradient(135deg, #fdecea, #f9d3cf);
  color: #8a1f11;
}

.woocommerce-info {
  background: linear-gradient(135deg, var(--acc-primary-soft), #dff2fb);
  color: var(--acc-dark);
	padding-left:50px
}

/* ---------- FORMULARIOS ---------- */
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--acc-border);
  transition: all 0.2s ease;
}

.woocommerce-MyAccount-content input:focus {
  outline: none;
  border-color: var(--acc-primary);
  box-shadow: 0 0 0 3px rgba(0, 124, 176, 0.15);
}
.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions .woocommerce-button.button.cancel {display:none}
/* =====================================================
   RESPONSIVE
   ===================================================== */
.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .woocommerce-button.button.pay.order-actions-button {background: #7ad03a;}
.woocommerce-table.woocommerce-table--order-details.shop_table.order_details  .woocommerce-button.button.cancel.order-actions-button {float:right;}
.woocommerce-account {background-image: url(https://www.villanoheda.org/wp-content/uploads/2025/04/fondo1.webp);
  background-color: rgb(140,140,140);
  position: relative;}
.woocommerce-account  .inside-article {background:transparent !important}
@media (max-width: 900px) {

  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
  }

  .woocommerce-MyAccount-navigation {
    padding: 12px;
  }

  .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 8px;
    justify-content: space-around;
  }

  .woocommerce-MyAccount-navigation a {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
  }

  .woocommerce-MyAccount-navigation .is-active a {
    background: rgba(255, 255, 255, 0.35);
  }
}

@media (max-width: 600px) {

  .woocommerce-MyAccount-content {
    padding: 20px;
  }

  .woocommerce-account table.shop_table,
  .woocommerce-account table.shop_table thead {
    display: block;
  }

  .woocommerce-account table.shop_table tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid var(--acc-border);
    border-radius: 12px;
    overflow: hidden;
  }

  .woocommerce-account table.shop_table td {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
  }

  .woocommerce-account table.shop_table td::before {
    content: attr(data-title);
    font-weight: 600;
    color: var(--acc-dark);
  }
}
.woocommerce-order > p:not(.woocommerce-notice) {
  display: none;
}
/* ================================
   MENSAJE RESERVA PENDIENTE
   ================================ */

body.woocommerce-order-received #page #content .wc-pending-confirmation-message {
  margin: 24px 0 32px;
  padding: 26px 28px;
  border-radius: 16px;

  background: linear-gradient(135deg, #007CB0 0%, #003750 100%);
  color: #ffffff;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
  padding-top:30px; padding-bottom:20px;
}
body .woocommerce-message.wc-pending-confirmation-message strong {color:#fff }
body.woocommerce-checkout #page #content .woocommerce-message.wc-pending-confirmation-message p a {border:solid 2px #fff; color:#fff; padding:5px 10px;margin:0 10px;background: rgba(255,255,255,0.2);border-radius:5px; }
/* Línea decorativa superior */
body.woocommerce-order-received #page #content .wc-pending-confirmation-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: rgba(255, 255, 255, 0.35);
  display:none;
}

/* Título */
.wc-pending-confirmation-message h3 {
  margin: 0 0 14px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

/* Texto */
.wc-pending-confirmation-message p {
  margin: 0 0 12px;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #f1f6f9;
}

.wc-pending-confirmation-message p:last-child {
  margin-bottom: 0;
}

/* Enlaces */
.wc-pending-confirmation-message a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

.wc-pending-confirmation-message a:hover {
  opacity: 0.85;
}

/* Icono visual (reloj / estado) */
.wc-pending-confirmation-message::after {
  content: '⏳';
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.8rem;
  opacity: 0.4;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
  .wc-pending-confirmation-message {
    padding: 22px 20px;
    border-radius: 14px;
  }

  .wc-pending-confirmation-message h3 {
    font-size: 1.2rem;
  }

  .wc-pending-confirmation-message p {
    font-size: 0.9rem;
  }

  .wc-pending-confirmation-message::after {
    top: 14px;
    right: 14px;
    font-size: 1.5rem;
  }
}