:root {
  --pb-yellow:       #F7B626;
  --pb-yellow-hover: #e0a320;
  --pb-yellow-light: #FFF8E6;
  --pb-dark:         #1C1D1F;
  --pb-darker:       #111111;
  --pl-gray-1:       #F5F6F8;
  --pl-gray-2:       #EAECF0;
  --pl-gray-3:       #C8CDD6;
  --pl-gray-4:       #8C95A3;
  --pl-gray-5:       #5A6472;
  --pl-gray-6:       #323C4A;
  --pl-gray-7:       #1A2130;
  --pl-white:        #FFFFFF;
  --pl-green:        #1A9E5C;
  --pl-red:          #D93025;
  --pl-blue-mid:     #0066CC;
  --pl-shadow-xs:    0 1px 2px rgba(0,0,0,.06);
  --pl-shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --pl-shadow-md:    0 4px 20px rgba(0,0,0,.10);
  --pl-shadow-lg:    0 8px 40px rgba(0,0,0,.14);
  --pl-radius:       8px;
  --pl-radius-sm:    5px;
  --pl-radius-lg:    12px;
  
  /* Main text fallback, and custom font variables to resolve cross-computer font issues */
  --font:            'Nunito Sans', Helvetica, Arial, Roboto, 'Noto Sans', sans-serif;
  --font-regular:    'AvertaPE-Regular', Helvetica, Arial, Roboto, 'Noto Sans', sans-serif;
  --font-semi:       'AvertaPE-SemiBold', Helvetica, Arial, Roboto, 'Noto Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Flex body setup to ensure the footer always sticks to the bottom */
body { 
  font-family: var(--font); 
  background: var(--pl-white); 
  color: var(--pl-gray-6); 
  -webkit-font-smoothing: antialiased; 
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Forces main content to expand, locking footer to bottom */
.site-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

a { text-decoration: none; color: inherit; cursor: pointer; }
button, input, select { font-family: inherit; }

/* ─── SITE HEADER (Sticky Wrapper) ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  width: 100%;
}

/* ─── TOP BAR ─── */
.top-bar {
  background-color: var(--pb-yellow);
  height: 34px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
}
.top-bar-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
}
.top-bar a {
  color: #000;
  transition: opacity 0.2s;
}
.top-bar a:hover {
  opacity: 0.7;
}

/* ─── MAIN NAVIGATION ─── */
.topnav {
  background: var(--pb-dark);
  position: relative;
}
.topnav-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 80px; gap: 40px;
}
.pl-logo img { 
  height: 38px; 
  width: auto; 
  object-fit: contain; 
  cursor: pointer;
}
.nav-links {
  display: flex;
  gap: 25px;
  flex: 1;
}
.nav-links a {
  font-family: var(--font-regular);
  color: var(--pb-yellow);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
  padding: 8px 0;
}
.nav-links a:hover {
  color: var(--pl-white);
}

.mobile-menu-btn {
  display: none;
  font-size: 26px;
  color: var(--pb-yellow);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

/* ─── STATIC BANNER (BR1 Mini styling) ─── */
.hero-banner {
  width: 100%;
  height: 500px;
  background: url('https://estore.pepwave.com/downloads/estore_promotion_banner/6334ecd9c14eec6b11af0615/BR1-Mini.png') center/cover no-repeat;
  display: flex; align-items: center;
  position: relative;
  background-color: #2b2b2b;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto; width: 100%; padding: 0 24px;
  color: #fff;
}
.hero-content h1 { 
  font-size: 64px; 
  font-weight: 800; 
  margin-bottom: 5px; 
  color: var(--pb-yellow);
  letter-spacing: -1px;
}
.hero-content p { 
  font-size: 24px; 
  font-weight: 700;
  margin-bottom: 40px; 
}

/* ─── LARGE SEARCH BAR ─── */
.search-section {
  background: var(--pl-white);
  padding: 40px 24px;
  display: flex;
  justify-content: center;
}
.search-large {
  position: relative;
  width: 100%;
  max-width: 1272px;
}
.search-large input {
  width: 100%; border: none;
  border-radius: 40px; padding: 16px 60px 16px 30px;
  font-size: 16px; font-weight: 600; background: #F2F2F2; outline: none;
  color: var(--pl-gray-6);
}
.search-large input::placeholder {
  color: #A0A0A0; font-weight: 400;
}
.search-large-btn {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--pb-yellow); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.search-large-btn svg { width: 28px; height: 28px; }

/* ─── LANDING PAGE SECTIONS ─── */
.section-container { max-width: 1320px; margin: 60px auto 80px; padding: 0 24px; }
.section-title {
  font-family: var(--font-semi);
  font-size: 28px; font-weight: 600; color: var(--pb-yellow);
  margin-bottom: 40px; text-align: center;
}

/* Unified Hardware Grid for perfect responsive flow */
.hw-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 80px;
  justify-content: flex-start; /* Ensures items align to the left on wrapping */
}
.hw-card {
  cursor: pointer;
  width: calc(25% - 18px); /* Default to 4 per row */
}
/* The first 3 cards are larger to fill the first row perfectly */
.hw-group .hw-card:nth-child(1),
.hw-group .hw-card:nth-child(2),
.hw-group .hw-card:nth-child(3) {
  width: calc(33.333% - 16px);
}

.hw-card-img {
  background: #F4F3F0;
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; padding: 0;
  transition: opacity 0.3s;
  border-radius: var(--pl-radius-sm);
  overflow: hidden;
  position: relative;
}
.hw-card:hover .hw-card-img {
  opacity: 0.8;
}
.hw-card img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hw-card h3 { 
  font-size: 14px; font-weight: 800; color: var(--pb-darker); 
  text-transform: uppercase; text-align: left; margin-left: 4px;
}

/* Software Grids */
.sw-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px 40px; 
  justify-items: center; align-items: center; max-width: 1200px; margin: 0 auto;
}
.sw-logo {
  min-height: 200px; width: 100%; max-width: 250px;
  display: flex; justify-content: center; align-items: center;
  cursor: pointer; transition: transform 0.2s;
}
.sw-logo:hover { transform: translateY(-3px); }
.sw-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ─── SHOP VIEW ─── */
.shop-banner {
  width: 100%;
  height: 180px;
  background-color: #111111;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://estore.pepwave.com/downloads/category/5f05d7045d59372f9830ee6e/Product-Banner.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.shop-banner-inner {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
}
.shop-banner h2 {
  color: #fff;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Sticky Search and Controls Group */
.sticky-group {
  position: sticky;
  top: 114px; /* Sits right below the 114px sticky site-header */
  z-index: 850;
  background: var(--pl-white);
  box-shadow: var(--pl-shadow-xs);
}

/* Shop Controls (Breadcrumb) */
.shop-controls-wrap {
  background: var(--pl-white);
  border-bottom: 1px solid var(--pl-gray-2);
}
.shop-controls {
  max-width: 1320px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.breadcrumb {
  display: flex; gap: 6px; align-items: center;
  font-size: 12.5px; color: var(--pl-gray-4); flex-wrap: wrap; margin: 0; padding: 0;
}
.breadcrumb a { color: var(--pl-gray-6); font-weight: 600; cursor: pointer; }
.breadcrumb a:hover { color: var(--pb-yellow); }
.breadcrumb .sep { color: var(--pl-gray-3); }

/* Controls Right Side (Mobile Filter) */
.controls-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

/* Mobile Filter Button */
.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--pl-white);
  border: 1.5px solid var(--pl-gray-2);
  padding: 6px 16px;
  border-radius: var(--pl-radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--pl-gray-6);
  cursor: pointer;
  transition: all 0.2s;
}
.mobile-filter-btn:hover { background: var(--pl-gray-1); border-color: var(--pb-yellow); }

.main-wrap {
  max-width: 1320px; margin: 0 auto; padding: 20px 24px 60px;
  display: grid; grid-template-columns: 260px 1fr; gap: 40px;
  align-items: start;
}
.hidden { display: none !important; }

/* Sidebar Boxed Layout (Sticky on Desktop) */
.sidebar { 
  display: flex; 
  flex-direction: column; 
  gap: 14px; 
  position: sticky;
  top: 284px; /* Adjusted down slightly due to top bar */
  max-height: calc(100vh - 270px);
  overflow-y: auto;
  padding-right: 4px;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--pl-gray-3); border-radius: 4px; }

.sidebar-overlay { display: none; }
.sidebar-mobile-head { display: none; }

.sidebar-box { 
  background: var(--pl-white); 
  border: 1px solid var(--pl-gray-2); 
  border-radius: var(--pl-radius); 
  overflow: hidden; 
  box-shadow: var(--pl-shadow-xs); 
  flex-shrink: 0;
}
.sidebar-head { 
  padding: 10px 14px; 
  background: #F4F5F7; 
  font-weight: 800; 
  font-size: 12px; 
  text-transform: uppercase; 
  color: var(--pl-gray-5); 
  border-bottom: 1px solid var(--pl-gray-2);
  letter-spacing: 0.5px;
}
.sidebar-row { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 8px 14px; 
  font-size: 13.5px; 
  color: var(--pl-gray-6); 
  border-bottom: 1px solid var(--pl-gray-2); 
  background: #fff;
  cursor: pointer; 
  transition: all .14s; 
}
.sidebar-row:last-child { border-bottom: none; }
.sidebar-row:hover { background: #FAFAFA; color: var(--pb-yellow-hover); }
.sidebar-row.active { 
  background: var(--pb-yellow-light); 
  color: var(--pb-yellow-hover); 
  font-weight: 700; 
  border-left: 3px solid var(--pb-yellow); 
  padding-left: 13px; 
}
.sidebar-row .pill { 
  background: #F0F2F5; 
  color: var(--pl-gray-5); 
  font-size: 11px; 
  font-weight: 700; 
  padding: 2px 8px; 
  border-radius: 99px; 
  min-width: 28px; 
  text-align: center; 
}
.sidebar-row.active .pill { 
  background: #FDE8B5; 
  color: var(--pb-yellow-hover); 
}

/* Product Area & Loading Spinner */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 30px; }
.prod-card { background: transparent; border: none; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; cursor: pointer; transition: opacity .2s; position: relative; }
.prod-card:hover { transform: none; opacity: 0.8; box-shadow: none; border: none; }

@keyframes spin { 100% { transform: rotate(360deg); } }
.loader {
  width: 36px; height: 36px;
  border: 3px solid var(--pl-gray-2);
  border-bottom-color: var(--pb-yellow);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}

/* Card Image */
.card-img-wrap { height: 200px; background: #F4F3F0; display: flex; align-items: center; justify-content: center; position: relative; padding: 0; margin-bottom: 16px; border-radius: var(--pl-radius-sm); overflow: hidden; }
.card-img-wrap .prod-icon { font-size: 60px; user-select: none; }
.prod-image { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* Care Plan Logo Overlay */
.care-plan-logo {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 100px;
  height: 16px;
  object-fit: contain;
  object-position: left bottom;
  z-index: 10;
}

/* Card Body */
.card-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.card-title { font-size: 18px; font-weight: 800; color: var(--pb-darker); line-height: 1.3; margin: 0 0 6px 0; }

.card-desc { font-size: 14.5px; color: var(--pl-gray-6); line-height: 1.5; margin: 0 0 12px 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 400; }
.card-desc ul { list-style: none; margin: 0; padding: 0; }
.card-desc li { display: inline; }
.card-desc li::after { content: " • "; color: var(--pl-gray-3); }
.card-desc li:last-child::after { content: ""; }
.card-desc a { display: none; } 

/* Product Card Price Display (Bottom Left) */
.card-price { 
  font-family: var(--font-semi);
  font-size: 15px; 
  font-weight: 600; 
  color: #666; 
  margin: 0;
  margin-top: auto; /* Pushes the price perfectly to the bottom of the card */
  white-space: nowrap; 
}

/* ─── MODALS & OVERLAYS ─── */
.overlay { display: none; position: fixed; inset: 0; background: rgba(20,30,50,.55); z-index: 2000; align-items: center; justify-content: center; padding: 16px; }
.overlay.open { display: flex; }
.modal-box { background: var(--pl-white); border-radius: var(--pl-radius-lg); max-width: 860px; width: 100%; max-height: 92vh; overflow-y: auto; box-shadow: var(--pl-shadow-lg); animation: fadeUp .22s ease; }
@keyframes fadeUp { from { opacity:0; transform: translateY(18px) scale(.97); } to { opacity:1; transform: none; } }

.modal-head { display: flex; align-items: center; justify-content: flex-end; padding: 16px 24px 0; border-bottom: none; position: sticky; top: 0; background: var(--pl-white); z-index: 1; border-radius: var(--pl-radius-lg) var(--pl-radius-lg) 0 0; }
.modal-close-btn { background: var(--pl-gray-1); border: 1px solid var(--pl-gray-2); border-radius: 6px; width: 32px; height: 32px; font-size: 16px; cursor: pointer; color: var(--pl-gray-5); display: flex; align-items: center; justify-content: center; transition: all .14s; }
.modal-close-btn:hover { background: var(--pl-gray-2); color: var(--pl-gray-7); }

.modal-body { padding: 0 32px 32px; }
.modal-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: flex-start; margin-bottom: 24px; }

.modal-info-col h3 { font-size: 28px; font-weight: 800; color: var(--pb-darker); margin: 0 0 16px 0; letter-spacing: -0.5px; }

.modal-desc-list { margin-bottom: 16px; color: var(--pl-gray-5); font-size: 14.5px; line-height: 1.8; }
.modal-desc-list ul { margin: 0 0 0 20px; padding: 0; }
.modal-desc-list li { margin-bottom: 4px; }
.modal-desc-list a { color: var(--pb-yellow); font-weight: 700; text-decoration: none; }
.modal-desc-list a:hover { text-decoration: underline; }

/* Restored original larger size/boldness for popup main price but applying #666 color, and perfectly spaced under desc */
.modal-price { font-size: 22px; font-weight: 800; color: #666; margin: 16px 0 24px 0; display: none; white-space: nowrap; line-height: 1.4; }

.modal-prod-img { display: flex; align-items: center; justify-content: center; background: transparent; padding: 0; position: relative; }
.modal-prod-img img { max-width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 10px 20px rgba(0,0,0,.08)); }

.modal-options { margin-top: 24px; }
.modal-options-title { font-size: 14px; font-weight: 800; color: var(--pl-gray-7); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.modal-options-title::after { content: ''; flex: 1; height: 1px; background: var(--pl-gray-2); }
.option-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1.5px solid var(--pl-gray-2); border-radius: var(--pl-radius-sm); margin-bottom: 10px; cursor: pointer; transition: all .14s; justify-content: space-between; }
.option-item:hover { border-color: var(--pb-yellow); background: var(--pb-yellow-light); }
.option-item.selected { border-color: var(--pb-yellow); background: var(--pb-yellow-light); }
.option-item input[type=radio], .option-item input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--pb-yellow-hover); flex-shrink: 0; }
.option-item-info { flex: 1; }
.option-item-name { font-size: 14.5px; font-weight: 700; color: var(--pl-gray-7); }

/* Option Item Price Display - restored original 14.5px / 800 weight, with #666 color */
.option-item-price {
  font-family: var(--font-semi);
  font-weight: 800;
  color: #666;
  font-size: 14.5px;
}

.lock-notice { background: #FFFBEB; border: 1.5px solid #FCD34D; border-radius: var(--pl-radius); padding: 12px 16px; display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 16px; }
.lock-notice-ico { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.lock-notice-txt { font-size: 14px; color: #92400E; line-height: 1.55; }
.lock-notice-txt strong { color: #78350F; }

.modal-foot { padding: 16px 32px; border-top: 1px solid var(--pl-gray-2); background: var(--pl-gray-1); border-radius: 0 0 var(--pl-radius-lg) var(--pl-radius-lg); display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.modal-foot-actions { display: flex; gap: 10px; }
.btn-login-buy { background: var(--pb-yellow); border: none; color: var(--pb-darker); border-radius: var(--pl-radius-sm); padding: 10px 24px; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background .16s; display: flex; align-items: center; gap: 8px; }
.btn-login-buy:hover { background: var(--pb-yellow-hover); }

/* ─── TOAST ─── */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast-item { background: var(--pl-gray-7); color: #fff; border-radius: var(--pl-radius); padding: 14px 20px; font-size: 14.5px; font-weight: 600; box-shadow: var(--pl-shadow-lg); display: flex; align-items: center; gap: 12px; transform: translateX(110%); opacity: 0; transition: all .28s cubic-bezier(.25,.8,.25,1); max-width: 320px; pointer-events: all; }
.toast-item.show { transform: none; opacity: 1; }

/* Breadcrumb Count Visibility */
.bc-count { display: inline; }

@media (min-width: 993px) {
  /* Hide breadcrumb count on desktop ONLY if filter is from the side category list (since sidebar already has it) */
  #shopView[data-filter-type="cat"] .bc-count,
  #shopView[data-filter-type="sub"] .bc-count {
    display: none;
  }
}

/* ─── RESPONSIVENESS & MOBILE OVERRIDES ─── */
@media (max-width: 992px) {
  /* Header Navigation */
  .mobile-menu-btn { display: block; }
  .nav-links { 
    display: none; 
    flex-direction: column; 
    position: absolute; 
    top: 80px; /* Aligned exactly below the 80px topnav height */
    left: 0; 
    width: 100%; 
    background: var(--pb-dark); 
    padding: 10px 24px 24px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Separator line to resolve gap */
    margin: 0;
  }
  .nav-links.show { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  
  /* Shop Layout */
  .main-wrap { grid-template-columns: 1fr; gap: 20px; padding-top: 10px; }
  .sticky-group { position: static; } /* Unstick search on mobile to save reading space */
  .mobile-filter-btn { display: flex; } /* Show mobile filter trigger button */
  
  /* Slide-out Sidebar Modal (Replaces old horizontal scroll) */
  .sidebar-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999;
  }
  .sidebar-overlay.show { display: block; }
  
  .sidebar { 
    position: fixed; top: 0; right: -100%; width: 320px; max-width: 85vw; height: 100vh;
    background: var(--pl-gray-1); z-index: 2000; padding: 20px;
    transition: right 0.3s ease; display: flex; flex-direction: column; gap: 20px;
    max-height: none; overflow-y: auto; box-shadow: var(--pl-shadow-lg);
  }
  .sidebar.show { right: 0; }
  
  .sidebar-mobile-head {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 20px; font-weight: 800; color: var(--pb-darker); margin-bottom: 4px;
  }
  .sidebar-mobile-head button {
    background: none; border: none; font-size: 24px; cursor: pointer; color: var(--pl-gray-5);
  }
  
  /* Vertical filter boxes styling for mobile overlay */
  .sidebar-box { 
    display: flex; flex-direction: column; border: 1px solid var(--pl-gray-2); 
    box-shadow: var(--pl-shadow-xs); background: var(--pl-white);
  }
  .sidebar-row { 
    padding: 12px 14px; border-bottom: 1px solid var(--pl-gray-2);
  }
  .sidebar-row.active {
    border-color: transparent; border-bottom: 1px solid var(--pl-gray-2);
  }
  .sidebar-row:last-child { border-bottom: none; }
  
  /* Landing Grids & Banner */
  .hero-banner { background-position: 62% center !important; }
  .hero-content h1 { font-size: 48px; }
  
  /* Unified hardware grid ensuring excellent mobile wrapping (2-by-2 on tablet) */
  .hw-group .hw-card,
  .hw-group .hw-card:nth-child(1),
  .hw-group .hw-card:nth-child(2),
  .hw-group .hw-card:nth-child(3) { 
    width: calc(50% - 12px); 
  }
  .sw-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .modal-grid { grid-template-columns: 1fr; } 
  .modal-prod-img { grid-row: 1; margin-bottom: 20px; }
}

@media (max-width: 576px) {
  /* Reduce height so background image scaling fits the router properly without clipping */
  .hero-banner { height: 380px; background-position: 62% center !important; }
  .hero-content h1 { font-size: 36px; }
  .hero-content p { font-size: 18px; }
  
  /* 1-by-1 stacked on mobile */
  .hw-group .hw-card,
  .hw-group .hw-card:nth-child(1),
  .hw-group .hw-card:nth-child(2),
  .hw-group .hw-card:nth-child(3) { 
    width: 100%; 
  }
  .sw-grid { grid-template-columns: 1fr; }
  .search-large input { font-size: 14px; }
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* ─── FOOTER ─── */
footer {
  background: var(--pb-dark); color: rgba(255,255,255,0.7);
  padding: 20px 0; 
  /* margin-top is naturally handled by flex: 1 0 auto on the main wrapper */
}
.footer-inner { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.footer-bottom {
  display: flex; justify-content: flex-start; font-size: 13px; text-align: left;
}