.apx-products-page{
  background: linear-gradient(180deg,#08101C 0%,#0A1628 16%,#0B1524 100%);
  min-height: 100vh;
  color: #fff;
  padding-bottom: 90px;
}

.apx-products-page *{
  box-sizing: border-box;
}

.apx-container{
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.apx-products-hero{
  padding: 48px 0 24px;
}

.apx-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(232,112,42,.12);
  border:1px solid rgba(232,112,42,.28);
  color:#ffb27f;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:18px;
}

.apx-hero-copy h1{
  margin:0 0 14px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: .95;
  color:#fff;
}

.apx-hero-copy h1 span{
  color:#E8702A;
}

.apx-hero-copy p{
  max-width:720px;
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:16px;
  line-height:1.8;
}

.apx-products-main{
  padding: 12px 0 40px;
}

.apx-filter-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:32px;
}

.apx-filter-tab{
  appearance:none;
  border:none;
  outline:none;
  padding:12px 20px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.78);
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  transition:.22s ease;
}

.apx-filter-tab:hover{
  border-color: rgba(232,112,42,.45);
  color:#fff;
}

.apx-filter-tab.active{
  background:linear-gradient(135deg,#E8702A 0%,#FF8A4C 100%);
  color:#fff;
  border-color:transparent;
}

.apx-products-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
  align-items:start;
}

.apx-empty-inline-card{
  grid-column:1 / -1;
  width:100%;
  max-width:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:26px 28px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.06) 0%,rgba(255,255,255,.03) 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 12px 35px rgba(0,0,0,.16);
}

.apx-empty-inline-top{
  flex:1;
  max-width:none;
}

.apx-empty-inline-badge{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(232,112,42,.12);
  border:1px solid rgba(232,112,42,.22);
  color:#ffb27f;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:12px;
}

.apx-empty-inline-top h3{
  margin:0 0 10px;
  color:#fff;
  font-size:26px;
  line-height:1.15;
  font-weight:900;
}

.apx-empty-inline-top p{
  margin:0;
  color:rgba(255,255,255,.68);
  font-size:14px;
  line-height:1.75;
  max-width:none;
}

.apx-empty-inline-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  flex-shrink:0;
  justify-content:flex-end;
  align-items:center;
}

.apx-empty-back,
.apx-empty-quote{
  appearance:none;
  border:none;
  outline:none;
  cursor:pointer;
  padding:13px 18px;
  border-radius:14px;
  font-size:14px;
  font-weight:800;
  transition:.2s ease;
}

.apx-empty-back{
  color:#fff;
  background:linear-gradient(135deg,#E8702A 0%,#FF8A4C 100%);
  box-shadow:0 10px 24px rgba(232,112,42,.20);
}

.apx-empty-quote{
  color:#fff;
  background:linear-gradient(135deg,#162841 0%,#233a5f 100%);
}

.apx-empty-back:hover,
.apx-empty-quote:hover{
  transform:translateY(-1px);
}

.apx-product-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.06) 0%,rgba(255,255,255,.03) 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 12px 35px rgba(0,0,0,.16);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor:pointer;
}

.apx-product-card:hover{
  transform:translateY(-6px);
  border-color:rgba(232,112,42,.34);
  box-shadow:0 18px 42px rgba(0,0,0,.24);
}

.apx-card-image{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#101a2b;
}

.apx-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s ease;
}

.apx-product-card:hover .apx-card-image img{
  transform:scale(1.05);
}

.apx-card-badge{
  position:absolute;
  top:14px;
  left:14px;
  z-index:2;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(232,112,42,.96);
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
}

.apx-card-moq{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:2;
  padding:10px 14px;
  border-radius:14px;
  background:rgba(8,16,28,.80);
  color:#fff;
  font-size:13px;
  font-weight:700;
  border:1px solid rgba(255,255,255,.09);
}

.apx-card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:22px 22px 20px;
}

.apx-card-cat{
  margin-bottom:8px;
  color:#FF9D67;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.apx-card-name{
  margin:0 0 10px;
  color:#fff;
  font-size:24px;
  line-height:1.18;
  font-weight:800;
}

.apx-card-desc{
  margin:0 0 18px;
  color:rgba(255,255,255,.68);
  font-size:14px;
  line-height:1.7;
  min-height:48px;
}

.apx-card-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.apx-card-tag{
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  color:rgba(255,255,255,.82);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.07);
}

.apx-card-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.07);
}

.apx-details-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  text-decoration:none;
  color:#fff;
  font-size:14px;
  font-weight:800;
  position:relative;
  z-index:2;
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
}

.apx-details-link:hover{
  color:#FF9D67;
}

.apx-add-quote{
  appearance:none;
  border:none;
  outline:none;
  cursor:pointer;
  padding:12px 16px;
  border-radius:14px;
  color:#fff;
  font-size:13px;
  font-weight:800;
  background:linear-gradient(135deg,#E8702A 0%,#FF8A4C 100%);
  box-shadow:0 10px 24px rgba(232,112,42,.22);
  transition:.22s ease;
  position:relative;
  z-index:2;
}

.apx-add-quote:hover{
  transform:translateY(-1px);
}

.apx-cart-trigger{
  position:fixed;
  right:28px;
  bottom:96px;
  z-index:1002;
  display:flex;
  align-items:center;
  gap:12px;
  cursor:pointer;
  padding:15px 20px;
  border:none;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,#0A1628 0%,#132543 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 16px 40px rgba(0,0,0,.28);
}

.apx-cart-trigger strong{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:24px;
  border-radius:50%;
  background:#fff;
  color:#0A1628;
  font-size:12px;
  font-weight:900;
  padding:0 6px;
}

.apx-drawer-overlay{
  position:fixed;
  inset:0;
  z-index:1000;
  background:rgba(0,0,0,.42);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}

.apx-drawer-overlay.open{
  opacity:1;
  pointer-events:auto;
}

.apx-cart-drawer{
  position:fixed;
  top:0;
  right:-440px;
  z-index:1001;
  width:420px;
  max-width:calc(100vw - 24px);
  height:100vh;
  display:flex;
  flex-direction:column;
  background:linear-gradient(180deg,#0D1728 0%,#09111D 100%);
  border-left:1px solid rgba(255,255,255,.08);
  box-shadow:-12px 0 50px rgba(0,0,0,.36);
  transition:right .3s ease;
}

.apx-cart-drawer.open{
  right:0;
}

.apx-drawer-head{
  padding:24px 22px;
  border-bottom:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.apx-drawer-head h3{
  margin:0;
  color:#fff;
  font-size:22px;
  font-weight:800;
}

.apx-drawer-head button{
  appearance:none;
  border:none;
  outline:none;
  background:rgba(255,255,255,.06);
  color:#fff;
  width:38px;
  height:38px;
  border-radius:50%;
  cursor:pointer;
  font-size:24px;
}

.apx-drawer-body{
  flex:1;
  overflow-y:auto;
  padding:18px 20px 20px;
}

.apx-drawer-foot{
  padding:20px;
  border-top:1px solid rgba(255,255,255,.08);
}

.apx-cart-empty{
  text-align:center;
  color:rgba(255,255,255,.5);
  padding:54px 10px;
  font-size:14px;
}

.apx-cart-item{
  padding:16px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.07);
  margin-bottom:12px;
}

.apx-cart-item-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom:8px;
}

.apx-cart-item-name{
  color:#fff;
  font-size:15px;
  line-height:1.45;
  font-weight:800;
}

.apx-cart-item-remove{
  appearance:none;
  border:none;
  outline:none;
  cursor:pointer;
  background:transparent;
  color:#FF9D67;
  font-size:12px;
  font-weight:800;
}

.apx-cart-item-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.apx-cart-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
  color:rgba(255,255,255,.7);
  font-size:11px;
  font-weight:700;
}

.apx-modal-overlay{
  position:fixed;
  inset:0;
  z-index:1100;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(3,10,24,.78);
  backdrop-filter:blur(8px);
  opacity:0;
  pointer-events:none;
  transition:opacity .28s ease;
}

.apx-modal-overlay.open{
  opacity:1;
  pointer-events:auto;
}

.apx-modal{
  position:relative;
  width:min(960px, calc(100vw - 40px));
  max-height:84vh;
  overflow:auto;
  border-radius:22px;
  background:linear-gradient(180deg,#0B1424 0%,#08101C 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 28px 80px rgba(0,0,0,.46);
}

.apx-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  z-index:20;
  width:32px;
  height:32px;
  border:none !important;
  border-radius:999px;
  background:rgba(255,255,255,.07) !important;
  color:#ffffff !important;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  box-shadow:none !important;
  outline:none !important;
  -webkit-appearance:none;
  appearance:none;
}

.apx-modal-close:hover,
.apx-modal-close:focus,
.apx-modal-close:active{
  background:rgba(255,255,255,.12) !important;
  color:#ffffff !important;
  box-shadow:none !important;
  outline:none !important;
  transform:none !important;
}

.apx-modal-close::before,
.apx-modal-close::after{
  display:none !important;
  content:none !important;
}

.apx-modal-shell{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
}

.apx-modal-left{
  padding:30px 24px;
  border-right:1px solid rgba(255,255,255,.07);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.apx-modal-right{
  padding:30px 24px 24px;
}

.apx-modal-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:16px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(232,112,42,.12);
  border:1px solid rgba(232,112,42,.3);
  color:#ffb27f;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
}

.apx-modal-left h2,
.apx-modal-success h2{
  margin:0 0 10px;
  color:#fff;
  font-size:28px;
  line-height:1.12;
  font-weight:900;
}

.apx-modal-left p,
.apx-modal-success p{
  margin:0 0 16px;
  color:rgba(255,255,255,.74);
  font-size:14px;
  line-height:1.7;
}

.apx-points{
  display:grid;
  gap:10px;
  margin-bottom:20px;
}

.apx-point{
  padding:11px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  color:#fff;
  font-size:13px;
  font-weight:700;
}

.apx-selected-box{
  margin-top:0;
  padding-top:0;
}

.apx-selected-title{
  margin:0 0 10px;
  color:#fff;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.apx-chip-wrap,
.apx-success-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.apx-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:9px 12px;
  border-radius:999px;
  color:#fff;
  font-size:12px;
  font-weight:700;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}

.apx-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  align-items:start;
}

.apx-field{
  display:flex;
  flex-direction:column;
}

.apx-field.full{
  grid-column:1 / -1;
  display:block;
  width:100%;
}

.apx-field label{
  margin-bottom:8px;
  color:#fff;
  font-size:13px;
  font-weight:700;
}

.apx-field input,
.apx-field select{
  width:100%;
  box-sizing:border-box;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:#fff;
  font-size:14px;
  outline:none;
  min-height:48px;
  height:48px;
}

.apx-field input::placeholder,
.apx-field textarea::placeholder{
  color:rgba(255,255,255,.42);
}

.apx-field input:focus,
.apx-field select:focus,
.apx-field textarea:focus{
  border-color:#E8702A;
  box-shadow:0 0 0 3px rgba(232,112,42,.12);
}

.apx-field input.is-error,
.apx-field select.is-error,
.apx-field textarea.is-error{
  border-color:#ff6b6b;
  box-shadow:0 0 0 3px rgba(255,107,107,.12);
}

.apx-field textarea{
  width:100%;
  box-sizing:border-box;
  min-height:140px !important;
  height:140px !important;
  padding:16px 18px !important;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:#fff;
  font-size:14px;
  line-height:1.65;
  outline:none;
  resize:vertical;
  display:block;
  overflow:auto;
  white-space:pre-wrap;
  word-break:break-word;
}

.apx-field textarea::placeholder{
  color:rgba(255,255,255,.42);
}

#fNotes{
  min-height:140px !important;
  height:140px !important;
}

.apx-primary-btn,
.apx-secondary-btn{
  appearance:none;
  border:none;
  outline:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
  padding:14px 18px;
  border-radius:14px;
  font-size:15px;
  font-weight:900;
}

.apx-primary-btn{
  width:100%;
  color:#fff;
  background:linear-gradient(135deg,#E8702A 0%,#FF8A4C 100%);
  box-shadow:0 14px 32px rgba(232,112,42,.28);
}

.apx-secondary-btn{
  color:#fff;
  background:linear-gradient(135deg,#162841 0%,#233a5f 100%);
}

.apx-form-note{
  margin:10px 0 0;
  text-align:center;
  color:rgba(255,255,255,.55);
  font-size:11px;
  line-height:1.5;
}

.apx-modal-success{
  display:none;
  text-align:center;
  padding:64px 24px;
}

.apx-modal-success.show{
  display:block;
}

.apx-success-icon{
  font-size:64px;
  line-height:1;
  color:#22c55e;
  margin-bottom:18px;
}

@media (max-width:1200px){
  .apx-products-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:920px){
  .apx-products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .apx-modal{
    width:min(720px, calc(100vw - 24px));
    max-height:88vh;
  }

  .apx-modal-shell{
    grid-template-columns:1fr;
  }

  .apx-modal-left{
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.07);
    padding:24px 20px 18px;
  }

  .apx-modal-right{
    padding:22px 20px 20px;
  }

  .apx-empty-inline-card{
    flex-direction:column;
    align-items:flex-start;
    width:100%;
    max-width:none;
  }

  .apx-empty-inline-top{
    width:100%;
  }

  .apx-empty-inline-actions{
    width:100%;
    justify-content:flex-start;
  }

  .apx-empty-inline-top h3{
    font-size:22px;
  }
}

@media (max-width:680px){
  .apx-products-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .apx-form-grid{
    grid-template-columns:1fr;
  }

  .apx-field.full{
    grid-column:auto;
  }

  .apx-cart-trigger{
    right:16px;
    bottom:84px;
    padding:14px 16px;
  }

  .apx-cart-drawer{
    width:100%;
    max-width:100%;
    right:-100%;
  }

  .apx-modal{
    width:calc(100vw - 16px);
    max-height:90vh;
    border-radius:18px;
  }

  .apx-modal-left,
  .apx-modal-right{
    padding:18px 16px;
  }

  .apx-modal-left h2,
  .apx-modal-success h2{
    font-size:24px;
  }

  .apx-field textarea,
  #fNotes{
    min-height:120px !important;
    height:120px !important;
  }

  .apx-empty-inline-card{
    padding:18px;
  }
}