/*============================================================
   PRODUCTS.HTML - PAGE STYLES
   ------------------------------------------------------------
   Change styles for ONLY this page here.
   Shared header/footer/navigation styles live in common.css.
   ============================================================*/

.shop-hot-strip,.catalog-hot-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.catalog-hot-section {
  margin: 26px auto 38px !important;
  padding: 26px !important;
  border: 1px solid #dbe8f6 !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg,#fff,#f5f9ff 62%,#fff7f4) !important;
  box-shadow: 0 14px 38px rgba(8,44,82,.08) !important;
}

.catalog-hot-section .catalog-hot-head h2 {
  font-size: 30px;
}

.catalog-hot-section .catalog-hot-head span {
  display: inline-flex;
  background: #fff0ec;
  color: #d71920;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
}

@media (max-width:720px) {
  .shop-hot-strip,.catalog-hot-section {
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .shop-hot-head h2,.catalog-hot-section .catalog-hot-head h2 {
    font-size: 22px !important;
  }
}

.industrial-category-btn {
  border: 1px solid #d8e5f1;
  background: #fff;
  color: #526981;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: .2s;
}

.industrial-category-btn:hover {
  border-color: #a6caed;
  color: #096fd6;
}

.industrial-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(320px,46%) 1fr;
  min-height: 330px;
  background: linear-gradient(115deg,#071d36 0%,#0a315a 62%,#0d4773 100%);
  color: #fff;
}

.industrial-slide-media {
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,#f6f9fc,#edf3f8);
  overflow: hidden;
}

.industrial-slide-media:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset -28px 0 45px rgba(4,27,50,.08);
  pointer-events: none;
}

.industrial-slide-media img {
  width: 100%;
  height: 100%;
  max-height: 330px;
  object-fit: contain;
  padding: 22px;
  transition: transform .6s cubic-bezier(.22,.72,.18,1);
}

.industrial-slide:hover .industrial-slide-media img {
  transform: scale(1.025);
}

.industrial-badge {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 18px;
  background: #e3222c;
  color: #fff;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .08em;
  box-shadow: 0 6px 14px rgba(170,15,22,.22);
}

.industrial-slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 42px;
}

.industrial-category-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #6ec5ff;
}

.industrial-slide-content h3 {
  font-size: clamp(25px,3vw,38px);
  letter-spacing: -.025em;
  line-height: 1.12;
  margin: 9px 0 12px;
  color: #fff;
}

.industrial-slide-content>p {
  margin: 0 0 22px;
  color: #c7d6e6;
  line-height: 1.6;
  max-width: 620px;
}

.industrial-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.13);
}

.industrial-meta-row>div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.industrial-meta-row small {
  font-size: 9px;
  letter-spacing: .13em;
  font-weight: 900;
  color: #8eb1cf;
}

.industrial-meta-row strong {
  font-size: 26px;
  color: #fff;
}

.industrial-stock {
  font-size: 11px;
  font-weight: 850;
  padding: 7px 10px;
  border-radius: 999px;
}

.industrial-stock.in {
  background: rgba(41,185,110,.15);
  color: #86ebb5;
  border: 1px solid rgba(81,214,143,.22);
}

.industrial-stock.out {
  background: rgba(239,78,78,.12);
  color: #ff9a9a;
  border: 1px solid rgba(255,112,112,.2);
}

.industrial-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.industrial-actions a,.industrial-actions button {
  min-width: 140px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 850;
  font-size: 12px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: .2s;
}

.industrial-secondary {
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  color: #fff !important;
}

.industrial-secondary:hover {
  background: rgba(255,255,255,.08);
}

.industrial-primary {
  border: 1px solid #fff;
  background: #fff;
  color: #082544;
}

.industrial-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.industrial-primary:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.industrial-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: #c6d5e4;
  padding: 0;
  cursor: pointer;
  transition: width .25s ease,background .25s ease;
}

@media (max-width:840px) {
  .industrial-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .industrial-slide-media {
    height: 260px;
  }

  .industrial-slide-content {
    padding: 25px;
  }

  .industrial-meta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .industrial-actions {
    width: 100%;
  }

  .industrial-actions a,.industrial-actions button {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width:560px) {
  .industrial-slide-media {
    height: 220px;
  }

  .industrial-slide-content h3 {
    font-size: 24px;
  }

  .industrial-slide-content {
    padding: 22px 20px;
  }

  .industrial-actions {
    flex-direction: column;
  }
}

@media (max-width:560px) {
  .industrial-slide {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .products-hero .catalog-summary {
    display: none !important;
  }

  .products-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .products-hero-content {
    max-width: 100% !important;
  }
}

@media (max-width: 560px) {
  .products-hero {
    padding: 38px 0 42px !important;
  }

  .products-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }
}

/*============================================================
   PAGE-SPECIFIC STYLES MOVED FROM THE HTML
   ============================================================*/

:root {
  --prod-navy: #051a32;
  --prod-blue: #087df1;
  --prod-blue-dark: #0564cc;
  --prod-soft: #f5f8fc;
  --prod-border: #e2e8f0;
  --prod-text: #0b2038;
  --prod-muted: #64748b;
}

* {
  box-sizing: border-box;
}

/*=========================================
       HERO
    =========================================*/

.products-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
          circle at top right,
          rgba(8,125,241,.20),
          transparent 30%
        ),

        linear-gradient(
          125deg,
          #04172d,
          #08345e
        );
  color: #fff;
  padding: 78px 0 72px;
}

.products-hero-grid {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
  visibility: visible !important;
  opacity: 1 !important;
}

.products-hero-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.products-eyebrow {
  display: inline-block !important;
  margin-bottom: 16px;
  color: #b8ff00 !important;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  visibility: visible !important;
  opacity: 1 !important;
}

.products-hero h1 {
  display: block !important;
  margin: 0 0 18px;
  color: #fff !important;
  font-size: clamp(42px,5.5vw,70px);
  line-height: 1.03;
  letter-spacing: -.03em;
  visibility: visible !important;
  opacity: 1 !important;
}

.products-hero p {
  display: block !important;
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.78) !important;
  font-size: 17px;
  line-height: 1.8;
  visibility: visible !important;
  opacity: 1 !important;
}

.products-hero-actions {
  display: flex !important;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  visibility: visible !important;
  opacity: 1 !important;
}

.catalog-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 750;
}

/*=========================================
       HERO SUMMARY
    =========================================*/

.catalog-summary {
  display: grid !important;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
  visibility: visible !important;
  opacity: 1 !important;
}

.summary-card {
  display: block !important;
  min-height: 125px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(8px);
  visibility: visible !important;
  opacity: 1 !important;
}

.summary-card strong {
  display: block;
  margin-bottom: 7px;
  color: #61b3ff;
  font-size: 24px;
}

.summary-card span {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.5;
}

/*=========================================
       CATALOGUE
    =========================================*/

.products-main {
  padding: 72px 0 90px;
  background: var(--prod-soft);
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.catalog-head h2 {
  margin: 0 0 6px;
  color: var(--prod-text);
  font-size: clamp(30px,4vw,46px);
}

.catalog-head p {
  margin: 0;
  color: var(--prod-muted);
}

.catalog-count {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf5ff;
  color: #0874dc;
  font-size: 12px;
  font-weight: 800;
}

/*=========================================
       SEARCH
    =========================================*/

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--prod-border);
  border-radius: 16px;
  box-shadow: 0 12px 35px
        rgba(5,30,60,.05);
}

.catalog-search,
    .catalog-select {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid #dce5ee;
  border-radius: 10px;
  background: #fff;
  color: var(--prod-text);
  font-size: 14px;
  outline: none;
}

.catalog-search:focus,
    .catalog-select:focus {
  border-color: var(--prod-blue);
  box-shadow: 0 0 0 4px
        rgba(8,125,241,.08);
}

/*=========================================
       PRODUCT GRID
    =========================================*/

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.catalog-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--prod-border);
  border-radius: 18px;
  box-shadow: 0 15px 40px
        rgba(5,30,60,.055);
  transition: transform .2s ease,
        box-shadow .2s ease;
}

.catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px
        rgba(5,30,60,.10);
}

.catalog-clickable {
  cursor: pointer;
}

.catalog-image-wrap {
  position: relative;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(
          145deg,
          #f7fafc,
          #edf3f8
        );
}

.catalog-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-featured {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--prod-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.catalog-body {
  padding: 22px;
}

.catalog-category {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--prod-blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-body h3 {
  margin: 0 0 10px;
  color: var(--prod-text);
  font-size: 20px;
  line-height: 1.25;
}

.catalog-description {
  min-height: 68px;
  margin: 0 0 16px;
  color: var(--prod-muted);
  line-height: 1.65;
  font-size: 13px;
}

.catalog-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 17px;
}

.catalog-meta-box {
  padding: 10px;
  border: 1px solid #e8edf3;
  border-radius: 9px;
  background: #f8fafc;
}

.catalog-meta-box small {
  display: block;
  margin-bottom: 3px;
  color: #94a3b8;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.catalog-meta-box strong {
  color: #19334f;
  font-size: 11px;
}

/*=========================================
       PRODUCT BUTTONS
    =========================================*/

.catalog-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.catalog-detail-btn,
    .catalog-buy-btn {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.catalog-detail-btn {
  border: 1px solid #dce5ee;
  background: #fff;
  color: #17324e;
}

.catalog-detail-btn:hover {
  border-color: var(--prod-blue);
  color: var(--prod-blue);
}

.catalog-buy-btn {
  border: 0;
  background: linear-gradient(
          90deg,
          #087df1,
          #0564cc
        );
  color: #fff;
}

.catalog-buy-btn:hover {
  filter: brightness(.97);
}

.catalog-buy-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.catalog-message {
  grid-column: 1 / -1;
  padding: 50px 25px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  color: var(--prod-muted);
}

/*=========================================
       PRODUCT SUPPORT
    =========================================*/

.product-support {
  padding: 85px 0;
  background: #fff;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-top: 30px;
}

.support-card {
  padding: 22px;
  border: 1px solid var(--prod-border);
  border-radius: 14px;
}

.support-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--prod-text);
}

.support-card p {
  margin: 0;
  color: var(--prod-muted);
  font-size: 12px;
  line-height: 1.65;
}

.product-cta {
  margin-top: 45px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(
          130deg,
          #061f3e,
          #0871d7
        );
}

.product-cta h2 {
  margin: 0 0 7px;
  font-size: 29px;
}

.product-cta p {
  margin: 0;
  color: rgba(255,255,255,.76);
}

/*=========================================
       RESPONSIVE
    =========================================*/

@media (max-width:1000px) {
  .products-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .catalog-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .support-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:650px) {
  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .catalog-grid,
      .support-grid,
      .catalog-summary {
    grid-template-columns: 1fr !important;
  }

  .products-main,
      .product-support {
    padding: 58px 0;
  }

  .products-hero {
    padding: 58px 0;
  }

  .catalog-card-actions {
    grid-template-columns: 1fr;
  }
}

/* HOT PRODUCTS */

.catalog-hot-section {
  padding: 54px 0 32px;
  background: linear-gradient(180deg,#f7fbff 0%,#fff 100%);
  border-bottom: 1px solid var(--prod-border);
}

.catalog-hot-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.catalog-hot-head span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  color: #087df1;
}

.catalog-hot-head h2 {
  margin: 6px 0 5px;
  color: #0b2038;
  font-size: clamp(28px,3vw,40px);
}

.catalog-hot-head p {
  margin: 0;
  color: #64748b;
}

.catalog-hot-head a {
  color: #087df1;
  text-decoration: none;
  font-weight: 850;
}

.catalog-hot-shell {
  position: relative;
}

.catalog-hot-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 18px;
}

.catalog-hot-track::-webkit-scrollbar {
  display: none;
}

.catalog-hot-card {
  flex: 0 0 min(270px,80vw);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #dfe8f2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(7,35,68,.08);
  cursor: pointer;
  transition: transform .24s ease,box-shadow .24s ease;
}

.catalog-hot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(7,35,68,.14);
}

.catalog-hot-media {
  height: 190px;
  background: #f7f9fc;
  position: relative;
  display: grid;
  place-items: center;
}

.catalog-hot-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.catalog-hot-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #d71920;
  color: #fff;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
}

.catalog-hot-body {
  padding: 15px;
}

.catalog-hot-body small {
  color: #087df1;
  font-weight: 850;
  text-transform: uppercase;
}

.catalog-hot-body h3 {
  margin: 7px 0 10px;
  color: #0b2038;
  font-size: 17px;
  min-height: 42px;
}

.catalog-hot-body strong {
  font-size: 20px;
  color: #071b33;
}

.catalog-hot-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 13px;
}

.catalog-hot-cta a,.catalog-hot-cta button {
  border: 1px solid #087df1;
  border-radius: 9px;
  padding: 9px 8px;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.catalog-hot-cta a {
  color: #087df1;
}

.catalog-hot-cta button {
  background: #087df1;
  color: #fff;
  cursor: pointer;
}

.catalog-hot-arrow {
  position: absolute;
  z-index: 2;
  top: 42%;
  width: 40px;
  height: 40px;
  border: 1px solid #dbe6f1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 7px 20px rgba(7,35,68,.12);
  font-size: 26px;
  cursor: pointer;
}

.catalog-hot-prev {
  left: -18px;
}

.catalog-hot-next {
  right: -18px;
}

@media (max-width:720px) {
  .catalog-hot-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-hot-arrow {
    display: none;
  }

  .catalog-hot-card {
    flex-basis: 82vw;
  }
}

/*============================================================
   SAFE CUSTOM OVERRIDES
   Add future page-only edits below this line.
   ============================================================*/

/*============================================================
   TRENDING PRODUCTS - STABILITY FIX
   ============================================================*/

#catalogHotSection[hidden] {
  display: none !important;
}

#catalogHotTrack:empty {
  min-height: 0;
}
