:root {
  --brand-500: #2d6df6;
  --brand-400: #5a8cfa;
  --brand-700: #0f2233;
  --brand-800: #0b1a28;

  --accent-green: #28a745;
  --accent-red: #d9534f;
  --accent-info: #337ab7;

  --ink-900: #000000;
  --ink-800: #1a1a1a;
  --ink-700: #333333;
  --ink-600: #444444;
  --ink-500: #555555;
  --ink-400: #777777;
  --ink-300: #808080;
  --ink-200: #a8afb9;
  --ink-100: #e5e5e5;

  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-card: #ffffff;
  --border-100: #eeeeee;
  --border-200: #e7e7e7;
  --border-300: #dddddd;

  --radius-1: .125rem;
  --radius-2: .25rem;
  --radius-3: .375rem;
  --shadow-1: 0 2px 10px rgba(15,34,51,.06);
  --shadow-2: 0 10px 30px rgba(15,34,51,.12);
  --focus: 0 0 0 3px rgba(45,109,246,.35);

  --h1: clamp(28px, 4vw, 40px);
  --h2: clamp(24px, 3vw, 32px);
  --h3: clamp(20px, 2.5vw, 28px);
  --lead: clamp(16px, 1.8vw, 18px);
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: italic;
  font-display: swap;
}

html, body {
  background: var(--bg);
  color: var(--ink-800);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.card-product img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-product:hover img {
  transform: scale(1.05);
}

.card img,
.content-tile img,
.hero img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

a {
  color: var(--brand-500);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
.lead { font-size: var(--lead); }

.btn {
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: all 0.2s ease;
  border-radius: var(--radius-2);
}

.btn-primary {
  background: var(--brand-500);
  border-color: var(--brand-500);
  box-shadow: 0 2px 4px rgba(0,89,225,.15);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  background: var(--brand-400);
  border-color: var(--brand-400);
  box-shadow: 0 4px 8px rgba(0,89,225,.25);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--ink-600);
  border-color: var(--ink-600);
  color: #fff;
}

.btn-outline-primary {
  color: var(--brand-500);
  border-color: var(--brand-500);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,89,225,.15);
}

.btn-outline-light {
  border-width: 2px;
  font-weight: 600;
}

.btn-warning {
  background: #f39c12;
  border-color: #f39c12;
  color: #fff;
  box-shadow: 0 2px 4px rgba(243, 156, 18, 0.15);
}

.btn-warning:hover,
.btn-warning:active,
.btn-warning:focus {
  background: #e67e22;
  border-color: #e67e22;
  color: #fff;
  box-shadow: 0 4px 8px rgba(243, 156, 18, 0.25);
  transform: translateY(-1px);
}

.btn-product {
  min-width: 120px;
  font-size: 14px;
  padding: 8px 16px;
}

.btn-product-sm {
  min-width: 100px;
  font-size: 13px;
  padding: 6px 12px;
}

.card-product .d-flex.justify-content-between {
  gap: 8px;
  min-height: 38px;
}

.card-product .d-flex.justify-content-between .badge {
  flex-shrink: 0;
  align-self: center;
}

.card-product .d-flex.justify-content-between .btn {
  flex-shrink: 0;
}

.announcement-bar-slider {
  background: var(--ink-700);
  color: rgba(255,255,255,0.9);
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.announcement-bar-slider .slider-track {
  position: relative;
  width: 100%;
}

.announcement-bar-slider .slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.announcement-bar-slider .slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.announcement-bar-slider span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.announcement-bar-slider i {
  font-size: 16px;
}

.info-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 12px 0;
}

.info-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-700);
}

.info-bar-content span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.info-bar-content i {
  color: var(--brand-500);
  font-size: 16px;
}

.info-divider {
  color: var(--ink-300);
  font-weight: 300;
}

.header-logo {
  max-height: 50px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.header-main a {
  color: rgba(255,255,255,.9);
}

.header-main a:hover {
  color: #fff;
}

.header-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: var(--brand-800);
}

.header-main {
  background: var(--brand-800);
  border-bottom: none;
  padding: 20px 0;
  color: #fff;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 0;
}

.header-main::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.header-nav {
  background: var(--brand-700);
  color: #fff;
  border-bottom: 1px solid rgba(0,0,0,.1);
  position: relative;
  min-height: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.header-nav .navbar-nav .nav-link {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  padding: 12px 20px;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  border-radius: 0;
}

.header-nav .navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--brand-500);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 0;
}

.header-nav .navbar-nav .nav-link:hover,
.header-nav .navbar-nav .nav-link:focus {
  color: #fff;
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.header-nav .navbar-nav .nav-link:hover::before,
.header-nav .navbar-nav .nav-link:focus::before {
  width: 80%;
}

.header-nav .navbar-nav .nav-item.dropdown:hover .nav-link,
.header-nav .navbar-nav .nav-item.dropdown:focus-within .nav-link {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateY(-2px);
}

.header-nav .navbar-nav .nav-item.dropdown:hover .nav-link::before,
.header-nav .navbar-nav .nav-item.dropdown:focus-within .nav-link::before {
  width: 100%;
  height: 3px;
}

/* Deals Button Styling */
.nav-deals-item {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.nav-deals-btn {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 0 24px !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
  animation: pulse-glow 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  height: 100%;
}

.nav-deals-btn::before {
  display: none !important;
}

.nav-deals-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.nav-deals-btn:hover {
  transform: none !important;
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.8) !important;
  background: linear-gradient(135deg, #ff8555 0%, #ffa73e 100%) !important;
}

.nav-deals-btn:hover::after {
  left: 100%;
}

.nav-deals-btn i {
  animation: lightning-flash 1.5s ease-in-out infinite;
  margin-right: 6px;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.8);
  }
}

@keyframes lightning-flash {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.search-xl .form-control {
  height: 48px;
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-1);
  border: 1px solid var(--border-200);
  padding: 12px 24px;
}

.search-xl .btn {
  height: 48px;
  border-radius: var(--radius-3);
  padding: 12px 24px;
  background-color: #6c757d;
  border-color: #6c757d;
  color: #fff;
}

.search-xl .btn:hover {
  background-color: #5a6268;
  border-color: #545b62;
  color: #fff;
}

.header-actions {
  gap: 20px !important;
}

.ffl-selection-bar {
  background-color: #f8f9fa !important;
  border-bottom: 1px solid #e9ecef !important;
}

.ffl-display-compact {
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-2);
  transition: background-color 0.2s ease;
}

.ffl-display-compact:hover {
  background-color: rgba(0, 123, 255, 0.1);
}

.ffl-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ffl-text small {
  font-size: 11px;
  margin-bottom: -2px;
  color: #6c757d !important;
}

.ffl-name {
  font-size: 14px;
  color: #212529;
}

.account-section {
  cursor: pointer;
}

.account-info {
  padding: 8px 12px;
  border-radius: var(--radius-2);
  transition: background-color 0.2s ease;
}

.account-info:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.account-content {
  text-align: left;
  line-height: 1.2;
}

.account-content small {
  font-size: 12px;
  display: block;
  margin-bottom: -2px;
  color: #e8e9ea !important;
}

.account-main {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.account-dropdown {
  min-width: 320px;
  max-width: 360px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 1030;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-dropdown-header {
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-100);
}

.account-dropdown-header .btn {
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.account-dropdown-header .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.3);
}

.account-dropdown-section {
  padding: 16px 0;
}

.dropdown-section-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-800);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 20px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.dropdown-section-title i {
  font-size: 16px;
}

.account-dropdown-item {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  text-decoration: none;
  color: var(--ink-700);
}

.account-dropdown-item:hover {
  background: linear-gradient(90deg, rgba(45, 109, 246, 0.08) 0%, rgba(45, 109, 246, 0.02) 100%);
  border-left-color: var(--brand-500);
  color: var(--ink-900);
  padding-left: 24px;
}

.dropdown-item-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border-radius: 4px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.dropdown-item-icon i {
  font-size: 18px;
  color: var(--ink-600);
  transition: all 0.3s ease;
}

.account-dropdown-item:hover .dropdown-item-icon {
  background: var(--brand-500);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(45, 109, 246, 0.2);
}

.account-dropdown-item:hover .dropdown-item-icon i {
  color: white;
  transform: scale(1.1);
}

.dropdown-item-content {
  flex: 1;
  min-width: 0;
}

.dropdown-item-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-800);
  margin-bottom: 2px;
  transition: color 0.2s ease;
}

.dropdown-item-subtitle {
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.3;
}

.account-dropdown-item:hover .dropdown-item-title {
  color: var(--brand-500);
}

.account-dropdown .dropdown-divider {
  margin: 0;
  border-color: var(--border-100);
  opacity: 1;
}

.cart-section {
  cursor: pointer;
}

.cart-info {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-2);
  transition: background-color 0.2s ease;
}

.cart-info:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cart-icon-container {
  margin-right: 8px;
}

.cart-icon {
  font-size: 28px;
  color: #fff;
}

.cart-count {
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  top: -8px !important;
  left: 16px !important;
  min-width: 20px;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cart-content {
  text-align: left;
  line-height: 1.2;
}

.cart-content small {
  font-size: 12px;
  display: block;
  margin-bottom: -2px;
  color: #e8e9ea !important;
}

.cart-price {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.cart-dropdown {
  min-width: 350px;
  border: none;
  box-shadow: var(--shadow-3);
  z-index: 1030;
  padding: 0;
}

.cart-preview .cart-header {
  background-color: #f8f9fa;
}

.cart-item-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-1);
}

.cart-item-details .item-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.cart-item-details .item-price {
  font-size: 14px;
  margin-bottom: 2px;
}

.cart-item-details .item-qty {
  font-size: 12px;
  color: #6c757d;
}

.cart-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.cart-subtotal {
  font-size: 16px;
  text-align: center;
}

.ffl-dealer {
  cursor: pointer;
  transition: all 0.2s ease;
}

.ffl-dealer:hover {
  border-color: var(--primary-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.ffl-dealer.selected {
  border-color: var(--primary-500);
  background-color: #f8f9ff;
}

@media (max-width: 991.98px) {
  .header-actions {
    gap: 15px !important;
  }
  
  .account-content small,
  .cart-content small {
    display: none !important;
  }
  
  .account-main,
  .cart-price {
    font-size: 13px;
  }
  
  .cart-dropdown {
    min-width: 300px;
  }
  
  .ffl-selection-bar .ms-auto {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .header-actions {
    gap: 10px !important;
  }
  
  .account-section .account-info,
  .cart-section .cart-info {
    padding: 6px 8px;
  }
  
  .cart-dropdown {
    min-width: 280px;
    right: -20px !important;
  }
  
  .account-dropdown {
    min-width: 280px;
    max-width: calc(100vw - 20px);
    right: -20px !important;
    border-radius: 4px;
  }
  
  .account-dropdown-header {
    padding: 16px;
  }
  
  .account-dropdown-section {
    padding: 12px 0;
  }
  
  .account-dropdown-item {
    padding: 10px 16px;
  }
  
  .dropdown-item-icon {
    width: 32px;
    height: 32px;
  }
  
  .dropdown-item-icon i {
    font-size: 16px;
  }
  
  .dropdown-item-title {
    font-size: 13px;
  }
  
  .dropdown-item-subtitle {
    font-size: 11px;
  }
  
  .dropdown-section-title {
    font-size: 12px;
    padding: 6px 16px;
  }
  
  .ffl-selection-bar {
    padding: 8px 0 !important;
  }
  
  .ffl-display-compact {
    padding: 4px 8px;
  }
  
  .ffl-text small {
    font-size: 10px;
  }
  
  .ffl-name {
    font-size: 13px;
  }
}

.card-product {
  border: 1px solid var(--border-200);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  background: var(--bg-card);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.card-product:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-4px);
  border-color: var(--brand-500);
}

.card-product::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-400));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-product:hover::before {
  opacity: 1;
}

.card-product .card-img-top {
  border-radius: var(--radius-2) var(--radius-2) 0 0;
  background-color: #f8f9fa;
}

.card-product .card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--ink-800);
}

.card-product .product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.card-product .rating-stars {
  color: #ffc107;
  font-size: 0.875rem;
  line-height: 1;
}

.card-product .rating-count {
  color: var(--ink-500);
  font-size: 0.875rem;
  font-weight: 400;
}

.card-product .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-800);
  margin-bottom: 0.25rem;
}

.card-product .price-msrp {
  color: var(--ink-400);
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 400;
  margin-left: 0.5rem;
}

.card-product .btn-add-to-cart {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
  font-weight: 600;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.card-product .btn-add-to-cart:hover {
  background-color: #c82333;
  border-color: #bd2130;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.card-product .btn-add-to-cart:disabled,
.card-product .btn-add-to-cart.disabled {
  background-color: #6c757d;
  border-color: #6c757d;
  opacity: 0.65;
  transform: none;
}

.card-product .stock-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.product-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 10;
}

.btn-wishlist {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-200);
  color: var(--ink-600);
  transition: all 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-wishlist:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--accent-red);
  border-color: var(--accent-red);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-wishlist:focus {
  background: rgba(255, 255, 255, 1);
  color: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: var(--focus);
}

.btn-wishlist.active {
  background: var(--accent-red);
  color: white;
  border-color: var(--accent-red);
}

.btn-wishlist.active:hover {
  background: #c82333;
  border-color: #bd2130;
}

.card-product {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-product .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-product .stock-status {
  margin-top: auto;
}

.badge {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: var(--radius-2);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.badge-new {
  background: var(--brand-500);
  color: white;
}

.badge-used {
  background: var(--ink-600);
  color: white;
}

.badge-certified {
  background: var(--accent-green);
  color: white;
  position: relative;
}

.badge-certified::before {
  content: '✓';
  margin-right: 4px;
  font-weight: bold;
}

.badge-discount {
  background: var(--accent-red);
  color: white;
}

.badge-in-stock {
  background: #e3f2fd;
  color: #1976d2;
  border: 1px solid #bbdefb;
}

.badge-out-stock {
  background: var(--ink-400);
  color: white;
}

.badge-sale {
  background: #ff6b35;
  color: white;
}

.badge-popular {
  background: #17a2b8;
  color: white;
}

.badge-best-seller {
  background: #28a745;
  color: white;
}


.recently-added-grid .col-recently-added {
  flex: 0 0 auto;
  width: 20%; }

@media (max-width: 1199.98px) {
  .recently-added-grid .col-recently-added {
    width: 25%;   }
}

@media (max-width: 991.98px) {
  .recently-added-grid .col-recently-added {
    width: 33.333333%;   }
}

@media (max-width: 767.98px) {
  .recently-added-grid .col-recently-added {
    width: 50%;   }
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-1);
  font-size: 14px;
  color: var(--ink-700);
}

.chip .btn-close {
  font-size: 10px;
  margin-left: 8px;
}

.chip-applied {
  background: var(--brand-500);
  color: #fff;
  border-color: var(--brand-500);
}

.form-check-input:focus,
.btn:focus,
.form-control:focus,
.form-select:focus {
  box-shadow: var(--focus);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.aspect-1x1 {
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
}

.aspect-4x3 {
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
}

.aspect-16x9 {
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
}

.navbar-nav .nav-item.dropdown {
  position: relative;
}

.dropdown-menu.mega-menu {
  position: absolute;
  top: calc(100% - 3px);
  left: 0;
  right: auto;
  width: 800px;
  z-index: 1030;
  max-width: 90vw;
  background: #ffffff;
  border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border-radius: 0 0 4px 4px;
  margin-top: 0;
  padding: 0;
}

.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle::after {
  display: none;
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem;
  width: 100%;
}

.mega-menu h6 {
  color: var(--brand-700);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-500);
  position: relative;
}

.mega-menu h6::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--brand-400);
}

.mega-menu a {
  display: block;
  padding: 10px 0;
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 2px;
  position: relative;
  padding-left: 0;
}

.mega-menu a:hover {
  color: var(--brand-500);
  text-decoration: none;
  padding-left: 24px;
  background: rgba(0,89,225,0.05);
  transform: translateX(4px);
}

.mega-menu a:hover::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background-image: url('../images/gp_logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 991.98px) {
  .mega-menu-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .mega-menu-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
}

.kpi-card {
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-500);
}

.kpi-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
}

.kpi-card .icon {
  color: var(--brand-500);
  font-size: 2.5rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.kpi-card:hover .icon {
  transform: scale(1.1);
}

.kpi-card .stat {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-500);
  margin-bottom: 6px;
}

.kpi-card .label {
  font-size: 14px;
  color: var(--ink-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero {
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-800) 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
}

.hero-slideshow {
  background-color: #000;
  min-height: 430px;
  position: relative;
  overflow: hidden;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 430px;
}

.hero-slide {
  display: none;
  width: 100%;
  min-height: 430px;
  padding: 80px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  animation: fadeIn 0.5s ease-in;
  background: url('../images/banner-test.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.hero-slide.active {
  display: block;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

/* Video Background Styles */
.hero-slide__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-slide--video {
  background: #000;
}

/* Ensure video backgrounds have proper overlay */
.hero-slide--video::before {
  z-index: 1;
}

.hero-slide h1 {
  color: #ffffff;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 
    3px 3px 0px rgba(0, 0, 0, 0.8),
    6px 6px 20px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 0, 0, 0.4);
  animation: slideInLeft 0.8s ease-out;
}

.hero-slide .lead {
  color: #ffffff;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.9),
    4px 4px 16px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 0, 0, 0.5);
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-slide p {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-slide .hero-actions {
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.slideshow-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.slideshow-arrow--prev {
  left: 20px;
}

.slideshow-arrow--next {
  right: 20px;
}

.slideshow-nav {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 10;
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.slideshow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.slideshow-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.slideshow-dot.active {
  background: var(--brand-500);
  border-color: white;
  transform: scale(1.2);
}

@media (max-width: 767.98px) {
  .hero-slideshow {
    min-height: 400px;
  }

  .hero-slide {
    min-height: 400px;
    padding: 60px 0;
  }

  .hero-slide h1 {
    font-size: clamp(28px, 8vw, 42px);
    margin-bottom: 16px;
  }

  .hero-slide .lead {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 24px;
  }

  .slideshow-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .slideshow-arrow--prev {
    left: 10px;
  }

  .slideshow-arrow--next {
    right: 10px;
  }

  .slideshow-dot {
    width: 10px;
    height: 10px;
  }
}

.hero h1 {
  font-size: var(--h1);
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.hero .lead {
  font-size: var(--lead);
  margin-bottom: 32px;
  opacity: 1;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

.hero .btn {
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 14px;
  padding: 16px 32px;
  border-width: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.hero .btn-primary {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #ffffff;
}

.hero .btn-primary:hover {
  background: var(--brand-400);
  border-color: var(--brand-400);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 89, 225, 0.4), 0 12px 32px rgba(0, 0, 0, 0.2);
}

.hero .btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.hero .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #ffffff;
  color: var(--ink-800);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3), 0 12px 32px rgba(0, 0, 0, 0.2);
}

.content-tile {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-3);
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}


.content-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
  border-color: var(--brand-500);
}

.content-tile .icon {
  color: var(--brand-500);
  font-size: 3rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.content-tile:hover .icon {
  transform: scale(1.05);
}

.content-tile h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink-800);
}

.content-tile p {
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.filters-sidebar {
  background: var(--bg-soft);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-2);
  padding: 24px;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group h6 {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink-800);
}

.form-check-label {
  font-size: 14px;
  color: var(--ink-700);
}

.range-input {
  display: flex;
  gap: 12px;
  align-items: center;
}

.range-input input {
  flex: 1;
}

.results-header {
  background: var(--bg-soft);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-2);
  padding: 16px 24px;
  margin-bottom: 24px;
}

.results-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.results-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink-600);
  font-size: 14px;
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.applied-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

/* Products grid - uses Bootstrap row-cols classes */

.product-gallery {
  display: flex;
  gap: 16px;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 80px;
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 2px solid var(--border-200);
  border-radius: var(--radius-1);
  cursor: pointer;
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
  border-color: var(--brand-500);
}

.gallery-main {
  flex: 1;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-2);
  border: 1px solid var(--border-200);
}

.purchase-box {
  background: var(--bg-card);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-2);
  padding: 32px;
}

.purchase-box .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink-800);
  margin-bottom: 8px;
}

.purchase-box .price-msrp {
  color: var(--ink-400);
  text-decoration: line-through;
  font-size: 1.2rem;
  margin-left: 12px;
}

.purchase-box .stock-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-200);
  border-radius: var(--radius-1);
  overflow: hidden;
  width: fit-content;
}

.qty-stepper button {
  border: none;
  background: var(--bg-soft);
  padding: 8px 12px;
  cursor: pointer;
}

.qty-stepper input {
  border: none;
  text-align: center;
  width: 60px;
  padding: 8px 4px;
}

.product-tabs .nav-tabs {
  border-bottom: 2px solid var(--border-200);
}

.product-tabs .nav-link {
  color: var(--ink-600);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 16px 24px;
  font-weight: 500;
}

.product-tabs .nav-link:hover,
.product-tabs .nav-link.active {
  color: var(--brand-500);
  border-bottom-color: var(--brand-500);
  background: none;
}

.specs-table {
  border: 1px solid var(--border-200);
  border-radius: var(--radius-1);
}

.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-200);
  vertical-align: top;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--ink-800);
  background: var(--bg-soft);
  width: 30%;
}

.footer {
  background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-700) 100%);
  color: #fff;
  padding: 60px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-500);
}

.footer h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  text-decoration: none;
}

.footer ul li a:hover {
  color: #fff;
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 32px;
  padding-top: 24px;
  color: rgba(255,255,255,.6);
  font-size: 14px;
}

.alert-age-gate {
  background: var(--accent-red);
  color: #fff;
  border: none;
  text-align: center;
}

.alert-ffl {
  background: var(--accent-info);
  color: #fff;
  border: none;
}

.alert-safety {
  background: #ffc107;
  color: #000;
  border: none;
}

.breadcrumb {
  background: none;
  padding: 16px 0;
  margin-bottom: 0;
  font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--ink-400);
}

@media (max-width: 991.98px) {
  .product-gallery {
    flex-direction: column;
  }
  
  .gallery-thumbs {
    flex-direction: row;
    width: auto;
    overflow-x: auto;
  }
  
  .filters-sidebar {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 60px 0;
  }
  
  .purchase-box {
    padding: 24px;
  }
  
  .results-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .sort-controls {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 575.98px) {
  .search-xl .form-control {
    font-size: 16px;
  }
}

html {
  scroll-behavior: smooth;
}

.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--border-200);
  border-top: 2px solid var(--brand-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

*:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--brand-500), var(--brand-400));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--brand-400), var(--brand-500));
}

.card-product img {
  filter: brightness(0.95);
}

.card-product:hover img {
  filter: brightness(1);
}

@media (max-width: 767.98px) {
  .announcement-bar-slider {
    font-size: 13px;
    padding: 8px 0;
  }
  
  .info-bar {
    padding: 10px 0;
  }
  
  .info-bar-content {
    font-size: 13px;
    gap: 12px;
  }
  
  .info-divider {
    display: none;
  }
  
  .header-main {
    padding: 16px 0;
  }
  
  .kpi-card {
    padding: 24px 16px;
  }
  
  .content-tile {
    padding: 24px 16px;
  }
  
  .hero {
    padding: 60px 0 40px;
  }
  
    .card-product img {
    max-width: 100%;
    width: 100%;
  }
  
  .gallery-main img,
  .gallery-thumbs img {
    max-width: 100%;
  }
}

.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}

.rating-stars {
  color: #ffc107;
}

@keyframes pulse-fire {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.bi-fire {
  animation: pulse-fire 2s infinite;
}

.kpi-card .small {
  margin-top: 4px;
  font-size: 12px;
}

.card:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease-in-out;
}


.section {
  padding: 56px 0;
}

.section--alt {
  padding: 56px 0;
  background: var(--bg-soft);
}

.section--compact {
  padding: 40px 0;
}

@media (max-width: 767.98px) {
  .section {
    padding: 40px 0;
  }
  
  .section--alt {
    padding: 40px 0;
  }
  
  .section--compact {
    padding: 28px 0;
  }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-bottom: 0;
  font-size: var(--h2);
  font-weight: 600;
}

.section-link {
  color: var(--brand-500);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}

.section-link:hover {
  color: var(--brand-400);
  text-decoration: none;
}

.search-dominant {
  padding: 16px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-200);
}

.hero--overlay {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), 
              url('../images/banner-test.png');
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.chips-row {
  padding: 20px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-200);
}

.chips-row .chip {
  padding: 8px 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--ink-700);
  background: var(--bg);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-1);
}

.chips-row .chip:hover {
  background: var(--brand-500);
  color: white;
  text-decoration: none;
  border-color: var(--brand-500);
  transform: translateY(-1px);
  box-shadow: var(--shadow-1);
}

.kpi-card--compact {
  padding: 20px 16px;
}

.kpi-card--compact .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.badge-cluster {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 10;
}

.card-product__meta {
  min-height: 140px;
}

.card-product .aspect-4x3 {
  width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  background: #f8f9fa;
  padding: 16px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.microcopy {
  color: var(--ink-400);
  font-size: 12px;
}

.card-product__actions {
  margin-top: 0.75rem;
}

.brands-card {
  background: var(--bg-card);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-2);
  padding: 32px;
}

.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  row-gap: 24px;
}

.brand-logo-placeholder {
  width: 120px;
  height: 60px;
  background: var(--ink-100);
  border-radius: var(--radius-1);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.brand-logo-placeholder:hover {
  opacity: 0.8;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 80px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border-100);
  border-radius: var(--radius-2);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.brand-logo-link:hover {
  transform: translateY(-4px);
  border-color: var(--border-300);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.brand-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(80%) opacity(0.8);
  transition: filter 0.3s ease;
}

.brand-logo-link:hover .brand-logo {
  filter: grayscale(0%) opacity(1);
}

.promo-tile {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.category-image-placeholder {
  width: 100%;
  height: 80px;
  border-radius: var(--radius-2);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  opacity: 0.1;
}

.promo-image-placeholder {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-2);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  opacity: 0.1;
}

.education-thumbnail {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-1);
  background: var(--bg-card);
  border: 1px solid var(--border-200);
  flex-shrink: 0;
}

.testimonial-card {
  padding: 1.5rem 1rem;
}

.testimonial-card .card-text {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

@media (max-width: 991.98px) {
  .section-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .brands-row {
    gap: 12px;
    row-gap: 16px;
  }
  
  .brand-logo-placeholder {
    width: 100px;
    height: 50px;
  }
  
  .brand-logo-link {
    width: 110px;
    height: 70px;
    padding: 12px;
  }
}

@media (max-width: 767.98px) {
  .chips-row .chip {
    padding: 6px 12px;
    font-size: 14px;
  }
  
  .hero--overlay {
    min-height: 350px;
  }
  
  .brands-card {
    padding: 24px 16px;
  }
  
  .education-thumbnail {
    width: 60px;
    height: 45px;
  }
  
  .card-product__meta {
    min-height: 120px;
  }
}


.hero--tight {
  padding-bottom: 40px;
}

@media (max-width: 767.98px) {
  .hero--tight {
    padding-bottom: 24px;
  }
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.badge-cluster {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brands-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

@media (max-width: 991.98px) {
  .brands-row {
    justify-content: center;
    padding: 0;
  }
}

.card-product__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-product__meta {
  margin-top: auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

@media (max-width: 767.98px) {
  .hero-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}

.education-thumbnail-full {
  width: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-1);
  flex-shrink: 0;
  align-self: stretch;
}

a.content-tile {
  color: inherit;
  transition: all 0.3s ease;
}

a.content-tile:hover {
  color: inherit;
  text-decoration: none;
}

a.content-tile h5 {
  color: var(--ink-800);
}

a.content-tile:hover h5 {
  color: var(--brand-500);
}

.content-tile {
  cursor: pointer;
}

.content-tile:hover {
  transform: translateY(-2px);
}

.testimonial-card .card-body {
  padding: 1.25rem;
}

.testimonial-card .avatar-circle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.kpi-card--compact .icon i {
  font-size: 1.8rem;
}

@media (max-width: 767.98px) {
  .education-thumbnail-full {
    width: 80px;
  }
  
  .testimonial-card .avatar-circle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}


.callout {
  padding: 1rem;
  border-radius: var(--radius-2);
  margin: 1rem 0;
}

.callout-info {
  background: #e7f3ff;
  border-left: 4px solid var(--accent-info);
  color: var(--ink-700);
}

.callout-warning {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  color: var(--ink-700);
}

.callout-success {
  background: #e8f5e8;
  border-left: 4px solid var(--accent-green);
  color: var(--ink-700);
}

.cart-item {
  transition: background-color 0.2s ease;
}

.cart-item:hover {
  background-color: var(--bg-soft);
}

.quantity-controls .input-group {
  width: 120px;
}

.quantity-controls .form-control {
  max-width: 60px;
}

.price-col .price {
  font-size: 1.1rem;
  color: var(--ink-800);
}

.price-col .price-msrp {
  font-size: 0.9rem;
  color: var(--ink-400);
}

.checkout-item-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: var(--radius-1);
}

.checkout-progress .step-item {
  position: relative;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 10px;
  transition: all 0.3s ease;
}

.step-item.active .step-circle {
  background: var(--brand-500);
  color: white;
}

.step-item.completed .step-circle {
  background: var(--accent-green);
  color: white;
}

.step-label {
  font-size: 14px;
  color: #6c757d;
}

.step-item.active .step-label {
  color: var(--brand-500);
  font-weight: 600;
}

.ffl-results .form-check-label:hover {
  background: var(--bg-soft);
  cursor: pointer;
}

.price-breakdown {
  font-size: 14px;
}

.order-items .d-flex {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-100);
}

.order-items .d-flex:last-child {
  border-bottom: none;
}

.security-badges i {
  font-size: 1.5rem;
  margin: 0 0.25rem;
}

.badge-discount {
  background: var(--accent-red);
  color: white;
}

.badge-popular {
  background: #ff6b35;
  color: white;
}

.badge-best-seller {
  background: #28a745;
  color: white;
}

.badge-new {
  background: var(--brand-500);
  color: white;
}

.badge-certified {
  background: #6f42c1;
  color: white;
}

.badge-in-stock {
  background: var(--accent-green);
  color: white;
}

.badge-out-stock {
  background: var(--accent-red);
  color: white;
}

.badge-sale {
  background: #fd7e14;
  color: white;
}

@media (max-width: 767.98px) {
  .cart-item .row > div {
    margin-bottom: 1rem;
  }
  
  .quantity-controls {
    margin: 0.5rem 0;
  }
  
  .checkout-progress .step-circle {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .step-label {
    font-size: 12px;
  }
  
  .ffl-results .form-check {
    margin-bottom: 1rem;
  }
}

/* ========================================
   Order Tracking Styles
   ======================================== */

.order-tracker {
  position: relative;
  margin: 0;
  padding: 0;
}

.tracker-step {
  position: relative;
  padding-left: 50px;
  padding-bottom: 30px;
  transition: all 0.3s ease;
}

.tracker-step:last-child {
  padding-bottom: 0;
}

.tracker-step::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 35px;
  bottom: -5px;
  width: 2px;
  background: #e9ecef;
  transition: background 0.5s ease;
}

.tracker-step:last-child::before {
  display: none;
}

.tracker-step.completed::before {
  background: var(--accent-green);
}

.tracker-step.active::before {
  background: linear-gradient(to bottom, var(--accent-green) 0%, #e9ecef 100%);
}

.tracker-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #6c757d;
  z-index: 1;
  transition: all 0.3s ease;
}

.tracker-step.completed .tracker-icon {
  background: var(--accent-green);
  color: white;
  transform: scale(1);
}

.tracker-step.active .tracker-icon {
  background: var(--brand-500);
  color: white;
  box-shadow: 0 0 0 4px rgba(45, 109, 246, 0.2);
  animation: trackingPulse 2s infinite;
}

.tracker-step.pending .tracker-icon {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
}

@keyframes trackingPulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(45, 109, 246, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(45, 109, 246, 0.1);
  }
}

.tracker-content h6 {
  color: var(--ink-800);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.tracker-step.pending .tracker-content h6 {
  color: var(--ink-400);
}

.tracker-content p {
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.order-item-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 2px;
  border: 1px solid #e9ecef;
  padding: 5px;
  background: white;
}

.estimated-delivery {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 4px;
  text-align: center;
}

#map {
  border-radius: 0;
  min-height: 400px;
}

@keyframes deliveryBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.tracker-step.active .tracker-icon i {
  animation: deliveryBounce 1.5s ease-in-out infinite;
}

@media (max-width: 991px) {
  .sticky-top {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 20px;
  }
  
  #map {
    height: 400px !important;
  }
  
  .tracker-step {
    padding-left: 45px;
  }
  
  .tracker-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .tracker-step::before {
    left: 14px;
  }
}

@media (max-width: 575px) {
  .estimated-delivery h4 {
    font-size: 1.25rem;
  }
  
  .order-item-image {
    width: 50px;
    height: 50px;
  }
  
  .tracker-content h6 {
    font-size: 14px;
  }
}

/* ================================
   Documentation Layout Utilities
   ================================ */

/* Callout Boxes */
.callout {
  padding: 1.5rem;
  border-radius: var(--radius-2);
  margin: 2rem 0;
}

.callout h5 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout-info {
  background: #e7f3ff;
  border-left: 4px solid var(--accent-info);
}

.callout-warning {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
}

.callout-success {
  background: #e8f5e8;
  border-left: 4px solid var(--accent-green);
}

.callout-danger {
  background: #fef5f5;
  border-left: 4px solid var(--accent-red);
}

/* Process Steps */
.process-step {
  display: flex;
  margin-bottom: 2rem;
  gap: 1rem;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--brand-500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.step-content p:last-child {
  margin-bottom: 0;
}

/* Content Tables */
.content-table {
  background: var(--bg-card);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-2);
  overflow: hidden;
  margin: 2rem 0;
}

.content-table table {
  margin-bottom: 0;
}

.content-table th {
  background: var(--bg-soft);
  font-weight: 600;
  padding: 1rem;
}

.content-table td {
  padding: 1rem;
}

/* Documentation Figures */
figure.doc-figure {
  margin: 2rem 0;
  text-align: center;
}

figure.doc-figure img {
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  max-width: 100%;
  height: auto;
}

figcaption {
  margin-top: 1rem;
  font-size: 14px;
  color: var(--ink-600);
  font-style: italic;
}

/* Info Cards for Documentation */
.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-2);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-card h5 {
  margin-top: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card h5 i {
  color: var(--brand-500);
}

.info-card p:last-child,
.info-card ul:last-child {
  margin-bottom: 0;
}

/* Code blocks in documentation */
.entry-content pre {
  background: #f8f9fa;
  border: 1px solid var(--border-200);
  border-radius: var(--radius-2);
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.entry-content code {
  background: #f8f9fa;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-1);
  font-size: 0.9em;
  color: #c7254e;
}

.entry-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

/* Documentation badges */
.doc-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 12px;
  margin-right: 0.5rem;
}

.doc-badge-new {
  background: #28a745;
  color: white;
}

.doc-badge-updated {
  background: #0066cc;
  color: white;
}

.doc-badge-deprecated {
  background: #dc3545;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .process-step {
    flex-direction: column;
  }
  
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

/* ===================================
   DEALS PAGE STYLES
   =================================== */

/* Simplified Hero */
.deals-hero-simple {
    background: linear-gradient(135deg, #2F5233 0%, #1a3820 100%);
    padding: 60px 0;
    border-bottom: 4px solid #ff6b35;
}

.deals-hero-simple h1 {
    color: white;
    letter-spacing: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Section Styling */
.section-title h2 {
    color: #2F5233;
    font-size: 28px;
    margin-bottom: 5px;
}

.section-title .subtitle {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* Promo Cards */
.deal-promo-card {
    border-radius: 2px;
    padding: 40px 30px;
    min-height: 250px;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.deal-promo-card:hover {
    transform: translateY(-5px);
}

.promo-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Product Cards - Simpler Style */
.deal-product-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.deal-product-card:hover {
    border-color: #2F5233;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.deal-product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 20px;
    background: #f8f9fa;
}

.product-info {
    padding: 15px;
}

.product-info h5 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.brand-name {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 10px;
    min-height: 32px;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.new-price {
    font-size: 20px;
    font-weight: 700;
    color: #2F5233;
}

.old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.savings-tag {
    display: inline-block;
    background: #d4edda;
    color: #155724;
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
}

/* Deal Badges */
.deal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 6px 12px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
}

.deal-badge.green {
    background: #28a745;
}

.deal-badge.blue {
    background: #0066cc;
}

.deal-badge.red {
    background: #dc3545;
}

/* Ammo Cards */
.ammo-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.ammo-card:hover {
    border-color: #2F5233;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.per-round-banner {
    background: #2F5233;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 16px;
}

.ammo-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    padding: 15px;
    background: #f8f9fa;
}

.ammo-info {
    padding: 15px;
}

.ammo-info h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.ammo-details {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 10px;
    min-height: 32px;
}

/* Full Width Promos */
.full-width-promo .promo-banner {
    display: flex;
    align-items: center;
}

/* Small Promo Cards */
.promo-card-small {
    border-radius: 2px;
    padding: 30px 20px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s;
}

.promo-card-small:hover {
    transform: translateY(-3px);
}

.promo-card-small h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

/* Stretched link for clickable cards */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Responsive Deals Page */
@media (max-width: 768px) {
    .deals-hero-simple {
        padding: 40px 0;
    }

    .deals-hero-simple h1 {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .deal-promo-card {
        min-height: 200px;
        padding: 30px 20px;
    }

    .promo-content h3 {
        font-size: 18px;
    }
}

/* ============================================
   SHOP PAGE & PRODUCT GRID STYLES
   ============================================ */

/* Shop Page Layout */
.shop-page {
    background: var(--bg-soft);
    min-height: 100vh;
}

.shop-header__title h1 {
    margin-bottom: 0;
}

/* Filter Sidebar */
.filter-sidebar {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-3);
    box-shadow: var(--shadow-1);
}

.filter-section {
    border-bottom: 1px solid var(--border-100);
    padding-bottom: 16px;
}

.filter-section:last-of-type {
    border-bottom: none;
}

.filter-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-700);
}

.filter-scroll {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--border-100);
    border-radius: var(--radius-2);
    scrollbar-width: thin;
}

.filter-scroll::-webkit-scrollbar {
    width: 5px;
}

.filter-scroll::-webkit-scrollbar-track {
    background: var(--bg-soft);
    border-radius: 3px;
}

.filter-scroll::-webkit-scrollbar-thumb {
    background: var(--ink-200);
    border-radius: 3px;
}

.filter-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--ink-300);
}

.filter-item.hidden {
    display: none !important;
}

.filter-options .form-check {
    margin-bottom: 6px;
}

.filter-options .form-check-label {
    font-size: 13px;
    color: var(--ink-600);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.filter-options .form-check-input:checked + .form-check-label {
    color: var(--brand-500);
    font-weight: 500;
}

.price-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.price-presets .btn {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.active-filters .badge {
    font-weight: 400;
    font-size: 12px;
    padding: 6px 12px;
    background: var(--ink-600) !important;
}

.active-filters .badge a {
    color: white;
    text-decoration: none;
    margin-left: 6px;
    opacity: 0.8;
}

.active-filters .badge a:hover {
    opacity: 1;
}

/* Product Card Styles */
.products-grid {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.products-grid .col {
    padding: 0.5rem;
}

.products-grid .card-product {
    background: var(--bg-card);
    border: 1px solid var(--border-100);
    border-radius: var(--radius-3);
    overflow: hidden;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.products-grid .card-product:hover {
    border-color: var(--border-300);
    box-shadow: var(--shadow-2);
    transform: translateY(-2px);
}

.product-image-wrapper {
    background: #f8f9fa;
    padding: 12px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper .product-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-image-wrapper img.product-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card-product:hover .product-image-wrapper img.product-img {
    transform: scale(1.05);
}

/* Placeholder for products without images */
.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: var(--radius-2);
    color: var(--ink-300);
}

.product-placeholder i {
    font-size: 48px;
}

.product-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.product-badges .badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
}

.product-quick-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.card-product:hover .product-quick-actions {
    opacity: 1;
}

.wishlist-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-1);
}

.wishlist-btn:hover {
    background: var(--brand-500);
    color: white;
}

.wishlist-btn.active i {
    color: #dc3545;
}

.wishlist-btn.active i::before {
    content: "\f415"; /* filled heart */
}

/* Product Card Body */
.card-product .card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-400);
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.product-title a {
    color: var(--ink-800);
}

.product-title a:hover {
    color: var(--brand-500);
    text-decoration: none;
}

.product-specs {
    font-size: 12px;
    color: var(--ink-400);
}

.product-price {
    font-size: 18px;
    color: var(--ink-900);
}

.product-price del {
    font-size: 13px;
    color: var(--ink-300);
    font-weight: 400;
}

.product-price ins {
    text-decoration: none;
    color: var(--accent-red);
}

.product-stock {
    font-size: 12px;
}

/* Shop Pagination */
.shop-pagination {
    margin-top: 32px;
}

.shop-pagination .woocommerce-pagination {
    display: flex;
    justify-content: center;
}

.shop-pagination .page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
}

.shop-pagination .page-numbers li a,
.shop-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--border-200);
    border-radius: var(--radius-2);
    text-decoration: none;
    color: var(--ink-600);
    background: var(--bg-card);
    font-size: 14px;
    transition: all 0.2s ease;
}

.shop-pagination .page-numbers li span.current {
    background: var(--brand-500);
    color: white;
    border-color: var(--brand-500);
}

.shop-pagination .page-numbers li a:hover {
    background: var(--bg-soft);
    border-color: var(--brand-500);
    color: var(--brand-500);
}

/* No Products Found */
.no-products-found {
    background: var(--bg-card);
    border-radius: var(--radius-3);
    padding: 60px 20px;
}

.no-products-found i {
    color: var(--ink-200);
}

/* Sort Dropdown Override */
.woocommerce-ordering select.orderby {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--border-200);
    border-radius: var(--radius-2);
    font-size: 14px;
    background: var(--bg-card);
    cursor: pointer;
}

.woocommerce-ordering select.orderby:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: var(--focus);
}

/* Result Count */
.woocommerce-result-count {
    margin: 0;
    font-size: 14px;
    color: var(--ink-400);
}

/* Mobile Filter Offcanvas */
#mobileFilters .filter-section {
    padding: 16px 0;
}

#mobileFilters .filter-scroll {
    max-height: none;
}

/* Responsive Shop Styles */

@media (max-width: 767px) {
    .product-title {
        font-size: 13px;
        min-height: 36px;
    }
    
    .product-price {
        font-size: 15px;
    }
    
    .product-placeholder i {
        font-size: 32px;
    }
    
    .shop-header {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .shop-header__controls {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 575px) {
    .shop-page .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .products-grid .col {
        padding: 4px;
    }
    
    .card-product .card-body {
        padding: 10px;
    }
    
    .product-image-wrapper {
        padding: 8px;
    }
    
    .product-placeholder i {
        font-size: 24px;
    }
    
    .product-brand {
        font-size: 10px;
    }
    
    .product-title {
        font-size: 12px;
        min-height: 32px;
        -webkit-line-clamp: 2;
    }
    
    .product-specs {
        font-size: 11px;
    }
    
    .product-price {
        font-size: 14px;
    }
    
    .product-stock {
        font-size: 11px;
    }
}