body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  background: #fff;
}

/*CAMBIO DE CONTRASEÑAS*/
.password-form {
  max-width: 420px;
  width: 100%;
  margin: 0 0 0 60px;
}

.password-form .form-title {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.password-form .form-group {
  margin-bottom: 18px;
}

.password-form .form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #555;
  letter-spacing: 0.5px;
}

.password-form .input-wrapper {
  position: relative;
}

.password-form .form-input {
  width: 100%;
  height: 42px;
  padding: 0 42px 0 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border 0.2s ease;
}

.password-form .form-input:focus {
  border-color: #333;
}

.btn-toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
}

.password-form .form-actions {
  margin-top: 10px;
}

.password-form .btn-primary {
  width: 100%;
  height: 42px;
  background: #475567;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.password-form .btn-primary:hover {
  background: #323c49;
}

/*DASHBOARD*/
.dashboard-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashboard-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 18px;
}

.dashboard-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.dashboard-subtitle {
  font-size: 16px;
  margin-bottom: 10px;
}

.dashboard-text {
  font-size: 14px;
  color: #555;
}

.dashboard-list {
  margin-top: 10px;
  padding-left: 18px;
}

.dashboard-list li {
  margin-bottom: 6px;
  font-size: 14px;
}

.dashboard-announcement {
  background: #f9f9f9;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 14px;
}


/*PEDIDO*/
.order-container {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 30px 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.order-container h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.order-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.order-info div {
  background: #f4f7ff;
  padding: 12px;
  border-radius: 8px;
}

.customer-box {
  font-family: "Montserrat", sans-serif;
  background: #f4f7ff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.customer-info {
  margin-top: 5px;
  margin-left: 10px;
}

.customer-box p {
  margin-top: 4px;
}


.order-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.order-table th {
  text-align: left;
  padding: 10px;
  border-bottom: 2px solid #eee;
}

.order-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.order-summary {
  margin-top: 20px;
  text-align: right;
  padding-right: 20px;
}

.order-summary h3 {
  margin-top: 10px;
}

/* STATUS BADGES */

.status-order,
.status-payment,
.status-shipping {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-block;
}

/* colores */
.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-paid {
  background: #d4edda;
  color: #155724;
}

.status-approved {
  background: #d4edda;
  color: #155724;
}

.status-rejected {
  background: #f8d7da;
  color: #721c24;
}

.status-preparing {
  background: #cce5ff;
  color: #004085;
}

.status-shipped {
  background: #e2e3ff;
  color: #383d7c;
}

.status-delivered {
  background: #d1ecf1;
  color: #0c5460;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.orders-table th {
  text-align: left;
  font-size: 14px;
  color: #666;
  padding: 10px;
  border-bottom: 2px solid #eee;
}

.orders-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.orders-table tr:hover {
  background: #fafafa;
}

/* BOTÓN */
.btn-view {
  background: #2c3e50;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
}

.btn-view:hover {
  background: #333;
}

/* STATUS */
.status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-approved {
  background: #d4edda;
  color: #155724;
}

.status-rejected {
  background: #f8d7da;
  color: #721c24;
}

.status-preparing {
  background: #cce5ff;
  color: #004085;
}

.status-shipped {
  background: #e2e3ff;
  color: #383d7c;
}

.status-delivered {
  background: #d1ecf1;
  color: #0c5460;
}

/* PAGINACIÓN */
.pagination {
  margin-top: 20px;
  display: flex;
  gap: 5px;
}

.pagination a {
  padding: 6px 10px;
  border-radius: 6px;
  background: #f1f1f1;
  text-decoration: none;
  color: #333;
}

.pagination a.active {
  background: #111;
  color: #fff;
}


.product-price {
  margin-bottom: 2px;
}

.price-currents {
  font-weight: bold;
  color: #2c3e50;
}

.price-olds {
  text-decoration: line-through;
  font-size: 0.9em;
  margin-right: 5px;
  color: #2c3e50;
  font-weight: normal;
}

.header {
  width: 100%;
  height: 50px;
  padding: 20px;
  background: #ccc;
  color: #111;
}

.price-old {
  text-decoration: line-through;
  font-size: 0.9em;
  margin-right: 5px;
  color: #80AFD2;
  font-weight: normal;
}

.price-current {
  font-weight: bold;
  color: #5F90B5;
}



.data-shipping {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
}

.fileData {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.onesData {
  display: flex;
  flex-direction: column;
}

.onesData select,
.onesData input,
.onesData textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #2c3e50;
  background-color: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  transition: all 0.2s ease;
  outline: none;
}

.onesData select:focus,
.onesData input:focus,
.onesData textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.onesData select:disabled,
.onesData input:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  border-color: #e5e7eb;
}

.onesData textarea {
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}

.onesData input::placeholder,
.onesData textarea::placeholder {
  color: #9ca3af;
}

#zoneBox select {
  width: 100%;
}


/* Responsive */
@media (max-width: 768px) {
  .data-shipping {
    padding: 1.5rem;
  }

  .fileData {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .btn-primary,
  .btn-cancel {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 480px) {
  .data-shipping {
    padding: 1rem;
    border-radius: 8px;
  }
}

.basic-wrapper {
  font-family: 'Montserrat', sans-serif;
  max-width: 100%;
  margin: 80px auto 0;
  padding: 30px;
  background: #fff;
}

.basic-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cart-wrapper {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  padding: 0 30px;
  align-items: start;
  background: #fff;
}

.cart-table {
  padding: 20px 10px 40px;
  width: 100%;
  background: #fff;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.cart-table h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 36px;
  color: #1a202c;
  letter-spacing: -0.5px;
}

.cart-items {
  width: 100%;
}

.cart-items thead {
  background: linear-gradient(180deg, #f7f9fc 0%, #f0f3f7 100%);
  border-bottom: 1px solid #e2e8f0;
}

.cart-items th {
  padding: 20px 28px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #718096;
}

.cart-items td {
  padding: 15px;
  border-bottom: 1px solid #edf2f7;
  font-size: 15px;
  color: #4a5568;
}

.cart-items tbody tr {
  transition: background 0.3s ease;
}

.cart-items tbody tr:hover {
  background: #fafbfc;
}

.cart-items tr:last-child td {
  border-bottom: none;
}

.product-info img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.quantity-input {
  width: 80px;
  padding: 10px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fafbfc;
}

.quantity-input:hover {
  border-color: #cbd5e0;
}

.quantity-input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-remove {
  background: #f7fafc;
  border: none;
  color: #a0aec0;
  font-size: 16px;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-remove:hover {
  background: #fee;
  color: #fc8181;
  transform: scale(1.1);
}

.cart-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 20px;
}

.coupon-box {
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 520px;
}

.coupon-box input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.coupon-box input::placeholder {
  color: #a0aec0;
}

.coupon-box input:focus {
  outline: none;
  border-color: #5F90B5;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-apply-coupon,
.btn-update-cart {
  padding: 14px 28px;
  background: #5F90B5;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn-apply-coupon:hover,
.btn-update-cart:hover {
  transform: translateY(-1px);
}

.btn-apply-coupon:active,
.btn-update-cart:active {
  transform: translateY(0);
}

.cart-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 24px;
}

.info-shipping,
.info-data {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.info-shipping h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a202c;
  letter-spacing: -0.3px;
}

.info-shipping select {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 14px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #4a5568;
}

.info-shipping select:hover {
  border-color: #cbd5e0;
}

.info-shipping select:focus {
  outline: none;
  border-color: #475567;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.info-shipping select:disabled {
  background: #f7fafc;
  cursor: not-allowed;
  opacity: 0.5;
}

.info-data h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #1a202c;
  padding-bottom: 20px;
  border-bottom: 2px solid #edf2f7;
  letter-spacing: -0.4px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 15px;
  color: #4a5568;
  font-weight: 500;
}

.summary-line.total {
  margin-top: 20px;
  padding-top: 24px;
  border-top: 2px solid #e2e8f0;
  font-size: 26px;
  font-weight: 700;
  color: #1a202c;
}

#shipping_methods_box {
  margin-top: 18px;
}

#zoneBox {
  margin-bottom: 14px;
}

@media (max-width: 1024px) {
  .cart-wrapper {
    grid-template-columns: 1fr;
  }

  .cart-info {
    position: static;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .basic-wrapper {
    padding: 40px 16px;
  }

  .cart-items {
    font-size: 13px;
  }

  .cart-items th,
  .cart-items td {
    padding: 16px 14px;
  }

  .cart-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .coupon-box {
    max-width: none;
  }

  .info-shipping,
  .info-data {
    padding: 24px;
  }
}

.shipping-option {
  display: block;
  padding: 10px 18px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s ease;
}

.shipping-option:hover {
  border-color: #999;
  background: #f9f9f9;
}

.shipping-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.shipping-row input[type="radio"] {
  transform: scale(1.2);
  cursor: pointer;
}

.shipping-name {
  flex: 1;
  font-weight: 600;
  font-size: 15px;
}

.shipping-price {
  font-weight: bold;
  font-size: 15px;
}

.shipping-note {
  margin-left: 28px;
  margin-top: 6px;
  font-size: 13px;
  color: #666;
}





.tax-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 1rem;
}

.tittleH2 {
  margin-bottom: 10px;
}

.product-variant-preview {
  margin: 5px 0;
}


.checkout-wrapper {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 32px;
  max-width: 1400px;
  margin: 40px auto;
}

.checkout-left {
  background: #fff;
}

#step-customer {
  min-height: 300px;
}

.checkout-step {
  border: 1px solid #e5e5e5;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
}

.checkout-step h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.checkout-step.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.btn-login {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* ---------- PAYMENT OPTIONS ---------- */

.checkout-step label {
  display: block;
  margin-bottom: 10px;
  cursor: pointer;
}

/* ---------- RIGHT COLUMN ---------- */

.checkout-right {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  padding: 20px;
  border-radius: 6px;
}

.checkout-right h3 {
  margin-bottom: 16px;
}

.order-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.order-line.discount {
  color: #c0392b;
}

.order-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  margin-top: 10px;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 14px 0;
}

/* ---------- TERMS & BUTTON ---------- */

.terms {
  display: block;
  margin: 16px 0;
  font-size: 14px;
}

.btn-finish {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-finish:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .checkout-wrapper {
    grid-template-columns: 1fr;
  }
}





.product-img-wrapper {
  position: relative;
}

.product-badge {
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  background: #475567;
  color: #ddd;
  top: 10px;
  left: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 8px;
  border-radius: 6px;
  z-index: 2;
  letter-spacing: 0.5px;
}

.product-badge {
  animation: badgeFloat 2.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes badgeFloat {
  0% {
    transform: scale(1) translateY(0);
  }

  50% {
    transform: scale(1.06) translateY(-3px);
  }

  100% {
    transform: scale(1) translateY(0);
  }
}

.price-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;

}

.cart-extra-row td {
  background: #f9fafb;
  padding: 10px 15px;
  border-top: none;
}

.cart-product-link {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
}

.cart-product-link:hover {
  text-decoration: none;
  color: #17212b;
}

.saving-box {
  margin-top: 6px;
  padding: 8px 10px;
  background: linear-gradient(90deg, #dff0fd, #f8fcff8c);
  border-left: 4px solid #5F90B5;
  border-radius: 6px;
  font-size: 13px;
  color: #4a5568;
  animation: fadeIn 0.3s ease-in-out;
}

.saving-box-not {
  margin-top: 6px;
  padding: 8px 10px;
  background: linear-gradient(90deg, #e4e4e4, #f4fff859);
  border-left: 4px solid #3b3b3b;
  border-radius: 6px;
  font-size: 13px;
  color: #2c2c2c;
  animation: fadeIn 0.3s ease-in-out;
}

.saving-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  opacity: .7;
}

.saving-unit {
  font-size: 11px;
  margin-top: 4px;
  color: #4d4d4d;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.cart-items td:nth-child(2) {
  width: 50%;
}

.cart-items td:nth-child(3) {
  width: 30%;
}

.cart-items td.item-subtotal {
  width: 15%;
  text-align: right;
  font-weight: 500;
}

.cart-items td:nth-child(6) {
  width: 40px;
  text-align: center;
}

#productGrid::after {
  content: '';
  display: block;
  clear: both;
}

.product-card {
  min-height: 330px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  overflow: hidden;
}

.product-name {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  color: #475567;
  font-size: 15px;
  margin: 10px 0 5px;
  text-align: center;
  padding: 0 12px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card button {
  margin-top: auto;
}

.product-card:hover .img-overlay {
  opacity: 1;
  pointer-events: all;
}

/* GRID PRODUCTOS */
.basic-grid .product-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px;
}

/* tablets */
@media (max-width: 1024px) {
  .basic-grid .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px;
  }
}

/* mobile */
@media (max-width: 768px) {
  .basic-grid .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }

  .product-card {
    padding: 8px;
    gap: 5px;
  }

  .product-name {
    font-size: 13px;
  }
}

/* móviles pequeños */
@media (max-width: 480px) {
  .basic-grid .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }
}

/* asegurar tarjetas */
.basic-grid .product-grid>* {
  width: 100%;
}