/* ============================================
   MARKETPLACE DESIGN SYSTEM - Autodesguaces Alicante
   Propuesta A - Marketplace Moderno
   ============================================ */

:root {
  --mp-primary: #e63328;
  --mp-primary-dark: #c4281f;
  --mp-primary-light: #ff4d42;
  --mp-accent: #ff6b35;
  --mp-success: #00c853;
  --mp-bg: #f8f9fb;
  --mp-card: #fff;
  --mp-text: #1a1a2e;
  --mp-text-secondary: #6b7280;
  --mp-border: #e5e7eb;
  --mp-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --mp-shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --mp-shadow-lg: 0 10px 25px rgba(0,0,0,.1);
  --mp-radius: 12px;
  --mp-radius-sm: 8px;
}

/* ===== GLOBAL FONT OVERRIDE ===== */
body, .page, .pagina,
h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea, label, div {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Material Icons — debe ir DESPUÉS del override global para ganar especificidad */
.material-icons-round {
  font-family: 'Material Icons Round' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--mp-bg) !important;
  color: var(--mp-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TOP BAR ===== */
.mp-topbar {
  background: var(--mp-text);
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}
.mp-topbar .mp-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.mp-topbar a {
  color: #d1d5db !important;
  text-decoration: none;
  transition: color .2s;
}
.mp-topbar a:hover {
  color: #fff !important;
}
.mp-topbar .material-icons-round {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 4px;
}

/* ===== HEADER ===== */
.mp-header {
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--mp-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  overflow: visible;
}
.mp-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
}
.mp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
  padding: 4px 8px 4px 0;
  border-right: 1px solid var(--mp-border);
  margin-right: 4px;
}
.mp-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Search box */
.mp-search-box {
  flex: 1;
  max-width: 600px;
  position: relative;
}
.mp-search-box input {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid var(--mp-border);
  border-radius: 50px;
  font-size: 15px;
  outline: none;
  transition: .3s;
  background: #fff;
}
.mp-search-box input:focus {
  border-color: var(--mp-primary);
  box-shadow: 0 0 0 3px rgba(230,51,40,.12);
}
.mp-search-btn {
  background: var(--mp-primary);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  flex-shrink: 0;
}
.mp-search-btn:hover {
  background: var(--mp-primary-dark);
}

/* Header actions */
.mp-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mp-header-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--mp-radius-sm);
  text-decoration: none !important;
  color: var(--mp-text) !important;
  font-size: 14px;
  font-weight: 500;
  transition: .2s;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}
.mp-header-btn:hover {
  background: #f3f4f6;
  color: var(--mp-text) !important;
}
.mp-header-btn .material-icons-round {
  font-size: 22px;
}
.mp-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--mp-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-btn-login {
  background: var(--mp-primary) !important;
  color: #fff !important;
  border-radius: 50px;
  padding: 10px 20px !important;
}
.mp-btn-login:hover {
  background: var(--mp-primary-dark) !important;
  color: #fff !important;
}

/* ===== CATEGORIES NAV ===== */
.mp-cat-nav {
  background: #fff;
  border-bottom: 1px solid var(--mp-border);
  overflow-x: auto;
}
.mp-cat-nav::-webkit-scrollbar { display: none; }
.mp-cat-nav-inner {
  display: flex;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.mp-cat-nav a {
  padding: 12px 20px;
  text-decoration: none !important;
  color: var(--mp-text-secondary) !important;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: .2s;
}
.mp-cat-nav a:hover, .mp-cat-nav a.active {
  color: var(--mp-primary) !important;
  border-bottom-color: var(--mp-primary);
}

/* ===== HERO ===== */
.mp-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.mp-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230,51,40,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.mp-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.mp-hero-content { flex: 1; }
.mp-hero h1 {
  color: #fff !important;
  font-size: 42px;
  font-weight: 800 !important;
  line-height: 1.15;
  margin-bottom: 16px;
}
.mp-hero h1 span { color: var(--mp-primary-light); }
.mp-hero p {
  color: #94a3b8;
  font-size: 18px;
  margin-bottom: 28px;
  max-width: 500px;
}
.mp-hero-search {
  display: flex;
  gap: 12px;
  max-width: 520px;
}
.mp-hero-search input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: var(--mp-radius);
  font-size: 16px;
  outline: none;
}
.mp-hero-search button {
  padding: 16px 32px;
  background: var(--mp-primary);
  color: #fff;
  border: none;
  border-radius: var(--mp-radius);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}
.mp-hero-search button:hover {
  background: var(--mp-primary-dark);
  transform: translateY(-1px);
}
.mp-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
}
.mp-hero-stat { color: #fff; }
.mp-hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700 !important;
}
.mp-hero-stat span { color: #94a3b8; font-size: 13px; }

/* ===== TRUST BAR ===== */
.mp-trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--mp-border);
  padding: 20px 0;
}
.mp-trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.mp-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mp-text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.mp-trust-item .material-icons-round {
  font-size: 28px;
  color: var(--mp-success);
}

/* ===== SECTION HEADERS ===== */
.mp-section {
  padding: 48px 0;
}
.mp-section .mp-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.mp-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.mp-section-header h2 {
  font-size: 24px;
  font-weight: 700 !important;
  color: var(--mp-text);
}
.mp-section-header a {
  color: var(--mp-primary) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== PRODUCT GRID ===== */
.mp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mp-product-card {
  background: #fff;
  border-radius: var(--mp-radius);
  overflow: hidden;
  transition: .3s;
  box-shadow: var(--mp-shadow);
  border: 1px solid var(--mp-border);
  display: flex;
  flex-direction: column;
}
.mp-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mp-shadow-lg);
}
.mp-product-img {
  position: relative;
  padding-top: 75%;
  background: #f3f4f6;
  overflow: hidden;
}
.mp-product-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.mp-product-card:hover .mp-product-img img {
  transform: scale(1.04);
}
.mp-product-img .mp-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--mp-success);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.mp-product-body {
  padding: 16px 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 90px;
}
.mp-product-body .mp-brand {
  font-size: 12px;
  color: var(--mp-text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.mp-product-body h3 {
  font-size: 15px !important;
  font-weight: 600 !important;
  margin-bottom: 6px;
  line-height: 1.3;
  color: var(--mp-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.mp-product-body .mp-specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: 0;
}
.mp-product-body .mp-spec {
  background: #f3f4f6;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--mp-text-secondary);
}
.mp-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 16px;
  margin-top: auto;
  border-top: 1px solid var(--mp-border);
  min-height: 64px;
}
.mp-product-price {
  font-size: 20px;
  font-weight: 700 !important;
  color: var(--mp-success);
  letter-spacing: -0.3px;
}
.mp-product-price small {
  font-size: 11px;
  color: var(--mp-text-secondary);
  font-weight: 400;
  display: block;
}
.mp-btn-cart {
  background: var(--mp-primary);
  color: #fff !important;
  border: none;
  padding: 10px 18px;
  border-radius: var(--mp-radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  white-space: nowrap;
}
.mp-btn-cart:hover {
  background: var(--mp-primary-dark);
  transform: translateY(-1px);
  color: #fff !important;
}

/* ===== VEHICLE CARDS ===== */
.mp-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mp-vehicle-card {
  background: #fff;
  border-radius: var(--mp-radius);
  overflow: hidden;
  box-shadow: var(--mp-shadow);
  border: 1px solid var(--mp-border);
  display: flex;
  transition: .3s;
  text-decoration: none !important;
}
.mp-vehicle-card:hover { box-shadow: var(--mp-shadow-md); }
.mp-vehicle-thumb {
  width: 160px;
  flex-shrink: 0;
  background: #f3f4f6;
  overflow: hidden;
}
.mp-vehicle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mp-vehicle-info {
  padding: 16px;
  flex: 1;
}
.mp-vehicle-info h4 {
  font-size: 16px;
  font-weight: 600 !important;
  margin-bottom: 4px;
  color: var(--mp-text);
}
.mp-vehicle-info .mp-meta {
  font-size: 13px;
  color: var(--mp-text-secondary);
  margin-bottom: 12px;
}
.mp-btn-outline {
  padding: 8px 16px;
  border: 2px solid var(--mp-primary);
  color: var(--mp-primary) !important;
  background: none;
  border-radius: var(--mp-radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  text-decoration: none !important;
  display: inline-block;
}
.mp-btn-outline:hover {
  background: var(--mp-primary);
  color: #fff !important;
}

/* ===== PROMO BANNER ===== */
.mp-promo {
  background: linear-gradient(135deg, var(--mp-primary) 0%, var(--mp-accent) 100%);
  border-radius: var(--mp-radius);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  margin: 0 auto;
  max-width: 1280px;
}
.mp-promo h3 {
  font-size: 28px;
  font-weight: 700 !important;
  margin-bottom: 8px;
  color: #fff;
}
.mp-promo p {
  opacity: .9;
  font-size: 16px;
  max-width: 500px;
  color: #fff;
}
.mp-promo .mp-btn-promo {
  background: #fff;
  color: var(--mp-primary);
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}
.mp-promo .mp-btn-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

/* ===== FOOTER ===== */
.mp-footer {
  background: #1a1a2e !important;
  color: #94a3b8;
  padding: 60px 0 0;
}
.mp-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.mp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.mp-footer-col h4 {
  color: #fff !important;
  font-size: 16px;
  font-weight: 600 !important;
  margin-bottom: 16px;
}
.mp-footer-col a {
  display: block;
  color: #94a3b8 !important;
  text-decoration: none !important;
  padding: 4px 0;
  font-size: 14px;
  transition: .2s;
}
.mp-footer-col a:hover {
  color: #fff !important;
}
.mp-footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #94a3b8;
}
.mp-footer-social {
  display: flex;
  gap: 12px;
}
.mp-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--mp-radius-sm);
  background: rgba(255,255,255,.08);
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: .2s;
  padding: 0 !important;
}
.mp-footer-social a:hover {
  background: var(--mp-primary) !important;
}
.mp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}
.mp-payment-icons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 12px;
}
.mp-payment-icon {
  background: rgba(255,255,255,.08);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

/* ===== COOKIE BANNER OVERRIDE ===== */
.mp-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999999;
  background: var(--mp-text);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
}
.mp-cookie-banner a { color: var(--mp-primary-light) !important; }
.mp-cookie-accept {
  background: var(--mp-primary);
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  transition: .2s;
}
.mp-cookie-accept:hover { background: var(--mp-primary-dark); }

/* ===== ITEM RECAMBIO CARD (LISTADO) ===== */
.mp-item-recambio {
  display: flex;
  background: #fff;
  border-radius: var(--mp-radius);
  border: 1px solid var(--mp-border);
  box-shadow: var(--mp-shadow);
  overflow: hidden;
  transition: .3s;
  margin-bottom: 12px;
}
.mp-item-recambio:hover {
  box-shadow: var(--mp-shadow-md);
  transform: translateY(-2px);
}
.mp-item-recambio-img {
  width: 180px;
  min-height: 140px;
  flex-shrink: 0;
  background: #f3f4f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-item-recambio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mp-item-recambio-body {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}
.mp-item-recambio-body h3 {
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-bottom: 6px;
  color: var(--mp-text);
}
.mp-item-recambio-body .mp-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.mp-item-recambio-body .mp-badge {
  background: #f3f4f6;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  color: var(--mp-text-secondary);
  font-weight: 500;
}
.mp-item-recambio-body .mp-desc {
  font-size: 13px;
  color: var(--mp-text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}
.mp-item-recambio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

/* ===== ITEM VEHICULO CARD (LISTADO) ===== */
.mp-item-vehiculo {
  display: flex;
  background: #fff;
  border-radius: var(--mp-radius);
  border: 1px solid var(--mp-border);
  box-shadow: var(--mp-shadow);
  overflow: hidden;
  transition: .3s;
  margin-bottom: 12px;
}
.mp-item-vehiculo:hover {
  box-shadow: var(--mp-shadow-md);
}
.mp-item-vehiculo-img {
  width: 180px;
  min-height: 140px;
  flex-shrink: 0;
  background: #f3f4f6;
  overflow: hidden;
}
.mp-item-vehiculo-img img,
.mp-item-vehiculo-img .divico {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mp-item-vehiculo-body {
  flex: 1;
  padding: 16px 20px;
}
.mp-item-vehiculo-body h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 6px;
  color: var(--mp-text);
}
.mp-item-vehiculo-body .mp-vehicle-meta {
  font-size: 14px;
  color: var(--mp-text-secondary);
  margin-bottom: 12px;
}

/* ===== RADZEN OVERRIDES for new style ===== */
.rz-button, .rz-paginator-element {
  border-radius: var(--mp-radius-sm) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}

/* ===== PAGE CONTAINER ===== */
.mp-page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .mp-product-grid { grid-template-columns: repeat(3, 1fr); }
  .mp-hero h1 { font-size: 32px; }
  .mp-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .mp-product-grid { grid-template-columns: repeat(2, 1fr); }
  .mp-vehicle-grid { grid-template-columns: 1fr; }
  .mp-hero { padding: 40px 0; }
  .mp-hero h1 { font-size: 28px; }
  .mp-hero-stats { gap: 24px; }
  .mp-promo { flex-direction: column; text-align: center; gap: 20px; padding: 32px 24px; }
  .mp-header-btn span:not(.material-icons-round):not(.mp-cart-badge) { display: none; }
  .mp-topbar { display: none; }
  .mp-item-recambio { flex-direction: column; }
  .mp-item-recambio-img { width: 100%; min-height: 200px; }
  .mp-item-vehiculo { flex-direction: column; }
  .mp-item-vehiculo-img { width: 100%; min-height: 180px; }
}
@media (max-width: 480px) {
  .mp-product-grid { grid-template-columns: 1fr; }
}

/* ===== SEARCH LAYOUT ===== */
.mp-buscar-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.mp-buscar-resultados {
  flex: 1;
  min-width: 0;
}

/* ===== SIDEBAR FILTERS ===== */
.mp-sidebar-filtros {
  width: 300px;
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--mp-radius);
  border: 1px solid var(--mp-border);
  box-shadow: var(--mp-shadow);
  padding: 20px;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}
.mp-sidebar-filtros::-webkit-scrollbar {
  width: 6px;
}
.mp-sidebar-filtros::-webkit-scrollbar-track {
  background: transparent;
}
.mp-sidebar-filtros::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}
.mp-sidebar-filtros::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* ===== DETAIL PAGE RESPONSIVE ===== */
.mp-recambio-imagen-col {
  background: transparent;
}

@media (max-width: 900px) {
  .mp-buscar-layout {
    flex-direction: column;
    gap: 16px;
  }
  .mp-sidebar-filtros {
    position: static !important;
    width: 100% !important;
    max-height: none;
    overflow-y: visible;
  }
  .mp-buscar-resultados {
    width: 100%;
  }
  .mp-recambio-imagen-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
  }
}

/* ===== CHECKOUT RESPONSIVE ===== */
@media (max-width: 900px) {
  .mp-checkout-card .divico { display: none !important; }
}

/* ===== WHATSAPP BUTTON REFRESH ===== */
.whatsapp {
  box-shadow: 0 4px 12px rgba(37, 211, 102, .4) !important;
}

/* ===== GALLERY BUTTONS HOVER ===== */
.mp-recambio-imagen-col button:hover {
  background: rgba(255,255,255,1) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.2) !important;
}

/* ===== MI CUENTA RESPONSIVE ===== */
@media (max-width: 768px) {
  .mp-page-container {
    padding: 16px !important;
  }
}

/* ===== ACCOUNT SECTION CARDS ===== */
.mp-account-card {
  background: #fff;
  border-radius: var(--mp-radius);
  border: 1px solid var(--mp-border);
  box-shadow: var(--mp-shadow);
  padding: 20px;
  margin-bottom: 12px;
  transition: box-shadow .2s;
}
.mp-account-card:hover {
  box-shadow: var(--mp-shadow-md);
}
.mp-account-card-clickable {
  cursor: pointer;
}

/* Order cards */
.mp-order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.mp-order-num {
  font-weight: 700;
  font-size: 15px;
  color: var(--mp-text);
}
.mp-order-date {
  font-size: 13px;
  color: var(--mp-text-secondary);
}
.mp-order-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.mp-order-status-default {
  background: #f3f4f6;
  color: var(--mp-text-secondary);
}
.mp-order-status-pending {
  background: #fef3c7;
  color: #92400e;
}
.mp-order-status-processing {
  background: #dbeafe;
  color: #1e40af;
}
.mp-order-status-shipped {
  background: #d1fae5;
  color: #065f46;
}
.mp-order-status-completed {
  background: #d1fae5;
  color: #065f46;
}
.mp-order-status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}
.mp-order-details {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--mp-text-secondary);
}
.mp-order-detail-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mp-order-detail-item .material-icons-round {
  font-size: 16px;
}
.mp-order-total {
  font-weight: 700;
  font-size: 16px;
  color: var(--mp-success);
}
.mp-order-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--mp-border);
  flex-wrap: wrap;
}

/* Tracking section */
.mp-tracking {
  margin-top: 12px;
  padding: 12px 16px;
  background: #f0f9ff;
  border-radius: var(--mp-radius-sm);
  border: 1px solid #bae6fd;
}
.mp-tracking-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #0369a1;
  margin-bottom: 6px;
}
.mp-tracking-header .material-icons-round {
  font-size: 16px;
}
.mp-tracking-code {
  font-size: 13px;
  color: var(--mp-text);
  font-family: 'Courier New', monospace;
}
.mp-tracking-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #0369a1 !important;
  text-decoration: none !important;
}
.mp-tracking-link:hover {
  text-decoration: underline !important;
}

/* Address & fiscal cards */
.mp-address-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.mp-address-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--mp-radius-sm);
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mp-address-icon .material-icons-round {
  font-size: 22px;
  color: var(--mp-primary);
}
.mp-address-info {
  flex: 1;
  min-width: 0;
}
.mp-address-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--mp-text);
  margin-bottom: 2px;
}
.mp-address-detail {
  font-size: 13px;
  color: var(--mp-text-secondary);
  line-height: 1.5;
}
.mp-address-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.mp-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--mp-radius-sm);
  border: 1px solid var(--mp-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s;
  color: var(--mp-text-secondary);
}
.mp-icon-btn:hover {
  background: #f3f4f6;
  color: var(--mp-text);
}
.mp-icon-btn-danger:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}
.mp-icon-btn .material-icons-round {
  font-size: 18px;
}

/* Add button */
.mp-add-card {
  border: 2px dashed var(--mp-border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border-radius: var(--mp-radius);
  cursor: pointer;
  transition: .2s;
  color: var(--mp-text-secondary);
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  margin-bottom: 12px;
}
.mp-add-card:hover {
  border-color: var(--mp-primary);
  color: var(--mp-primary);
  background: rgba(230,51,40,.03);
}
.mp-add-card .material-icons-round {
  font-size: 20px;
}

/* Empty state */
.mp-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--mp-text-secondary);
}
.mp-empty-state .material-icons-round {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 12px;
}
.mp-empty-state p {
  font-size: 15px;
  margin-bottom: 16px;
}

/* Counter */
.mp-counter {
  text-align: right;
  font-size: 12px;
  color: var(--mp-text-secondary);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .mp-order-header {
    flex-direction: column;
    gap: 8px;
  }
  .mp-order-details {
    gap: 12px;
  }
  .mp-address-card {
    flex-direction: column;
    gap: 12px;
  }
  .mp-address-actions {
    align-self: flex-end;
  }
}
