/*
Theme Name: Machine Gun Kings
Theme URI: https://betterpieces.net
Author: Machine Gun Kings
Description: Professional firearms and tactical gear marketplace
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: mgk
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif; font-size: 15px; color: #222; background: #f4f4f4; line-height: 1.6; }
a { color: #c41230; text-decoration: none; }
a:hover { color: #a30e25; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

/* ===== TOP BAR ===== */
.top-bar { background: #c41230; color: #fff; font-size: 13px; padding: 6px 0; text-align: center; }
.top-bar a { color: #fff; font-weight: 600; }
.top-bar .top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-links a { color: #fff; margin-left: 18px; font-size: 12px; }
.top-bar-links a:hover { text-decoration: underline; }

/* ===== HEADER ===== */
.site-header { background: #1a2744; padding: 14px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; gap: 20px; }
.site-logo a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo .logo-text { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }
.site-logo .logo-sub { color: #c41230; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; display: block; }
.header-search { flex: 1; max-width: 550px; }
.header-search form { display: flex; }
.header-search input[type=search] { flex: 1; padding: 10px 14px; border: none; border-radius: 4px 0 0 4px; font-size: 14px; outline: none; }
.header-search button { background: #c41230; color: #fff; border: none; padding: 10px 18px; border-radius: 0 4px 4px 0; cursor: pointer; font-size: 16px; transition: background .2s; }
.header-search button:hover { background: #a30e25; }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.header-action-btn { color: #fff; font-size: 12px; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: color .2s; }
.header-action-btn:hover { color: #c41230; }
.header-action-btn .icon { font-size: 20px; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -6px; right: -8px; background: #c41230; color: #fff; border-radius: 50%; width: 18px; height: 18px; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ===== MAIN NAV ===== */
.main-nav { background: #0f1a2e; border-top: 1px solid #2a3a5c; }
.main-nav ul { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.main-nav ul li a { color: #ccd6f6; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; padding: 12px 16px; display: block; transition: background .2s, color .2s; }
.main-nav ul li a:hover, .main-nav ul li.current-menu-item a { background: #c41230; color: #fff; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #0f1a2e 0%, #1a2744 50%, #243560 100%); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url(data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E); opacity: .5; }
.hero-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-content { max-width: 600px; }
.hero-badge { display: inline-block; background: #c41230; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; border-radius: 3px; margin-bottom: 16px; }
.hero h1 { font-size: 46px; font-weight: 900; line-height: 1.1; margin-bottom: 16px; }
.hero h1 span { color: #c41230; }
.hero p { font-size: 17px; color: #a0aec0; margin-bottom: 28px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 28px; border-radius: 4px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; transition: all .2s; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: #c41230; color: #fff; border-color: #c41230; }
.btn-primary:hover { background: #a30e25; border-color: #a30e25; color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: #1a2744; }
.hero-stats { display: flex; gap: 30px; margin-top: 36px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 28px; font-weight: 800; color: #c41230; }
.hero-stat .label { font-size: 11px; color: #8899bb; text-transform: uppercase; letter-spacing: 1px; }

/* ===== TRUST BAR ===== */
.trust-bar { background: #fff; border-bottom: 1px solid #e0e0e0; padding: 16px 0; }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .trust-icon { font-size: 28px; color: #c41230; }
.trust-item-text strong { display: block; font-size: 13px; font-weight: 700; color: #1a2744; }
.trust-item-text span { font-size: 12px; color: #777; }

/* ===== SECTION HEADERS ===== */
.section { padding: 50px 0; }
.section-alt { background: #fff; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 { font-size: 30px; font-weight: 800; color: #1a2744; margin-bottom: 8px; }
.section-header p { color: #666; font-size: 15px; }
.section-header .divider { width: 50px; height: 3px; background: #c41230; margin: 12px auto 0; border-radius: 2px; }

/* ===== CATEGORY GRID ===== */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.category-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 20px 12px; text-align: center; transition: all .25s; cursor: pointer; text-decoration: none; display: block; }
.category-card:hover { border-color: #c41230; box-shadow: 0 4px 16px rgba(196,18,48,.12); transform: translateY(-2px); color: inherit; }
.category-card .cat-icon { font-size: 36px; margin-bottom: 10px; display: block; }
.category-card .cat-name { font-size: 13px; font-weight: 700; color: #1a2744; text-transform: uppercase; letter-spacing: .3px; }
.category-card .cat-count { font-size: 11px; color: #999; margin-top: 4px; }

/* ===== PRODUCT GRID ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-3px); border-color: #c41230; }
.product-card-img { position: relative; background: #f8f8f8; padding: 16px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card-img img { max-height: 160px; object-fit: contain; transition: transform .3s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-badge { position: absolute; top: 10px; left: 10px; background: #c41230; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; }
.product-badge.sale { background: #f57c00; }
.product-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.product-card-title { font-size: 13px; font-weight: 600; color: #222; margin-bottom: 6px; line-height: 1.4; flex: 1; }
.product-card-title a { color: #222; }
.product-card-title a:hover { color: #c41230; }
.product-card-brand { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.product-card-price { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.price-current { font-size: 18px; font-weight: 800; color: #c41230; }
.price-old { font-size: 13px; color: #999; text-decoration: line-through; }
.product-card-footer { display: flex; gap: 8px; }
.add-to-cart-btn { flex: 1; background: #1a2744; color: #fff; border: none; padding: 9px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: background .2s; text-align: center; text-decoration: none; display: block; }
.add-to-cart-btn:hover { background: #c41230; color: #fff; }
.wishlist-btn { background: #f4f4f4; border: 1px solid #e0e0e0; color: #666; padding: 9px 12px; border-radius: 4px; cursor: pointer; transition: all .2s; font-size: 14px; }
.wishlist-btn:hover { background: #c41230; color: #fff; border-color: #c41230; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card { background: #fff; border-radius: 10px; padding: 30px 24px; text-align: center; border: 1px solid #e8e8e8; transition: box-shadow .25s; }
.why-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.why-card .why-icon { font-size: 44px; margin-bottom: 14px; }
.why-card h3 { font-size: 17px; font-weight: 800; color: #1a2744; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* ===== NEWSLETTER ===== */
.newsletter { background: linear-gradient(135deg, #1a2744, #0f1a2e); padding: 50px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.newsletter-text h2 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.newsletter-text p { color: #8899bb; font-size: 15px; }
.newsletter-form { display: flex; gap: 0; min-width: 380px; }
.newsletter-form input[type=email] { flex: 1; padding: 13px 16px; border: none; border-radius: 4px 0 0 4px; font-size: 14px; outline: none; }
.newsletter-form button { background: #c41230; color: #fff; border: none; padding: 13px 22px; border-radius: 0 4px 4px 0; font-weight: 700; font-size: 13px; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.newsletter-form button:hover { background: #a30e25; }

/* ===== FOOTER ===== */
.site-footer { background: #0d1526; color: #8899bb; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #1e2f52; }
.footer-brand .logo-text { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: #6677aa; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #6677aa; font-size: 13px; transition: color .2s; }
.footer-col ul li a:hover { color: #c41230; }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #445577; }
.footer-bottom a { color: #445577; }
.footer-bottom a:hover { color: #c41230; }
.payment-icons { display: flex; gap: 8px; align-items: center; font-size: 22px; }

/* ===== PAGE CONTENT ===== */
.page-hero { background: linear-gradient(135deg, #1a2744, #0f1a2e); color: #fff; padding: 40px 0; margin-bottom: 40px; }
.page-hero h1 { font-size: 34px; font-weight: 800; }
.page-hero p { color: #8899bb; margin-top: 8px; }
.page-content { background: #fff; border-radius: 10px; padding: 40px; margin-bottom: 40px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }

/* ===== FAQ ===== */
.faq-item { border: 1px solid #e8e8e8; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-question { background: #f8f9fb; padding: 18px 20px; font-size: 15px; font-weight: 700; color: #1a2744; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.faq-question:hover { background: #eef1f7; }
.faq-question .faq-arrow { font-size: 18px; transition: transform .3s; color: #c41230; }
.faq-question.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; font-size: 14px; color: #555; line-height: 1.8; }
.faq-answer.open { padding: 16px 20px; max-height: 400px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-info-item .ci-icon { font-size: 22px; color: #c41230; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 14px; color: #1a2744; margin-bottom: 3px; }
.contact-info-item span { font-size: 13px; color: #666; }
.contact-map { border-radius: 8px; overflow: hidden; border: 1px solid #e0e0e0; margin-top: 20px; }

/* ===== WOOCOMMERCE ===== */
.woocommerce-page .page-hero { margin-bottom: 0; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; padding: 40px 0; }
.shop-sidebar { background: #fff; border-radius: 8px; padding: 20px; border: 1px solid #e8e8e8; height: fit-content; }
.shop-sidebar h3 { font-size: 14px; font-weight: 800; color: #1a2744; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #c41230; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.woocommerce ul.products li.product { border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; background: #fff; transition: all .25s; padding: 0; }
.woocommerce ul.products li.product:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-3px); border-color: #c41230; }
.woocommerce ul.products li.product a img { padding: 16px; background: #f8f8f8; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; padding: 10px 14px 4px; }
.woocommerce ul.products li.product .price { padding: 0 14px; font-weight: 800; color: #c41230; }
.woocommerce ul.products li.product .button { margin: 10px 14px 14px; background: #1a2744; color: #fff; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 8px 14px; display: block; text-align: center; transition: background .2s; }
.woocommerce ul.products li.product .button:hover { background: #c41230; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: #1a2744; color: #fff; border-radius: 4px; font-weight: 700; transition: background .2s; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: #c41230; color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: #c41230; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #a30e25; }
.woocommerce .single-product .product { background: #fff; border-radius: 10px; padding: 30px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #c41230; border-bottom-color: #c41230; }
.woocommerce #respond input#submit { background: #c41230; color: #fff; }

/* ===== FORMS ===== */
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea, .wpcf7 select { width: 100%; padding: 12px 14px; border: 1px solid #dde; border-radius: 6px; font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s; margin-bottom: 4px; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: #1a2744; box-shadow: 0 0 0 3px rgba(26,39,68,.08); }
.wpcf7 textarea { height: 130px; resize: vertical; }
.wpcf7 label { font-size: 13px; font-weight: 600; color: #444; margin-bottom: 5px; display: block; }
.wpcf7 input[type=submit] { background: #c41230; color: #fff; border: none; padding: 13px 32px; border-radius: 4px; font-size: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: background .2s; letter-spacing: .5px; }
.wpcf7 input[type=submit]:hover { background: #a30e25; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs { background: #fff; border-bottom: 1px solid #e8e8e8; padding: 10px 0; font-size: 12px; color: #999; }
.breadcrumbs a { color: #666; }
.breadcrumbs a:hover { color: #c41230; }
.breadcrumbs span { margin: 0 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) { .category-grid { grid-template-columns: repeat(3, 1fr); } .product-grid { grid-template-columns: repeat(3, 1fr); } .trust-items { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .header-search { order: 3; flex: 0 0 100%; max-width: 100%; }
  .main-nav ul { flex-wrap: nowrap; overflow-x: auto; }
  .hero h1 { font-size: 28px; }
  .hero-inner { flex-direction: column; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; }
  .newsletter-form { min-width: 100%; }
  .trust-items { grid-template-columns: 1fr 1fr; }
  .top-bar-links { display: none; }
}
@media (max-width: 480px) { .category-grid { grid-template-columns: repeat(2, 1fr); } .product-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } }

/* ===== PROMO BANNER ===== */
.promo-banner {
  background: linear-gradient(90deg, #c41230 0%, #8b0e22 50%, #c41230 100%);
  background-size: 200% 100%;
  animation: promoBg 4s ease infinite;
  color: #fff;
  padding: 11px 0;
  position: relative;
  z-index: 1001;
}
@keyframes promoBg {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
.promo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.promo-icon { font-size: 18px; }
.promo-text { font-size: 14px; }
.promo-code {
  background: #fff;
  color: #c41230;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  font-size: 15px;
  border: 2px dashed rgba(196,18,48,.3);
  display: inline-block;
  margin: 0 4px;
  cursor: pointer;
  font-family: monospace;
}
.promo-code:hover { background: #f8e8ea; }
.promo-cta {
  background: #fff;
  color: #c41230;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.promo-cta:hover { background: #1a2744; color: #fff; }
.promo-close {
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  font-size: 18px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-left: 8px;
  transition: background .2s;
  position: absolute;
  right: 16px;
}
.promo-close:hover { background: rgba(255,255,255,.35); }
@media(max-width:600px){
  .promo-cta { display: none; }
  .promo-close { position: static; }
}

/* ===== SEARCH MODAL ===== */
.search-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,30,.85);
  z-index: 9999;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  backdrop-filter: blur(4px);
}
.search-modal-overlay.active { display: flex; }
.search-modal-box {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  width: 100%;
  max-width: 640px;
  margin: 0 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  animation: slideDown .25s ease;
}
@keyframes slideDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
.search-modal-box h3 { font-size:16px;font-weight:800;color:#1a2744;margin-bottom:14px; }
.search-modal-box form { display:flex;gap:0; }
.search-modal-box input[type=search] {
  flex:1;padding:14px 16px;border:2px solid #1a2744;border-radius:6px 0 0 6px;
  font-size:16px;outline:none;font-family:inherit;
}
.search-modal-box button[type=submit] {
  background:#c41230;color:#fff;border:none;padding:14px 22px;
  border-radius:0 6px 6px 0;font-size:18px;cursor:pointer;
  transition:background .2s;
}
.search-modal-box button[type=submit]:hover { background:#a30e25; }
.search-modal-close {
  display:block;text-align:right;margin-bottom:10px;background:none;
  border:none;font-size:22px;cursor:pointer;color:#999;line-height:1;
}
.search-modal-close:hover { color:#c41230; }
.search-modal-hints { margin-top:16px;font-size:12px;color:#999; }
.search-modal-hints span {
  display:inline-block;background:#f4f4f4;border:1px solid #e0e0e0;
  border-radius:20px;padding:4px 12px;margin:4px;cursor:pointer;
  transition:all .2s;color:#555;
}
.search-modal-hints span:hover { background:#1a2744;color:#fff;border-color:#1a2744; }

/* ===== FLOATING SEARCH BUTTON (mobile) ===== */
.floating-search-btn {
  display:none;
  position:fixed;
  bottom:80px;
  right:20px;
  z-index:999;
  background:#1a2744;
  color:#fff;
  width:52px;
  height:52px;
  border-radius:50%;
  font-size:22px;
  border:none;
  cursor:pointer;
  box-shadow:0 4px 16px rgba(0,0,0,.3);
  align-items:center;
  justify-content:center;
  transition:background .2s,transform .2s;
}
.floating-search-btn:hover { background:#c41230;transform:scale(1.08); }
@media(max-width:768px){ .floating-search-btn { display:flex; } }

/* Search results pagination */
.page-numbers { display:inline-flex;gap:8px;margin-top:10px;justify-content:center;flex-wrap:wrap; }
.page-numbers a, .page-numbers span {
  padding:8px 14px;border:1px solid #e0e0e0;border-radius:4px;
  color:#1a2744;font-weight:600;font-size:13px;
}
.page-numbers .current { background:#1a2744;color:#fff;border-color:#1a2744; }
.page-numbers a:hover { background:#c41230;color:#fff;border-color:#c41230; }
