/* Cardurile cu prețuri de la Ministerul Prețurilor. Culorile urmează site-ul comparatorului. */
.mp-list { display: grid; gap: 12px; margin: 1.5em 0; }
.mp-card { position: relative; display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid #e3e6eb; border-radius: 12px; background: #fff; color: #14171f; }
.mp-img { flex: 0 0 96px; }
.mp-img img { display: block; width: 96px; height: 96px; object-fit: contain; margin: 0; border-radius: 8px; background: #fff; }
.mp-body { flex: 1; min-width: 0; }
.mp-title { display: block; font-weight: 600; line-height: 1.35; color: inherit; text-decoration: none; }
.mp-title:hover { text-decoration: underline; }
.mp-price { margin: 4px 0 8px; font-size: 15px; }
.mp-price strong { color: #0a7a3d; font-size: 18px; }
.mp-price span { color: #5b6372; }
.mp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-btn { display: inline-block; padding: 8px 14px; border-radius: 10px; background: #0b5fff; color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.mp-btn-2 { background: transparent; color: #0b5fff !important; border: 1px solid #e3e6eb; }
.mp-rank { position: absolute; top: -8px; left: -8px; min-width: 28px; height: 28px; line-height: 28px; border-radius: 14px; background: #14171f; color: #fff; font-weight: 700; font-size: 14px; text-align: center; }
.mp-note { font-size: 13px; color: #5b6372; }
@media (max-width: 480px) {
  .mp-img { flex-basis: 72px; }
  .mp-img img { width: 72px; height: 72px; }
}

/* Antetul blogului, ca pe comparator: gradientul din logo. */
.mp-top, #masthead.mp-top { position: sticky; top: var(--wp-admin--admin-bar--height, 0); z-index: 100; background: linear-gradient(135deg, #0a192f, #1e3a5f); border-bottom: 1px solid #0a192f; color: #fff; }
.mp-top-in, .mp-nav { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.mp-top-in { display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; }
.mp-logo { display: block; flex: none; line-height: 0; }
.mp-logo img { display: block; width: auto; height: 64px; margin: 0; }
.mp-search { flex: 1 1 260px; display: flex; min-width: 0; margin: 0; }
.mp-search input[type=search] { flex: 1; min-width: 0; margin: 0; font: inherit; font-size: 16px; padding: 10px 14px; border: 1px solid transparent; border-right: 0; border-radius: 12px 0 0 12px; background: #fff; color: #14171f; box-shadow: none; }
.mp-search input[type=search]::placeholder { color: #5b6372; }
.mp-search button { margin: 0; border: 0; padding: 0 16px; border-radius: 0 12px 12px 0; background: #0b5fff; color: #fff; cursor: pointer; box-shadow: none; }
.mp-search button:hover { background: #0a4fd6; }
.mp-nav { display: flex; gap: 4px 20px; overflow-x: auto; white-space: nowrap; font-size: 14px; scrollbar-width: none; }
.mp-nav::-webkit-scrollbar { display: none; }
.mp-nav a { padding: 6px 0 9px; color: #b9c6d8 !important; text-decoration: none !important; border-bottom: 2px solid transparent; }
.mp-nav a:hover, .mp-nav a[aria-current] { color: #fff !important; border-bottom-color: #f5b83d; }
.mp-nav .mp-nav-site { margin-left: auto; color: #f5b83d !important; font-weight: 600; }
@media (max-width: 600px) {
  .mp-logo img { height: 52px; }
  .mp-search { flex-basis: 100%; }
}

/* Bannerul de cookie-uri, ca pe comparator. */
.mp-consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1000; max-width: 560px; margin: 0 auto; padding: 14px 16px; background: #fff; color: #14171f; border: 1px solid #e3e6eb; border-radius: 12px; box-shadow: 0 6px 24px rgb(0 0 0 / .18); font-size: 14px; line-height: 1.5; }
.mp-consent[hidden] { display: none; }
.mp-consent p { margin: 0 0 10px; }
.mp-consent a { color: #0b5fff; }
.mp-consent-btns { display: flex; gap: 8px; justify-content: flex-end; }
.mp-consent button { font: inherit; padding: 8px 16px; border-radius: 8px; border: 1px solid #e3e6eb; background: #f5f6f8; color: #14171f; cursor: pointer; }
.mp-consent button.mp-primary { background: #0b5fff; border-color: #0b5fff; color: #fff; font-weight: 600; }

/* Newsletter: caseta de la finalul articolului și panoul din colț. */
.mp-nl { margin: 2.5em 0 1em; padding: 22px 20px; border-radius: 14px; background: linear-gradient(135deg, #0a192f, #1e3a5f); color: #fff; }
.mp-nl-title { margin: 0 0 4px !important; font-size: 20px; font-weight: 700; line-height: 1.3; color: #fff; }
.mp-nl-text { margin: 0 0 14px !important; color: #c9d4e3; font-size: 15px; }
.mp-nl-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 0; }
.mp-nl-form .mp-nl-name { flex: 1 1 100%; min-width: 0; margin: 0; padding: 11px 14px; font: inherit; font-size: 16px; border: 0; border-radius: 10px; background: #fff; color: #14171f; }
@media (min-width: 601px) { .mp-nl .mp-nl-name { flex: 0 1 180px; } }
.mp-nl-form input[type=email] { flex: 1 1 220px; min-width: 0; margin: 0; padding: 11px 14px; font: inherit; font-size: 16px; border: 0; border-radius: 10px; background: #fff; color: #14171f; }
.mp-nl-form button { flex: none; margin: 0; padding: 11px 18px; border: 0; border-radius: 10px; background: #f5b83d; color: #0a192f; font: inherit; font-weight: 700; cursor: pointer; }
.mp-nl-form button:hover { background: #ffc857; }
.mp-nl-form button:disabled { opacity: .6; cursor: default; }
.mp-nl-form.mp-done input, .mp-nl-form.mp-done button { display: none; }
.mp-nl-msg { flex-basis: 100%; margin: 0 !important; min-height: 0; font-size: 14px; color: #fff; }
.mp-nl-msg:empty { display: none; }
.mp-nl-consent { flex-basis: 100%; display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: #b9c6d8; cursor: pointer; }
.mp-nl-consent input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #f5b83d; }
.mp-nl-consent a { color: #c9d4e3 !important; }
.mp-nl-form.mp-done .mp-nl-consent { display: none; }
.mp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.mp-slide { position: fixed; right: 16px; bottom: 16px; z-index: 999; width: min(360px, calc(100vw - 32px)); padding: 18px 18px 14px; border-radius: 14px; background: linear-gradient(135deg, #0a192f, #1e3a5f); color: #fff; box-shadow: 0 10px 32px rgb(0 0 0 / .3); transform: translateY(20px); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
.mp-slide.mp-in { transform: none; opacity: 1; }
.mp-slide[hidden] { display: none; }
.mp-slide .mp-nl-title { font-size: 17px; padding-right: 24px; }
.mp-slide .mp-nl-text { font-size: 14px; margin-bottom: 12px !important; }
.mp-slide-x { position: absolute; top: 6px; right: 8px; margin: 0; padding: 4px 8px; border: 0; background: none; color: #9fb0c6; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: none; }
.mp-slide-x:hover { color: #fff; background: none; }
@media (max-width: 600px) {
  .mp-slide { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 14px 14px 10px; }
  .mp-slide .mp-nl-text { display: none; }
  .mp-nl-form button { flex: 1 1 100%; }
}
.mp-slide .mp-nl-name { display: none; }
