/* ==========================================================================
   ALLIED PLUMBING & FIRE SUPPLY (APFS) THEME SYSTEM
   One Stop Plumbing Direct - Redesign
   Primary Red: #b02b2d | Primary Hover: #942224
   Dark Slate: #0F172A | Slate Main: #1E293B | Surface: #F8FAFC | Border: #E2E8F0
   ========================================================================== */

:root {
  --apfs-red: #b02b2d;
  --apfs-red-hover: #942224;
  --apfs-red-light: #fef2f2;
  --apfs-slate-dark: #0F172A;
  --apfs-slate-main: #1E293B;
  --apfs-slate-muted: #64748B;
  --apfs-surface: #F8FAFC;
  --apfs-border: #E2E8F0;
  --apfs-green: #16A34A;
  --apfs-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --apfs-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --apfs-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --apfs-shadow-glow: 0 0 20px rgba(176, 43, 45, 0.25);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Global Outline & Focus Ring Reset - Removes Blue Border on Click / ESC */
button,
a,
input,
select,
textarea,
.header-icon-action,
.cart-close-btn,
.zip-btn,
.nav-item-btn,
.slider-arrow,
.slider-dot {
  -webkit-tap-highlight-color: transparent;
}

button:focus,
button:focus-visible,
button:active,
a:focus,
a:focus-visible,
a:active,
.header-icon-action:focus,
.header-icon-action:focus-visible,
.header-icon-action:active,
.zip-btn:focus,
.zip-btn:focus-visible,
.cart-close-btn:focus,
.cart-close-btn:focus-visible,
.slider-arrow:focus,
.slider-arrow:focus-visible,
.slider-dot:focus,
.slider-dot:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

html {
  background-color: #050B14;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-family);
  background-color: #050B14;
  color: var(--apfs-slate-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT BAR (APFS Dark Slate Bar)
   ========================================================================== */
.top-bar {
  background-color: var(--apfs-slate-dark);
  color: #FFFFFF;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #E2E8F0;
}

.top-bar-badge svg {
  color: var(--apfs-red);
}

.top-bar-zip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.zip-input-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.zip-input {
  height: 1.85rem;
  width: 7.5rem;
  padding: 0 0.6rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #FFFFFF;
  color: var(--apfs-slate-dark);
  font-size: 0.75rem;
  font-weight: 600;
  outline: none;
}

.zip-btn {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.zip-btn:hover {
  background: var(--apfs-red);
  border-color: var(--apfs-red);
}

/* ==========================================================================
   2. MAIN HEADER (APFS White Header)
   ========================================================================== */
.main-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--apfs-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo Badge */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--apfs-slate-dark);
}

.logo-icon-bg {
  width: 2.75rem;
  height: 2.75rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(176, 43, 45, 0.3);
}

.logo-text-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--apfs-slate-dark);
  line-height: 1.1;
}

.logo-text-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--apfs-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Big Search Bar */
.header-search-wrapper {
  flex: 1;
  max-width: 48rem;
  position: relative;
}

.header-search-box {
  width: 100%;
  height: 3rem;
  padding: 0 1rem 0 2.8rem;
  background-color: var(--apfs-surface);
  border: 2px solid var(--apfs-border);
  border-radius: 0.75rem;
  font-size: 0.9rem;
  color: var(--apfs-slate-dark);
  outline: none;
  transition: all 0.2s ease;
}

.header-search-box:focus {
  border-color: var(--apfs-red);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(176, 43, 45, 0.15) !important;
}

.search-icon-left {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--apfs-slate-muted);
  pointer-events: none;
}

.search-kbd {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid var(--apfs-border);
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  color: var(--apfs-slate-muted);
}

/* Right Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-support-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-right: 1.25rem;
  border-right: 1px solid var(--apfs-border);
}

.support-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #FEE2E2;
  color: var(--apfs-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-details {
  display: flex;
  flex-direction: column;
}

.support-title {
  font-size: 0.65rem;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

.support-phone {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0F172A;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
  line-height: 1.25;
}

.support-phone:hover {
  color: var(--apfs-red);
}

/* Vertical Icon + Text Actions (Sign In & Cart) Matching APFS Screen 1 */
.header-icon-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: var(--apfs-slate-dark);
  transition: all 0.2s ease;
  min-width: 3.25rem;
}

.header-icon-action:hover {
  background: var(--apfs-surface);
  color: var(--apfs-red);
}

.header-icon-action svg {
  color: var(--apfs-slate-dark);
}

.header-icon-action:hover svg {
  color: var(--apfs-red);
}

.header-icon-action span {
  font-size: 0.675rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--apfs-slate-muted);
}

.header-icon-action:hover span {
  color: var(--apfs-red);
}

/* Cart Icon Wrapper with High-Visibility White Text Counter Badge */
.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-counter-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: var(--apfs-red) !important;
  color: #FFFFFF !important;
  font-size: 0.65rem;
  font-weight: 900 !important;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   3. NAVIGATION BAR (APFS Crimson Red Nav)
   ========================================================================== */
.apfs-nav-bar {
  background-color: var(--apfs-red);
  width: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 30;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-item-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.65rem;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.8125rem;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.nav-item-btn:hover,
.nav-item-btn.active {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Red Nav Bar Mega Dropdowns (5 Real Products Per Category) */
.nav-item-dropdown-wrap {
  position: relative;
}

.nav-item-dropdown-wrap:hover .nav-mega-dropdown,
.nav-item-dropdown-wrap:focus-within .nav-mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 580px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  padding: 1.25rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid #E2E8F0;
}

.mega-header-title-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mega-dropdown-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
}

.mega-dropdown-count {
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.mega-link-all {
  font-size: 0.85rem;
  font-weight: 700;
  color: #DC2626;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mega-link-all:hover {
  text-decoration: underline;
}

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.6rem;
  max-height: 340px;
  overflow-y: auto;
}

.mega-prod-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  text-decoration: none;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  transition: all 0.15s ease;
}

.mega-prod-card:hover {
  background: #FFFFFF;
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateX(3px);
}

.mega-prod-img-box {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  flex-shrink: 0;
}

.mega-prod-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mega-prod-info {
  flex: 1;
  min-width: 0;
}

.mega-prod-brand {
  font-size: 0.675rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mega-prod-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-prod-mpn {
  font-size: 0.725rem;
  color: #94A3B8;
}

.mega-prod-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #DC2626;
  margin-left: 0.5rem;
  white-space: nowrap;
}

/* ==========================================================================
   4. CART SLIDEOUT DRAWER & BACKDROP (Matching APFS Screen 1)
   ========================================================================== */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  z-index: 99998 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 26rem;
  background: #FFFFFF;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
  z-index: 99999 !important;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-panel.active {
  transform: translateX(0);
}

/* Clean White Cart Header (APFS Screen 1) */
.cart-header-row {
  background: #FFFFFF;
  color: var(--apfs-slate-dark);
  padding: 1.25rem 1.5rem;
  padding-top: max(1.25rem, env(safe-area-inset-top));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--apfs-border);
}

.cart-header-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--apfs-slate-dark);
}

.cart-header-icon {
  color: var(--apfs-red);
}

.cart-close-btn {
  background: none;
  border: none;
  color: var(--apfs-slate-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.cart-close-btn:hover {
  color: var(--apfs-red);
}

.cart-body-items {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Empty Cart State (APFS Screen 1) */
.apfs-empty-cart-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
}

.empty-cart-circle-icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: #F0F7FF;
  color: #3B82F6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.empty-cart-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--apfs-slate-dark);
}

.empty-cart-subtext {
  font-size: 0.875rem;
  color: var(--apfs-slate-muted);
  margin-top: 0.35rem;
  margin-bottom: 1.75rem;
}

.btn-continue-shopping {
  padding: 0.8rem 2.25rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(176, 43, 45, 0.25);
}

.btn-continue-shopping:hover {
  background-color: var(--apfs-red-hover);
}

.cart-title-badge {
  background-color: var(--apfs-red);
  color: #FFFFFF;
  font-size: 0.725rem;
  font-weight: 900;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
}

/* APFS Populated Cart Item Cards (100% Match to apfs.com) */
.apfs-cart-items-container {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.apfs-cart-item-card {
  background: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 0.85rem;
  padding: 1rem 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  position: relative;
  transition: border-color 0.2s ease;
}

.apfs-cart-item-card:hover {
  border-color: #CBD5E1;
}

.cart-item-thumb-box {
  width: 4.25rem;
  height: 4.25rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  flex-shrink: 0;
}

.cart-item-thumb-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cart-item-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.cart-item-title-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-trash-btn {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.cart-item-trash-btn:hover {
  color: var(--apfs-red);
}

.cart-item-sku {
  font-size: 0.725rem;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 0.75rem;
}

.cart-item-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 0.5rem;
  padding: 0.15rem 0.35rem;
}

.btn-qty-step {
  background: none;
  border: none;
  color: #64748B;
  font-size: 0.9rem;
  font-weight: 800;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0.35rem;
  transition: background 0.15s ease;
}

.btn-qty-step:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.qty-val-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0F172A;
  min-width: 1.1rem;
  text-align: center;
}

.cart-item-price-box {
  text-align: right;
}

.cart-item-total-price {
  font-size: 1rem;
  font-weight: 900;
  color: #0F172A;
}

.cart-item-each-price {
  font-size: 0.725rem;
  font-weight: 600;
  color: #94A3B8;
}

/* APFS Cart Drawer Footer Summary Box */
.cart-footer-box {
  padding: 1.25rem;
  background: #F8FAFC;
  border-top: 1.5px solid #E2E8F0;
}

.apfs-cart-summary-card {
  background: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 0.85rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.summary-row-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #64748B;
  font-weight: 600;
}

.summary-row-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid #F1F5F9;
}

.total-label {
  font-size: 1rem;
  font-weight: 800;
  color: #0F172A;
}

.total-val-red {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--apfs-red);
}

.btn-apfs-proceed-checkout {
  width: 100%;
  height: 3.2rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 14px rgba(176, 43, 45, 0.3);
  transition: background-color 0.2s ease;
}

.btn-apfs-proceed-checkout:hover {
  background-color: var(--apfs-red-hover);
}

.btn-apfs-view-cart {
  width: 100%;
  height: 3.2rem;
  background-color: #FFFFFF;
  border: 1.5px solid var(--apfs-red);
  color: var(--apfs-red);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-apfs-view-cart:hover {
  background-color: #FFF1F2;
}

.btn-apfs-checkout:hover {
  background-color: var(--apfs-red-hover);
}

/* ==========================================================================
   5. APFS SPLIT LOGIN PAGE STYLES (Exact 50% / 50% Full Width Edge-to-Edge)
   ========================================================================== */
.login-main-section {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.login-split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: calc(100vh - 12rem);
  background: #FFFFFF;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

/* Left Column - White Login Form (50% Width) */
.login-left-col {
  padding: 4rem 5rem 4rem 8rem;
  background: #FFFFFF;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-headline {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--apfs-slate-dark);
  letter-spacing: -0.02em;
}

.login-subtext {
  font-size: 0.95rem;
  color: var(--apfs-slate-muted);
  margin-top: 0.35rem;
  margin-bottom: 2.25rem;
}

.login-form-box {
  display: flex;
  flex-direction: column;
  max-width: 28rem;
  width: 100%;
}

.form-field-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--apfs-slate-dark);
  margin-bottom: 0.4rem;
}

.required-star {
  color: var(--apfs-red);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 0.9rem;
  color: var(--apfs-slate-muted);
  pointer-events: none;
}

.form-input-field {
  width: 100%;
  height: 3.15rem;
  padding: 0 2.8rem;
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-border);
  border-radius: 0.75rem;
  font-size: 0.9rem;
  color: var(--apfs-slate-dark);
  outline: none;
  transition: all 0.2s ease;
}

.form-input-field:focus {
  border-color: var(--apfs-red);
  box-shadow: 0 0 0 3px rgba(176, 43, 45, 0.12) !important;
}

.eye-toggle-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--apfs-slate-muted);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0 2rem;
  max-width: 28rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--apfs-slate-muted);
  cursor: pointer;
}

.custom-checkbox {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--apfs-red);
  cursor: pointer;
}

.forgot-pass-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--apfs-red);
  text-decoration: none;
}

.forgot-pass-link:hover {
  text-decoration: underline;
}

.btn-login-submit {
  width: 100%;
  max-width: 28rem;
  height: 3.25rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(176, 43, 45, 0.3);
}

.btn-login-submit:hover {
  background-color: var(--apfs-red-hover);
}

/* Don't Have an Account & Create Account Button (Matching Screen 1) */
.create-account-divider-box {
  margin-top: 1.75rem;
  text-align: center;
  max-width: 28rem;
  width: 100%;
}

.divider-subtext {
  display: block;
  font-size: 0.9rem;
  color: #64748B;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.btn-create-account-outline {
  width: 100%;
  height: 3.15rem;
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-red);
  color: var(--apfs-red);
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-create-account-outline:hover {
  background: #FFF1F2;
}

/* Responsive Login Page Mobile Layout (Matching Screen 1 & 2 100%) */
@media (max-width: 991px) {
  .login-split-card {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .login-left-col {
    padding: 2.5rem 1.25rem 3rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .login-right-col {
    padding: 3rem 1.25rem 4rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .login-headline {
    font-size: 1.85rem !important;
  }

  .login-form-box {
    max-width: 100% !important;
  }

  .create-account-divider-box {
    max-width: 100% !important;
  }

  .btn-login-submit {
    max-width: 100% !important;
  }

  .btn-pro-outline {
    max-width: 100% !important;
  }

  .not-pro-block {
    max-width: 100% !important;
  }

  .floating-discount-badge {
    display: none !important;
  }
}

/* Floating 5% OFF Red Badge */
.floating-discount-badge {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(176, 43, 45, 0.4);
  border: 3px solid #FFFFFF;
  transform: rotate(-8deg);
}

/* Right Column - Dark Slate Pro Box (50% Width) */
.login-right-col {
  padding: 4rem 8rem 4rem 5rem;
  background-color: var(--apfs-slate-dark);
  background-image: radial-gradient(circle at top right, rgba(176, 43, 45, 0.25), transparent 60%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pro-headline {
  font-size: 2.15rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.pro-subtext {
  font-size: 1rem;
  color: #94A3B8;
  margin-bottom: 2rem;
}

.pro-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 2.25rem;
  max-width: 28rem;
}

.pro-benefit-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.pro-check-circle {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #6EE7B7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pro-item-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
}

.pro-item-desc {
  font-size: 0.825rem;
  color: #94A3B8;
  margin-top: 0.15rem;
}

.btn-pro-outline {
  width: 100%;
  max-width: 28rem;
  height: 3.15rem;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pro-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

.not-pro-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 28rem;
}

.not-pro-headline {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.not-pro-subtext {
  font-size: 0.875rem;
  color: #94A3B8;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   HERO SLIDER BANNER & CAROUSEL (APFS 4-Slide Uniform Height & Scale Match)
   ========================================================================== */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 38rem;
  overflow: hidden;
  background-color: var(--apfs-slate-dark);
}

.hero-slide {
  display: none;
  position: relative;
  width: 100%;
  height: 38rem;
  min-height: 38rem;
  padding: 4.5rem 1.5rem 5rem;
  background-size: cover;
  background-repeat: no-repeat;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  box-sizing: border-box;
}

.hero-slide.active {
  display: flex;
  align-items: center;
  opacity: 1;
}

#heroSlide1 {
  background-image: 
    linear-gradient(90deg, 
      #0F172A 0%, 
      rgba(15, 23, 42, 0.85) 30%, 
      rgba(15, 23, 42, 0.25) 55%, 
      transparent 90%
    ),
    url('images/OneStop1.jpg');
  background-position: 70% 22%;
}

#heroSlide2 {
  background-image: 
    linear-gradient(90deg, 
      #0F172A 0%, 
      rgba(15, 23, 42, 0.85) 35%, 
      rgba(15, 23, 42, 0.3) 60%, 
      transparent 90%
    ),
    url('images/oneStop2.jpg');
  background-position: center center;
}

#heroSlide3 {
  background-image: 
    linear-gradient(90deg, 
      #0F172A 0%, 
      rgba(15, 23, 42, 0.85) 35%, 
      rgba(15, 23, 42, 0.3) 65%, 
      transparent 90%
    ),
    url('images/onestop4.jpg');
  background-position: center center;
}

#heroSlide4 {
  background-image: 
    linear-gradient(90deg, 
      #0F172A 0%, 
      rgba(15, 23, 42, 0.85) 35%, 
      rgba(15, 23, 42, 0.3) 65%, 
      transparent 90%
    ),
    url('images/onestop3.jpg');
  background-position: center center;
}

.hero-container {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
}

.hero-left-content {
  max-width: 44rem;
}

.hero-subhead {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-title span {
  color: #FFFFFF;
}

.hero-built-tag {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-built-tag .highlight-red {
  color: var(--apfs-red);
  font-weight: 800;
}

.hero-category-cards {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.hero-cat-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.15rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 6.75rem;
  min-height: 12.5rem;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-cat-card:hover {
  border-color: var(--apfs-red);
  transform: translateY(-4px);
  box-shadow: var(--apfs-shadow-glow);
  background: rgba(15, 23, 42, 0.98);
}

.hero-cat-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  color: #FCA5A5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.hero-cat-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  text-align: center;
  line-height: 1.25;
}

.hero-cat-btn {
  width: 100%;
  padding: 0.4rem 0.5rem;
  background: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.725rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hero-cat-btn:hover {
  background-color: var(--apfs-red-hover);
}

/* Slide 2 Advantage+ Feature Grid */
.hero-grid-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  max-width: 26rem;
  margin-bottom: 2rem;
}

.grid-feature-pill {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 1.15rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  backdrop-filter: blur(10px);
}

.pill-icon-box {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #FCA5A5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Slide 3 Horizontal Pill Badges & Buttons (Matching APFS Screen 1) */
.pill-badge {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.pill-badge svg {
  color: #FCA5A5;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border-radius: 0.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(176, 43, 45, 0.3);
  transition: background-color 0.2s ease;
}

.btn-hero-cta:hover {
  background-color: var(--apfs-red-hover);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  border-radius: 0.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

/* Slide 4 Hero Integrated Search Bar Box 100% Authentic APFS Heavy Shadow Match */
.hero-search-pill-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 0.35rem 0.4rem 0.35rem 1.35rem;
  display: flex;
  align-items: center;
  max-width: 38rem;
  width: 100%;
  height: 3.6rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.search-pill-icon {
  color: rgba(255, 255, 255, 0.65);
  margin-right: 0.85rem;
  flex-shrink: 0;
}

.hero-search-pill-input {
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
}

.hero-search-pill-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.btn-hero-search {
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  height: 2.8rem;
  padding: 0 2rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(176, 43, 45, 0.35);
}

.btn-hero-search:hover {
  background-color: var(--apfs-red-hover);
  transform: translateY(-1px);
}

/* Bottom Center Slider Navigation Controls (APFS Screen 2 Style) */
.hero-slider-nav {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 20;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  backdrop-filter: blur(10px);
}

.slider-arrow {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
}

.slider-dots-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 1.6rem;
  border-radius: 9999px;
  background: var(--apfs-red);
}

/* ==========================================================================
   APFS SHOP BY CATEGORY SECTION (Matching APFS Screen 1 100% Authentically)
   ========================================================================== */
.apfs-category-section {
  background-color: #FFFFFF;
  padding: 4.5rem 1.5rem;
  border-bottom: 1px solid var(--apfs-border);
}

.apfs-category-container {
  max-width: 1920px;
  margin: 0 auto;
}

.apfs-category-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.apfs-category-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1E293B;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.apfs-category-title span {
  color: #B02B2D;
}

.apfs-category-sub {
  font-size: 0.95rem;
  color: #64748B;
  font-weight: 400;
  max-width: 36rem;
  margin: 0 auto;
}

.apfs-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.apfs-cat-card {
  background: #F7F9FA;
  border: 1.5px solid transparent;
  border-radius: 1.25rem;
  padding: 2.25rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

/* Translucent Soft Red Accent Circle in Bottom Right Corner on Hover */
.apfs-cat-card::after {
  content: '';
  position: absolute;
  bottom: -2.25rem;
  right: -2.25rem;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background: rgba(176, 43, 45, 0.06);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Hovered Card State - Matching APFS Screen 1 "Plumbing" Card */
.apfs-cat-card:hover {
  background: #FDF5F5;
  border-color: #F3C1C2;
}

.apfs-cat-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.apfs-cat-img-box {
  width: 5.75rem;
  height: 5.75rem;
  border-radius: 1rem;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  margin-bottom: 1.25rem;
  transition: transform 0.25s ease;
}

.apfs-cat-card:hover .apfs-cat-img-box {
  transform: scale(1.04);
}

.apfs-cat-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.apfs-cat-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 0.35rem;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.apfs-cat-card:hover .apfs-cat-name {
  color: #B02B2D;
}

.apfs-cat-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.cat-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
}

.apfs-cat-card:hover .apfs-cat-link {
  color: #B02B2D;
  font-weight: 600;
}

.apfs-cat-card:hover .cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

.btn-view-all-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--apfs-red);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.btn-view-all-cat:hover {
  color: var(--apfs-red-hover);
  gap: 0.85rem;
}

/* ==========================================================================
   APFS SMART PARTS FINDER SECTION (Matching APFS Screen 2 100% Authentically)
   ========================================================================== */
.smart-parts-finder-section {
  background-color: #F8FAFC;
  border-top: 1px solid var(--apfs-border);
  border-bottom: 1px solid var(--apfs-border);
  padding: 4.75rem 1.5rem;
}

.parts-finder-container {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.parts-finder-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.finder-icon-box {
  width: 6.75rem;
  height: 6.75rem;
  border-radius: 1.5rem;
  background-color: var(--apfs-slate-dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

.finder-star-badge {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 2px solid #F8FAFC;
  box-shadow: 0 2px 8px rgba(176, 43, 45, 0.35);
}

.finder-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.finder-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--apfs-slate-dark);
  letter-spacing: -0.02em;
}

.finder-new-badge {
  background-color: var(--apfs-red);
  color: #FFFFFF;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.22rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.finder-subtext {
  font-size: 1rem;
  color: var(--apfs-slate-muted);
  margin-top: 0.35rem;
  font-weight: 400;
  max-width: 25rem;
  line-height: 1.4;
}

.parts-finder-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  max-width: 50rem;
}

.finder-select-wrapper {
  position: relative;
  flex: 1;
  min-width: 11.5rem;
}

.field-step-badge {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: #F1F5F9;
  color: #64748B;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
}

.finder-select-field {
  width: 100%;
  height: 3.5rem;
  padding: 0 2.5rem 0 2.85rem;
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-border);
  border-radius: 0.875rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--apfs-slate-dark);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.2s ease;
}

.finder-select-field:focus {
  border-color: var(--apfs-red);
  box-shadow: 0 0 0 3px rgba(176, 43, 45, 0.12) !important;
}

.select-chevron {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--apfs-slate-muted);
  pointer-events: none;
}

.finder-input-wrapper {
  position: relative;
  flex: 1.4;
  min-width: 13.5rem;
}

.finder-input-field {
  width: 100%;
  height: 3.5rem;
  padding: 0 1.25rem 0 2.85rem;
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-border);
  border-radius: 0.875rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--apfs-slate-dark);
  outline: none;
  transition: all 0.2s ease;
}

.finder-input-field:focus {
  border-color: var(--apfs-red);
  box-shadow: 0 0 0 3px rgba(176, 43, 45, 0.12) !important;
}

.finder-input-field::placeholder {
  color: var(--apfs-slate-muted);
}

/* Find Parts Button ON/OFF States */
.btn-find-parts {
  height: 3.5rem;
  padding: 0 2.25rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0.875rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(176, 43, 45, 0.3);
  flex-shrink: 0;
  opacity: 1;
  pointer-events: auto;
}

.btn-find-parts:hover:not(:disabled) {
  background-color: var(--apfs-red-hover);
  transform: translateY(-1px);
}

/* DISABLED / OFF STATE (Matching apfs.com Muted Pink State) */
.btn-find-parts:disabled {
  background-color: #E2A3A4 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  cursor: not-allowed !important;
  opacity: 0.65 !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

/* ==========================================================================
   APFS GOOGLE REVIEWS SECTION (Matching APFS Screen 1 & 2 100% Authentically)
   ========================================================================== */
.google-reviews-section {
  background-color: #FFFFFF;
  padding: 5rem 0;
  border-bottom: 1px solid var(--apfs-border);
  overflow: hidden;
  position: relative;
}

.reviews-header-block {
  text-align: center;
  margin-bottom: 3.5rem;
  padding: 0 1.5rem;
}

.google-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--apfs-slate-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.reviews-main-headline {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--apfs-slate-dark);
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}

.reviews-sub-text {
  font-size: 1.05rem;
  color: var(--apfs-slate-muted);
  font-weight: 400;
  max-width: 34rem;
  margin: 0 auto 1.5rem;
}

.reviews-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background-color: #F1F5F9;
  padding: 0.65rem 1.75rem;
  border-radius: 9999px;
  font-size: 1rem;
}

.stars-group {
  color: #F59E0B;
  letter-spacing: 0.1em;
  font-size: 1.1rem;
}

.score-num {
  font-weight: 800;
  color: var(--apfs-slate-dark);
}

.pill-divider {
  color: #CBD5E1;
  font-weight: 300;
}

.count-text {
  color: var(--apfs-slate-muted);
  font-weight: 500;
}

/* Infinite Marquee Rows */
.reviews-marquee-row {
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.75rem;
  position: relative;
  display: flex;
}

.reviews-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

/* Row 1 Scrolls Left (Right to Left) */
.track-left {
  animation: scrollLeft 45s linear infinite;
}

/* Row 2 Scrolls Right (Left to Right) */
.track-right {
  animation: scrollRight 45s linear infinite;
}

/* Pause animation smoothly on hover */
.reviews-marquee-row:hover .reviews-marquee-track {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Individual Google Review Card (Resized to fit exactly 4 cards per line) */
.google-review-card {
  background: #FFFFFF;
  border: 1px solid var(--apfs-border);
  border-radius: 1.15rem;
  padding: 1.25rem 1.35rem;
  width: 17.5rem;
  min-width: 17.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.google-review-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.card-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  position: relative;
}

.user-avatar {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.avatar-purple { background-color: #7C3AED; }
.avatar-blue { background-color: #2563EB; }
.avatar-dark { background-color: #334155; }
.avatar-orange { background-color: #EA580C; }
.avatar-green { background-color: #059669; }

.user-info {
  flex: 1;
}

.user-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--apfs-slate-dark);
  line-height: 1.2;
}

.user-loc {
  font-size: 0.725rem;
  color: var(--apfs-slate-muted);
  font-weight: 500;
  margin-top: 0.1rem;
}

.card-g-logo {
  flex-shrink: 0;
}

.card-stars-row {
  color: #F59E0B;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.time-tag {
  color: #94A3B8;
  font-size: 0.725rem;
  font-weight: 400;
  margin-left: 0.35rem;
}

.card-review-text {
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.45;
  font-weight: 400;
}

.reviews-footer-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--apfs-slate-muted);
  margin-top: 2rem;
}

/* ==========================================================================
   APFS ALLIEDADVANTAGE+ SECTION (Matching APFS Screen 1, 2 & 3 100% Authentically)
   ========================================================================== */
.advantage-plus-section {
  background-color: #0D192B;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(220, 38, 38, 0.15), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(30, 58, 138, 0.2), transparent 50%),
    radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
  color: #FFFFFF;
  padding: 5.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.advantage-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

/* Left Column */
.advantage-pill-tag {
  display: inline-block;
  background: rgba(176, 43, 45, 0.2);
  border: 1px solid rgba(176, 43, 45, 0.4);
  color: #FCA5A5;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.28rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.advantage-headline {
  font-size: 3rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
}

.advantage-headline .highlight-red {
  color: #EF4444;
}

.advantage-subhead {
  font-size: 1.05rem;
  color: #94A3B8;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.advantage-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 2.75rem;
}

.adv-feature-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.adv-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FCA5A5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.adv-item-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.15rem;
}

.adv-item-desc {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.4;
}

.advantage-cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-adv-apply {
  padding: 0.9rem 2.5rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(176, 43, 45, 0.4);
}

.btn-adv-apply:hover {
  background-color: var(--apfs-red-hover);
  transform: translateY(-2px);
}

.cta-arrow {
  transition: transform 0.2s ease;
}

.btn-adv-apply:hover .cta-arrow {
  transform: translateX(4px);
}

.adv-guarantee-text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
}

/* Right Column - Floating PRODUCT OF THE WEEK Card */
.advantage-right-col {
  display: flex;
  justify-content: flex-end;
}

.product-of-week-card {
  background: #FFFFFF;
  color: var(--apfs-slate-main);
  border-radius: 1.75rem;
  padding: 2.75rem 3rem;
  width: 100%;
  max-width: 44rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  position: relative;
}

.pow-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.pow-tag {
  background: #FEF2F2;
  color: var(--apfs-red);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.28rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

.pow-stock-tag {
  color: #16A34A;
  font-size: 0.75rem;
  font-weight: 700;
  background: #F0FDF4;
  padding: 0.28rem 0.85rem;
  border-radius: 9999px;
}

.pow-brand-dot {
  color: #16A34A;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pow-content-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.pow-img-box {
  width: 12.5rem;
  height: 12.5rem;
  border-radius: 1.25rem;
  background: #FFFFFF;
  border: 1px solid var(--apfs-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  flex-shrink: 0;
}

.pow-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pow-details-box {
  flex: 1;
}

.pow-brand-name {
  font-size: 0.85rem;
  color: var(--apfs-slate-muted);
  margin-bottom: 0.35rem;
}

.pow-brand-name strong {
  color: var(--apfs-red);
}

.pow-product-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--apfs-slate-dark);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.pow-sku {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--apfs-slate-muted);
  margin-bottom: 1.25rem;
}

.pow-price {
  font-size: 2.65rem;
  font-weight: 900;
  color: var(--apfs-slate-dark);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.btn-pow-view {
  width: 100%;
  height: 3.5rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0.875rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 0 4px 16px rgba(176, 43, 45, 0.35);
}

.btn-pow-view:hover {
  background-color: var(--apfs-red-hover);
}

.pow-in-stock-note {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #16A34A;
  margin-top: 0.85rem;
}

/* ==========================================================================
   APFS OFFICIAL LINE CARD - BRANDS YOU TRUST SECTION (Matching APFS Screen 1 & 2)
   ========================================================================== */
.official-line-card-section {
  background-color: #0B1120;
  background-image: 
    radial-gradient(ellipse at top center, rgba(239, 68, 68, 0.32) 0%, rgba(15, 23, 42, 0) 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%);
  background-position: center top, 10px 0, 10px 0, 0 0, 0 0;
  background-size: 100% 100%, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
  background-repeat: no-repeat, repeat, repeat, repeat, repeat;
  color: #FFFFFF;
  padding: 5.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.line-card-container {
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}

.line-card-header {
  margin-bottom: 3rem;
}

.line-card-subhead {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #EF4444;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.line-card-title {
  font-size: 3.25rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

/* Red Stroke Outline Text (Matching Screen 1 & 2 "YOU TRUST" 100%) */
.stroke-text {
  color: transparent;
  -webkit-text-stroke: 2px #EF4444;
  letter-spacing: 0.04em;
}

.line-card-subtext {
  font-size: 1.05rem;
  color: #94A3B8;
  font-weight: 400;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.45;
}

/* Brands Pill Cards 7-Per-Row Grid Layout (Matching Screen 2 100%) */
.brands-pill-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.brand-logo-card {
  background: #FFFFFF;
  border-radius: 1rem;
  height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-card:hover {
  border-color: var(--apfs-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(176, 43, 45, 0.4);
}

/* Brand Text Logos Styling */
.brand-text-logo {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0F172A;
  font-size: 1rem;
  user-select: none;
}

.logo-rheem { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 1.15rem; color: #0F172A; letter-spacing: -0.04em; }
.logo-aosmith { font-family: sans-serif; font-weight: 900; font-size: 0.95rem; color: #1E293B; letter-spacing: 0.04em; }
.logo-bradford { font-family: sans-serif; font-weight: 900; font-size: 0.75rem; color: #0F172A; letter-spacing: 0.05em; }
.logo-amtrol { font-family: sans-serif; font-weight: 900; font-size: 1rem; color: #1E293B; letter-spacing: 0.04em; }
.logo-watts { font-family: sans-serif; font-weight: 900; font-size: 1.05rem; color: #0F172A; letter-spacing: 0.04em; }
.logo-navien { font-family: sans-serif; font-weight: 800; font-size: 1.05rem; color: #2563EB; }
.logo-noritz { font-family: sans-serif; font-weight: 900; font-size: 0.95rem; color: #DC2626; letter-spacing: 0.04em; }
.logo-takagi { font-family: sans-serif; font-weight: 900; font-size: 1rem; color: #0F172A; letter-spacing: 0.06em; }
.logo-state { font-family: sans-serif; font-weight: 900; font-size: 1.05rem; color: #15803D; letter-spacing: 0.05em; }
.logo-lochinvar { font-family: sans-serif; font-weight: 800; font-size: 1rem; color: #0F172A; }
.logo-bosch { font-family: sans-serif; font-weight: 900; font-size: 1.05rem; color: #1E293B; letter-spacing: 0.05em; }
.logo-moen { font-family: sans-serif; font-weight: 900; font-size: 1.05rem; color: #0F172A; letter-spacing: 0.06em; }
.logo-kohler { font-family: sans-serif; font-weight: 900; font-size: 1.05rem; color: #0F172A; letter-spacing: 0.04em; }
.logo-westinghouse { font-family: sans-serif; font-weight: 800; font-size: 0.8rem; color: #1E293B; }

.line-card-cta-row {
  margin-top: 2rem;
}

.btn-line-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 2.5rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(176, 43, 45, 0.4);
}

.btn-line-card-cta:hover {
  background-color: var(--apfs-red-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   APFS DUAL CTA BANNER SECTION ("Work Like a Pro" & "Questions? Let's Talk!")
   ========================================================================== */
.apfs-dual-cta-section {
  background-color: #FFFFFF;
  padding: 2.75rem 1.5rem;
  border-bottom: 1px solid var(--apfs-border);
}

.dual-cta-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

/* Left Card: Dark Pro Banner */
.cta-pro-card {
  background-color: #0F172A;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 16px 16px;
  color: #FFFFFF;
  border-radius: 1.5rem;
  padding: 2.75rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

.pro-avatars-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.pro-avatar-circle {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(176, 43, 45, 0.35);
}

.pro-card-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 0.65rem;
}

.pro-card-subtext {
  font-size: 1.05rem;
  color: #94A3B8;
  line-height: 1.45;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.btn-pro-apply {
  align-self: flex-start;
  padding: 0.85rem 2.1rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(176, 43, 45, 0.35);
}

.btn-pro-apply:hover {
  background-color: var(--apfs-red-hover);
  transform: translateY(-2px);
}

/* Floating 5% OFF Red Circle Badge on Bottom Left Corner */
.floating-5off-badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  width: 4.85rem;
  height: 4.85rem;
  border-radius: 50%;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(176, 43, 45, 0.4);
  border: 3px solid #FFFFFF;
  transform: rotate(-8deg);
  user-select: none;
}

.floating-5off-badge span {
  font-size: 0.675rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* Right Card: White Contact Card */
.cta-contact-card {
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-border);
  border-radius: 1.5rem;
  padding: 2.25rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-card-title {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--apfs-slate-dark);
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
}

.contact-card-subtext {
  font-size: 0.85rem;
  color: var(--apfs-slate-muted);
  margin-bottom: 1.25rem;
}

.contact-boxes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-option-box {
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.box-text-us {
  background-color: #F0FDF4;
  border: 1px solid #DCFCE7;
}

.box-email {
  background-color: #FEF2F2;
  border: 1px solid #FEE2E2;
}

.contact-icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-green {
  background: #DCFCE7;
  color: #16A34A;
}

.icon-red {
  background: #FEE2E2;
  color: #DC2626;
}

.contact-option-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--apfs-slate-dark);
}

.contact-option-sub {
  font-size: 0.775rem;
  color: var(--apfs-slate-muted);
  margin-top: 0.15rem;
}

.contact-option-sub.text-green {
  color: #16A34A;
  font-weight: 700;
}

.contact-phone-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--apfs-slate-dark);
  padding-top: 1.5rem;
  border-top: 1px solid var(--apfs-border);
}

.contact-phone-line svg {
  color: var(--apfs-slate-dark);
}

.phone-number-highlight {
  color: var(--apfs-red);
  font-weight: 900;
  text-decoration: none;
  font-size: 1.1rem;
}

.phone-number-highlight:hover {
  text-decoration: underline;
}

/* Catalog Main */
.catalog-main {
  max-width: 1920px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1;

}

.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--apfs-border);
}

.catalog-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--apfs-slate-dark);
  letter-spacing: -0.02em;
}

.catalog-sub {
  font-size: 0.9rem;
  color: var(--apfs-slate-muted);
  margin-top: 0.25rem;
}

.catalog-count-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--apfs-slate-dark);
  background: var(--apfs-surface);
  border: 1px solid var(--apfs-border);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
}

.category-filter-flex {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.cat-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--apfs-surface);
  border: 1.5px solid var(--apfs-border);
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--apfs-slate-main);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cat-tab-btn:hover {
  border-color: var(--apfs-red);
  color: var(--apfs-red);
  background: #FFFFFF;
}

.cat-tab-btn.active {
  background: var(--apfs-red);
  border-color: var(--apfs-red);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(176, 43, 45, 0.25);
}

.tab-badge {
  background: rgba(0, 0, 0, 0.08);
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

.cat-tab-btn.active .tab-badge {
  background: rgba(255, 255, 255, 0.25);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
}

.apfs-card {
  background: #FFFFFF;
  border: 1px solid var(--apfs-border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.apfs-card:hover {
  border-color: var(--apfs-red);
  box-shadow: var(--apfs-shadow-lg);
  transform: translateY(-4px);
}

.card-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.brand-badge {
  background: var(--apfs-slate-dark);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 0.375rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mpn-tag {
  font-family: monospace;
  font-size: 0.725rem;
  color: var(--apfs-slate-muted);
  font-weight: 600;
}

.card-img-container {
  height: 12.5rem;
  width: 100%;
  background-color: var(--apfs-surface);
  border-radius: 0.875rem;
  border: 1px solid var(--apfs-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
  overflow: hidden;
}

.card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.apfs-card:hover .card-img {
  transform: scale(1.05);
}

.card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--apfs-slate-dark);
  line-height: 1.35;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.card-title:hover {
  color: var(--apfs-red);
}

.card-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.tag-pill {
  font-size: 0.675rem;
  font-weight: 600;
  color: var(--apfs-slate-muted);
  background: var(--apfs-surface);
  border: 1px solid var(--apfs-border);
  padding: 0.15rem 0.5rem;
  border-radius: 0.35rem;
}

.tag-pill.stock {
  color: var(--apfs-green);
  border-color: rgba(22, 163, 74, 0.3);
  background: rgba(22, 163, 74, 0.06);
}

.card-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--apfs-border);
  margin-top: auto;
}

.card-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--apfs-slate-dark);
  letter-spacing: -0.02em;
}

.card-price-unit {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--apfs-slate-muted);
}

.card-actions-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-quick-view {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.6rem;
  border: 1px solid var(--apfs-border);
  background: var(--apfs-surface);
  color: var(--apfs-slate-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-quick-view:hover {
  background: #FFFFFF;
  border-color: var(--apfs-red);
  color: var(--apfs-red);
}

.btn-add-cart {
  padding: 0.6rem 0.95rem;
  background: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0.6rem;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 0 2px 6px rgba(176, 43, 45, 0.2);
}

.btn-add-cart:hover {
  background-color: var(--apfs-red-hover);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-card {
  background: #FFFFFF;
  border-radius: 1.5rem;
  width: 100%;
  max-width: 52rem;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-content-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--apfs-surface);
  border: 1px solid var(--apfs-border);
  color: var(--apfs-slate-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}

.spec-table-custom {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.spec-table-custom tr {
  border-bottom: 1px solid var(--apfs-border);
}

.spec-table-custom td {
  padding: 0.6rem 0;
  font-size: 0.825rem;
}

.spec-cell-label {
  font-weight: 700;
  color: var(--apfs-slate-muted);
  width: 40%;
}

.spec-cell-value {
  font-weight: 700;
  color: var(--apfs-slate-dark);
}

/* ==========================================================================
   APFS 5-COLUMN AUTHENTIC FOOTER (Matching APFS Screen 1 100%)
   ========================================================================== */
.apfs-footer {
  background-color: #0B1120;
  color: #FFFFFF;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-apfs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 2.35fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-col-subhead {
  font-size: 0.8rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}

.footer-apfs-links {
  list-style: none;
}

.footer-apfs-links li {
  margin-bottom: 0.75rem;
}

.footer-apfs-links a {
  color: #E2E8F0;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-apfs-links a:hover {
  color: #FFFFFF;
}

/* Subscribe & Feedback Column */
.footer-col-subscribe {
  display: flex;
  flex-direction: column;
}

.subscribe-text {
  font-size: 0.875rem;
  color: #94A3B8;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.subscribe-form-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.subscribe-input {
  flex: 1;
  height: 3.15rem;
  padding: 0 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.75rem;
  color: #FFFFFF;
  font-size: 0.925rem;
  outline: none;
  transition: all 0.2s ease;
}

.subscribe-input::placeholder {
  color: #64748B;
}

.subscribe-input:focus {
  border-color: var(--apfs-red);
  background: rgba(255, 255, 255, 0.12);
}

.btn-subscribe-signup {
  height: 3.15rem;
  padding: 0 1.65rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(176, 43, 45, 0.35);
}

.btn-subscribe-signup:hover {
  background-color: var(--apfs-red-hover);
}

/* Give Us Feedback Box */
.footer-feedback-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.15rem;
  padding: 1.5rem 1.75rem;
  margin-top: 0.5rem;
}

.feedback-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.feedback-card-sub {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.feedback-card-link {
  font-size: 0.875rem;
  font-weight: 800;
  color: #EF4444;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.feedback-card-link:hover {
  color: #FCA5A5;
}

/* Bottom Bar Legal Links & Social */
.footer-bottom-legal-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem 0 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  height: 100%;
}

.copyright-text {
  font-size: 0.825rem;
  color: #64748B;
  font-weight: 500;
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.footer-bottom-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.legal-links-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.legal-links-list a, .legal-cookie-link {
  color: #94A3B8;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-links-list a:hover, .legal-cookie-link:hover {
  color: #FFFFFF;
}

.legal-cookie-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rating-badge-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.775rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stars-gold {
  color: #F59E0B;
}

.bbb-pill {
  background: rgba(255, 255, 255, 0.05);
  color: #94A3B8;
}

/* Responsive Breakpoints */
@media (max-width: 1400px) {
  .advantage-right-col {
    justify-content: center;
  }
  .login-left-col, .login-right-col {
    padding: 3rem 2rem;
  }
  .hero-category-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .parts-finder-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .parts-finder-form {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .header-container {
    flex-wrap: wrap;
  }
  .header-search-wrapper {
    order: 3;
    max-width: 100%;
  }
  .apfs-category-grid, .advantage-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brands-pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .line-card-title {
    font-size: 2.25rem;
  }
  .parts-finder-form {
    flex-direction: column;
    width: 100%;
  }
  .finder-select-wrapper, .finder-input-wrapper, .btn-find-parts {
    width: 100%;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
  .modal-grid-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   APFS CONTACT US PAGE STYLES (Matching apfs.com/contact 100%)
   ========================================================================== */
.contact-page-bg {
  background-color: #F8FAFC;
  padding: 3rem 1.5rem 5rem 1.5rem;
  min-height: 80vh;
}

.contact-page-layout {
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Left Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.customer-service-card {
  background-color: var(--apfs-red);
  border-radius: 1.25rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(176, 43, 45, 0.25);
}

.cs-card-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.cs-icon-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.quick-links-card {
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-border);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.quick-links-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--apfs-slate-dark);
  margin-bottom: 1.25rem;
}

.quick-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.quick-links-list a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.quick-links-list a:hover {
  color: var(--apfs-red);
}

/* Right Main Column */
.contact-main-col {
  display: flex;
  flex-direction: column;
}

.contact-page-headline {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--apfs-slate-dark);
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

/* Branch Info Card */
.branch-info-card {
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-border);
  border-radius: 1.25rem;
  padding: 2rem 2.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  margin-bottom: 1.5rem;
}

.branch-card-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--apfs-slate-dark);
  margin-bottom: 1.25rem;
}

.branch-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.branch-detail-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--apfs-slate-dark);
  margin-bottom: 0.35rem;
}

.branch-detail-value {
  font-size: 0.9rem;
  color: #94A3B8;
  font-weight: 400;
  line-height: 1.45;
}

.branch-link-red {
  color: var(--apfs-red);
  font-weight: 400;
  text-decoration: none;
}

.branch-link-red:hover {
  text-decoration: underline;
}

/* Location Tabs */
.location-tabs-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-bottom: 1.5px solid var(--apfs-border);
  margin-bottom: 2rem;
  padding-bottom: 0.25rem;
}

.loc-tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--apfs-slate-muted);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: all 0.2s ease;
}

.loc-tab-btn.active {
  color: var(--apfs-red);
  border-bottom-color: var(--apfs-red);
}

/* Action Communication Cards */
.action-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.action-card {
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-border);
  border-radius: 1.15rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  cursor: pointer;
}

.action-card:hover {
  border-color: #FCA5A5;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.12);
  transform: translateY(-2px);
}

.action-icon-circle {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.circle-red-soft {
  background: #FEF2F2;
}

.circle-gray-soft {
  background: #F8FAFC;
}

.action-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--apfs-slate-dark);
  margin-bottom: 0.35rem;
}

.action-card-sub {
  font-size: 0.775rem;
  color: var(--apfs-slate-muted);
  line-height: 1.35;
}

/* Single Unified FAQ Card Box (Matching apfs.com Screen 1 100%) */
.apfs-faq-card {
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  margin-bottom: 2.5rem;
}

.faq-item-group {
  display: flex;
  flex-direction: column;
}

.faq-header-btn {
  width: 100%;
  background: #FFFFFF;
  border: none;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s ease;
}

.faq-header-btn:hover {
  background-color: #FAFAFA;
}

.faq-title-flex {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--apfs-slate-dark);
}

.faq-icon-svg {
  flex-shrink: 0;
}

.faq-chevron-svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-card-divider {
  height: 1px;
  background-color: #E2E8F0;
  width: 100%;
}

.faq-collapse-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #FFFFFF;
}

.faq-collapse-body p {
  padding: 0 1.75rem 1.5rem 3.5rem;
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.55;
}

/* Contact Form Card */
.contact-form-card {
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-border);
  border-radius: 1.25rem;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.form-card-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--apfs-slate-dark);
  margin-bottom: 0.5rem;
}

.form-card-sub {
  font-size: 0.875rem;
  color: var(--apfs-slate-muted);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.form-note-text {
  font-size: 0.8rem;
  color: #64748B;
  display: block;
  margin-top: 0.25rem;
}

.form-group-custom {
  margin-bottom: 1.35rem;
}

.form-label-custom {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--apfs-slate-dark);
  margin-bottom: 0.4rem;
}

.label-req {
  color: #EF4444;
  font-weight: 600;
  font-size: 0.8rem;
}

.form-control-custom {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-border);
  border-radius: 0.75rem;
  font-size: 0.9rem;
  color: var(--apfs-slate-dark);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control-custom:focus {
  border-color: var(--apfs-red);
}

.textarea-custom {
  resize: vertical;
  font-family: inherit;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.btn-send-message {
  padding: 0.9rem 2.25rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(176, 43, 45, 0.35);
  margin-top: 0.5rem;
}

.btn-send-message:hover {
  background-color: var(--apfs-red-hover);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .contact-page-layout {
    grid-template-columns: 1fr;
  }
  .action-cards-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   APFS SHIPPING POLICY PAGE STYLES (Matching apfs.com/shipping 100%)
   ========================================================================== */
.policy-page-bg {
  background-color: #F8FAFC;
  padding: 3.5rem 1.5rem 5.5rem 1.5rem;
  min-height: 80vh;
}

.policy-page-container {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.policy-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: #FEE2E2;
  color: #DC2626;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.policy-page-headline {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--apfs-slate-dark);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.policy-card-box {
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-border);
  border-radius: 1.25rem;
  padding: 3rem 3.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  width: 100%;
}

.policy-block {
  margin-bottom: 2.25rem;
}

.policy-block.mb-0 {
  margin-bottom: 0;
}

.policy-block-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--apfs-slate-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.policy-block-text {
  font-size: 0.925rem;
  color: #64748B;
  line-height: 1.6;
  font-weight: 400;
}

.policy-link-red {
  color: var(--apfs-red);
  font-weight: 400;
  text-decoration: none;
}

.policy-link-red:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .policy-card-box {
    padding: 1.75rem 1.5rem;
  }
}

.policy-page-headline.mb-2 {
  margin-bottom: 0.5rem;
}

.policy-page-subhead {
  font-size: 0.95rem;
  color: #64748B;
  margin-bottom: 2rem;
  font-weight: 400;
}

.mt-6 {
  margin-top: 1.5rem;
}

.faq-chevron-svg.rotated {
  transform: rotate(180deg);
}

.faq-bottom-callout {
  text-align: center;
  font-size: 0.95rem;
  color: #64748B;
  font-weight: 500;
  margin-top: 2rem;
  width: 100%;
}

/* ==========================================================================
   APFS LOCATIONS PAGE STYLES (Matching apfs.com/locations 100%)
   ========================================================================== */
.apfs-nav-bar .nav-list li a.nav-item-static-link {
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 0.65rem;
  display: inline-flex;
  align-items: center;
  border-radius: 0.375rem;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.apfs-nav-bar .nav-list li a.nav-item-static-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.locations-hero-section {
  background-color: #0F172A;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 4.5rem 1.5rem 4.5rem 1.5rem;
  text-align: center;
  color: #FFFFFF;
}

.locations-hero-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.locations-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #F87171;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.locations-hero-headline {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.text-red-accent {
  color: #F87171;
}

.locations-hero-subtext {
  font-size: 1.05rem;
  color: #94A3B8;
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.locations-features-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.loc-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #E2E8F0;
}

.locations-main-bg {
  background-color: #F8FAFC;
  padding: 4rem 1.5rem 6rem 1.5rem;
}

.locations-main-container {
  max-width: 1240px;
  margin: 0 auto;
}

.locations-grid-2col {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: start;
}

.map-card-wrapper {
  position: relative;
  height: 660px;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1.5px solid var(--apfs-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.google-map-iframe {
  width: calc(100% + 140px);
  height: calc(100% + 120px);
  margin-left: -70px;
  margin-top: -30px;
  margin-bottom: -60px;
  border: none;
}

/* Bottom Left Badge: Our Locations (Matching apfs.com 100%) */
.map-bottom-left-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 30;
  background: #FFFFFF;
  border-radius: 0.75rem;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #CBD5E1;
  min-width: 190px;
}

.map-bottom-left-badge .badge-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.2rem;
}

.map-bottom-left-badge .badge-sub {
  font-size: 0.8rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.map-bottom-left-badge .red-dot {
  color: var(--apfs-red);
  font-size: 0.8rem;
}

/* Bottom Right Stack (Camera Controls Button + Vertical Zoom Box) */
.map-bottom-right-stack {
  position: absolute;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.camera-controls-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-camera-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.map-camera-toggle-btn:hover {
  background-color: #F8FAFC;
  transform: scale(1.05);
}

.camera-tooltip {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.92);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 0.35rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.map-camera-toggle-btn:hover .camera-tooltip {
  opacity: 1;
}

/* Expanded 6-Button Camera Controls Cross/Grid (Screen 3 100%) */
.camera-expanded-menu {
  display: none;
  position: absolute;
  bottom: -45px;
  right: -45px;
  width: 130px;
  height: 130px;
}

.camera-controls-wrapper.active #cameraToggleBtn {
  display: none;
}

.camera-controls-wrapper.active .camera-expanded-menu {
  display: block;
}

.cam-ring-btn {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 400;
  color: #666;
  transition: all 0.15s ease;
}

.cam-ring-btn:hover {
  background: #F3F4F6;
  color: #333;
}

/* Exact cross/grid positions matching Screen 2 (apfs.com/locations) 100% */
/* Row 1: Up (col 1) + Zoom In (col 2) */
.cam-ring-up       { top: 0px; left: 42px; }
.cam-ring-zoom-in  { top: 0px; left: 88px; }
/* Row 2: Left (col 0) + Center (col 1) + Right (col 2) */
.cam-ring-left     { top: 42px; left: 0px; }
.cam-ring-center   { top: 42px; left: 42px; }
.cam-ring-right    { top: 42px; left: 88px; }
/* Row 3: Down (col 1) + Zoom Out (col 2) */
.cam-ring-down     { top: 88px; left: 42px; }
.cam-ring-zoom-out { top: 88px; left: 88px; }

.map-zoom-controls-vertical {
  background: #FFFFFF;
  border-radius: 0.5rem;
  width: 40px;
  border: 1px solid #CBD5E1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.map-zoom-btn {
  height: 40px;
  width: 100%;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.map-zoom-btn:hover {
  background-color: #F8FAFC;
  color: #0F172A;
}

.zoom-btn-divider {
  height: 1px;
  background-color: #E2E8F0;
  width: 100%;
}

.map-view-toggle-bar {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  background: #FFFFFF;
  border-radius: 0.5rem;
  padding: 0.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  border: 1px solid #E2E8F0;
}

.map-toggle-btn {
  padding: 0.45rem 1.1rem;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  border-radius: 0.35rem;
  transition: all 0.15s ease;
}

.map-toggle-btn.active {
  background: #F1F5F9;
  color: #0F172A;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px #CBD5E1;
}

.map-toggle-btn:hover:not(.active) {
  background: #F8FAFC;
  color: var(--apfs-red);
}

.map-top-right-controls,
.map-top-right-stack {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
}

.map-bottom-right-zoom-stack {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-open-google-maps,
.map-fullscreen-btn {
  background: #FFFFFF;
  border-radius: 0.5rem;
  width: 40px;
  height: 40px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-open-google-maps:hover,
.map-fullscreen-btn:hover {
  background-color: #F8FAFC;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.map-overlay-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22C55E;
}

.branch-apfs-card {
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.branch-card-header {
  background-color: var(--apfs-red);
  color: #FFFFFF;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.branch-card-name {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0;
}

.branch-card-sub {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-top: 0.15rem;
}

.branch-status-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.branch-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.branch-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: #334155;
}

.branch-address-line {
  font-weight: 700;
  color: var(--apfs-slate-dark);
}

.branch-city-line {
  color: #64748B;
}

.branch-phone-link {
  color: var(--apfs-red);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}

.branch-phone-link:hover {
  text-decoration: underline;
}

.branch-hours-text {
  line-height: 1.5;
  color: #475569;
}

.branch-badges-flex {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.fulfillment-badge {
  background-color: #F1F5F9;
  color: #475569;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 0.375rem;
  border: 1px solid #E2E8F0;
}

.branch-footer-cta {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
}

.btn-view-store-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--apfs-red);
  font-size: 0.925rem;
  font-weight: 800;
  text-decoration: none;
}

.btn-view-store-details:hover {
  text-decoration: underline;
}

/* Screen 3: Can't Visit a Store? Dark Card */
.cant-visit-card {
  background: #1E293B;
  border-radius: 1.25rem;
  padding: 3.5rem 3.5rem;
  color: #FFFFFF;
  margin-top: 3.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.cant-visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.cant-visit-headline {
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 0.85rem;
  color: #FFFFFF;
}

.cant-visit-subtext {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.cant-visit-buttons-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-call-us-now {
  background-color: var(--apfs-red);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.925rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(176, 43, 45, 0.35);
}

.btn-call-us-now:hover {
  background-color: var(--apfs-red-hover);
  transform: translateY(-2px);
}

.btn-text-us-outline {
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-weight: 800;
  font-size: 0.925rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
}

.btn-text-us-outline:hover {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.cant-visit-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cant-feature-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.875rem;
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cant-icon-red {
  background: rgba(220, 38, 38, 0.15);
  border-radius: 0.65rem;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cant-box-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
}

.cant-box-sub {
  font-size: 0.775rem;
  color: #94A3B8;
  margin-top: 0.15rem;
}

@media (max-width: 1024px) {
  .locations-grid-2col {
    grid-template-columns: 1fr;
  }
  .cant-visit-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cant-visit-card {
    padding: 2rem 1.75rem;
  }
}

/* ==========================================================================
   STORE LOCATION DETAILS PAGE STYLES (Matching apfs.com/locations/sun-valley 100%)
   ========================================================================== */

.loc-detail-hero {
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  color: #FFFFFF;
  padding: 3rem 1.5rem 5rem 1.5rem;
  overflow: hidden;
}

.loc-detail-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.loc-detail-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.loc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #94A3B8;
  margin-bottom: 2rem;
}

.loc-breadcrumb a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.15s ease;
}

.loc-breadcrumb a:hover {
  color: #FFFFFF;
}

.loc-breadcrumb-sep {
  color: #64748B;
}

.loc-breadcrumb-current {
  color: #FFFFFF;
  font-weight: 600;
}

.loc-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.loc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 1.25rem;
}

.loc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #94A3B8;
}

.loc-status-dot.open {
  background-color: #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.loc-detail-headline {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.loc-detail-headline-highlight {
  display: block;
  color: #F87171;
  background: linear-gradient(135deg, #F87171 0%, #EF4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loc-detail-subtext {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 560px;
}

.loc-hero-ctas-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-loc-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #DC2626;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
  transition: all 0.2s ease;
}

.btn-loc-directions:hover {
  background: #B91C1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.btn-loc-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-loc-outline:hover {
  background: #FFFFFF;
  color: #0F172A;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Glassmorphism Right Card */
.loc-glass-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.loc-glass-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.loc-glass-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-glass-icon-box.red { background: rgba(220, 38, 38, 0.2); }
.loc-glass-icon-box.green { background: rgba(34, 197, 94, 0.2); }
.loc-glass-icon-box.blue { background: rgba(59, 130, 246, 0.2); }

.loc-glass-label {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.loc-glass-val {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.4;
}

.loc-glass-val a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.15s ease;
}

.loc-glass-val a:hover {
  color: #F87171;
}

/* Wave Separator */
.loc-hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}

.loc-hero-wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

/* Main Content Body */
.loc-main-body {
  background-color: #F8FAFC;
  padding: 3.5rem 1.5rem;
}

.loc-main-container {
  max-width: 1280px;
  margin: 0 auto;
}

.loc-2col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.loc-left-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.loc-right-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Store Hours Card */
.loc-hours-card {
  background: #FFFFFF;
  border-radius: 1.5rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.loc-hours-card-header {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  padding: 1.5rem 2rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.loc-hours-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-hours-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}

.loc-hours-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.loc-hours-body {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.loc-hour-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-radius: 0.75rem;
  transition: background-color 0.15s ease;
}

.loc-hour-row:hover {
  background-color: #F1F5F9;
}

.loc-hour-row.today {
  background: rgba(220, 38, 38, 0.05);
  border: 2px solid rgba(220, 38, 38, 0.2);
}

.loc-hour-day {
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.loc-hour-row.today .loc-hour-day {
  color: #DC2626;
  font-weight: 800;
}

.today-badge {
  background: rgba(220, 38, 38, 0.12);
  color: #DC2626;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.loc-hour-time {
  font-weight: 700;
  color: #0F172A;
}

.loc-hour-time.closed {
  color: #94A3B8;
  font-weight: 500;
}

/* Services & Features Card */
.loc-services-dark-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 1.5rem;
  padding: 2.25rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.loc-services-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.loc-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.loc-service-tile {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.loc-service-icon {
  color: #F87171;
  margin-bottom: 0.25rem;
}

.loc-service-name {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.loc-service-sub {
  font-size: 0.8rem;
  color: #94A3B8;
}

/* Right Stack Cards */
.loc-map-preview-card {
  background: #FFFFFF;
  border-radius: 1.5rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 0.75rem;
  position: relative;
}

.loc-map-iframe-box {
  width: 100%;
  height: 520px;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  position: relative;
}

.loc-map-iframe-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.btn-open-gmaps-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem;
  background: #F1F5F9;
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0.85rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-open-gmaps-full:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.loc-quick-actions-card {
  background: #FFFFFF;
  border-radius: 1.5rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 1.75rem;
}

.loc-quick-actions-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 1.25rem;
}

.loc-quick-actions-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.btn-quick-red {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: #DC2626;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  transition: all 0.15s ease;
}

.btn-quick-red:hover {
  background: #B91C1C;
  transform: translateY(-1px);
}

.btn-quick-dark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0.85rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-quick-dark:hover {
  background: #1E293B;
  transform: translateY(-1px);
}

/* Other Locations Section */
.loc-other-section {
  background: #FFFFFF;
  padding: 4rem 1.5rem;
  border-top: 1px solid #E2E8F0;
}

.loc-other-container {
  max-width: 1280px;
  margin: 0 auto;
}

.loc-other-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.loc-other-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.25rem 0;
}

.loc-other-sub {
  font-size: 1rem;
  color: #64748B;
  margin: 0;
}

.btn-view-all-locations {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn-view-all-locations:hover {
  background: #1E293B;
}

.loc-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.loc-other-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all 0.2s ease;
}

.loc-other-card:hover {
  background: #FFFFFF;
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.loc-other-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.85rem;
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.loc-other-card:hover .loc-other-card-icon {
  background: rgba(220, 38, 38, 0.2);
}

.loc-other-card-body {
  flex: 1;
}

.loc-other-card-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.35rem;
  transition: color 0.2s ease;
}

.loc-other-card:hover .loc-other-card-name {
  color: #DC2626;
}

.loc-other-card-addr {
  font-size: 0.875rem;
  color: #64748B;
  margin-bottom: 0.5rem;
}

.loc-other-card-phone {
  font-size: 0.875rem;
  font-weight: 700;
  color: #DC2626;
}

.loc-other-chevron {
  color: #CBD5E1;
  margin-top: 0.25rem;
  transition: color 0.2s ease;
}

.loc-other-card:hover .loc-other-chevron {
  color: #DC2626;
}

@media (max-width: 1024px) {
  .loc-detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .loc-2col-layout {
    grid-template-columns: 1fr;
  }
  .loc-other-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .loc-detail-headline {
    font-size: 2.2rem;
  }
  .loc-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   APFS DEDICATED CATEGORY PAGE STYLING (Matching APFS 100%)
   ========================================================================== */
.cat-hero-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 3.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cat-hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(176, 43, 45, 0.18) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.cat-hero-container {
  max-width: 1920px;
  margin: 0 auto;
}

.cat-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.cat-breadcrumbs a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cat-breadcrumbs a:hover {
  color: #FFFFFF;
}

.cat-breadcrumbs .sep {
  color: #64748B;
}

.cat-breadcrumbs .current {
  color: #F8FAFC;
  font-weight: 700;
}

.cat-hero-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cat-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(176, 43, 45, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  color: #FCA5A5;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.cat-hero-headline {
  font-size: 2.5rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.cat-hero-subtext {
  font-size: 1.05rem;
  color: #94A3B8;
  max-width: 44rem;
  line-height: 1.5;
}

.cat-hero-stats-box {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.cat-stat-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #F1F5F9;
}

.cat-main-content {
  background-color: #FFFFFF;
  padding: 1.75rem 1.5rem 5rem;
  min-height: 70vh;
}

.cat-main-container {
  max-width: 1920px;
  margin: 0 auto;
}

.cat-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748B;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.cat-breadcrumbs a {
  color: #94A3B8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.cat-breadcrumbs a:hover {
  color: #B02B2D;
}

.cat-breadcrumbs .sep {
  color: #CBD5E1;
}

.cat-breadcrumbs .current {
  color: #B02B2D;
  font-weight: 700;
}

.cat-page-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  line-height: 1.15;
}

.cat-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--apfs-border);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.cat-results-count {
  font-size: 0.95rem;
  color: #64748B;
  font-weight: 600;
}

.cat-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cat-sort-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1E293B;
}

.cat-select-box {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--apfs-border);
  border-radius: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0F172A;
  background: #FFFFFF;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.cat-select-box:focus {
  border-color: var(--apfs-red);
}

.cat-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1600px) {
  .cat-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1200px) {
  .cat-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .cat-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .cat-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   APFS SHOP BY CATEGORY CAROUSEL & BRAND FILTERS (Matching Screenshot 100%)
   ========================================================================== */
.apfs-shop-by-cat-wrapper {
  margin-bottom: 2.25rem;
}

.apfs-cat-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.apfs-cat-section-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.apfs-cat-section-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: #1E293B;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.apfs-cat-count-badge {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
}

.apfs-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-arrow-btn {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.carousel-arrow-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: scale(1.05);
}

.apfs-subcat-carousel-track-box {
  width: 100%;
  overflow: visible;
}

.apfs-subcat-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  width: 100%;
  padding: 0.25rem 0 0.85rem 0;
  box-sizing: border-box;
}

/* ALL PLUMBING & HEATERS PAGE LAYOUT (Top 2 Row + Bottom 6 Grid) */
.subcat-all-page-wrapper {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.subcat-top-two-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  width: 100%;
}

.subcat-six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  width: 100%;
}

.subcat-card.card-top-larger {
  height: 11.75rem;
  padding: 1rem 0.5rem;
}

.font-larger {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
}

/* Individual Subcategory Card (100% Equal Width 3-Column Grid) */
.subcat-card {
  width: 100%;
  min-width: 0;
  height: 11rem;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 1.1rem;
  padding: 0.75rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.subcat-card:hover {
  border-color: #F3C1C2;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

/* Card Thumbnail Box */
.subcat-img-box {
  width: 100%;
  max-width: 5.25rem;
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  box-sizing: border-box;
}

.subcat-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.subcat-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 100%;
}

.subcat-title-text {
  font-size: 0.76rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.2;
  text-align: center;
  width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
}

.subcat-count-text {
  font-size: 0.725rem;
  font-weight: 500;
  color: #94A3B8;
}

/* Card 1: Back Card Style */
.subcat-card.card-back {
  border-color: #FCA5A5;
  background: #FFFBFB;
  justify-content: center;
  gap: 0.6rem;
}

.subcat-card.card-back:hover {
  border-color: #B02B2D;
  background: #FDF2F2;
}

.card-icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.back-icon {
  background: rgba(176, 43, 45, 0.08);
  color: #B02B2D;
}

.text-red {
  color: #B02B2D !important;
  font-weight: 800 !important;
}

/* Card 2/3: Active Solid Red Card (Matching APFS Category Screenshot 100%) */
.subcat-card.active,
.subcat-card.card-all-active.active {
  background: #B02B2D !important;
  border-color: #B02B2D !important;
  box-shadow: 0 8px 24px rgba(176, 43, 45, 0.35) !important;
  transform: translateY(-2px);
}

.subcat-card.active .grid-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.subcat-card.active .subcat-img-box {
  background: #FFFFFF;
  border-radius: 0.6rem;
  padding: 0.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 4.8rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.subcat-card.active .subcat-title-text,
.subcat-card.active .card-text-main {
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 0.74rem !important;
  line-height: 1.15 !important;
  padding: 0 0.1rem;
}

.subcat-card.active .subcat-count-text,
.subcat-card.active .card-count-main {
  color: rgba(255, 255, 255, 0.85) !important;
}

@media (max-width: 550px) {
  .apfs-subcat-carousel-track {
    gap: 0.4rem;
  }
  .subcat-card {
    height: 10.25rem;
    padding: 0.6rem 0.2rem;
    border-radius: 0.85rem;
  }
  .card-icon-circle {
    width: 2.65rem;
    height: 2.65rem;
  }
  .subcat-card.active .subcat-img-box {
    max-width: 4.1rem;
    height: 4.1rem;
    padding: 0.2rem;
  }
  .subcat-title-text {
    font-size: 0.71rem;
    line-height: 1.15;
  }
  .subcat-card.active .subcat-title-text,
  .subcat-card.active .card-text-main {
    font-size: 0.71rem !important;
  }
}

/* APFS SHOP BY BRAND PILLS ROW (100% Authentic Match to apfs.com) */
.apfs-shop-by-brand-row {
  background: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 1.15rem;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.brand-pills-list {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.brand-pill:hover {
  border-color: #B02B2D;
  color: #B02B2D;
  background: #FFFBFB;
}

.brand-pill.active {
  background: #FFFFFF;
  border: 2px solid #0F172A;
  color: #0F172A;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.brand-count-badge {
  background: #F1F5F9;
  color: #64748B;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.3rem;
}

.brand-pill.active .brand-count-badge {
  background: #0F172A;
  color: #FFFFFF;
}
  font-size: 0.725rem;
  font-weight: 700;
}

.brand-pill.active .pill-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* ==========================================================================
   APFS PRODUCT DETAIL PAGE (PDP) STYLES
   ========================================================================== */
.apfs-advantage-banner {
  background: #0F172A;
  color: white;
  padding: 0.65rem 1.5rem;
  border-bottom: 2px solid var(--apfs-red);
}

.advantage-banner-container {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.advantage-banner-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.advantage-tag {
  background: var(--apfs-red);
  color: white;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: 0.35rem;
  letter-spacing: 0.5px;
}

.advantage-bullet {
  color: #475569;
}

.advantage-apply-btn {
  background: white;
  color: var(--apfs-red);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.35rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.advantage-apply-btn:hover {
  background: #FEE2E2;
}

/* Breadcrumbs */
.apfs-pdp-breadcrumbs-bar {
  background: #F8FAFC;
  border-bottom: 1px solid var(--apfs-border);
  padding: 0.85rem 1.5rem;
}

.pdp-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pdp-breadcrumbs {
  font-size: 0.85rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pdp-breadcrumbs a {
  color: #0F172A;
  text-decoration: none;
  font-weight: 600;
}

.pdp-breadcrumbs a:hover {
  color: var(--apfs-red);
}

.crumb-sep {
  color: #CBD5E1;
}

.crumb-current {
  color: #94A3B8;
  font-weight: 500;
}

/* Main PDP Layout */
.apfs-pdp-main-section {
  padding: 2.5rem 0 4rem;
  background: #FFFFFF;
}

.pdp-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .pdp-container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .pdp-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pdp-thumbnails-row {
    padding-left: 0.25rem !important;
  }
  .pdp-header-meta,
  .pdp-title {
    padding-left: 0.25rem !important;
  }
}

/* Left Column */
.pdp-main-image-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--apfs-border);
  border-radius: 1.25rem;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 580px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.pdp-zoom-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  background: #F1F5F9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
}

.pdp-main-img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
}

.pdp-thumbnails-row {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.pdp-thumb-box {
  width: 84px;
  height: 84px;
  border: 1.5px solid var(--apfs-border);
  border-radius: 0.75rem;
  padding: 0.4rem;
  cursor: pointer;
  background: white;
  transition: all 0.2s ease;
}

.pdp-thumb-box.active, .pdp-thumb-box:hover {
  border-color: var(--apfs-red);
  box-shadow: 0 0 0 2px rgba(176, 43, 45, 0.15);
}

.pdp-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-advantage-info-box {
  margin-top: 1.5rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.85rem;
  padding: 1rem 1.25rem;
}

.adv-box-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.88rem;
  color: #0F172A;
}

/* Right Column */
.pdp-header-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.pdp-brand-badge {
  background: #0F172A;
  color: white;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.3rem 0.75rem;
  border-radius: 0.4rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pdp-mpn-badge, .pdp-gtin-badge {
  background: #F1F5F9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 0.4rem;
}

.pdp-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.pdp-stars {
  color: #F59E0B;
  font-size: 1.1rem;
}

.pdp-rating-text {
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
}

.pdp-in-stock-badge {
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-left: auto;
}

.pdp-price-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pdp-price {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--apfs-red);
}

.pdp-currency {
  font-size: 1rem;
  font-weight: 800;
  color: #64748B;
}

.pdp-price-subtext {
  font-size: 0.82rem;
  color: #64748B;
  margin-top: 0.25rem;
}

.pdp-buy-actions-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.pdp-qty-group {
  flex-shrink: 0;
}

.pdp-qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--apfs-border);
  border-radius: 0.75rem;
  overflow: hidden;
  height: 48px;
  background: white;
}

.pdp-qty-btn {
  width: 40px;
  height: 100%;
  border: none;
  background: #F1F5F9;
  color: #0F172A;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
}

.pdp-qty-btn:hover {
  background: #E2E8F0;
}

.pdp-qty-input {
  width: 50px;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  color: #0F172A;
  outline: none;
}

.pdp-btn-add-cart {
  flex: 1;
  height: 48px;
  background: var(--apfs-red);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(176, 43, 45, 0.3);
  transition: all 0.2s ease;
}

.pdp-btn-add-cart:hover {
  background: var(--apfs-red-hover);
  transform: translateY(-1px);
}

.pdp-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.pdp-btn-quote, .pdp-btn-willcall {
  padding: 0.75rem;
  background: white;
  border: 1.5px solid #CBD5E1;
  border-radius: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-btn-quote:hover, .pdp-btn-willcall:hover {
  border-color: #0F172A;
  color: #0F172A;
  background: #F8FAFC;
}

.pdp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.pdp-trust-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.65rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.pdp-trust-icon {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.pdp-trust-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0F172A;
}

.pdp-trust-desc {
  font-size: 0.68rem;
  color: #64748B;
  margin-top: 0.15rem;
}

/* Tabs & Specs Section - Exact APFS Match */
.pdp-details-tabs-section {
  border-top: 1px solid var(--apfs-border);
  padding-top: 2.5rem;
  margin-bottom: 3.5rem;
}

.pdp-tab-headers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #F5F5F7;
  padding: 0.4rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}

.pdp-tab-btn {
  padding: 0.85rem 2rem;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.pdp-tab-btn:hover {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.5);
}

.pdp-tab-btn.active {
  color: #0F172A;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pdp-tab-subheading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 1rem;
}

.pdp-desc-paragraph {
  line-height: 1.7;
  color: #334155;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.pdp-feature-list {
  line-height: 1.8;
  color: #334155;
  font-size: 0.92rem;
  padding-left: 1.25rem;
}

.pdp-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--apfs-border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.pdp-specs-table tr:nth-child(even) {
  background: #F8FAFC;
}

.pdp-specs-table th, .pdp-specs-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--apfs-border);
}

.pdp-specs-table th {
  width: 30%;
  font-weight: 800;
  color: #0F172A;
  text-align: left;
  background: #F1F5F9;
}

.pdp-specs-table td {
  color: #334155;
  font-weight: 500;
}

/* PDP FAQ Styling */
.pdp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pdp-faq-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.pdp-faq-q {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.pdp-faq-a {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

/* PDP Reviews Styling */
.pdp-review-summary-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.85rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.pdp-review-score {
  font-size: 2.75rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1;
}

.pdp-reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .pdp-reviews-grid {
    grid-template-columns: 1fr;
  }
}

.pdp-review-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.review-stars {
  color: #F59E0B;
  font-size: 1rem;
}

.review-badge {
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
}

.review-author {
  font-weight: 800;
  font-size: 0.88rem;
  color: #0F172A;
  margin-bottom: 0.4rem;
}

.review-body {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  font-style: italic;
}

/* ==========================================================================
   APFS BUY CARD CONTAINER (Matching Screen 2 100% Authentically)
   ========================================================================== */
.pdp-brand-text, .pdp-sku-text {
  font-size: 0.85rem;
  color: #64748B;
}

.meta-dot {
  color: #CBD5E1;
  margin: 0 0.25rem;
}

.apfs-buy-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-top: 1.25rem;
}

.buy-card-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.buy-card-price-group {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.buy-card-price {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.buy-card-unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748B;
}

.buy-card-doc-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #64748B;
  font-weight: 500;
  margin-left: auto;
}

.buy-card-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.buy-card-btn-cart {
  flex: 1;
  height: 50px;
  background: #E27B7F;
  background-color: var(--apfs-red);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(176, 43, 45, 0.25);
  transition: all 0.2s ease;
}

.buy-card-btn-cart:hover {
  background-color: var(--apfs-red-hover);
  transform: translateY(-1px);
}

.buy-card-btn-buynow {
  flex: 1;
  height: 50px;
  background-color: #0F172A;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transition: all 0.2s ease;
}

.buy-card-btn-buynow:hover {
  background-color: #1E293B;
  transform: translateY(-1px);
}

.buy-card-btn-icon {
  width: 50px;
  height: 50px;
  border: 1px solid #CBD5E1;
  border-radius: 0.75rem;
  background: white;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.buy-card-btn-icon:hover {
  border-color: #0F172A;
  color: #0F172A;
  background: #F8FAFC;
}

.buy-card-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 1.25rem;
}

.buy-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #334155;
}

.buy-bullet-item.stock-in {
  color: #15803D;
  font-weight: 700;
}

.bullet-dot {
  font-size: 0.75rem;
}

.buy-bullet-item.text-us {
  cursor: pointer;
}

.buy-card-fulfillment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 576px) {
  .buy-card-fulfillment-grid {
    grid-template-columns: 1fr;
  }
}

.fulfillment-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.fulfillment-icon-bg {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fulfillment-icon-bg.yellow-pin {
  background: #FEF3C7;
  color: #D97706;
}

.fulfillment-icon-bg.blue-truck {
  background: #E0F2FE;
  color: #0284C7;
}

.fulfillment-type {
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fulfillment-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0.1rem 0;
}

.fulfillment-sub {
  font-size: 0.75rem;
  color: #64748B;
}

.btn-branch-inventory {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--apfs-red);
  background: white;
  color: var(--apfs-red);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 0.65rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-branch-inventory:hover {
  background: #FDF2F2;
  color: var(--apfs-red-hover);
}

/* APFS Side Description Accordion Box */
.apfs-accordion-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 0.85rem;
  margin-top: 1rem;
  overflow: hidden;
}

.accordion-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: #F8FAFC;
  transition: background 0.2s ease;
}

.accordion-box-header:hover {
  background: #F1F5F9;
}

.accordion-box-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0F172A;
}

.accordion-box-chevron {
  font-weight: 800;
  color: #64748B;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.accordion-box-body {
  padding: 1.25rem;
  border-top: 1px solid #E2E8F0;
}

.side-pdp-desc-text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* APFS Side Contact Card Box */
.apfs-contact-card-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 0.85rem;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-card-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0F172A;
}

.contact-card-phone-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.contact-card-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--apfs-red);
  color: white;
  font-weight: 900;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--apfs-red);
}

.contact-card-phone:hover {
  text-decoration: underline;
}

/* ==========================================================================
   APFS MOBILE HEADER & SLIDEOUT DRAWER STYLES (Matching apfs.com 100%)
   ========================================================================== */
/* Global Overflow Containment - Fixes White Margin Gaps on Mobile */
html {
  overflow-x: hidden !important;
  width: 100vw !important;
  max-width: 100% !important;
  background-color: #050B14 !important;
}

body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  background-color: #050B14 !important;
}

/* Mobile vs Desktop Action Buttons */
.mobile-only-action {
  display: none !important;
}

@media (max-width: 768px) {
  *, *::before, *::after {
    max-width: 100vw !important;
  }

  .top-bar,
  .main-header,
  .apfs-nav-bar,
  .hero-slider-wrapper,
  .hero-slide,
  .hero-container,
  .hero-left-content,
  .hero-category-cards,
  .advantage-plus-section,
  .advantage-container,
  .advantage-left-col,
  .advantage-right-col,
  .product-of-week-card,
  .apfs-dual-cta-section,
  .dual-cta-container,
  .cta-pro-card,
  .cta-contact-card,
  .parts-finder-section,
  .parts-finder-container,
  .parts-finder-form,
  .footer {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  /* ADVANTAGE+ SECTION MOBILE STYLING (MATCHING APFS SCREEN 2 & 3) */
  .advantage-plus-section {
    padding: 2.25rem 1rem !important;
    overflow: hidden !important;
  }

  .advantage-container {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .advantage-headline {
    font-size: 2.1rem !important;
    line-height: 1.15 !important;
  }

  .advantage-subhead {
    font-size: 0.95rem !important;
    margin-bottom: 1.75rem !important;
  }

  .advantage-features-list {
    gap: 1.15rem !important;
    margin-bottom: 2rem !important;
  }

  .adv-feature-item {
    gap: 1rem !important;
  }

  .adv-icon-box {
    width: 2.75rem !important;
    height: 2.75rem !important;
    border-radius: 0.75rem !important;
  }

  .adv-item-title {
    font-size: 0.95rem !important;
  }

  .adv-item-desc {
    font-size: 0.825rem !important;
  }

  .advantage-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .btn-adv-apply {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 1rem !important;
  }

  .adv-guarantee-text {
    justify-content: center !important;
    font-size: 0.8rem !important;
  }

  .advantage-right-col {
    justify-content: center !important;
  }

  .product-of-week-card {
    padding: 1.25rem !important;
    border-radius: 1.25rem !important;
  }

  .pow-content-layout {
    gap: 1rem !important;
  }

  .pow-img-box {
    width: 6.5rem !important;
    height: 6.5rem !important;
    padding: 0.5rem !important;
    border-radius: 0.75rem !important;
  }

  .pow-product-title {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
  }

  .pow-price {
    font-size: 1.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .btn-pow-view {
    height: 2.75rem !important;
    font-size: 0.9rem !important;
    border-radius: 0.65rem !important;
  }

  /* DUAL CTA BANNER SECTION MOBILE STYLING (MATCHING APFS SCREEN 1 & 2) */
  .apfs-dual-cta-section {
    padding: 2rem 1rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .dual-cta-container {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .cta-pro-card {
    padding: 2.25rem 1.5rem !important;
    border-radius: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .pro-card-title {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.65rem !important;
  }

  .pro-card-subtext {
    font-size: 0.925rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1.5rem !important;
  }

  .btn-pro-apply {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 0.95rem !important;
  }

  .floating-5off-badge {
    display: none !important;
  }

  .cta-contact-card {
    padding: 1.75rem 1.25rem !important;
    border-radius: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-card-title {
    font-size: 1.4rem !important;
  }

  .contact-card-subtext {
    font-size: 0.85rem !important;
    margin-bottom: 1.25rem !important;
  }

  .contact-boxes-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    margin-bottom: 1.25rem !important;
  }

  .contact-option-box {
    padding: 0.85rem 1rem !important;
  }

  .contact-phone-line {
    font-size: 0.95rem !important;
    padding-top: 1.15rem !important;
  }

  .mobile-only-action {
    display: flex !important;
  }

  .top-bar-badge {
    display: none !important;
  }

  .top-bar {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    background: #0D192B !important;
    padding-left: 0.75rem !important;
  }

  .top-bar-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0.5rem !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  .top-bar-zip {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  .main-header {
    padding: 0.5rem 0.75rem !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #FFFFFF !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  }

  .main-header .logo-icon-bg {
    width: 1.85rem !important;
    height: 1.85rem !important;
    font-size: 0.95rem !important;
    border-radius: 0.45rem !important;
  }

  .main-header .logo-text-title {
    color: var(--apfs-slate-dark) !important;
    font-size: 0.825rem !important;
    line-height: 1.1 !important;
  }

  .main-header .logo-text-sub {
    color: var(--apfs-slate-muted) !important;
    font-size: 0.575rem !important;
  }

  .main-header .header-icon-action {
    color: var(--apfs-slate-dark) !important;
    padding: 0.25rem !important;
  }

  .main-header .header-icon-action svg {
    color: var(--apfs-slate-dark) !important;
    stroke: var(--apfs-slate-dark) !important;
    width: 23px !important;
    height: 23px !important;
  }

  .main-header .mobile-hamburger-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.35rem !important;
    height: 2.35rem !important;
    padding: 0.2rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--apfs-slate-dark) !important;
  }

  .main-header .mobile-hamburger-btn svg {
    stroke: var(--apfs-slate-dark) !important;
    width: 24px !important;
    height: 24px !important;
  }

  #heroSlide2 {
    background-image: 
      linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.3) 100%),
      url('images/oneStop2.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  /* APFS SCROLLED STICKY HEADER (100% Match to Screenshot 2 - Compact & Slim) */
  .main-header.header-scrolled-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: #0B1728 !important;
    border-bottom: 1px solid #1E293B !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
    padding: 0.3rem 0.65rem !important;
  }

  .main-header.header-scrolled-sticky .logo-icon-bg {
    width: 1.65rem !important;
    height: 1.65rem !important;
    font-size: 0.9rem !important;
    border-radius: 0.4rem !important;
  }

  .main-header.header-scrolled-sticky .logo-text-title {
    color: #FFFFFF !important;
    font-size: 0.74rem !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em !important;
  }

  .main-header.header-scrolled-sticky .logo-text-sub {
    color: #94A3B8 !important;
    font-size: 0.525rem !important;
    line-height: 1 !important;
  }

  .main-header.header-scrolled-sticky .header-icon-action {
    padding: 0.2rem !important;
  }

  .main-header.header-scrolled-sticky .header-icon-action svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
    width: 18px !important;
    height: 18px !important;
  }

  .main-header.header-scrolled-sticky .header-icon-action span {
    color: #FFFFFF !important;
    font-size: 0.65rem !important;
  }

  .main-header.header-scrolled-sticky .cart-counter-badge {
    background-color: var(--apfs-red) !important;
    color: #FFFFFF !important;
    width: 1.05rem !important;
    height: 1.05rem !important;
    font-size: 0.65rem !important;
    top: -4px !important;
    right: -4px !important;
  }

  .header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.4rem !important;
    flex-wrap: nowrap !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Official Header (Unscrolled View) - Logo Far Left, Actions & Hamburger Far Right */
  .main-header:not(.header-scrolled-sticky) .brand-logo {
    order: 1 !important;
  }

  .main-header:not(.header-scrolled-sticky) .header-actions {
    order: 2 !important;
  }

  .main-header:not(.header-scrolled-sticky) .mobile-hamburger-btn {
    order: 3 !important;
  }

  /* Second Header (Scrolled Sticky Header) - Hamburger [≡] Far Left, Logo Middle, Actions Far Right */
  .main-header.header-scrolled-sticky .header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .main-header.header-scrolled-sticky .mobile-hamburger-btn {
    order: -1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.1rem !important;
    height: 2.1rem !important;
    padding: 0.25rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.45rem !important;
    color: #FFFFFF !important;
  }

  .main-header.header-scrolled-sticky .brand-logo {
    order: 1 !important;
  }

  .main-header.header-scrolled-sticky .header-actions {
    order: 2 !important;
  }

  .main-header.header-scrolled-sticky .mobile-hamburger-btn svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #FFFFFF !important;
  }

  .contact-support-box {
    display: none !important;
  }

  .header-search-wrapper {
    display: none !important;
  }

  .apfs-nav-bar {
    display: none !important;
  }

  .brand-logo {
    flex-shrink: 1 !important;
  }

  .logo-icon-bg {
    width: 2rem !important;
    height: 2rem !important;
    font-size: 1.1rem !important;
  }

  .logo-text-title {
    font-size: 0.9rem !important;
  }

  .logo-text-sub {
    font-size: 0.6rem !important;
  }

  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 1.15rem !important;
  }

  .header-icon-action span {
    display: none !important;
  }

  .cart-counter-badge,
  .header-icon-action .cart-counter-badge {
    display: flex !important;
    position: absolute !important;
    top: -5px !important;
    right: -7px !important;
    background-color: var(--apfs-red) !important;
    color: #FFFFFF !important;
    font-size: 0.65rem !important;
    font-weight: 900 !important;
    width: 1.1rem !important;
    height: 1.1rem !important;
    border-radius: 50% !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 5 !important;
  }

  .header-icon-action {
    padding: 0.4rem 0.45rem !important;
    min-width: auto !important;
    border-radius: 0.5rem !important;
    position: relative !important;
  }

  .hero-slide {
    padding: 1.75rem 0.85rem 4.5rem !important;
  }

  .hero-subhead {
    font-size: 0.75rem !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 0.35rem !important;
  }

  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-built-tag {
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem !important;
  }

  .hero-category-cards {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-cat-card {
    width: 100% !important;
    min-height: auto !important;
    padding: 0.85rem 0.6rem !important;
    border-radius: 0.75rem !important;
  }

  .hero-cat-icon {
    width: 2rem !important;
    height: 2rem !important;
    margin-bottom: 0.35rem !important;
  }

  .hero-cat-title {
    font-size: 0.85rem !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-cat-btn {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.75rem !important;
    height: auto !important;
  }

  .hero-slider-nav {
    bottom: 0.65rem !important;
    padding: 0.25rem 0.6rem !important;
    transform: translateX(-50%) scale(0.9) !important;
  }

  .finder-select-wrapper,
  .finder-input-wrapper {
    min-width: 0 !important;
    width: 100% !important;
  }

  /* Mobile Page Layout & Centering Constraints (100% Mobile Responsive & Centered) */
  .contact-page-bg,
  .policy-page-bg,
  .locations-page-bg,
  .pdp-page-bg,
  .login-page-bg,
  .faq-page-bg {
    padding: 1.25rem 0.85rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .contact-page-layout,
  .policy-page-container,
  .locations-container,
  .faq-page-container,
  .pdp-container,
  .login-page-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    gap: 1.25rem !important;
  }

  .contact-sidebar,
  .contact-main-col {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .customer-service-card,
  .quick-links-card,
  .branch-info-card,
  .contact-form-card,
  .action-card,
  .policy-card,
  .faq-card,
  .location-card,
  .login-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 1.25rem 1rem !important;
  }

  .branch-details-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .action-cards-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-row-2col {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-page-headline,
  .policy-page-title,
  .faq-page-title,
  .locations-hero-title {
    font-size: 1.85rem !important;
    text-align: left !important;
    margin-bottom: 0.75rem !important;
  }

  /* APFS 100% Authentic Mobile Footer Layout (Matching apfs.com Screens 1 & 2) */
  .apfs-footer {
    padding: 2.5rem 1rem 2rem 1rem !important;
    background: #0A1128 !important;
  }

  .footer-apfs-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem 1rem !important;
    margin-bottom: 2rem !important;
  }

  .footer-apfs-col {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .footer-col-subscribe {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
  }

  .footer-col-subhead {
    font-size: 0.775rem !important;
    margin-bottom: 1rem !important;
    color: #94A3B8 !important;
    letter-spacing: 0.1em !important;
  }

  .footer-apfs-links li {
    margin-bottom: 0.65rem !important;
  }

  .footer-apfs-links a {
    font-size: 0.875rem !important;
    color: #CBD5E1 !important;
  }

  .subscribe-form-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .subscribe-input {
    flex: 1 !important;
    height: 3rem !important;
    font-size: 0.875rem !important;
  }

  .btn-subscribe-signup {
    height: 3rem !important;
    padding: 0 1.25rem !important;
    font-size: 0.85rem !important;
  }

  .footer-feedback-card {
    padding: 1.25rem 1.15rem !important;
    margin-top: 1.25rem !important;
    border-radius: 0.85rem !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  .footer-bottom-legal-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.25rem !important;
    padding-top: 1.75rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-bottom-social-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-bottom: 0.25rem !important;
  }

  .footer-social-icons {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
  }

  .social-icon-btn {
    width: 2.25rem !important;
    height: 2.25rem !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: background 0.2s ease !important;
  }

  .social-icon-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
  }

  .legal-links-list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.65rem 1rem !important;
    font-size: 0.825rem !important;
    width: 100% !important;
  }

  .legal-cookie-row {
    margin-top: 0.35rem !important;
  }

  .footer-bottom-right {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    width: 100% !important;
    margin-top: 0.25rem !important;
  }

  .rating-badge-pill {
    padding: 0.35rem 0.85rem !important;
    font-size: 0.775rem !important;
  }

  /* Mobile "Can't Visit a Store?" Dark Card Formatting (100% Mobile Viewport Fit) */
  .cant-visit-card {
    padding: 1.5rem 1rem !important;
    margin-top: 1.75rem !important;
    border-radius: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .cant-visit-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .cant-visit-headline {
    font-size: 1.6rem !important;
    margin-bottom: 0.5rem !important;
  }

  .cant-visit-subtext {
    font-size: 0.875rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.5 !important;
  }

  .cant-visit-buttons-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-call-us-now,
  .btn-text-us-outline {
    flex: 1 !important;
    padding: 0.75rem 0.35rem !important;
    font-size: 0.8rem !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }

  .cant-visit-features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .cant-feature-box {
    padding: 0.85rem 0.65rem !important;
    gap: 0.5rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    align-items: center !important;
  }

  .cant-box-title {
    font-size: 0.825rem !important;
  }

  .cant-box-sub {
    font-size: 0.7rem !important;
  }
}

/* Mobile Search Dropdown Bar */
.mobile-search-dropdown {
  display: none;
  background: #FFFFFF;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 54px;
  z-index: 98;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-search-dropdown.active {
  display: block;
}

.mobile-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.mobile-search-inner .search-icon-left {
  position: absolute;
  left: 0.85rem;
  color: #94A3B8;
  pointer-events: none;
}

.mobile-search-box {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 2.5rem;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0F172A;
  outline: none;
  transition: all 0.2s ease;
}

.mobile-search-box:focus {
  background: #FFFFFF;
  border-color: var(--apfs-red);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.12);
}

/* Mobile Slideout Drawer Overlay & Container */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  position: fixed;
  top: 0;
  left: -320px;
  right: auto;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 9999;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-content.active {
  transform: translateX(320px);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem;
  background: #FFFFFF;
  color: #0F172A;
  border-bottom: 1.5px solid #F1F5F9;
}

.mobile-drawer-close {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #64748B;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: var(--apfs-red);
  color: #FFFFFF;
  border-color: var(--apfs-red);
}

.mobile-drawer-body {
  padding: 1.25rem 1rem;
  overflow-y: auto;
  flex: 1;
  background: #FFFFFF;
}

/* APFS Screen 2 Accordion Cards Styling */
.drawer-accordion-card {
  background: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 0.85rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.drawer-accordion-card:hover {
  border-color: #CBD5E1;
}

.drawer-accordion-btn {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  text-align: left;
}

.drawer-accordion-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  transition: transform 0.25s ease;
}

.drawer-accordion-sublist {
  display: none;
  background: #F8FAFC;
  padding: 0.5rem 0;
  border-top: 1px solid #F1F5F9;
}

.drawer-sublink {
  display: block;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.drawer-sublink:hover {
  color: var(--apfs-red);
  background: #FFF1F2;
}

.drawer-direct-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 0.85rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.drawer-direct-link:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
}

.drawer-arrow-right {
  color: #CBD5E1;
}

.mobile-drawer-nav li {
  margin-bottom: 0.25rem;
}

.mobile-drawer-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-radius: 0.5rem;
  color: #0F172A;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-drawer-nav li a:hover,
.mobile-drawer-nav li a.active {
  background: #F1F5F9;
  color: var(--apfs-red);
}

.mobile-drawer-nav li a .badge {
  font-size: 0.725rem;
  font-weight: 700;
  background: #FEE2E2;
  color: var(--apfs-red);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.mobile-drawer-nav li.divider {
  height: 1px;
  background: #E2E8F0;
  margin: 0.85rem 0;
}

.mobile-drawer-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.75rem;
  margin-top: 1rem;
}

/* ==========================================================================
   APFS FULL-SCREEN MOBILE SEARCH OVERLAY (Matching apfs.com 100%)
   ========================================================================== */
.mobile-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 999999 !important;
  display: none;
  flex-direction: column;
}

.mobile-search-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-search-top-bar {
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  border-bottom: 1.5px solid #E2E8F0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.mobile-search-input-wrap {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.mobile-search-magnifier {
  position: absolute;
  left: 0.5rem;
  pointer-events: none;
}

.mobile-search-overlay-field {
  width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 2.25rem;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: #0F172A;
  outline: none;
}

.mobile-search-overlay-field::placeholder {
  color: #94A3B8;
}

.mobile-search-close-btn {
  position: absolute;
  right: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: color 0.2s ease;
}

.mobile-search-close-btn:hover {
  color: var(--apfs-red);
}

.mobile-search-body {
  flex: 1;
  padding: 1.5rem 1.25rem;
  overflow-y: auto;
}

.mobile-search-section-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.725rem;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
  text-transform: uppercase;
}

.mobile-search-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.mobile-search-pill {
  background: #F1F5F9;
  border: none;
  color: #0F172A;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-search-pill:hover,
.mobile-search-pill:active {
  background: #E2E8F0;
  color: var(--apfs-red);
}

/* Mobile Live Search Results */
.mobile-search-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.mobile-search-result-item:hover {
  background: #F8FAFC;
  border-color: var(--apfs-red);
}

.mobile-search-result-img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: 0.5rem;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  padding: 0.25rem;
  flex-shrink: 0;
}

.mobile-search-result-info {
  flex: 1;
  min-width: 0;
}

.mobile-search-result-brand {
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--apfs-red);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.mobile-search-result-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.mobile-search-result-price {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0F172A;
}

.mobile-drawer-nav .badge {
  display: none !important;
}

/* Category Page Pagination Styles */
.cat-pagination-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  width: 100%;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-btn {
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 2.3rem;
  height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--apfs-red);
  color: var(--apfs-red);
  background: #FFF5F5;
}

.pagination-btn.active {
  background: var(--apfs-red) !important;
  color: #FFFFFF !important;
  border-color: var(--apfs-red) !important;
}

.pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #F1F5F9;
}

.pagination-info {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748B;
}

/* ==========================================================================
   APFS FULL CART PAGE (100% Authentic Match to apfs.com Screenshots 1, 2, 3)
   ========================================================================== */
.full-cart-page-wrapper {
  background-color: #F8FAFC;
  min-height: 80vh;
  padding: 1.5rem 1.25rem 3.5rem 1.25rem;
  max-width: 1240px;
  margin: 0 auto;
}

.full-cart-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748B;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.full-cart-breadcrumb a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.full-cart-breadcrumb a:hover {
  color: var(--apfs-red);
}

.full-cart-breadcrumb .bc-sep {
  color: #94A3B8;
}

.full-cart-breadcrumb .bc-current {
  color: #0F172A;
  font-weight: 700;
}

.full-cart-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.full-cart-main-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin: 0;
}

.full-cart-item-count-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748B;
}

.full-cart-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .full-cart-grid-layout {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
}

.full-cart-items-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.apfs-full-cart-item-card {
  background: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 0.85rem;
  padding: 1.25rem;
  display: flex;
  gap: 1.15rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease;
}

.apfs-full-cart-item-card:hover {
  border-color: #CBD5E1;
}

.full-cart-item-thumb-box {
  width: 5.25rem;
  height: 5.25rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  flex-shrink: 0;
}

.full-cart-item-thumb-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.full-cart-item-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.full-cart-item-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.full-cart-item-title-text {
  font-size: 1rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.35;
}

.full-cart-trash-btn {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.full-cart-trash-btn:hover {
  color: var(--apfs-red);
}

.full-cart-item-sku-text {
  font-size: 0.775rem;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 0.85rem;
}

.full-cart-item-bottom-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.full-cart-qty-control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 0.6rem;
  padding: 0.2rem 0.45rem;
}

.btn-full-qty-step {
  background: none;
  border: none;
  color: #64748B;
  font-size: 1rem;
  font-weight: 800;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0.35rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-full-qty-step:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.full-qty-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  min-width: 1.25rem;
  text-align: center;
}

.full-cart-price-group {
  text-align: right;
}

.full-cart-line-total-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0F172A;
}

.full-cart-unit-each-price {
  font-size: 0.775rem;
  font-weight: 600;
  color: #94A3B8;
}

.full-cart-stock-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: #16A34A;
  margin-top: 0.5rem;
}

.full-cart-stock-tag .dot {
  font-size: 0.6rem;
}

.full-cart-continue-shopping-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--apfs-red);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: opacity 0.2s ease;
}

.full-cart-continue-shopping-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.apfs-full-order-summary-card {
  background: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 0.85rem;
  padding: 1.35rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.full-summary-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0 0 1.15rem 0;
}

.full-summary-promo-block {
  margin-bottom: 1.25rem;
}

.promo-block-label {
  font-size: 0.825rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.4rem;
  display: block;
}

.promo-input-row {
  display: flex;
  gap: 0.5rem;
}

.promo-input-field-wrapper {
  position: relative;
  flex: 1;
}

.promo-field-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  pointer-events: none;
}

.promo-text-input {
  width: 100%;
  height: 2.6rem;
  padding-left: 2.25rem;
  padding-right: 0.75rem;
  border: 1.5px solid #E2E8F0;
  border-radius: 0.6rem;
  font-size: 0.875rem;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s ease;
}

.promo-text-input:focus {
  border-color: var(--apfs-red);
}

.btn-promo-apply {
  height: 2.6rem;
  padding: 0 1.15rem;
  background: #64748B;
  color: #FFFFFF;
  border: none;
  border-radius: 0.6rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-promo-apply:hover {
  background: #475569;
}

.full-summary-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #475569;
  font-weight: 600;
  padding: 0.5rem 0;
}

.full-summary-calc-row.subtotal-line {
  border-top: 1px solid #F1F5F9;
  margin-top: 0.5rem;
}

.full-summary-calc-row.total-line {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.full-total-label {
  font-size: 1.1rem;
  font-weight: 900;
  color: #0F172A;
}

.full-total-amount-red {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--apfs-red);
}

.shipping-calc-subtext {
  font-size: 0.775rem;
  font-weight: 500;
  color: #94A3B8;
  margin-bottom: 1.25rem;
}

.btn-full-proceed-checkout {
  width: 100%;
  height: 3.25rem;
  background-color: var(--apfs-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(176, 43, 45, 0.3);
  transition: background-color 0.2s ease;
}

.btn-full-proceed-checkout:hover {
  background-color: var(--apfs-red-hover);
}

.full-cart-extra-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid #F1F5F9;
  padding-top: 1.25rem;
}

.extra-feature-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.extra-feature-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
}

.extra-feature-header svg {
  color: var(--apfs-red);
}

.save-cart-input-flex {
  display: flex;
  gap: 0.5rem;
}

.save-cart-email-field {
  flex: 1;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1.5px solid #E2E8F0;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  color: #0F172A;
  outline: none;
}

.btn-email-it {
  height: 2.5rem;
  padding: 0 1rem;
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-red);
  color: var(--apfs-red);
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-email-it:hover {
  background: var(--apfs-red);
  color: #FFFFFF;
}

.btn-create-share-link {
  width: 100%;
  height: 2.5rem;
  background: #FFFFFF;
  border: 1.5px solid var(--apfs-red);
  color: var(--apfs-red);
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-create-share-link:hover {
  background: var(--apfs-red);
  color: #FFFFFF;
}

.share-link-subtext {
  font-size: 0.75rem;
  color: #94A3B8;
  line-height: 1.35;
  margin: 0;
}

.ssl-security-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: #64748B;
  padding-top: 0.5rem;
}

.ssl-security-banner svg {
  color: var(--apfs-red);
}

.apfs-empty-full-cart {
  background: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 1rem;
  padding: 4rem 2rem;
  text-align: center;
  max-width: 500px;
  margin: 2rem auto;
}

.apfs-empty-full-cart .empty-cart-circle-icon {
  width: 5rem;
  height: 5rem;
  background: #FFF5F5;
  color: var(--apfs-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.apfs-empty-full-cart h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.apfs-empty-full-cart p {
  font-size: 0.95rem;
  color: #64748B;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   APFS CATEGORY PAGE (100% Authentic Match to apfs.com Category Screenshot)
   ========================================================================== */
.brand-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 2rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.brand-pill:hover {
  border-color: var(--apfs-red);
  color: var(--apfs-red);
}

.brand-pill.active {
  background: #FFFFFF;
  border-color: #0F172A;
  color: #0F172A;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.brand-count-badge {
  background: #F1F5F9;
  color: #64748B;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.35rem;
}

.brand-pill.active .brand-count-badge {
  background: #0F172A;
  color: #FFFFFF;
}

.apfs-section-subhead-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.apfs-section-subhead-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #475569;
  text-transform: uppercase;
}

.apfs-section-subhead-count {
  font-size: 0.825rem;
  font-weight: 600;
  color: #94A3B8;
}

.cat-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 1.25rem 0;
  flex-wrap: wrap;
}

.btn-apfs-filters {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 0.75rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0F172A;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.btn-apfs-filters:hover {
  border-color: #CBD5E1;
}

.cat-showing-count-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748B;
}

.cat-showing-count-text strong {
  color: #0F172A;
  font-weight: 800;
}

.cat-toolbar-right-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.view-mode-toggles {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 0.6rem;
  padding: 0.15rem;
}

.btn-view-mode {
  background: none;
  border: none;
  padding: 0.35rem 0.55rem;
  border-radius: 0.4rem;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-view-mode.active {
  background: var(--apfs-red);
  color: #FFFFFF;
}

.select-apfs-featured {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 0.75rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0F172A;
  outline: none;
  cursor: pointer;
}






/* Gallery Lightbox Modal */
.pdp-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.pdp-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.pdp-modal-content {
  background: #FFFFFF;
  border-radius: 1.25rem;
  width: 92%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.pdp-modal-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pdp-modal-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1E293B;
}

.pdp-modal-close {
  background: #F1F5F9;
  border: none;
  font-size: 1.6rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all 0.2s ease;
}

.pdp-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.pdp-modal-body {
  position: relative;
  flex: 1;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  padding: 1.5rem;
}

.pdp-modal-main-img-box {
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-modal-main-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pdp-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #CBD5E1;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #1E293B;
  z-index: 10;
  transition: all 0.2s ease;
}

.pdp-modal-nav:hover {
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
}

.pdp-modal-prev { left: 1rem; }
.pdp-modal-next { right: 1rem; }

.pdp-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
}

.pdp-modal-counter {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 0.75rem;
}

.pdp-modal-thumbs-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  justify-content: center;
}

.pdp-modal-thumb-item {
  width: 60px;
  height: 60px;
  border-radius: 0.5rem;
  border: 2px solid #E2E8F0;
  padding: 3px;
  cursor: pointer;
  flex-shrink: 0;
  background: #FFFFFF;
  transition: all 0.15s ease;
}

.pdp-modal-thumb-item.active {
  border-color: #0F172A;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.2);
}

.pdp-modal-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-thumb-more {
  position: relative;
  overflow: hidden;
}

.pdp-thumb-blur {
  filter: brightness(0.45) blur(0.5px);
}

.pdp-more-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  background: rgba(15, 23, 42, 0.45);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.pdp-thumb-more:hover .pdp-more-overlay {
  background: rgba(15, 23, 42, 0.65);
  transform: scale(1.05);
}


/* ── EXACT HOME DEPOT LIGHTBOX MODAL ────── */
.pdp-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pdp-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.pdp-modal-content-hd {
  background: #FFFFFF;
  border-radius: 1rem;
  width: 90%;
  max-width: 1080px;
  height: 85vh;
  max-height: 720px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* HEADER */
.pdp-modal-header-hd {
  padding: 1.25rem 1.75rem 0.75rem 1.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.pdp-modal-title-hd {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin: 0;
}

.pdp-modal-brand-hd {
  font-size: 0.85rem;
  color: #6B7280;
  display: block;
  margin-top: 3px;
  font-weight: 500;
}

.pdp-modal-close-hd {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #374151;
  cursor: pointer;
  padding: 0 0.5rem;
  border-radius: 6px;
  transition: color 0.15s ease;
}

.pdp-modal-close-hd:hover {
  color: #000000;
}

/* TABS BAR */
.pdp-modal-tabs-bar-hd {
  padding: 0.5rem 1.75rem;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  gap: 0.75rem;
}

.pdp-modal-tab-btn-hd {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  border: 1.5px solid #111827;
  background: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
}

/* BODY SPLIT */
.pdp-modal-body-hd {
  display: flex;
  flex: 1;
  overflow: hidden;
  padding: 1.5rem 1.75rem;
  gap: 2rem;
  background: #FFFFFF;
}

/* LEFT PREVIEW AREA */
.pdp-modal-left-preview {
  flex: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #FFFFFF;
}

.pdp-modal-main-img-box-hd {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-modal-main-img-box-hd img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.pdp-modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111827;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, background 0.15s ease;
  z-index: 10;
}

.pdp-modal-arrow:hover {
  background: #000000;
  transform: translateY(-50%) scale(1.08);
}

.pdp-modal-prev-arrow { left: 5px; }
.pdp-modal-next-arrow { right: 5px; }

/* RIGHT GRID AREA (4 COLUMNS) */
.pdp-modal-right-grid {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.pdp-modal-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.pdp-modal-grid-item {
  aspect-ratio: 1;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.pdp-modal-grid-item:hover {
  border-color: #9CA3AF;
}

.pdp-modal-grid-item.active {
  border: 2px solid #111827;
  box-shadow: 0 0 0 1px #111827;
}

.pdp-modal-grid-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


/* ── THUMBNAIL NAVIGATION ARROWS ────── */
.pdp-thumbs-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  position: relative;
}

.pdp-thumbs-viewport {
  max-width: 564px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.pdp-thumbnails-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
  width: max-content;
}

.pdp-thumbs-arrow {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #374151;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pdp-thumbs-arrow:hover {
  background: #F9FAFB;
  border-color: #111827;
  color: #111827;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.pdp-thumb-box {
  width: 84px;
  height: 84px;
  min-width: 84px;
  border: 1.5px solid var(--apfs-border, #E2E8F0);
  border-radius: 0.75rem;
  padding: 0.4rem;
  cursor: pointer;
  background: white;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.pdp-thumb-box:hover {
  border-color: #94A3B8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pdp-thumb-box.active {
  border-color: #0F172A;
  box-shadow: 0 0 0 1px #0F172A;
}

.pdp-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
