/* ===========================================
   LOVABLE COMPONENTS CSS
   Version: 3.0 — ALL selectors scoped under
   #nerf-root for bulletproof specificity
   against legacy CSS (style.css, Bootstrap).
   =========================================== */

/* ===========================================
   1. BREADCRUMB SECTION
   =========================================== */
#nerf-root .breadcrumb-section {
  padding: var(--nerf-space-sm) 0;
  background-color: var(--nerf-bg-muted);
  border-bottom: 1px solid var(--nerf-border);
}

#nerf-root nav.breadcrumb,
#nerf-root .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--nerf-text-muted);
}

#nerf-root .breadcrumb a {
  color: var(--nerf-text-muted);
  text-decoration: none;
  transition: color var(--nerf-transition);
}

#nerf-root .breadcrumb a:hover {
  color: var(--nerf-teal);
}

#nerf-root .breadcrumb span {
  color: var(--nerf-text-muted);
}

#nerf-root .breadcrumb span.current {
  color: var(--nerf-text);
  font-weight: 500;
}

/* ===========================================
   2. PRODUCT HERO SECTION
   =========================================== */
#nerf-root .product-hero {
  padding: var(--nerf-space-xl) 0;
  background-color: var(--nerf-bg);
}

#nerf-root .product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--nerf-space-xl);
  align-items: start;
}

@media (max-width: 768px) {
  #nerf-root .product-grid {
    grid-template-columns: 1fr;
    gap: var(--nerf-space-lg);
  }
}

/* ===========================================
   3. PRODUCT GALLERY
   =========================================== */
#nerf-root .product-gallery {
  position: relative;
}

#nerf-root .main-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--nerf-radius-lg);
  background-color: var(--nerf-bg-muted);
  margin-bottom: var(--nerf-space-sm);
}

#nerf-root .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#nerf-root .main-image iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#nerf-root .thumbnail-strip {
  display: flex;
  gap: 0.5rem;
}

#nerf-root .thumbnail-strip img {
  width: calc((100% - 2.5rem) / 6);
  min-width: 60px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--nerf-radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--nerf-transition);
}

#nerf-root .thumbnail-strip img:hover {
  border-color: var(--nerf-teal);
}

#nerf-root .thumbnail-strip img.active {
  border-color: var(--nerf-teal);
  box-shadow: 0 0 0 2px rgba(42, 157, 143, 0.2);
}

#nerf-root .video-thumb {
  position: relative;
  width: calc((100% - 2.5rem) / 6);
  min-width: 60px;
  aspect-ratio: 4 / 3;
  border-radius: var(--nerf-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--nerf-transition);
}

#nerf-root .video-thumb:hover {
  border-color: var(--nerf-teal);
}

#nerf-root .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#nerf-root .video-thumb .play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--nerf-text-white);
  font-size: 1.5rem;
}

@media (max-width: 640px) {
  #nerf-root .thumbnail-strip img,
  #nerf-root .video-thumb {
    width: calc((100% - 1rem) / 4);
    min-width: 50px;
  }
}

/* ===========================================
   4. PRODUCT INFO
   =========================================== */
#nerf-root .product-info {
  padding: 0;
}

#nerf-root .product-info h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--nerf-text);
  margin-bottom: var(--nerf-space-md);
  line-height: 1.1;
}

@media (max-width: 768px) {
  #nerf-root .product-info h1 {
    text-align: center;
  }
}

#nerf-root .quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--nerf-space-md);
}

#nerf-root ul.key-features,
#nerf-root .key-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--nerf-space-lg);
}

#nerf-root .key-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: var(--nerf-text);
  border-bottom: 1px solid var(--nerf-border-light);
}

#nerf-root .key-features li:last-child {
  border-bottom: none;
}

#nerf-root .key-features li .check {
  color: var(--nerf-teal);
  font-weight: 700;
  flex-shrink: 0;
}

#nerf-root .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nerf-space-sm);
  margin-top: var(--nerf-space-md);
}

#nerf-root .cta-buttons .btn {
  flex: 1;
  min-width: 140px;
}

@media (max-width: 480px) {
  #nerf-root .cta-buttons {
    flex-direction: column;
  }
  
  #nerf-root .cta-buttons .btn {
    width: 100%;
  }
}

#nerf-root .phone-icon {
  margin-right: 0.25rem;
}

/* ===========================================
   5. SEO CONTENT SECTION
   =========================================== */
#nerf-root .seo-content {
  padding: var(--nerf-space-xl) 0;
  background-color: var(--nerf-bg);
}

#nerf-root .seo-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--nerf-text);
  margin-bottom: var(--nerf-space-md);
  text-align: center;
}

#nerf-root .seo-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nerf-text);
  margin-top: var(--nerf-space-lg);
  margin-bottom: var(--nerf-space-xs);
}

#nerf-root .seo-content h3:first-of-type {
  margin-top: var(--nerf-space-md);
}

#nerf-root .seo-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--nerf-text);
  margin-bottom: var(--nerf-space-md);
}

#nerf-root .seo-content p:last-child {
  margin-bottom: 0;
}

/* ===========================================
   6. FINE PRINT SECTION
   =========================================== */
#nerf-root .fine-print {
  padding: var(--nerf-space-lg) 0;
  background-color: var(--nerf-bg-muted);
}

#nerf-root .fine-print h2 {
  font-size: 1.25rem;
  color: var(--nerf-text);
  margin-bottom: var(--nerf-space-sm);
  text-align: center;
}

#nerf-root .fine-print ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

#nerf-root .fine-print li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--nerf-text-muted);
}

#nerf-root .fine-print li::before {
  content: "✓";
  color: var(--nerf-teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===========================================
   7. KEY BENEFITS SECTION
   =========================================== */
#nerf-root .key-benefits {
  padding: var(--nerf-space-xl) 0;
  background-color: var(--nerf-bg);
}

#nerf-root .benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--nerf-space-md);
}

@media (max-width: 992px) {
  #nerf-root .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #nerf-root .benefits-grid {
    grid-template-columns: 1fr;
  }
}

#nerf-root .benefit-card {
  background-color: var(--nerf-bg);
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius-lg);
  padding: var(--nerf-space-lg);
  text-align: center;
  transition: all var(--nerf-transition);
}

#nerf-root .benefit-card:hover {
  border-color: var(--nerf-teal);
  box-shadow: var(--nerf-shadow-md);
  transform: translateY(-4px);
}

#nerf-root .benefit-card .icon {
  font-size: 2.5rem;
  margin-bottom: var(--nerf-space-sm);
}

#nerf-root .benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--nerf-text);
  margin-bottom: var(--nerf-space-xs);
}

#nerf-root .benefit-card p {
  font-size: 0.9375rem;
  color: var(--nerf-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===========================================
   8. FAQ SECTION
   =========================================== */
#nerf-root .faqs {
  padding: var(--nerf-space-xl) 0;
  background-color: var(--nerf-bg-muted);
}

#nerf-root .faqs h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--nerf-text);
  margin-bottom: var(--nerf-space-lg);
  text-align: center;
}

#nerf-root .faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

#nerf-root .faq-item {
  background-color: var(--nerf-bg);
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius);
  margin-bottom: var(--nerf-space-sm);
  overflow: hidden;
}

#nerf-root .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--nerf-space-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--nerf-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--nerf-transition);
}

#nerf-root .faq-question:hover {
  background-color: var(--nerf-bg-muted);
}

#nerf-root .faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--nerf-teal);
  transition: transform var(--nerf-transition);
}

#nerf-root .faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

#nerf-root .faq-answer {
  display: none;
  padding: 0 var(--nerf-space-md) var(--nerf-space-md);
}

#nerf-root .faq-item.active .faq-answer {
  display: block;
}

#nerf-root .faq-answer p {
  font-size: 0.9375rem;
  color: var(--nerf-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ===========================================
   9. RELATED PRODUCTS SECTION
   =========================================== */
#nerf-root .related-products {
  padding: var(--nerf-space-xl) 0;
  background-color: var(--nerf-bg);
}

#nerf-root .related-products h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--nerf-text);
  margin-bottom: var(--nerf-space-lg);
  text-align: center;
}

#nerf-root .products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--nerf-space-md);
}

@media (max-width: 992px) {
  #nerf-root .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #nerf-root .products-grid {
    grid-template-columns: 1fr;
  }
}

#nerf-root a.product-card,
#nerf-root .product-card {
  display: block;
  background-color: var(--nerf-bg);
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--nerf-transition);
}

#nerf-root .product-card:hover {
  border-color: var(--nerf-teal);
  box-shadow: var(--nerf-shadow-md);
  transform: translateY(-4px);
}

#nerf-root .product-card img {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform var(--nerf-transition-slow);
}

#nerf-root .related-products .product-card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  display: block !important;
}

#nerf-root .related-products .product-card h3 {
  padding: 0.5rem !important;
}

#nerf-root .product-card:hover img {
  transform: scale(1.05);
}

#nerf-root .product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--nerf-text);
  padding: var(--nerf-space-sm);
  margin: 0;
  text-align: center;
}

#nerf-root .product-card:hover h3 {
  color: var(--nerf-teal);
}

/* ===========================================
   10. MOBILE STICKY BAR
   =========================================== */
#nerf-root .mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--nerf-bg);
  border-top: 1px solid var(--nerf-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: var(--nerf-space-sm);
  gap: var(--nerf-space-sm);
}

@media (max-width: 768px) {
  #nerf-root .mobile-sticky-bar {
    display: flex;
  }
}

#nerf-root .mobile-sticky-bar .btn {
  flex: 1;
}

/* ===========================================
   11. MODAL
   Bootstrap JS modals — .modal-backdrop is
   appended to <body> by Bootstrap so it stays
   unscoped. Everything else is scoped.
   =========================================== */
#nerf-root .modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

#nerf-root .modal.show,
#nerf-root .modal.active {
  display: block;
}

/* modal-backdrop is appended to <body> by Bootstrap JS — keep unscoped */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-backdrop.show {
  opacity: 1;
}

#nerf-root .modal-dialog {
  position: relative;
  width: auto;
  max-width: 500px;
  margin: 1.75rem auto;
  pointer-events: none;
}

#nerf-root .modal-dialog.modal-lg {
  max-width: 700px;
}

#nerf-root .modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}

#nerf-root .modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: var(--nerf-bg);
  border-radius: var(--nerf-radius-lg);
  box-shadow: var(--nerf-shadow-xl);
  overflow: hidden;
}

#nerf-root .modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 1.5rem;
  color: var(--nerf-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--nerf-radius);
  transition: all var(--nerf-transition);
  flex-shrink: 0;
}

#nerf-root .modal-close:hover {
  background-color: var(--nerf-bg-muted);
  color: var(--nerf-text);
}

#nerf-root .modal .close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 1.5rem;
  color: var(--nerf-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 1;
}

#nerf-root .modal .close:hover {
  color: var(--nerf-text);
}

#nerf-root .modal-content h2 {
  font-size: 1.5rem;
  color: var(--nerf-text);
  margin-bottom: var(--nerf-space-lg);
  padding-right: var(--nerf-space-xl);
}

/* ===========================================
   11b. CART MODAL STYLES
   =========================================== */
#nerf-root .cart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--nerf-space-md) var(--nerf-space-lg);
  border-bottom: 1px solid var(--nerf-border);
}

#nerf-root .cart-modal-header h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nerf-text);
  margin: 0;
}

#nerf-root .cart-modal-body {
  padding: var(--nerf-space-md) var(--nerf-space-lg);
  max-height: 60vh;
  overflow-y: auto;
}

#nerf-root .cart-item {
  display: flex;
  gap: var(--nerf-space-md);
  padding: var(--nerf-space-md) 0;
  border-bottom: 1px solid var(--nerf-border-light);
}

#nerf-root .cart-item:last-of-type {
  border-bottom: none;
}

#nerf-root .cart-item-image {
  position: relative;
  width: 120px;
  flex-shrink: 0;
}

#nerf-root .cart-item-image img {
  width: 100%;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  border-radius: var(--nerf-radius-sm);
  background: #fff;
}

#nerf-root .cart-item-details {
  flex: 1;
  min-width: 0;
}

#nerf-root .cart-item-title {
  font-weight: 600;
  color: var(--nerf-text);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

#nerf-root .cart-item-type {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--nerf-text-muted);
}

#nerf-root .cart-item-price {
  font-size: 0.9375rem;
  color: var(--nerf-text);
  margin-bottom: 0.5rem;
}

#nerf-root .cart-item-price strong {
  color: var(--nerf-teal);
}

#nerf-root .cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

#nerf-root .cart-item-qty label {
  color: var(--nerf-text-muted);
  margin: 0;
}

#nerf-root .cart-item-qty input {
  width: 60px;
  padding: 0.375rem 0.5rem;
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius-sm);
  font-size: 0.9375rem;
  text-align: center;
}

#nerf-root .cart-item-qty input:focus {
  outline: none;
  border-color: var(--nerf-teal);
}

#nerf-root .cart-empty {
  text-align: center;
  padding: var(--nerf-space-xl) 0;
  color: var(--nerf-text-muted);
}

#nerf-root .cart-subtotal {
  display: flex;
  justify-content: flex-end;
  padding-top: var(--nerf-space-md);
  border-top: 1px solid var(--nerf-border);
  margin-top: var(--nerf-space-sm);
}

#nerf-root .cart-subtotal h5 {
  font-size: 1.125rem;
  color: var(--nerf-text);
  margin: 0;
}

#nerf-root .cart-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--nerf-space-sm);
  padding: var(--nerf-space-md) var(--nerf-space-lg);
  border-top: 1px solid var(--nerf-border);
}

#nerf-root .sc-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
}

#nerf-root .remove-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: var(--nerf-red);
  color: var(--nerf-text-white);
  border-radius: var(--nerf-radius-full);
  font-size: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}

#nerf-root .remove-glyph::before {
  content: "✕";
}

#nerf-root .remove-glyph:hover {
  background-color: #d32f3d;
}

@media (max-width: 640px) {
  #nerf-root .cart-item {
    flex-direction: column;
    gap: var(--nerf-space-sm);
  }
  
  #nerf-root .cart-item-image {
    width: 100%;
  }
  
  #nerf-root .cart-item-image img {
    height: auto;
    max-height: 140px;
    width: 100%;
    object-fit: contain;
  }
  
  #nerf-root .cart-modal-footer {
    flex-wrap: wrap;
  }
  
  #nerf-root .cart-modal-footer .btn {
    flex: 1;
    min-width: 100px;
  }
  
  #nerf-root .modal-dialog.modal-lg {
    margin: 0.5rem;
  }
}

/* Form Styles */
#nerf-root .form-group {
  margin-bottom: var(--nerf-space-md);
}

#nerf-root .form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nerf-text);
  margin-bottom: var(--nerf-space-xs);
}

#nerf-root .form-group input,
#nerf-root .form-group select,
#nerf-root .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--nerf-text);
  background-color: var(--nerf-bg);
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius);
  transition: all var(--nerf-transition);
}

#nerf-root .form-group input:focus,
#nerf-root .form-group select:focus,
#nerf-root .form-group textarea:focus {
  outline: none;
  border-color: var(--nerf-teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

#nerf-root .form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===========================================
   12. HEADER COMPONENT
   =========================================== */
#nerf-root .nerf-header,
#nerf-root .site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(13, 27, 42, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nerf-border);
  transition: box-shadow var(--nerf-transition);
}

#nerf-root .nerf-header.scrolled,
#nerf-root .site-header.scrolled {
  box-shadow: var(--nerf-shadow-md);
}

#nerf-root .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nerf-space-md);
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--nerf-space-sm) var(--nerf-space-md);
}

#nerf-root .logo {
  flex-shrink: 0;
}

#nerf-root .logo img {
  height: 50px;
  width: auto;
}

#nerf-root .main-nav {
  display: flex;
  align-items: center;
}

#nerf-root .nav-list {
  display: flex;
  align-items: center;
  gap: var(--nerf-space-xs);
  list-style: none;
  margin: 0;
  padding: 0;
}

#nerf-root .nav-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nerf-text) !important;
  text-decoration: none !important;
  border-radius: var(--nerf-radius);
  transition: all var(--nerf-transition);
}

#nerf-root .nav-link:hover,
#nerf-root .nav-link.active {
  color: var(--nerf-teal) !important;
  background-color: var(--nerf-bg-muted);
}

#nerf-root .mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 992px) {
  #nerf-root .main-nav {
    display: none;
  }
  
  #nerf-root .mobile-toggle {
    display: flex;
  }
}

/* ===========================================
   13. FOOTER COMPONENT
   =========================================== */
#nerf-root .site-footer,
#nerf-root footer {
  background-color: var(--nerf-text) !important;
  color: var(--nerf-text-white) !important;
}

#nerf-root .footer-main {
  padding: var(--nerf-space-2xl) 0;
}

#nerf-root .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--nerf-space-xl);
}

@media (max-width: 768px) {
  #nerf-root .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--nerf-space-lg);
  }
}

#nerf-root .footer-col h2,
#nerf-root .footer-col h3 {
  color: var(--nerf-text-white) !important;
  font-size: 1.125rem;
  margin-bottom: var(--nerf-space-md);
}

#nerf-root .footer-col p {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9375rem;
  line-height: 1.7;
}

#nerf-root .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

#nerf-root .footer-links li {
  padding: 0.375rem 0;
}

#nerf-root .footer-links a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--nerf-transition);
}

#nerf-root .footer-links a:hover {
  color: var(--nerf-teal-light) !important;
}

#nerf-root .footer-bottom {
  padding: var(--nerf-space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

#nerf-root .footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ===========================================
   14. HERO SECTION
   =========================================== */
#nerf-root .hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-color: var(--nerf-text);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

#nerf-root .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(30, 58, 95, 0.7) 100%);
}

#nerf-root .hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: var(--nerf-text-white);
}

#nerf-root .hero h1 {
  color: var(--nerf-text-white) !important;
  margin-bottom: var(--nerf-space-md);
}

#nerf-root .hero .accent {
  color: var(--nerf-teal-light) !important;
}

#nerf-root .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: var(--nerf-space-lg);
  line-height: 1.6;
}

/* ===========================================
   15. PRODUCT CARDS (GRID)
   =========================================== */
#nerf-root .products-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--nerf-space-lg);
}

@media (max-width: 992px) {
  #nerf-root .products-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #nerf-root .products-list {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   16. TESTIMONIALS
   =========================================== */
#nerf-root .testimonials-section {
  padding: var(--nerf-space-xl) 0;
  background-color: var(--nerf-bg-muted);
}

#nerf-root .testimonial-card {
  background-color: var(--nerf-bg);
  border-radius: var(--nerf-radius-lg);
  padding: var(--nerf-space-lg);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

#nerf-root .testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: var(--nerf-space-md);
  color: var(--nerf-orange) !important;
  font-size: 1.25rem;
}

#nerf-root .testimonial-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--nerf-text);
  font-style: italic;
  margin-bottom: var(--nerf-space-md);
}

#nerf-root .testimonial-author {
  font-weight: 600;
  color: var(--nerf-text);
}

/* ===========================================
   17. CONTACT SECTION
   =========================================== */
#nerf-root .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--nerf-space-lg);
  margin-bottom: var(--nerf-space-xl);
}

@media (max-width: 640px) {
  #nerf-root .contact-grid {
    grid-template-columns: 1fr;
  }
}

#nerf-root .contact-card {
  background-color: var(--nerf-bg);
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius-lg);
  padding: var(--nerf-space-xl);
  text-align: center;
  transition: all var(--nerf-transition);
}

#nerf-root .contact-card:hover {
  border-color: var(--nerf-teal);
  box-shadow: var(--nerf-shadow-md);
}

#nerf-root .contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--nerf-space-md);
  background-color: var(--nerf-bg-muted);
  border-radius: var(--nerf-radius-full);
  color: var(--nerf-teal);
  font-size: 2rem;
}

#nerf-root .contact-card h4 {
  margin-bottom: var(--nerf-space-xs);
}

#nerf-root .contact-card p,
#nerf-root .contact-card a {
  color: var(--nerf-text-muted);
}

/* ===========================================
   18. CTA SECTION
   =========================================== */
#nerf-root .cta-section {
  background: linear-gradient(135deg, var(--nerf-navy) 0%, var(--nerf-navy-dark) 100%) !important;
  padding: var(--nerf-space-2xl) 0;
  text-align: center;
}

#nerf-root .cta-section h2 {
  color: var(--nerf-text-white) !important;
  margin-bottom: var(--nerf-space-sm);
}

#nerf-root .cta-section p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1.125rem;
  margin-bottom: var(--nerf-space-lg);
}

#nerf-root .cta-section .btn {
  margin: 0 var(--nerf-space-xs);
}

/* ===========================================
   19. PAGE HEADER
   =========================================== */
#nerf-root .page-header {
  padding: var(--nerf-space-xl) 0;
  background-color: var(--nerf-bg-muted);
  text-align: center;
}

#nerf-root .page-header .subtitle {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nerf-teal);
  margin-bottom: var(--nerf-space-xs);
}

#nerf-root .page-header h1 {
  margin-bottom: 0;
}

/* ===========================================
   20. UTILITY: CHECK ICON
   =========================================== */
#nerf-root .check {
  color: var(--nerf-teal) !important;
  font-weight: bold;
}

/* ===========================================
   21. VENUE INFO BOX
   =========================================== */
#nerf-root .venue-info-box {
  padding: var(--nerf-space-xl) 0;
  background-color: var(--nerf-bg-muted);
}

#nerf-root .venue-info-box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--nerf-text);
  margin-bottom: var(--nerf-space-lg);
  text-align: center;
}

#nerf-root .venue-info-card {
  background-color: var(--nerf-bg);
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius-lg);
  padding: var(--nerf-space-xl);
  max-width: 600px;
  margin: 0 auto;
}

#nerf-root .venue-details {
  margin: 0;
  padding: 0;
}

#nerf-root .venue-details dt {
  font-weight: 600;
  color: var(--nerf-text);
  font-size: 0.9375rem;
  margin-top: var(--nerf-space-sm);
}

#nerf-root .venue-details dt:first-child {
  margin-top: 0;
}

#nerf-root .venue-details dd {
  margin: 0.25rem 0 0 0;
  color: var(--nerf-text);
  font-size: 1rem;
  padding-bottom: var(--nerf-space-sm);
  border-bottom: 1px solid var(--nerf-border-light);
}

#nerf-root .venue-details dd:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

#nerf-root .venue-details dd a {
  color: var(--nerf-teal);
  text-decoration: none;
  transition: color var(--nerf-transition);
}

#nerf-root .venue-details dd a:hover {
  color: var(--nerf-text);
  text-decoration: underline;
}

#nerf-root .venue-note {
  margin-top: var(--nerf-space-md);
  padding-top: var(--nerf-space-md);
  border-top: 1px solid var(--nerf-border);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--nerf-text-muted);
  text-align: center;
}

/* ===========================================
   22. VENUE MAP SECTION
   =========================================== */
#nerf-root .venue-map {
  padding: var(--nerf-space-xl) 0;
  background-color: var(--nerf-bg);
}

#nerf-root .map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--nerf-radius-lg);
  overflow: hidden;
  border: 1px solid var(--nerf-border);
}

#nerf-root .map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  #nerf-root .map-embed {
    padding-bottom: 75%;
  }
}

/* ===========================================
   LOVABLE-PREFIXED SELECTORS
   All scoped under #nerf-root
   =========================================== */

/* --- HEADER --- */
#nerf-root .nerf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nerf-space-md);
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--nerf-space-sm) var(--nerf-space-md);
  min-height: 80px;
}

#nerf-root .nerf-logo {
  flex-shrink: 0;
}

#nerf-root .nerf-logo img {
  height: 48px;
  width: auto;
}

@media (min-width: 769px) {
  #nerf-root .nerf-logo img {
    height: 56px;
  }
}

#nerf-root .nerf-nav {
  display: flex;
  align-items: center;
}

#nerf-root .nerf-nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

#nerf-root .nerf-nav-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  color: var(--nerf-text) !important;
  text-decoration: none !important;
  border-radius: var(--nerf-radius);
  transition: all var(--nerf-transition);
}

#nerf-root .nerf-nav-link:hover {
  color: var(--nerf-teal) !important;
  background-color: var(--nerf-bg-muted);
}

#nerf-root .nerf-nav-active {
  color: var(--nerf-red) !important;
  font-weight: 600 !important;
}

#nerf-root .nerf-nav-dropdown {
  position: relative;
}

#nerf-root .nerf-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--nerf-bg);
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius);
  box-shadow: var(--nerf-shadow-lg);
  list-style: none;
  padding: var(--nerf-space-xs) 0;
  margin: 0;
  z-index: 1001;
}

#nerf-root .nerf-nav-dropdown:hover .nerf-dropdown-menu {
  display: block;
}

#nerf-root .nerf-dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--nerf-text) !important;
  text-decoration: none !important;
  font-size: 0.9375rem;
  transition: all var(--nerf-transition);
}

#nerf-root .nerf-dropdown-menu li a:hover {
  background-color: var(--nerf-bg-muted);
  color: var(--nerf-teal) !important;
}

#nerf-root .nerf-header-actions {
  display: flex;
  align-items: center;
  gap: var(--nerf-space-sm);
}

#nerf-root .nerf-search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius);
  overflow: hidden;
}

#nerf-root .nerf-search-form input {
  border: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  outline: none;
  width: 140px;
}

#nerf-root .nerf-search-form button {
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--nerf-text-muted);
  transition: color var(--nerf-transition);
}

#nerf-root .nerf-search-form button:hover {
  color: var(--nerf-teal);
}

#nerf-root .nerf-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius);
  background: transparent;
  color: var(--nerf-text) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: all var(--nerf-transition);
}

#nerf-root .nerf-btn-icon:hover {
  border-color: var(--nerf-teal);
  color: var(--nerf-teal) !important;
}

#nerf-root .nerf-cart-btn {
  position: relative;
}

#nerf-root .nerf-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--nerf-red) !important;
  color: var(--nerf-text-white) !important;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--nerf-radius-full);
  padding: 0 4px;
}

#nerf-root .nerf-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  gap: 5px;
}

#nerf-root .nerf-mobile-toggle span,
#nerf-root .nerf-mobile-toggle span::before,
#nerf-root .nerf-mobile-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--nerf-text) !important;
  transition: all var(--nerf-transition);
}

#nerf-root .nerf-mobile-toggle span {
  position: relative;
}

#nerf-root .nerf-mobile-toggle span::before,
#nerf-root .nerf-mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

#nerf-root .nerf-mobile-toggle span::before {
  top: -7px;
}

#nerf-root .nerf-mobile-toggle span::after {
  top: 7px;
}

#nerf-root .nerf-header-scrolled {
  box-shadow: var(--nerf-shadow-md);
}

@media (max-width: 992px) {
  #nerf-root .nerf-header {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    /* NO overflow: hidden — it clips the hamburger */
  }

  #nerf-root .nerf-header-inner {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
  }

  #nerf-root .nerf-header-actions {
    margin-left: auto !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  #nerf-root .nerf-nav {
    display: none;
  }

  #nerf-root .nerf-search-form {
    display: none;
  }

  #nerf-root .nerf-mobile-toggle {
    display: flex !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-left: auto !important;
  }

  /* Constrain logo so it doesn't push other elements off-screen */
  #nerf-root .nerf-logo {
    flex-shrink: 1 !important;
    min-width: 0 !important;
    max-width: 50% !important;
  }
  #nerf-root .nerf-logo img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* --- LAYOUT / WRAPPER --- */
#nerf-root .nerf-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--nerf-space-md);
}

#nerf-root .nerf-wrapper-narrow {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--nerf-space-md);
}

#nerf-root .nerf-section {
  padding: var(--nerf-space-2xl) 0;
}

#nerf-root .nerf-section-muted {
  background-color: var(--nerf-bg-muted) !important;
}

#nerf-root .nerf-section-gradient {
  background: linear-gradient(135deg, #f8fafc 0%, rgba(21, 165, 181, 0.1) 100%) !important;
}

#nerf-root .nerf-section-header {
  text-align: center !important;
  margin-bottom: var(--nerf-space-xl);
}

#nerf-root .nerf-section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
  color: var(--nerf-text) !important;
  margin-bottom: var(--nerf-space-xs);
}

#nerf-root .nerf-section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--nerf-red) !important;
  background-color: rgba(236, 19, 19, 0.1) !important;
  padding: 0.375rem 1rem;
  border-radius: var(--nerf-radius-full);
  margin-bottom: var(--nerf-space-sm);
}

#nerf-root .nerf-section-subtitle-teal {
  color: var(--nerf-teal) !important;
  background-color: rgba(21, 165, 181, 0.1) !important;
}

#nerf-root .nerf-section-subtitle-orange {
  color: var(--nerf-orange) !important;
  background-color: rgba(244, 162, 97, 0.2) !important;
}

#nerf-root .nerf-section-intro {
  font-size: 1.125rem;
  color: var(--nerf-text-muted) !important;
  max-width: 600px;
  margin: 0 auto !important;
  line-height: 1.7;
  text-align: center !important;
}

/* --- HERO --- */
#nerf-root .nerf-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-color: var(--nerf-text) !important;
  overflow: hidden;
}

#nerf-root .nerf-hero-collage {
  background: linear-gradient(135deg, var(--nerf-navy) 0%, var(--nerf-navy-dark) 100%) !important;
  padding: var(--nerf-space-2xl) 0;
}

#nerf-root .nerf-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--nerf-space-xl);
  align-items: center;
}

@media (max-width: 768px) {
  #nerf-root .nerf-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--nerf-space-lg);
  }
}

#nerf-root .nerf-hero-content {
  position: relative;
  z-index: 1;
  color: var(--nerf-text-white) !important;
}

#nerf-root .nerf-hero-content h1 {
  color: var(--nerf-text-white) !important;
  margin-bottom: var(--nerf-space-md);
}

#nerf-root .nerf-hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--nerf-text-white) !important;
  padding: 0.5rem 1rem;
  border-radius: var(--nerf-radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--nerf-space-md);
}

#nerf-root .nerf-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: var(--nerf-space-lg);
  line-height: 1.6;
}

#nerf-root .nerf-hero-collage-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--nerf-space-sm);
}

#nerf-root .nerf-collage-image {
  border-radius: var(--nerf-radius-xl);
  overflow: hidden;
  box-shadow: var(--nerf-shadow-xl);
  position: relative;
}

#nerf-root .nerf-collage-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
  pointer-events: none;
}

#nerf-root .nerf-collage-image img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  #nerf-root .nerf-collage-image img {
    height: 16rem;
  }
}

@media (min-width: 1024px) {
  #nerf-root .nerf-collage-image img {
    height: 18rem;
  }
}

#nerf-root .nerf-collage-offset {
  transform: translateY(1.5rem);
}

@media (max-width: 768px) {
  #nerf-root .nerf-hero-collage-images {
    grid-template-columns: repeat(3, 1fr);
  }

  #nerf-root .nerf-collage-offset {
    transform: none;
  }
}

/* --- PARTY CARDS --- */
#nerf-root .nerf-party-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--nerf-space-md);
}

@media (max-width: 992px) {
  #nerf-root .nerf-party-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #nerf-root .nerf-party-grid {
    grid-template-columns: 1fr;
  }
}

#nerf-root .nerf-party-card {
  background: linear-gradient(to bottom right, #ffffff, rgba(248, 250, 252, 0.3)) !important;
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius-lg);
  overflow: hidden;
  transition: all var(--nerf-transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

#nerf-root .nerf-party-card:hover {
  border-color: var(--nerf-teal);
  box-shadow: var(--nerf-shadow-lg);
  transform: translateY(-4px);
}

#nerf-root .nerf-btn-pill {
  border-radius: 9999px !important;
}

#nerf-root .nerf-party-image {
  position: relative;
  overflow: hidden;
}

#nerf-root .nerf-party-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--nerf-transition-slow);
}

#nerf-root .nerf-party-card:hover .nerf-party-image img {
  transform: scale(1.05);
}

#nerf-root .nerf-party-badge {
  position: absolute;
  top: var(--nerf-space-sm);
  right: var(--nerf-space-sm);
  padding: 0.25rem 0.75rem;
  border-radius: var(--nerf-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

#nerf-root .nerf-badge-popular {
  background-color: var(--nerf-red) !important;
  color: var(--nerf-text-white) !important;
}

#nerf-root .nerf-badge-new {
  background-color: var(--nerf-red) !important;
  color: var(--nerf-text-white) !important;
}

#nerf-root .nerf-party-body {
  padding: var(--nerf-space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

#nerf-root .nerf-party-body h3 {
  font-size: 1.25rem !important;
  color: var(--nerf-text) !important;
  margin-bottom: var(--nerf-space-xs);
  text-align: center;
}

#nerf-root .nerf-party-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--nerf-space-sm);
  font-size: 0.875rem;
  color: var(--nerf-text-muted) !important;
}

#nerf-root .nerf-party-features li {
  padding: 0.25rem 0;
}

#nerf-root .nerf-party-features li .fa-check {
  color: var(--nerf-teal) !important;
  margin-right: 0.5rem;
}

#nerf-root .nerf-party-price {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--nerf-red) !important;
  margin-bottom: var(--nerf-space-sm);
  text-align: center;
}

#nerf-root .nerf-party-actions {
  display: flex;
  gap: var(--nerf-space-xs);
  margin-top: auto;
}

#nerf-root .nerf-party-actions .nerf-btn {
  flex: 1;
  text-align: center;
}

/* --- TRUST BAR --- */
#nerf-root .nerf-trust-bar {
  padding: var(--nerf-space-md) 0;
  border-top: 1px solid var(--nerf-border);
  border-bottom: 1px solid var(--nerf-border);
}

#nerf-root .nerf-trust-bar-gradient {
  background: linear-gradient(to right, #f8fafc, rgba(21, 165, 181, 0.1)) !important;
}

#nerf-root .nerf-trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--nerf-space-md);
}

#nerf-root .nerf-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nerf-text) !important;
}

#nerf-root .nerf-trust-item-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#nerf-root .nerf-trust-emoji {
  font-size: 1.5rem;
  line-height: 1;
}

#nerf-root .nerf-trust-label {
  font-weight: 600 !important;
  color: var(--nerf-text) !important;
  font-size: 0.875rem !important;
  margin: 0 !important;
  line-height: 1.3;
}

#nerf-root .nerf-trust-sub {
  font-size: 0.75rem !important;
  color: var(--nerf-text-muted) !important;
  margin: 0 !important;
  line-height: 1.3;
}

#nerf-root .nerf-trust-divider {
  display: none;
  width: 1px;
  height: 40px;
  background-color: var(--nerf-border);
}

@media (min-width: 769px) {
  #nerf-root .nerf-trust-divider {
    display: block;
  }
}

#nerf-root .nerf-trust-item-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none !important;
  transition: opacity var(--nerf-transition);
}

#nerf-root .nerf-trust-item-link:hover {
  opacity: 0.8;
}

#nerf-root .nerf-trust-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

#nerf-root .nerf-trust-score {
  font-weight: 700;
  color: var(--nerf-text) !important;
  font-size: 0.875rem;
}

#nerf-root .nerf-trust-logo {
  height: 20px;
  width: auto;
}

#nerf-root .nerf-trust-fb-icon {
  width: 24px;
  height: 24px;
  background-color: #1877f2;
  border-radius: var(--nerf-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

#nerf-root .nerf-trust-ext {
  color: var(--nerf-text-muted);
  opacity: 0;
  transition: opacity var(--nerf-transition);
}

#nerf-root .nerf-trust-item-link:hover .nerf-trust-ext {
  opacity: 1;
}

#nerf-root .nerf-trust-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nerf-text) !important;
  text-decoration: none !important;
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius-full);
  background: transparent;
  transition: all var(--nerf-transition);
}

#nerf-root .nerf-trust-pill-btn:hover {
  background-color: var(--nerf-bg-muted);
  border-color: var(--nerf-text-muted);
}

/* --- BUTTONS (PREFIXED) --- */
#nerf-root .nerf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  line-height: 1.4;
  text-decoration: none !important;
  border: none;
  border-radius: var(--nerf-radius);
  cursor: pointer;
  transition: all var(--nerf-transition);
  white-space: nowrap;
}

#nerf-root .nerf-btn:focus {
  outline: 2px solid var(--nerf-teal);
  outline-offset: 2px;
}

#nerf-root .nerf-btn-primary {
  background-color: #e53935 !important;
  color: var(--nerf-text-white) !important;
}

#nerf-root .nerf-btn-primary:hover {
  background-color: #d32f3d !important;
  color: var(--nerf-text-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--nerf-shadow-md);
}

#nerf-root .nerf-btn-secondary {
  background-color: var(--nerf-text) !important;
  color: var(--nerf-text-white) !important;
}

#nerf-root .nerf-btn-secondary:hover {
  background-color: var(--nerf-text-white) !important;
  color: var(--nerf-text-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--nerf-shadow-md);
}

#nerf-root .nerf-btn-accent {
  background-color: var(--nerf-teal) !important;
  color: var(--nerf-text-white) !important;
}

#nerf-root .nerf-btn-accent:hover {
  background-color: var(--nerf-teal-light) !important;
  color: var(--nerf-text-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--nerf-shadow-md);
}

#nerf-root .nerf-btn-outline {
  background-color: transparent !important;
  color: var(--nerf-text) !important;
  border: 1px solid var(--nerf-border) !important;
}

#nerf-root .nerf-btn-outline:hover {
  background-color: var(--nerf-bg-muted) !important;
  border-color: var(--nerf-text) !important;
  color: var(--nerf-text) !important;
}

#nerf-root .nerf-btn-light {
  background-color: var(--nerf-text-white) !important;
  color: var(--nerf-red) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 9999px !important;
}

#nerf-root .nerf-btn-light:hover {
  background-color: rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-2px);
  box-shadow: var(--nerf-shadow-lg);
}

#nerf-root .nerf-btn-white {
  background-color: var(--nerf-text-white) !important;
  color: var(--nerf-red) !important;
  border-radius: 9999px !important;
}

#nerf-root .nerf-btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-2px);
  box-shadow: var(--nerf-shadow-lg);
}

/* --- SVG ICON SIZING IN BUTTONS --- */
#nerf-root .nerf-btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

#nerf-root .nerf-btn-lg svg {
  width: 1.25rem;
  height: 1.25rem;
}

#nerf-root .nerf-btn-lg {
  padding: 1.25rem 2.5rem !important;
  font-size: 1.125rem !important;
  box-shadow: var(--nerf-shadow-lg);
}

/* --- TESTIMONIALS (PREFIXED) --- */
#nerf-root .nerf-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--nerf-space-lg);
}

@media (max-width: 992px) {
  #nerf-root .nerf-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #nerf-root .nerf-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

#nerf-root .nerf-testimonial-card {
  background-color: var(--nerf-bg) !important;
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius-xl);
  padding: var(--nerf-space-lg);
  transition: all var(--nerf-transition);
  box-shadow: var(--nerf-shadow-lg);
}

#nerf-root .nerf-testimonial-card:hover {
  box-shadow: var(--nerf-shadow-lg);
}

#nerf-root .nerf-testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: var(--nerf-space-sm);
  color: var(--nerf-orange) !important;
  font-size: 1.125rem;
}

#nerf-root .nerf-testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--nerf-text) !important;
  font-style: italic;
  margin-bottom: var(--nerf-space-md);
}

#nerf-root .nerf-testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--nerf-space-sm);
}

#nerf-root .nerf-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--nerf-radius-full);
  background: linear-gradient(135deg, var(--nerf-navy), var(--nerf-teal)) !important;
  color: var(--nerf-text-white) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

#nerf-root .nerf-testimonial-info {
  display: flex;
  flex-direction: column;
}

#nerf-root .nerf-testimonial-name {
  font-weight: 600;
  color: var(--nerf-text) !important;
  font-size: 0.9375rem;
}

#nerf-root .nerf-testimonial-location {
  font-size: 0.8125rem;
  color: var(--nerf-text-muted) !important;
}

/* --- CTA SECTION (PREFIXED) --- */
#nerf-root .nerf-cta {
  background: linear-gradient(to right, #ec1313, rgba(236, 19, 19, 0.8)) !important;
  padding: var(--nerf-space-2xl) 0;
  text-align: center;
}

#nerf-root .nerf-cta h2 {
  color: var(--nerf-text-white) !important;
  margin-bottom: var(--nerf-space-sm);
}

#nerf-root .nerf-cta p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1.125rem;
  margin-bottom: var(--nerf-space-lg);
}

#nerf-root .nerf-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--nerf-space-sm);
  flex-wrap: wrap;
}

#nerf-root .nerf-cta-buttons .nerf-btn {
  min-width: 220px;
  height: 56px;
}

/* --- FOOTER (PREFIXED) --- */
#nerf-root .nerf-footer {
  background-color: var(--nerf-text) !important;
  color: var(--nerf-text-white) !important;
  padding: var(--nerf-space-2xl) 0 0;
}

#nerf-root .nerf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--nerf-space-xl);
}

@media (max-width: 768px) {
  #nerf-root .nerf-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--nerf-space-lg);
  }
}

#nerf-root .nerf-footer-col h2,
#nerf-root .nerf-footer-col h3 {
  color: var(--nerf-text-white) !important;
  font-size: 1.125rem;
  margin-bottom: var(--nerf-space-md);
}

#nerf-root .nerf-footer-col p {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9375rem;
  line-height: 1.7;
}

#nerf-root .nerf-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

#nerf-root .nerf-footer-links li {
  padding: 0.375rem 0;
}

#nerf-root .nerf-footer-links a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9375rem;
  text-decoration: none !important;
  transition: color var(--nerf-transition);
}

#nerf-root .nerf-footer-links a:hover {
  color: var(--nerf-teal-light) !important;
}

#nerf-root .nerf-footer-bottom {
  padding: var(--nerf-space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: var(--nerf-space-xl);
}

#nerf-root .nerf-footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* --- UTILITIES (PREFIXED) --- */
#nerf-root .nerf-accent {
  color: var(--nerf-teal-light) !important;
}

#nerf-root .nerf-text-center {
  text-align: center !important;
}

#nerf-root .nerf-mt-lg {
  margin-top: var(--nerf-space-lg);
}

#nerf-root .nerf-prose {
  max-width: 65ch;
}

#nerf-root .nerf-prose p {
  margin-bottom: var(--nerf-space-md);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--nerf-text) !important;
}

#nerf-root .nerf-link-external {
  color: var(--nerf-red) !important;
  text-decoration: underline !important;
}

#nerf-root .nerf-link-external:hover {
  color: #d32f3d !important;
}

/* --- FOOTER MAIN WRAPPER --- */
#nerf-root .nerf-footer-main {
  padding: var(--nerf-space-xs) 0 var(--nerf-space-md);
}

/* --- SOCIAL LINKS IN FOOTER --- */
#nerf-root .nerf-social-links {
  display: flex;
  gap: var(--nerf-space-sm);
  margin-top: var(--nerf-space-md);
}

#nerf-root .nerf-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--nerf-radius-full);
  transition: background-color var(--nerf-transition);
}

#nerf-root .nerf-social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

#nerf-root .nerf-social-links img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* --- PHONE LINK --- */
#nerf-root .nerf-phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--nerf-text) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color var(--nerf-transition);
}

#nerf-root .nerf-phone-link:hover {
  color: var(--nerf-red) !important;
}

/* --- CART BUTTON STYLED --- */
#nerf-root .nerf-cart-btn-styled {
  background-color: var(--nerf-red) !important;
  color: var(--nerf-text-white) !important;
  border: none !important;
  border-radius: var(--nerf-radius-full) !important;
  width: 44px;
  height: 44px;
}

#nerf-root .nerf-cart-btn-styled:hover {
  background-color: #d32f3d !important;
}

@media (max-width: 768px) {
  #nerf-root .nerf-phone-link span {
    display: none;
  }
}

/* ===========================================
   LISTING PAGES — Page Header
   =========================================== */
#nerf-root .nerf-page-header {
  background: linear-gradient(135deg, var(--nerf-navy) 0%, rgba(45, 27, 105, 0.8) 100%) !important;
  padding: var(--nerf-space-2xl) 0 !important;
  text-align: center !important;
  color: var(--nerf-text-white) !important;
}

#nerf-root .nerf-page-header h1 {
  font-size: clamp(2rem, 5vw, 2.5rem) !important;
  font-weight: 800 !important;
  color: var(--nerf-text-white) !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}

#nerf-root .nerf-subtitle {
  display: inline-block !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: var(--nerf-text-white) !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 9999px !important;
  margin-bottom: var(--nerf-space-sm) !important;
}

/* ===========================================
   LISTING PAGES — Sidebar Layout
   =========================================== */
#nerf-root .nerf-layout-sidebar {
  display: grid !important;
  grid-template-columns: 256px 1fr !important;
  gap: var(--nerf-space-lg) !important;
  align-items: start !important;
}

@media (max-width: 992px) {
  #nerf-root .nerf-layout-sidebar {
    grid-template-columns: 1fr !important;
  }
}

#nerf-root .nerf-sidebar {
  position: sticky !important;
  top: 100px !important;
}

@media (max-width: 992px) {
  #nerf-root .nerf-sidebar {
    position: static !important;
  }
}

#nerf-root .nerf-products-main {
  min-width: 0 !important;
}

/* ===========================================
   LISTING PAGES — Sidebar Components
   =========================================== */
#nerf-root .nerf-sidebar-block {
  background-color: var(--nerf-bg) !important;
  border: 1px solid var(--nerf-border) !important;
  border-radius: 12px !important;
  padding: var(--nerf-space-md) !important;
  margin-bottom: var(--nerf-space-md) !important;
}

#nerf-root .nerf-sidebar-title {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: var(--nerf-text) !important;
  margin: 0 0 var(--nerf-space-sm) !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

#nerf-root .nerf-sidebar-content {
  /* container for filter lists etc */
}

/* Collapse filters by default on mobile */
@media (max-width: 992px) {
  #nerf-root .nerf-sidebar-content {
    display: none !important;
  }
  #nerf-root .nerf-sidebar-content.is-open {
    display: block !important;
  }
}

#nerf-root .nerf-filter-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: var(--nerf-space-sm) var(--nerf-space-md) !important;
  background-color: var(--nerf-text) !important;
  color: var(--nerf-text-white) !important;
  border: none !important;
  border-radius: var(--nerf-radius) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color var(--nerf-transition) !important;
}

@media (min-width: 993px) {
  #nerf-root .nerf-filter-toggle {
    display: none !important;
  }
}

#nerf-root .nerf-filter-toggle:hover {
  background-color: #1a2a4a !important;
}

#nerf-root .nerf-filter-toggle svg {
  fill: var(--nerf-text-white) !important;
}

#nerf-root .nerf-filter-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#nerf-root .nerf-filter-item {
  padding: 0 !important;
  margin-bottom: 0.75rem !important;
  border-bottom: none !important;
}

#nerf-root .nerf-filter-item:last-child {
  margin-bottom: 0 !important;
  border-bottom: none !important;
}

#nerf-root .nerf-filter-item label {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  font-size: 0.9375rem !important;
  color: var(--nerf-text-muted) !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

#nerf-root .nerf-filter-item label:hover {
  color: var(--nerf-text) !important;
}

#nerf-root .nerf-filter-item input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--nerf-red) !important;
  cursor: pointer !important;
}

/* ===========================================
   LISTING PAGES — Results Header
   =========================================== */
#nerf-root .nerf-results-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin-bottom: var(--nerf-space-md) !important;
}

#nerf-root .nerf-results-count {
  font-size: 0.9375rem !important;
  color: var(--nerf-text-muted) !important;
}

#nerf-root .nerf-results-count strong {
  color: var(--nerf-text) !important;
  font-weight: 700 !important;
}

/* ===========================================
   LISTING PAGES — Products Grid
   =========================================== */
#nerf-root .nerf-products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: var(--nerf-space-md) !important;
}

@media (max-width: 992px) {
  #nerf-root .nerf-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  #nerf-root .nerf-products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===========================================
   LISTING PAGES — Product Cards
   =========================================== */
#nerf-root .nerf-product-card {
  background: var(--nerf-bg-alt) !important;
  border: 1px solid var(--nerf-border) !important;
  border-radius: var(--nerf-radius-lg) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
}

#nerf-root .nerf-product-card.is-hidden {
  display: none !important;
}

#nerf-root .nerf-product-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

#nerf-root .nerf-product-image {
  position: relative !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  background-color: var(--nerf-bg-muted) !important;
}

#nerf-root .nerf-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform var(--nerf-transition) !important;
}

#nerf-root .nerf-product-card:hover .nerf-product-image img {
  transform: scale(1.05) !important;
}

#nerf-root .nerf-product-body {
  padding: var(--nerf-space-md) !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

#nerf-root .nerf-product-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--nerf-text) !important;
  margin: 0 0 0.75rem !important;
  text-align: center !important;
}

#nerf-root .nerf-product-title a {
  color: inherit !important;
  text-decoration: none !important;
}

#nerf-root .nerf-product-title a:hover {
  color: var(--nerf-teal) !important;
}

#nerf-root .nerf-product-price {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--nerf-red) !important;
  text-align: center !important;
  margin-bottom: var(--nerf-space-sm) !important;
}

/* Blog/article excerpt — 2-line clamp for listing cards */
#nerf-root .nerf-product-excerpt {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 0.95rem !important;
  color: var(--nerf-text-muted) !important;
  margin: 0 0 var(--nerf-space-md) !important;
  line-height: 1.5 !important;
  flex: 1 !important;
}

#nerf-root .nerf-product-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 var(--nerf-space-md) !important;
  flex: 1 !important;
}

#nerf-root .nerf-product-features li {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0 !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.875rem !important;
  color: var(--nerf-text-muted) !important;
}

#nerf-root .nerf-product-features li:last-child {
  margin-bottom: 0 !important;
}

#nerf-root .nerf-product-features li i,
#nerf-root .nerf-product-features li .fa-check {
  color: var(--nerf-teal) !important;
  font-size: 0.75rem !important;
  flex-shrink: 0 !important;
}

#nerf-root .nerf-product-actions {
  display: flex !important;
  gap: 0.5rem !important;
  margin-top: auto !important;
  justify-content: center !important;
}

#nerf-root .nerf-product-actions .nerf-btn,
#nerf-root .nerf-product-actions .nerf-btn-sm {
  flex: 1 !important;
  text-align: center !important;
  justify-content: center !important;
}

/* ===========================================
   LISTING PAGES — Button Variants
   =========================================== */
#nerf-root .nerf-btn-sm {
  padding: 0 0.75rem !important;
  min-height: 36px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  border-radius: 6px !important;
}

#nerf-root .nerf-btn-add {
  background-color: var(--nerf-teal) !important;
  color: var(--nerf-text-white) !important;
  border: none !important;
}

#nerf-root .nerf-btn-add:hover {
  background-color: #238b7a !important;
}

#nerf-root .nerf-btn-info {
  background-color: transparent !important;
  color: var(--nerf-text) !important;
  border: 1px solid var(--nerf-navy) !important;
}

#nerf-root .nerf-btn-info:hover {
  background-color: var(--nerf-text) !important;
  color: var(--nerf-text-white) !important;
}

#nerf-root .nerf-btn-block {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

/* ===========================================
   LISTING PAGES — Utility Classes
   =========================================== */
#nerf-root .nerf-wrapper-wide {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--nerf-space-md) !important;
  padding-right: var(--nerf-space-md) !important;
}

#nerf-root .nerf-wrapper-narrow {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#nerf-root .nerf-mb-md {
  margin-bottom: var(--nerf-space-md) !important;
}

#nerf-root .nerf-mt-md {
  margin-top: var(--nerf-space-md) !important;
}

#nerf-root .nerf-intro-text {
  font-size: 1.0625rem !important;
  line-height: 1.8 !important;
  color: var(--nerf-text-muted) !important;
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#nerf-root .nerf-text-center {
  text-align: center !important;
}

/* ===========================================
   LISTING PAGES — Search Bar
   =========================================== */
#nerf-root .nerf-search-bar {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

#nerf-root .nerf-search-bar i {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--nerf-text-muted) !important;
  font-size: 1rem !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

#nerf-root .nerf-search-bar input {
  width: 100% !important;
  padding: 0.75rem 1rem 0.75rem 2.5rem !important;
  border: 1px solid var(--nerf-border) !important;
  border-radius: var(--nerf-radius) !important;
  font-size: 1rem !important;
  font-family: inherit !important;
  color: var(--nerf-text) !important;
  background-color: var(--nerf-bg) !important;
  transition: all var(--nerf-transition) !important;
}

#nerf-root .nerf-search-bar input:focus {
  outline: none !important;
  border-color: var(--nerf-text) !important;
  box-shadow: 0 0 0 2px rgba(45, 27, 105, 0.2) !important;
}

#nerf-root .nerf-search-bar input::placeholder {
  color: var(--nerf-text-muted) !important;
}

#nerf-root .nerf-search-hint {
  font-size: 0.8125rem !important;
  color: var(--nerf-text-muted) !important;
  margin-top: calc(var(--nerf-space-sm) * -0.5) !important;
  margin-bottom: var(--nerf-space-md) !important;
}

/* ===========================================
   LISTING PAGES — Product Badge Overlay
   =========================================== */
#nerf-root .nerf-product-badge {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background-color: #e53935 !important;
  color: var(--nerf-text-white) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 9999px !important;
  z-index: 2 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* ===========================================
   BUILD YOUR PARTY — Builder Section
   (moved from inline <style> in buildnewcastle.php)
   =========================================== */
#nerf-root .nerf-builder-section {
  padding-top: var(--nerf-space-lg) !important;
  padding-bottom: var(--nerf-space-lg) !important;
  border-bottom: 1px solid var(--nerf-border) !important;
}

#nerf-root .nerf-builder-section:last-of-type {
  border-bottom: none !important;
}

#nerf-root .nerf-show-more-btn {
  display: block !important;
  margin: var(--nerf-space-md) auto 0 !important;
  text-align: center !important;
}

/* ===========================================
   SOCIAL SHARE BAR
   =========================================== */
#nerf-root .social-share-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

#nerf-root .social-share-bar .share-label {
  font-size: 0.875rem;
  color: var(--nerf-text-muted);
}

#nerf-root .social-share-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#nerf-root .share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--nerf-radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--nerf-transition);
  box-shadow: var(--nerf-shadow-sm);
}

#nerf-root .share-btn:hover {
  box-shadow: var(--nerf-shadow-md);
  transform: translateY(-2px);
}

#nerf-root .share-btn svg {
  width: 20px;
  height: 20px;
}

#nerf-root .share-btn-whatsapp {
  background-color: #25D366 !important;
  color: #fff !important;
}

#nerf-root .share-btn-messenger {
  background: linear-gradient(135deg, #00B2FF, #006AFF) !important;
  color: #fff !important;
}

#nerf-root .share-btn-copy {
  background-color: var(--nerf-bg-muted) !important;
  color: var(--nerf-text) !important;
}

#nerf-root .share-btn-copy.copied {
  background-color: var(--nerf-teal) !important;
  color: var(--nerf-text-white) !important;
}

/* ===========================================
   PRODUCT GRID COLUMN ORDER (Info Left, Gallery Right)
   =========================================== */
@media (min-width: 769px) {
  #nerf-root .product-grid .product-info {
    order: 1 !important;
  }
  #nerf-root .product-grid .product-gallery {
    order: 2 !important;
  }
}

@media (max-width: 768px) {
  #nerf-root .product-grid .product-gallery {
    order: 1 !important;
  }
  #nerf-root .product-grid .product-info {
    order: 2 !important;
  }
}

/* ===========================================
   BENEFITS GRID — 3 column (matching React)
   =========================================== */
#nerf-root .benefits-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--nerf-space-md);
}

@media (max-width: 768px) {
  #nerf-root .benefits-grid-3 {
    grid-template-columns: 1fr;
  }
}

#nerf-root .benefit-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: var(--nerf-radius-full);
  background-color: rgba(21, 165, 181, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--nerf-space-sm);
}

#nerf-root .benefit-icon-circle svg {
  width: 28px;
  height: 28px;
  color: var(--nerf-teal);
  stroke: var(--nerf-teal);
}

/* ===========================================
   FAQ SHOW MORE BUTTON
   =========================================== */
#nerf-root .faq-show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: var(--nerf-space-lg) auto 0;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nerf-text) !important;
  background: transparent;
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius);
  cursor: pointer;
  transition: all var(--nerf-transition);
}

#nerf-root .faq-show-more:hover {
  background-color: var(--nerf-bg-muted);
  border-color: var(--nerf-text-muted);
}

#nerf-root .faq-show-more svg {
  width: 16px;
  height: 16px;
}

#nerf-root .faq-item.faq-hidden {
  display: none;
}

/* ===========================================
   FAQ CHEVRON ICON (matching React)
   =========================================== */
#nerf-root .faq-question-chevron .faq-question::after {
  content: none !important;
}

#nerf-root .faq-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--nerf-transition);
  color: var(--nerf-text-muted);
}

#nerf-root .faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* ===========================================
   CTA BUTTONS — Large sizing (matching React)
   =========================================== */
#nerf-root .cta-buttons .btn-cta-large {
  padding: 1.25rem 2rem !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
}

#nerf-root .cta-buttons .btn-cta-primary {
  background-color: #e53935 !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--nerf-radius) !important;
  width: 100%;
  text-align: center;
  justify-content: center;
}

#nerf-root .cta-buttons .btn-cta-primary:hover {
  background-color: #d32f3d !important;
}

#nerf-root .cta-buttons .btn-cta-ghost {
  background: transparent !important;
  color: var(--nerf-text) !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

#nerf-root .cta-buttons .btn-cta-ghost:hover {
  background-color: var(--nerf-bg-muted) !important;
}

#nerf-root .cta-buttons .btn-cta-ghost svg {
  width: 20px;
  height: 20px;
}

/* ===========================================
   ENQUIRY MODAL STYLES
   =========================================== */
#nerf-root .nerf-enquiry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--nerf-border);
}

#nerf-root .nerf-enquiry-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nerf-text);
  margin: 0;
  padding: 0;
}

#nerf-root .nerf-enquiry-form {
  padding: 1.25rem 1.5rem 1.5rem;
  max-height: 70vh;
  overflow-y: auto;
}

#nerf-root .nerf-enquiry-form .form-group {
  margin-bottom: 1rem;
}

#nerf-root .nerf-enquiry-form .form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nerf-text);
  margin-bottom: 0.375rem;
}

#nerf-root .nerf-enquiry-form .required-star {
  color: var(--nerf-red);
}

#nerf-root .nerf-enquiry-form input,
#nerf-root .nerf-enquiry-form select,
#nerf-root .nerf-enquiry-form textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--nerf-text);
  background-color: var(--nerf-bg);
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius);
  transition: border-color 0.2s;
}

#nerf-root .nerf-enquiry-form input:focus,
#nerf-root .nerf-enquiry-form select:focus,
#nerf-root .nerf-enquiry-form textarea:focus {
  outline: none;
  border-color: var(--nerf-teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

#nerf-root .nerf-enquiry-form .eq-readonly {
  background-color: var(--nerf-bg-muted);
  cursor: not-allowed;
}

#nerf-root .nerf-enquiry-form textarea {
  min-height: 80px;
  resize: vertical;
}

#nerf-root .eq-error {
  display: block;
  font-size: 0.8125rem;
  color: var(--nerf-red);
  margin-top: 0.25rem;
  min-height: 0;
}

#nerf-root .eq-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

#nerf-root .eq-checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.125rem;
  flex-shrink: 0;
  accent-color: var(--nerf-teal);
}

#nerf-root .eq-checkbox-row label {
  font-size: 0.8125rem !important;
  font-weight: 400 !important;
  color: var(--nerf-text-muted) !important;
  line-height: 1.5;
  cursor: pointer;
}

#nerf-root .eq-turnstile-row {
  margin: 0.75rem 0;
}

#nerf-root .eq-spam-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--nerf-text-muted);
  margin-bottom: 0.5rem;
}

#nerf-root .eq-spam-label i {
  color: var(--nerf-teal);
}

#nerf-root .eq-submit-btn {
  margin-top: 0.5rem;
  padding: 0.875rem !important;
  font-size: 1.0625rem !important;
  font-weight: 600 !important;
}

#nerf-root .nerf-enquiry-success {
  padding: 3rem 1.5rem;
  text-align: center;
}

#nerf-root .eq-success-icon {
  width: 64px;
  height: 64px;
  background-color: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

#nerf-root .nerf-enquiry-success h2 {
  font-size: 1.5rem;
  color: var(--nerf-text);
  margin-bottom: 0.75rem;
  padding: 0;
}

#nerf-root .nerf-enquiry-success p {
  font-size: 1rem;
  color: var(--nerf-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

#nerf-root .eq-close-btn {
  min-width: 120px;
}

/* ===========================================
   TERMS PAGE STYLES
   =========================================== */
#nerf-root .nerf-terms-card {
  background-color: var(--nerf-bg);
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--nerf-shadow-sm);
}

@media (max-width: 640px) {
  #nerf-root .nerf-terms-card {
    padding: 1.25rem 1rem;
  }
}

#nerf-root .nerf-terms-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--nerf-border-light);
}

#nerf-root .nerf-terms-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

#nerf-root .nerf-terms-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nerf-text);
  margin-bottom: 1rem;
}

#nerf-root .nerf-terms-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--nerf-text-muted);
  margin-bottom: 0.75rem;
}

#nerf-root .nerf-terms-section p:last-child {
  margin-bottom: 0;
}

#nerf-root .nerf-terms-section a {
  color: var(--nerf-teal);
  text-decoration: none;
}

#nerf-root .nerf-terms-section a:hover {
  text-decoration: underline;
}

/* ===========================================
   BREADCRUMB LOVABLE-PREFIXED
   =========================================== */
#nerf-root .nerf-breadcrumb-section {
  padding: var(--nerf-space-sm) 0;
  background-color: var(--nerf-bg-muted);
  border-bottom: 1px solid var(--nerf-border);
}

/* ===========================================
   BUTTON ALIGNMENT FIX (Locations)
   =========================================== */
#nerf-root .nerf-product-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

#nerf-root .nerf-product-actions .nerf-btn-block {
  width: 100% !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

/* ===========================================
   BTN-ADD / BTN-INFO (Themed Supplies)
   =========================================== */
#nerf-root .nerf-btn-add {
  background-color: var(--nerf-red) !important;
  color: var(--nerf-text-white) !important;
  border: none !important;
}

#nerf-root .nerf-btn-add:hover {
  background-color: #b91c1c !important;
}

#nerf-root .nerf-btn-info {
  background-color: var(--nerf-bg) !important;
  color: var(--nerf-teal) !important;
  border: 1px solid var(--nerf-teal) !important;
}

#nerf-root .nerf-btn-info:hover {
  background-color: var(--nerf-teal) !important;
  color: var(--nerf-text-white) !important;
}

/* ===========================================
   CONTACT PAGE CLASSES
   =========================================== */
#nerf-root .nerf-contact-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: var(--nerf-space-lg) !important;
}

@media (max-width: 768px) {
  #nerf-root .nerf-contact-grid {
    grid-template-columns: 1fr !important;
  }
}

#nerf-root .nerf-contact-card {
  background-color: var(--nerf-bg) !important;
  border: 1px solid var(--nerf-border) !important;
  border-radius: var(--nerf-radius-lg) !important;
  padding: var(--nerf-space-xl) !important;
  text-align: center !important;
  transition: all var(--nerf-transition) !important;
}

#nerf-root .nerf-contact-card:hover {
  border-color: var(--nerf-teal) !important;
  box-shadow: var(--nerf-shadow-md) !important;
  transform: translateY(-4px) !important;
}

#nerf-root .nerf-contact-card h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--nerf-text) !important;
  margin-bottom: var(--nerf-space-xs) !important;
}

#nerf-root .nerf-contact-card p {
  font-size: 0.9375rem !important;
  color: var(--nerf-text-muted) !important;
  line-height: 1.6 !important;
  margin-bottom: var(--nerf-space-sm) !important;
}

#nerf-root .nerf-contact-icon,
#nerf-root .nerf-contact-icon-secondary,
#nerf-root .nerf-contact-icon-accent {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto var(--nerf-space-md) !important;
  font-size: 2rem !important;
  color: var(--nerf-text-white) !important;
}

#nerf-root .nerf-contact-icon {
  background-color: var(--nerf-teal) !important;
}

#nerf-root .nerf-contact-icon-secondary {
  background-color: var(--nerf-text) !important;
}

#nerf-root .nerf-contact-icon-accent {
  background-color: var(--nerf-orange) !important;
}

#nerf-root .nerf-contact-link {
  color: var(--nerf-teal) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color var(--nerf-transition) !important;
}

#nerf-root .nerf-contact-link:hover {
  text-decoration: underline !important;
}

#nerf-root .nerf-social-section {
  text-align: center !important;
  padding: var(--nerf-space-xl) 0 !important;
  background-color: var(--nerf-bg-muted) !important;
  border-radius: var(--nerf-radius-lg) !important;
  margin-top: var(--nerf-space-xl) !important;
}

#nerf-root .nerf-social-section h2 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--nerf-text) !important;
  margin-bottom: var(--nerf-space-md) !important;
}

#nerf-root .nerf-social-buttons {
  display: flex !important;
  justify-content: center !important;
  gap: var(--nerf-space-md) !important;
  flex-wrap: wrap !important;
}

#nerf-root .nerf-social-btn {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background-color: var(--nerf-text) !important;
  color: var(--nerf-text-white) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  transition: all var(--nerf-transition) !important;
}

#nerf-root .nerf-social-btn:hover {
  background-color: var(--nerf-teal) !important;
  transform: translateY(-2px) !important;
}

/* ===========================================
   SCHOOL HOLIDAYS / EVENTS CLASSES
   =========================================== */
#nerf-root .nerf-events-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: var(--nerf-space-lg) !important;
}

@media (max-width: 768px) {
  #nerf-root .nerf-events-grid {
    grid-template-columns: 1fr !important;
  }
}

#nerf-root .nerf-event-card {
  background-color: var(--nerf-bg) !important;
  border: 1px solid var(--nerf-border) !important;
  border-radius: var(--nerf-radius-lg) !important;
  overflow: hidden !important;
  transition: all var(--nerf-transition) !important;
}

#nerf-root .nerf-event-card:hover {
  border-color: var(--nerf-teal) !important;
  box-shadow: var(--nerf-shadow-md) !important;
  transform: translateY(-4px) !important;
}

#nerf-root .nerf-event-image {
  position: relative !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
}

#nerf-root .nerf-event-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

#nerf-root .nerf-event-badge {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  background-color: var(--nerf-red) !important;
  color: var(--nerf-text-white) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
}

#nerf-root .nerf-event-body {
  display: flex !important;
  flex-direction: column !important;
  padding: var(--nerf-space-md) !important;
}

#nerf-root .nerf-event-body h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--nerf-text) !important;
  margin-bottom: var(--nerf-space-xs) !important;
}

#nerf-root .nerf-event-body p {
  font-size: 0.9375rem !important;
  color: var(--nerf-text-muted) !important;
  line-height: 1.6 !important;
  margin-bottom: var(--nerf-space-sm) !important;
}

#nerf-root .nerf-event-details {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 var(--nerf-space-md) !important;
}

#nerf-root .nerf-event-details li {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.25rem 0 !important;
  font-size: 0.9375rem !important;
  color: var(--nerf-text) !important;
}

#nerf-root .nerf-event-details li i {
  color: var(--nerf-teal) !important;
}

#nerf-root .nerf-event-actions {
  display: flex !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}

#nerf-root .nerf-event-actions .nerf-btn {
  flex: 1 !important;
  min-width: 120px !important;
}

#nerf-root .nerf-info-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: var(--nerf-space-md) !important;
}

@media (max-width: 992px) {
  #nerf-root .nerf-info-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  #nerf-root .nerf-info-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

#nerf-root .nerf-info-card {
  background-color: var(--nerf-bg) !important;
  border: 1px solid var(--nerf-border) !important;
  border-radius: var(--nerf-radius-lg) !important;
  padding: var(--nerf-space-lg) !important;
  text-align: center !important;
  transition: all var(--nerf-transition) !important;
}

#nerf-root .nerf-info-card:hover {
  border-color: var(--nerf-teal) !important;
  box-shadow: var(--nerf-shadow-md) !important;
  transform: translateY(-4px) !important;
}

#nerf-root .nerf-info-card p {
  font-size: 0.9375rem !important;
  color: var(--nerf-text-muted) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

#nerf-root .nerf-info-icon,
#nerf-root .nerf-info-icon-secondary,
#nerf-root .nerf-info-icon-accent,
#nerf-root .nerf-info-icon-orange,
#nerf-root .nerf-info-icon-primary {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto var(--nerf-space-sm) !important;
  font-size: 1.5rem !important;
  color: var(--nerf-text-white) !important;
}

#nerf-root .nerf-info-icon {
  background-color: var(--nerf-teal) !important;
}

#nerf-root .nerf-info-icon-secondary {
  background-color: var(--nerf-text) !important;
}

#nerf-root .nerf-info-icon-accent {
  background-color: var(--nerf-orange) !important;
}

#nerf-root .nerf-info-icon-orange {
  background-color: #f59e0b !important;
}

#nerf-root .nerf-info-icon-primary {
  background-color: var(--nerf-teal) !important;
}

#nerf-root .nerf-info-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--nerf-text) !important;
  margin-bottom: var(--nerf-space-xs) !important;
}

/* ===========================================
   PARTNERS PAGE CLASSES
   =========================================== */
#nerf-root .nerf-partners-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: var(--nerf-space-lg) !important;
}

#nerf-root .nerf-partner-card {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  gap: 0 1.5rem !important;
  background-color: var(--nerf-bg) !important;
  border: 1px solid var(--nerf-border) !important;
  border-radius: var(--nerf-radius-lg) !important;
  overflow: hidden !important;
  transition: all var(--nerf-transition) !important;
}

@media (max-width: 768px) {
  #nerf-root .nerf-partner-card {
    grid-template-columns: 1fr !important;
  }
}

#nerf-root .nerf-partner-card:hover {
  border-color: var(--nerf-teal) !important;
  box-shadow: var(--nerf-shadow-md) !important;
}

#nerf-root .nerf-partner-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: var(--nerf-space-lg) !important;
  background-color: var(--nerf-bg-muted) !important;
  min-height: 180px !important;
  min-width: 240px !important;
}

#nerf-root .nerf-partner-image img {
  max-width: 220px !important;
  max-height: 160px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 767px) {
  #nerf-root .nerf-partner-image {
    min-width: 100% !important;
    min-height: 140px !important;
  }
  #nerf-root .nerf-partner-image img {
    max-width: 180px !important;
    max-height: 140px !important;
  }
}

#nerf-root .nerf-partner-body {
  padding: var(--nerf-space-lg) var(--nerf-space-lg) var(--nerf-space-lg) 2rem !important;
}

#nerf-root .nerf-partner-body h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--nerf-text) !important;
  margin-bottom: var(--nerf-space-xs) !important;
}

#nerf-root .nerf-partner-body p {
  font-size: 0.9375rem !important;
  color: var(--nerf-text-muted) !important;
  line-height: 1.6 !important;
  margin-bottom: var(--nerf-space-sm) !important;
}

#nerf-root .nerf-cta-light {
  background: linear-gradient(135deg, var(--nerf-bg-muted) 0%, var(--nerf-bg) 100%) !important;
  color: var(--nerf-text) !important;
  padding: var(--nerf-space-xl) !important;
  border-radius: var(--nerf-radius-lg) !important;
  text-align: center !important;
}

#nerf-root .nerf-cta-light h2 {
  color: var(--nerf-text) !important;
}

#nerf-root .nerf-cta-light p {
  color: var(--nerf-text-muted) !important;
}

/* ===========================================
   UTILITY CLASSES
   =========================================== */
#nerf-root .nerf-no-results {
  text-align: center !important;
  padding: 3rem 0 !important;
  grid-column: 1 / -1 !important;
}

#nerf-root .nerf-no-results p {
  font-size: 1.125rem !important;
  color: var(--nerf-text-muted) !important;
  margin-bottom: var(--nerf-space-md) !important;
}

#nerf-root .nerf-section-compact {
  padding: var(--nerf-space-lg) 0 !important;
}

#nerf-root .nerf-mt-xl {
  margin-top: var(--nerf-space-xl) !important;
}

/* ===========================================
   ADD TO CART MODAL
   =========================================== */
#nerf-root .nerf-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  background: rgba(0,0,0,0.5) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
}

#nerf-root .nerf-modal-overlay.is-open {
  display: flex !important;
}

#nerf-root .nerf-modal-container {
  background: var(--nerf-bg) !important;
  border-radius: var(--nerf-radius-lg) !important;
  width: 100% !important;
  max-width: 480px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2) !important;
}

#nerf-root .nerf-modal-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.25rem 1.5rem !important;
  border-bottom: 1px solid var(--nerf-border) !important;
}

#nerf-root .nerf-modal-header h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--nerf-text) !important;
  margin: 0 !important;
}

#nerf-root .nerf-modal-close {
  background: none !important;
  border: none !important;
  font-size: 1.75rem !important;
  color: var(--nerf-text-muted) !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 0 !important;
  transition: color var(--nerf-transition) !important;
}
#nerf-root .nerf-modal-close:hover {
  color: var(--nerf-text) !important;
}

#nerf-root .nerf-modal-body {
  padding: 1rem !important;
}

/* Cart modal — horizontal layout: thumbnail left, controls right */
#nerf-root .nerf-cart-modal .nerf-modal-body {
  display: flex !important;
  gap: 1rem !important;
  align-items: flex-start !important;
}

#nerf-root .nerf-cart-modal-image {
  width: 120px !important;
  height: 120px !important;
  flex-shrink: 0 !important;
  aspect-ratio: auto !important;
  border-radius: var(--nerf-radius) !important;
  overflow: hidden !important;
  background: var(--nerf-bg-muted) !important;
  margin-bottom: 0 !important;
}
#nerf-root .nerf-cart-modal-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

#nerf-root .nerf-cart-modal-desc {
  font-size: 0.85rem !important;
  color: var(--nerf-text-muted) !important;
  margin-bottom: 0.5rem !important;
}

#nerf-root .nerf-cart-modal-qty {
  margin-bottom: 0.5rem !important;
}
#nerf-root .nerf-cart-modal-qty label {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--nerf-text) !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
}

#nerf-root .nerf-qty-stepper {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid var(--nerf-border) !important;
  border-radius: var(--nerf-radius) !important;
  overflow: hidden !important;
}
#nerf-root .nerf-qty-stepper button {
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--nerf-bg) !important;
  border: none !important;
  cursor: pointer !important;
  color: var(--nerf-text) !important;
  transition: background var(--nerf-transition) !important;
}
#nerf-root .nerf-qty-stepper button:hover {
  background: var(--nerf-bg-muted) !important;
}
#nerf-root .nerf-qty-stepper button:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}
#nerf-root .nerf-qty-stepper span {
  min-width: 60px !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 0.5rem !important;
}

#nerf-root .nerf-cart-modal-price-row {
  padding: 0.5rem 0 !important;
  border-top: 1px solid var(--nerf-border) !important;
  margin-bottom: 0.5rem !important;
}
#nerf-root .nerf-cart-modal-unit {
  font-size: 0.875rem !important;
  color: var(--nerf-text-muted) !important;
  margin-bottom: 0.25rem !important;
}
#nerf-root .nerf-cart-modal-total {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--nerf-text) !important;
  margin: 0 !important;
}

#nerf-root .nerf-cart-modal-btn {
  padding: 0.65rem !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}
#nerf-root .nerf-cart-modal-btn-success {
  background: #16a34a !important;
}
#nerf-root .nerf-cart-modal-btn-success:hover {
  background: #16a34a !important;
}

/* Cart modal — mobile: stack vertically with smaller image */
@media (max-width: 480px) {
  #nerf-root .nerf-cart-modal .nerf-modal-body {
    flex-direction: column !important;
    align-items: center !important;
  }
  #nerf-root .nerf-cart-modal-image {
    width: 100px !important;
    height: 100px !important;
    max-height: 100px !important;
    margin: 0 auto !important;
  }
}

/* Cart modal info — flex child */
#nerf-root .nerf-cart-modal-info {
  flex: 1 !important;
  min-width: 0 !important;
}

/* Cart drawer — Checkout button: white text on navy */
#nerf-root .cart-modal-footer .btn-secondary,
#nerf-root .cart-modal-footer .btn.btn-secondary,
#nerf-root .cart-modal-footer a.btn-secondary,
#nerf-root .cart-modal-footer a.btn.btn-secondary {
  background-color: var(--nerf-navy, #2d1b69) !important;
  color: #ffffff !important;
  border: none !important;
  text-decoration: none !important;
}
#nerf-root .cart-modal-footer .btn-secondary:hover,
#nerf-root .cart-modal-footer .btn.btn-secondary:hover,
#nerf-root .cart-modal-footer a.btn-secondary:hover,
#nerf-root .cart-modal-footer a.btn.btn-secondary:hover {
  background-color: #1e1250 !important;
  color: #ffffff !important;
}

/* ===========================================
   PRODUCT VARIANT SELECTOR (reusable)
   =========================================== */
#nerf-root .nerf-variant-selector {
  margin: 8px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#nerf-root .nerf-variant-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--nerf-text-muted);
  white-space: nowrap;
}
#nerf-root .nerf-variant-dropdown {
  flex: 1;
  padding: 6px 10px;
  font-size: 13px;
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius, 6px);
  background: var(--nerf-bg, #fff);
  color: var(--nerf-text);
  cursor: pointer;
  transition: border-color 0.2s;
}
#nerf-root .nerf-variant-dropdown:focus {
  outline: none;
  border-color: var(--nerf-navy, #2d1b69);
  box-shadow: 0 0 0 2px rgba(45, 27, 105, 0.1);
}

/* Variant display in cart modal */
#nerf-root .nerf-cart-modal-variant {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 6px 10px;
  background: var(--nerf-bg-muted, #f9fafb);
  border-radius: var(--nerf-radius, 6px);
  font-size: 13px;
}
#nerf-root .nerf-cart-modal-variant-label {
  font-weight: 600;
  color: var(--nerf-text-muted);
}
#nerf-root .nerf-cart-modal-variant-value {
  color: var(--nerf-text);
  font-weight: 500;
}

/* ===========================================
   FOOTER MOBILE PADDING FIX
   =========================================== */
@media (max-width: 767px) {
    #nerf-root .nerf-footer-main,
    #nerf-root .nerf-footer-col,
    #nerf-root .nerf-footer-bottom {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* === MOBILE NAVIGATION OPEN STATE === */
@media (max-width: 992px) {
  #nerf-root .nerf-header-inner {
    position: relative;
  }
  #nerf-root .nerf-nav.is-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nerf-bg-alt);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.5rem 0;
  }
  #nerf-root .nerf-nav.is-open .nerf-nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  #nerf-root .nerf-nav.is-open .nerf-nav-link {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f0f0f0;
    display: block;
    width: 100%;
  }
  #nerf-root .nerf-nav.is-open .nerf-nav-link:last-child {
    border-bottom: none;
  }
  /* Mobile dropdown sub-menu */
  #nerf-root .nerf-nav.is-open .nerf-nav-dropdown .nerf-dropdown-menu {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    padding-left: 1rem !important;
    background: transparent !important;
  }
  #nerf-root .nerf-nav.is-open .nerf-dropdown-menu li a {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    color: var(--nerf-text-muted) !important;
  }
  /* Hamburger animation */
  #nerf-root .nerf-mobile-toggle.is-active span {
    background-color: transparent !important;
  }
  #nerf-root .nerf-mobile-toggle.is-active span::before {
    top: 0 !important;
    transform: rotate(45deg);
  }
  #nerf-root .nerf-mobile-toggle.is-active span::after {
    top: 0 !important;
    transform: rotate(-45deg);
  }
}

/* === FOOTER MOBILE PADDING === */
@media (max-width: 767px) {
  #nerf-root .nerf-footer-main,
  #nerf-root .nerf-footer-col,
  #nerf-root .nerf-footer-bottom {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ============================================================
   NERF — DARK-THEME OVERRIDES & NEW MARKUP STYLES
   Appended after parent CSS so these win the cascade.
   ============================================================ */

/* Wordmark logo (replaces image logo) */
#nerf-root .nerf-logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--nerf-text);
  text-transform: uppercase;
  white-space: nowrap;
}
#nerf-root .nerf-logo-accent {
  color: var(--nerf-red);
}

/* Header phone link */
#nerf-root .nerf-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  color: var(--nerf-text) !important;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none !important;
  border-radius: var(--nerf-radius);
  transition: color var(--nerf-transition);
}
#nerf-root .nerf-phone-link i { color: var(--nerf-red); }
#nerf-root .nerf-phone-link:hover { color: var(--nerf-teal) !important; }

/* Mobile hamburger button — visible on dark header */
#nerf-root .nerf-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--nerf-border);
  border-radius: var(--nerf-radius);
  color: var(--nerf-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
}
#nerf-root .nerf-mobile-toggle span,
#nerf-root .nerf-mobile-toggle span::before,
#nerf-root .nerf-mobile-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nerf-text);
  position: relative;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
#nerf-root .nerf-mobile-toggle span::before,
#nerf-root .nerf-mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}
#nerf-root .nerf-mobile-toggle span::before { top: -7px; }
#nerf-root .nerf-mobile-toggle span::after { top: 7px; }
#nerf-root .nerf-mobile-toggle.is-active span { background: transparent; }
#nerf-root .nerf-mobile-toggle.is-active span::before { transform: translateY(7px) rotate(45deg); }
#nerf-root .nerf-mobile-toggle.is-active span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
  #nerf-root .nerf-mobile-toggle { display: inline-flex; }
  #nerf-root .nerf-nav { display: none; }
  #nerf-root .nerf-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nerf-bg-alt) !important;
    border-top: 1px solid var(--nerf-border);
    padding: 1rem;
    z-index: 1000;
  }
  #nerf-root .nerf-nav.is-open .nerf-nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.25rem;
  }
}

/* Active nav highlight (Nerf orange) */
#nerf-root .nerf-nav-active,
#nerf-root .nerf-nav-link.nerf-nav-active {
  color: var(--nerf-red) !important;
  font-weight: 700 !important;
}

/* Dropdown menu — dark surface */
#nerf-root .nerf-dropdown-menu {
  background-color: var(--nerf-bg-alt) !important;
  border: 1px solid var(--nerf-border) !important;
}

/* Cards / sections that previously assumed white surface */
#nerf-root .nerf-card,
#nerf-root .nerf-product-card,
#nerf-root .nerf-venue-card,
#nerf-root .nerf-location-card,
#nerf-root .nerf-activity-card,
#nerf-root .nerf-faq-item {
  background-color: var(--nerf-bg-alt) !important;
  border-color: var(--nerf-border) !important;
  color: var(--nerf-text) !important;
}
#nerf-root .nerf-card h2,
#nerf-root .nerf-card h3,
#nerf-root .nerf-card h4,
#nerf-root .nerf-product-card h2,
#nerf-root .nerf-product-card h3,
#nerf-root .nerf-product-card h4 {
  color: var(--nerf-text) !important;
}

/* Section bands that alternate light/dark on parent — flatten to dark */
#nerf-root .nerf-section-muted,
#nerf-root .nerf-section-alt {
  background-color: var(--nerf-bg-muted) !important;
}

/* Primary CTA button — Nerf orange */
#nerf-root .nerf-btn-primary,
#nerf-root .nerf-btn.nerf-btn-primary {
  background-color: var(--nerf-red) !important;
  color: var(--nerf-text-white) !important;
  border-color: var(--nerf-red) !important;
}
#nerf-root .nerf-btn-primary:hover {
  background-color: var(--nerf-orange) !important;
  border-color: var(--nerf-orange) !important;
  color: var(--nerf-text-white) !important;
}

/* Light/ghost button on dark sections (CTA bands) */
#nerf-root .nerf-btn-light {
  background-color: var(--nerf-text-white) !important;
  color: var(--nerf-bg) !important;
  border-color: var(--nerf-text-white) !important;
}
#nerf-root .nerf-btn-light:hover {
  background-color: var(--nerf-teal) !important;
  color: var(--nerf-bg) !important;
  border-color: var(--nerf-teal) !important;
}

/* Forms — inputs on dark */
#nerf-root input[type="text"],
#nerf-root input[type="email"],
#nerf-root input[type="tel"],
#nerf-root input[type="number"],
#nerf-root input[type="search"],
#nerf-root textarea,
#nerf-root select {
  background-color: var(--nerf-bg-alt) !important;
  color: var(--nerf-text) !important;
  border-color: var(--nerf-border) !important;
}
#nerf-root input::placeholder,
#nerf-root textarea::placeholder { color: var(--nerf-text-light) !important; }

/* Page header band */
#nerf-root .nerf-page-header {
  background: linear-gradient(135deg, var(--nerf-bg-muted), var(--nerf-bg)) !important;
  color: var(--nerf-text) !important;
  padding: 4rem 0 3rem;
}
#nerf-root .nerf-page-header h1 { color: var(--nerf-text) !important; }
#nerf-root .nerf-subtitle { color: var(--nerf-red); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }

/* CTA band */
#nerf-root .nerf-cta {
  background: linear-gradient(135deg, var(--nerf-red), #C73C00);
  color: var(--nerf-text-white);
  padding: 3rem 0;
  text-align: center;
}
#nerf-root .nerf-cta h2 { color: var(--nerf-text-white) !important; }

/* Footer accents (footer bg already remapped via --nerf-navy = #0D1B2A) */
#nerf-root .nerf-footer { border-top: 3px solid var(--nerf-red) !important; }
#nerf-root .nerf-social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--nerf-bg-alt);
  color: var(--nerf-text) !important;
  margin-right: 0.5rem;
  text-decoration: none !important;
  transition: all var(--nerf-transition);
}
#nerf-root .nerf-social-links a:hover { background: var(--nerf-red); color: var(--nerf-text-white) !important; }
