:root {
  --primary-color: #cc2121;
  --secondary-color: #191919;
  --primary-text: #191919;
}

.order-price.mobile {
  display: none;
}

.product-info.mobile {
  display: none;
}

.heroicon {
  width: 24px;
  height: 24px;
}

.mi-account-nav .dashicons {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 4px;
}

hr {
  margin-top: 0px;
  margin-bottom: 0px;
}
h3 {
  margin-bottom: 0px !important;
}

h3.woocommerce-MyAccount-title.entry-title {
  display: none;
}

h2.dashboard-title.custom-title-wc {
  margin-bottom: 45px !important;
}

.px-16 {
  padding-left: 16px;
  padding-right: 16px;
}

.py-12 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.mb-20 {
  margin-bottom: 20px;
}

.wd-my-account-sidebar {
  padding-inline-end: 30px;
  border-inline-end: 0px solid var(--brdcolor-gray-300);
}

.custom-card-wc {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  /* border: 1px solid #eef0f3; */
  overflow: hidden;
  margin-bottom: 16px;
}

.btn-primary {
  background: #111827;
  color: #fff;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
}

.btn-primary:hover {
  color: #fff;
  background: #1b273f;
}

.btn-outline {
  border: 1px solid #d1d5db;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
  color: #111827;
}

.my-card-header-wc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  /* border-bottom: 1px solid #eef0f3; */
}

.my-card-footer-wc {
  padding: 20px 15px;
  display: flex;
  justify-content: flex-end;
}

.custom-title-wc::after {
  content: "";
  position: absolute;
  left: 46px;
  bottom: 0;
  width: 120px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e11d48, rgba(225, 29, 72, 0.15));
}

.custom-title-wc {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

.custom-title-wc .dashicons {
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 5px;
  background: linear-gradient(135deg, #ffe4e6, #fecdd3);
  color: var(--primary-color); /* rojo elegante */
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 5px;
  background: transparent;
  color: var(--primary-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline--primary {
  border: 1px solid var(--primary-color);
  color: var(--primary-color) !important;
}

.btn-outline--secondary {
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color) !important;
}

.btn-outline--success {
  color: #16a34a;
}

.btn-outline--warning {
  color: #ca8a04;
}

.btn-outline--muted {
  color: #6b7280;
}

.badge-status {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 13px;
  margin-top: 6px;
}

.status-completed {
  background: #ecfdf5;
  color: #047857;
}
.status-processing {
  background: #fff4e5;
  color: #b26a00;
}

.status-pending {
  background: #fff4e5;
  color: #b26a00;
}

.status-on-hold {
  background: #fcebea;
  color: #9b1c1c;
}
span.dashicons {
}
.menu-item-woocommerce > a .dashicons {
  margin-top: 0;
  height: 20px;
}

span.span-menu {
  margin-top: 8px;
}

.wc-pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.wc-pagination .page-numbers {
  padding: 8px 14px;
  margin: 0 4px;
  border-radius: 8px;
  background: #f3f4f6;
  text-decoration: none;
  color: #111827;
}

.wc-pagination .page-numbers.current {
  background: #111827;
  color: #fff;
}

.wc-pagination .page-numbers:hover {
  background: #e5e7eb;
}

.wc-modern-dashboard {
  max-width: 1000px;
  margin: auto;
}

.wc-dash-header h2 {
  margin-bottom: 4px;
}

.wc-dash-header p {
  color: #6b7280;
  margin-bottom: 30px;
}

.wc-dash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.wc-card {
  /* display: flex;
  align-items: baseline; */
  position: relative;
  gap: 16px;
  padding: 22px;
  border-radius: 5px;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.wc-card strong {
  font-size: 22px;
  display: block;
}

.wc-card small {
  opacity: 0.85;
}

.wc-card-icon {
  font-size: 30px;
}

.gradient-blue {
  background: linear-gradient(135deg, #2b5876, #4e4376);
}

.gradient-green {
  background: linear-gradient(135deg, #243b55, #3f4c6b);
}

.gradient-orange {
  background: linear-gradient(135deg, #141e30, #243b55);
}

/* dashboard page */

.rewiew-custom-form {
  display: none;
}

.rewiew-custom-form select[name="rating"] {
  font-size: 16px;
}

/* Cambiar color del texto "Seleccionar" */
.rewiew-custom-form select[name="rating"] option[value=""] {
  color: #777;
}

.rewiew-custom-form form input,
.rewiew-custom-form form textarea,
.rewiew-custom-form form select {
  color: #767676;
}

/* ÚLTIMO PEDIDO */
.wc-last-order h3 {
  margin-bottom: 15px;
}

.wc-last-order-box {
  background: #fff;
  border-radius: 5px;
  padding: 10px 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 15px;
}

.order-number {
  font-weight: 600;
}

.order-meta {
  display: flex;
  justify-content: space-between;
  color: #6b7280;
}

/* STATUS */
/* .order-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 13px;
    margin-top: 6px;
}
 */
.status-processing {
  background: #fff7ed;
  color: #c2410c;
}

.status-cancelled {
  background: #fef2f2;
  color: #b91c1c;
}

.order-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* end dashboard page */

/* orders page */

.wc-order-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  border-bottom: 1px solid #e5e7eb;
}

.wc-tab {
  padding: 10px 12px;
  text-decoration: none;
  color: #6b7280;
  border-bottom: 3px solid transparent;
  font-weight: 500;
}

.wc-tab.active {
  color: #111827;
  border-color: #111827;
}

.wc-tab:hover {
  color: #111827;
}

.custom-card {
  background: #fafafa;
  border-radius: 5px;
  padding: 16px;
  max-width: 420px;
}
.mi-account-nav {
  margin-top: 20px;
}
.mi-account-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mi-account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111;
}

.mi-account-nav .dashicons {
  font-size: 20px;
}

.mi-account-nav a:hover {
  background: #f1f1f1;
}

.user-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.user-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5f9cff, #7c4dff);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info .user-name {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.user-info .user-username {
  font-size: 13px;
  color: #777;
}

.user-card-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 12px;
  color: #777;
}

.stat-value {
  font-size: 15px;
  font-weight: 600;
  color: #111;
}

.stat-separator {
  width: 1px;
  height: 36px;
  background: #e5e5e5;
  margin: 0 10px;
}

.mi-account-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mi-account-nav .menu-item-woocommerce a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 0px;
  color: #222;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.mi-account-nav .menu-item-woocommerce a:hover {
  background: rgba(220, 38, 38, 0.12);
}

.mi-account-nav .menu-item-woocommerce a.is-active {
  background: rgba(220, 38, 38, 0.16);
  font-weight: 600;
}

.mi-account-nav .menu-item-woocommerce a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #cd2122;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mi-account-nav .menu-item-woocommerce a:hover::before,
.mi-account-nav .menu-item-woocommerce a.is-active::before {
  opacity: 1;
}

.mi-account-nav .dashicons {
  font-size: 20px;
  color: var(--primary-color);
}

.mi-account-nav a.is-active span {
  color: var(--primary-color);
}

.orders-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card-body {
  padding: 16px;
  position: relative;
}

.order-product {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-direction: column;
  align-content: flex-start;
}

.order-product-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: space-between;
}

.product-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.product-info {
  display: flex;
  gap: 10px;
  width: 100%;
}

.order-price .woocommerce-Price-amount,
.order-price .woocommerce-Price-amount .woocommerce-Price-currencySymbol {
  font-size: 20px;
  font-weight: 600;
}

span.woocommerce-Price-amount.amount {
  color: red;
}

span.woocommerce-Price-currencySymbol {
  color: red !important;
}

.product-info h4 {
  margin: 0;
  font-size: 15px;
}

.product-info span {
  font-size: 13px;
  color: #777;
}

.order-price {
  font-size: 18px;
  font-weight: bold;
  margin-top: -5px;
  /* position: absolute;
  right: 17px; */
}

.dashboard-footer-cta {
  display: flex;
  justify-content: right;
  margin-top: 24px;
}

.custom-star-rating {
  display: inline-flex;
  gap: 4px;
  font-size: 24px;
}

.custom-star-rating {
  display: inline-flex;
  gap: 6px;
  cursor: pointer;
}

.custom-star-rating .star-item {
  font-size: 14px;
  color: #e0e0e0;
  transition: all 0.2s ease;
}

.custom-star-rating .star-item.fas {
  color: #e6bb12;
  /*  text-shadow: 0 2px 6px rgba(255, 180, 0, 0.4); */
}

/* end orders page */

/* informar pago page */

p.gform_required_legend {
  color: #000;
}

.gform_wrapper.gravity-theme .gform_fields {
  grid-column-gap: 2%;
  grid-row-gap: 16px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(auto-fill, auto);
  width: 100%;
}

.ginput_container_fileupload {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: Arial, sans-serif;
}

.ginput_container_fileupload input[type="file"] {
  display: none;
}

.ginput_container_fileupload .file-upload-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #111827;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.ginput_container_fileupload .file-upload-btn:hover {
  background-color: #1b273f;
}

input#gform_submit_button_1 {
  background: #cd2122;
  color: #fff;
  border-radius: 5px;
}

.ginput_container_fileupload .file-upload-name {
  margin-top: 5px;
  font-size: 0.9em;
  color: #333;
  word-break: break-word;
}

select#input_1_7 {
  color: #080808;
}

.gform_wrapper.gravity-theme .gfield.gfield--width-quarter {
  -ms-grid-column-span: 3;
  grid-column: 1 !important;
}

.gform_wrapper.gravity-theme .gform_fields {
  grid-column-gap: 2%;
  grid-row-gap: 16px;
  display: flex !important;
  flex-direction: column;
  width: 100%;
}

div#field_1_13 {
  margin-top: -35px;
}

.report-payment-page .ginput_container input,
.report-payment-page .ginput_container textarea,
.report-payment-page .ginput_container select {
  /* background-color: #f5f5f5;    */
  color: #767676 !important;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

/* end informar pago page */

@media (max-width: 767px) {
  .wd-content-layout {
    padding-block: 0;
  }
  .custom-card {
    max-width: 100%;
  }
  .wd-my-account-sidebar {
    padding-inline-end: 0px;
  }
  .credentials-wrapper {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
  }
  div#field_1_13 {
    margin-top: -30px;
  }
  span#gfield_upload_rules_1_13 {
    display: none;
  }

  .gform_wrapper.gravity-theme .gform_fields {
    display: flex !important;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column;
  }

  /* .product-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  } */
}

@media (max-width: 576px) {
  .order-price.mobile {
    display: flex;
  }

  .order-price {
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-end;
  }

  .order-actions {
    justify-content: flex-end;
    width: 100%;
  }

  .order-price {
    display: none;
  }

  .order-product-row {
    display: flex;
    align-items: flex-start !important;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
  }

  span.sepatorn-custom {
    display: none;
  }

  .d-custom {
    display: flex;
    flex-direction: column;
  }

  .order-actions {
    gap: 5px;
    flex-wrap: nowrap;
  }
  span.hidde {
    display: none;
  }

  .product-info {
    flex-direction: column;
  }
  span.custom-width {
    width: max-content;
  }
}
