/*
Theme Name: NoMorePricey Pro
Theme URI: https://nomorepricey.com
Author: Local Impex (LIX)
Author URI: https://nomorepricey.com
Description: REHub-inspired deals & affiliate theme for NoMorePricey — deal boxes, coupon reveal, comparison tables, custom deal post type, category archives.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nomorepricey
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --nmp-blue:        #0072CE;
  --nmp-blue-dark:   #005ba5;
  --nmp-blue-light:  #e8f3fc;
  --nmp-ink:         #212721;
  --nmp-grey-text:   #555855;
  --nmp-grey-line:   #EAEBEA;
  --nmp-grey-bg:     #FAFAFA;
  --nmp-grey-band:   #F5F5F5;
  --nmp-accent:      #EF4623;
  --nmp-accent-dark: #c93a1c;
  --nmp-green:       #478300;
  --nmp-gold:        #F5A623;
  --nmp-white:       #ffffff;
  --nmp-deal-bg:     #FFF8F0;
  --nmp-font-head:   'Open Sans Condensed', 'Arial Narrow', Arial, sans-serif;
  --nmp-font-body:   'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nmp-radius:      8px;
  --nmp-shadow:      0 2px 12px rgba(33,39,33,.10);
  --nmp-shadow-lg:   0 4px 24px rgba(33,39,33,.14);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--nmp-font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--nmp-ink);
  background: var(--nmp-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nmp-blue); text-decoration: none; }
a:hover { color: var(--nmp-blue-dark); }
ul { list-style: none; }

/* ==========================================================================
   Layout
   ========================================================================== */
.nmp-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nmp-container--narrow { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.nmp-section { padding: 64px 0; }
.nmp-section--sm { padding: 40px 0; }
.nmp-section--grey { background: var(--nmp-grey-band); }
.nmp-section--blue { background: var(--nmp-blue); color: var(--nmp-white); }
.nmp-section__head { text-align: center; margin-bottom: 40px; }
.nmp-section__head h2 { font-family: var(--nmp-font-head); font-size: 2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.nmp-section__head p { color: var(--nmp-grey-text); max-width: 560px; margin: 0 auto; }
.nmp-eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nmp-blue); margin-bottom: 8px; }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.nmp-announcement {
  background: var(--nmp-blue);
  color: var(--nmp-white);
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 8px 20px;
}
.nmp-announcement a { color: var(--nmp-white); text-decoration: underline; }

/* ==========================================================================
   Header
   ========================================================================== */
.nmp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nmp-white);
  box-shadow: 0 .3rem 1rem 0 rgba(33,39,33,.08);
}
.nmp-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.nmp-logo {
  font-family: var(--nmp-font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--nmp-ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.nmp-logo span { color: var(--nmp-blue); }
.nmp-logo img { height: 40px; width: auto; }
.nmp-nav { margin-left: auto; }
.nmp-nav ul { display: flex; gap: 4px; align-items: center; }
.nmp-nav a {
  display: block;
  padding: 6px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--nmp-ink);
  border-radius: 4px;
  transition: background .15s, color .15s;
}
.nmp-nav a:hover, .nmp-nav a.is-active { background: var(--nmp-blue-light); color: var(--nmp-blue); }
.nmp-header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nmp-search-toggle, .nmp-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--nmp-ink);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nmp-search-toggle:hover, .nmp-menu-toggle:hover { background: var(--nmp-grey-bg); }
.nmp-menu-toggle { display: none; }
.nmp-searchbar {
  display: none;
  background: var(--nmp-grey-bg);
  border-top: 1px solid var(--nmp-grey-line);
  padding: 12px 0;
}
.nmp-searchbar.is-open { display: block; }
.nmp-searchbar__form { display: flex; gap: 8px; }
.nmp-searchbar__form input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--nmp-grey-line);
  border-radius: var(--nmp-radius);
  font-size: .95rem;
  font-family: var(--nmp-font-body);
  outline: none;
}
.nmp-searchbar__form input:focus { border-color: var(--nmp-blue); }
.nmp-searchbar__form button {
  background: var(--nmp-blue);
  color: var(--nmp-white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--nmp-radius);
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.nmp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--nmp-radius);
  font-family: var(--nmp-font-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  border: none;
  transition: background .15s, transform .1s, box-shadow .15s;
  text-decoration: none;
}
.nmp-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.nmp-btn--blue { background: var(--nmp-blue); color: var(--nmp-white); }
.nmp-btn--blue:hover { background: var(--nmp-blue-dark); color: var(--nmp-white); }
.nmp-btn--accent { background: var(--nmp-accent); color: var(--nmp-white); }
.nmp-btn--accent:hover { background: var(--nmp-accent-dark); color: var(--nmp-white); }
.nmp-btn--light { background: var(--nmp-white); color: var(--nmp-blue); }
.nmp-btn--light:hover { background: var(--nmp-grey-bg); color: var(--nmp-blue-dark); }
.nmp-btn--outline { background: transparent; color: var(--nmp-blue); border: 2px solid var(--nmp-blue); }
.nmp-btn--outline:hover { background: var(--nmp-blue); color: var(--nmp-white); }
.nmp-btn--lg { padding: 17px 36px; font-size: 1.05rem; }
.nmp-btn--sm { padding: 8px 16px; font-size: .82rem; }
.nmp-btn--full { width: 100%; justify-content: center; }

/* ==========================================================================
   Hero
   ========================================================================== */
.nmp-hero {
  position: relative;
  overflow: hidden;
  background: var(--nmp-ink);
  min-height: 520px;
  display: flex;
  align-items: stretch;
}
.nmp-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .7s ease;
}
.nmp-hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(33,39,33,.72) 0%, rgba(33,39,33,.2) 100%);
}
.nmp-hero__slide.is-active { opacity: 1; }
.nmp-hero__content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  color: var(--nmp-white);
  padding: 60px 0;
}
.nmp-hero__kicker {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 12px;
}
.nmp-hero__content h1 {
  font-family: var(--nmp-font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.nmp-hero__content p { font-size: 1.05rem; opacity: .9; margin-bottom: 28px; max-width: 460px; }
.nmp-hero__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.nmp-hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.nmp-hero__dot.is-active { background: var(--nmp-white); transform: scale(1.3); }

/* ==========================================================================
   Category cards
   ========================================================================== */
.nmp-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nmp-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--nmp-white);
  border: 1.5px solid var(--nmp-grey-line);
  border-radius: var(--nmp-radius);
  padding: 28px 16px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  color: var(--nmp-ink);
}
.nmp-cat-card:hover { border-color: var(--nmp-blue); box-shadow: var(--nmp-shadow); transform: translateY(-3px); color: var(--nmp-blue); }
.nmp-cat-card__icon {
  width: 72px; height: 72px;
  background: var(--nmp-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.nmp-cat-card__icon img { width: 40px; height: 40px; }
.nmp-cat-card h3 { font-family: var(--nmp-font-head); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.nmp-cat-card p { font-size: .82rem; color: var(--nmp-grey-text); line-height: 1.4; }

/* ==========================================================================
   Deal cards (grid)
   ========================================================================== */
.nmp-deals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nmp-deal-card {
  background: var(--nmp-white);
  border: 1.5px solid var(--nmp-grey-line);
  border-radius: var(--nmp-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  color: var(--nmp-ink);
}
.nmp-deal-card:hover { box-shadow: var(--nmp-shadow-lg); transform: translateY(-4px); color: var(--nmp-ink); }
.nmp-deal-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--nmp-grey-bg);
}
.nmp-deal-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nmp-deal-card:hover .nmp-deal-card__media img { transform: scale(1.04); }
.nmp-deal-card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.nmp-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nmp-badge--accent { background: var(--nmp-accent); color: var(--nmp-white); }
.nmp-badge--blue  { background: var(--nmp-blue);   color: var(--nmp-white); }
.nmp-badge--green { background: var(--nmp-green);  color: var(--nmp-white); }
.nmp-badge--gold  { background: var(--nmp-gold);   color: var(--nmp-white); }
.nmp-deal-card__body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.nmp-deal-card__cat { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nmp-blue); }
.nmp-deal-card__title { font-size: .92rem; font-weight: 600; line-height: 1.35; flex: 1; }
.nmp-deal-card__store { font-size: .78rem; color: var(--nmp-grey-text); }
.nmp-deal-card__pricing { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.nmp-deal-card__price { font-size: 1.15rem; font-weight: 700; color: var(--nmp-blue); }
.nmp-deal-card__old { font-size: .85rem; color: var(--nmp-grey-text); text-decoration: line-through; }
.nmp-deal-card__discount { font-size: .78rem; font-weight: 700; color: var(--nmp-accent); margin-left: auto; }
.nmp-deal-card__footer { padding: 0 16px 14px; }
.nmp-deal-card__footer .nmp-btn { font-size: .82rem; padding: 9px 16px; }

/* ==========================================================================
   Deal box (single deal page — the REHub-style hero box)
   ========================================================================== */
.nmp-deal-box {
  background: var(--nmp-white);
  border: 2px solid var(--nmp-grey-line);
  border-radius: var(--nmp-radius);
  overflow: hidden;
  box-shadow: var(--nmp-shadow);
}
.nmp-deal-box__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.nmp-deal-box__gallery {
  background: var(--nmp-grey-bg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nmp-deal-box__gallery img { max-height: 340px; object-fit: contain; border-radius: 4px; }
.nmp-deal-box__info { padding: 32px; border-left: 1px solid var(--nmp-grey-line); display: flex; flex-direction: column; gap: 16px; }
.nmp-deal-box__title { font-family: var(--nmp-font-head); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }
.nmp-deal-box__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nmp-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--nmp-grey-bg);
  border: 1px solid var(--nmp-grey-line);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--nmp-grey-text);
}
.nmp-rating { display: flex; align-items: center; gap: 6px; }
.nmp-stars { display: flex; gap: 2px; }
.nmp-star { font-size: 1rem; color: var(--nmp-grey-line); }
.nmp-star.filled { color: var(--nmp-gold); }
.nmp-rating__count { font-size: .82rem; color: var(--nmp-grey-text); }
.nmp-deal-box__pricing {
  background: var(--nmp-deal-bg);
  border: 1.5px solid #fde8d0;
  border-radius: var(--nmp-radius);
  padding: 20px;
}
.nmp-deal-box__price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.nmp-deal-box__price { font-size: 2.2rem; font-weight: 700; color: var(--nmp-blue); }
.nmp-deal-box__old   { font-size: 1.1rem; color: var(--nmp-grey-text); text-decoration: line-through; }
.nmp-deal-box__save  { font-size: .88rem; font-weight: 700; color: var(--nmp-accent); background: rgba(239,70,35,.1); border-radius: 4px; padding: 3px 8px; }
.nmp-deal-box__cta { display: flex; flex-direction: column; gap: 10px; }
.nmp-deal-box__cta .nmp-btn { font-size: 1rem; }
.nmp-deal-box__hint { font-size: .78rem; color: var(--nmp-grey-text); text-align: center; }

/* ==========================================================================
   Coupon box
   ========================================================================== */
.nmp-coupon {
  border: 2px dashed var(--nmp-blue);
  border-radius: var(--nmp-radius);
  padding: 16px 20px;
  background: var(--nmp-blue-light);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.nmp-coupon__label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nmp-blue); }
.nmp-coupon__code {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--nmp-ink);
  background: var(--nmp-white);
  border: 1.5px solid var(--nmp-grey-line);
  border-radius: 4px;
  padding: 8px 14px;
  min-width: 140px;
  text-align: center;
}
.nmp-coupon__reveal { filter: blur(6px); user-select: none; transition: filter .3s; }
.nmp-coupon__reveal.revealed { filter: none; }
.nmp-coupon__btn {
  background: var(--nmp-blue);
  color: var(--nmp-white);
  border: none;
  border-radius: var(--nmp-radius);
  padding: 10px 18px;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.nmp-coupon__btn:hover { background: var(--nmp-blue-dark); }

/* ==========================================================================
   Tabs (single deal)
   ========================================================================== */
.nmp-tabs { border: 1.5px solid var(--nmp-grey-line); border-radius: var(--nmp-radius); overflow: hidden; }
.nmp-tabs__nav { display: flex; border-bottom: 1.5px solid var(--nmp-grey-line); }
.nmp-tabs__btn {
  flex: 1;
  padding: 14px 16px;
  background: var(--nmp-grey-bg);
  border: none;
  font-family: var(--nmp-font-body);
  font-size: .88rem;
  font-weight: 600;
  color: var(--nmp-grey-text);
  cursor: pointer;
  border-right: 1px solid var(--nmp-grey-line);
  transition: background .15s, color .15s;
}
.nmp-tabs__btn:last-child { border-right: none; }
.nmp-tabs__btn.is-active { background: var(--nmp-white); color: var(--nmp-blue); border-bottom: 2px solid var(--nmp-blue); }
.nmp-tabs__panel { display: none; padding: 24px; }
.nmp-tabs__panel.is-active { display: block; }

/* ==========================================================================
   Specs table
   ========================================================================== */
.nmp-specs { width: 100%; border-collapse: collapse; font-size: .9rem; }
.nmp-specs tr { border-bottom: 1px solid var(--nmp-grey-line); }
.nmp-specs tr:last-child { border-bottom: none; }
.nmp-specs td { padding: 10px 12px; }
.nmp-specs td:first-child { font-weight: 600; color: var(--nmp-grey-text); width: 35%; background: var(--nmp-grey-bg); }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.nmp-compare { width: 100%; border-collapse: collapse; font-size: .9rem; }
.nmp-compare th, .nmp-compare td { padding: 12px 16px; border: 1px solid var(--nmp-grey-line); text-align: center; }
.nmp-compare th { background: var(--nmp-blue); color: var(--nmp-white); font-weight: 700; font-family: var(--nmp-font-head); text-transform: uppercase; letter-spacing: .04em; }
.nmp-compare th:first-child { background: var(--nmp-ink); }
.nmp-compare td:first-child { font-weight: 600; text-align: left; background: var(--nmp-grey-bg); }
.nmp-compare tr:nth-child(even) td { background: var(--nmp-grey-bg); }
.nmp-compare tr:nth-child(even) td:first-child { background: var(--nmp-grey-band); }
.nmp-compare .nmp-compare__price { font-size: 1.1rem; font-weight: 700; color: var(--nmp-blue); }
.nmp-compare .nmp-compare__best { background: rgba(0,114,206,.06) !important; border-top: 3px solid var(--nmp-blue); }

/* ==========================================================================
   Archive / category page
   ========================================================================== */
.nmp-archive-hero {
  background: var(--nmp-blue);
  color: var(--nmp-white);
  padding: 48px 0;
  text-align: center;
}
.nmp-archive-hero h1 { font-family: var(--nmp-font-head); font-size: 2.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.nmp-archive-hero p { opacity: .85; font-size: 1rem; }
.nmp-filter-bar {
  background: var(--nmp-white);
  border-bottom: 1.5px solid var(--nmp-grey-line);
  position: sticky;
  top: 68px;
  z-index: 100;
}
.nmp-filter-bar__inner { display: flex; align-items: center; gap: 8px; padding: 12px 0; overflow-x: auto; }
.nmp-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px solid var(--nmp-grey-line);
  background: var(--nmp-white);
  color: var(--nmp-grey-text);
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}
.nmp-filter-chip:hover, .nmp-filter-chip.is-active { background: var(--nmp-blue); border-color: var(--nmp-blue); color: var(--nmp-white); }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.nmp-breadcrumb {
  font-size: .82rem;
  color: var(--nmp-grey-text);
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nmp-breadcrumb a { color: var(--nmp-blue); }
.nmp-breadcrumb span { color: var(--nmp-grey-text); }

/* ==========================================================================
   Spotlight / Deal of the week
   ========================================================================== */
.nmp-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.nmp-spotlight__media img { border-radius: var(--nmp-radius); box-shadow: var(--nmp-shadow-lg); }
.nmp-spotlight__body { display: flex; flex-direction: column; gap: 16px; }
.nmp-spotlight__body h2 { font-family: var(--nmp-font-head); font-size: 1.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; }
.nmp-spotlight__price { font-size: 1.8rem; font-weight: 700; color: var(--nmp-blue); }
.nmp-spotlight__price del { font-size: 1.1rem; color: var(--nmp-grey-text); font-weight: 400; margin-right: 8px; }

/* ==========================================================================
   Story band
   ========================================================================== */
.nmp-story {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.nmp-story::after { content: ''; position: absolute; inset: 0; background: rgba(33,39,33,.65); }
.nmp-story__content { position: relative; z-index: 1; color: var(--nmp-white); max-width: 540px; display: flex; flex-direction: column; gap: 16px; }
.nmp-story__content h2 { font-family: var(--nmp-font-head); font-size: 2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; }

/* ==========================================================================
   Blog cards
   ========================================================================== */
.nmp-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nmp-blog-card {
  background: var(--nmp-white);
  border-radius: var(--nmp-radius);
  overflow: hidden;
  border: 1.5px solid var(--nmp-grey-line);
  display: flex;
  flex-direction: column;
  color: var(--nmp-ink);
  transition: box-shadow .2s, transform .2s;
}
.nmp-blog-card:hover { box-shadow: var(--nmp-shadow); transform: translateY(-3px); }
.nmp-blog-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--nmp-grey-bg); }
.nmp-blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nmp-blog-card:hover .nmp-blog-card__media img { transform: scale(1.04); }
.nmp-blog-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.nmp-blog-card__date { font-size: .75rem; color: var(--nmp-grey-text); text-transform: uppercase; letter-spacing: .06em; }
.nmp-blog-card__body h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; flex: 1; }
.nmp-blog-card__body p { font-size: .85rem; color: var(--nmp-grey-text); }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.nmp-strip { background: var(--nmp-blue); color: var(--nmp-white); padding: 40px 0; }
.nmp-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.nmp-strip__item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nmp-strip__icon { font-size: 2rem; margin-bottom: 4px; }
.nmp-strip__item strong { font-family: var(--nmp-font-head); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
.nmp-strip__item span { font-size: .85rem; opacity: .85; max-width: 220px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.nmp-footer { background: var(--nmp-ink); color: rgba(255,255,255,.85); padding: 56px 0 0; }
.nmp-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.nmp-footer__brand .nmp-logo { color: var(--nmp-white); font-size: 1.3rem; display: block; margin-bottom: 14px; }
.nmp-footer__brand p { font-size: .88rem; line-height: 1.65; opacity: .75; }
.nmp-footer__col h4 { font-family: var(--nmp-font-head); font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--nmp-white); margin-bottom: 14px; }
.nmp-footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.nmp-footer__col a { font-size: .88rem; color: rgba(255,255,255,.65); transition: color .15s; }
.nmp-footer__col a:hover { color: var(--nmp-white); }
.nmp-newsletter { display: flex; gap: 8px; margin-top: 14px; }
.nmp-newsletter input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--nmp-radius);
  background: rgba(255,255,255,.08);
  color: var(--nmp-white);
  font-size: .88rem;
  outline: none;
}
.nmp-newsletter input::placeholder { color: rgba(255,255,255,.4); }
.nmp-newsletter input:focus { border-color: var(--nmp-blue); }
.nmp-newsletter button {
  background: var(--nmp-blue);
  color: var(--nmp-white);
  border: none;
  border-radius: var(--nmp-radius);
  padding: 10px 16px;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  white-space: nowrap;
}
.nmp-footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: .8rem;
  opacity: .55;
  flex-wrap: wrap;
  gap: 8px;
}
.nmp-footer__bar a { color: inherit; }
.nmp-footer__bar a:hover { opacity: 1; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.nmp-pagination { display: flex; justify-content: center; gap: 6px; padding: 40px 0 0; flex-wrap: wrap; }
.nmp-pagination a, .nmp-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--nmp-radius);
  border: 1.5px solid var(--nmp-grey-line);
  font-size: .88rem;
  font-weight: 600;
  color: var(--nmp-ink);
  transition: all .15s;
}
.nmp-pagination a:hover { border-color: var(--nmp-blue); color: var(--nmp-blue); }
.nmp-pagination .current { background: var(--nmp-blue); border-color: var(--nmp-blue); color: var(--nmp-white); }

/* ==========================================================================
   Single post / page
   ========================================================================== */
.nmp-post-header { padding: 48px 0 32px; border-bottom: 1.5px solid var(--nmp-grey-line); margin-bottom: 32px; }
.nmp-post-header h1 { font-family: var(--nmp-font-head); font-size: 2.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; margin-bottom: 12px; }
.nmp-post-meta { font-size: .82rem; color: var(--nmp-grey-text); display: flex; gap: 16px; flex-wrap: wrap; }
.nmp-post-content { line-height: 1.75; }
.nmp-post-content h2, .nmp-post-content h3 { font-family: var(--nmp-font-head); text-transform: uppercase; letter-spacing: .04em; margin: 28px 0 12px; }
.nmp-post-content h2 { font-size: 1.5rem; }
.nmp-post-content h3 { font-size: 1.2rem; }
.nmp-post-content p { margin-bottom: 16px; }
.nmp-post-content ul, .nmp-post-content ol { margin: 0 0 16px 24px; }
.nmp-post-content li { margin-bottom: 6px; }
.nmp-post-content img { border-radius: var(--nmp-radius); margin: 20px 0; }
.nmp-post-thumbnail { margin-bottom: 32px; border-radius: var(--nmp-radius); overflow: hidden; }
.nmp-post-thumbnail img { width: 100%; }

/* ==========================================================================
   Search results
   ========================================================================== */
.nmp-search-header { padding: 32px 0; border-bottom: 1.5px solid var(--nmp-grey-line); margin-bottom: 32px; }
.nmp-search-header h1 { font-family: var(--nmp-font-head); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.nmp-no-results { text-align: center; padding: 64px 0; }
.nmp-no-results h2 { font-family: var(--nmp-font-head); font-size: 1.6rem; text-transform: uppercase; margin-bottom: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .nmp-deals-grid { grid-template-columns: repeat(3, 1fr); }
  .nmp-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nmp-cats { grid-template-columns: repeat(2, 1fr); }
  .nmp-deals-grid { grid-template-columns: repeat(2, 1fr); }
  .nmp-blog { grid-template-columns: 1fr; }
  .nmp-spotlight { grid-template-columns: 1fr; }
  .nmp-strip__grid { grid-template-columns: 1fr; gap: 24px; }
  .nmp-deal-box__inner { grid-template-columns: 1fr; }
  .nmp-deal-box__gallery { border-left: none; border-bottom: 1px solid var(--nmp-grey-line); }
  .nmp-footer__grid { grid-template-columns: 1fr; }
  .nmp-nav { display: none; }
  .nmp-nav.is-open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: var(--nmp-white); border-top: 1px solid var(--nmp-grey-line); box-shadow: var(--nmp-shadow-lg); padding: 12px 0; z-index: 999; }
  .nmp-nav.is-open ul { flex-direction: column; }
  .nmp-nav.is-open a { padding: 12px 20px; border-radius: 0; border-bottom: 1px solid var(--nmp-grey-line); }
  .nmp-menu-toggle { display: flex; }
  .nmp-hero { min-height: 380px; }
  .nmp-section { padding: 40px 0; }
}
@media (max-width: 480px) {
  .nmp-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .nmp-deals-grid { grid-template-columns: 1fr; }
  .nmp-hero__content h1 { font-size: 1.8rem; }
}
