/* ================================================================
   PCSUIT — DEPLOYMENT BAY (shoes-category-lists redesign)
   Concept: tactical HUD class-selection cards on dark navy panel.
   Effetti: grid texture, scan-line continuo, stagger reveal,
   corner brackets espandibili, gradient text per categoria,
   CTA "DEPLOY →" che appare in hover.
   ================================================================ */

@keyframes pcsBayReveal {
  0%   { opacity: 0; transform: translateY(36px) scale(0.985); filter: blur(6px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes pcsBayScan {
  0%   { transform: translateX(-110%); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(110%); opacity: 0; }
}

@keyframes pcsBayPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

@keyframes pcsBayHeaderType {
  from { width: 0; }
  to   { width: 100%; }
}

html body #shoes-category-lists {
  position: relative !important;
  margin-top: -42px !important;
  z-index: 8 !important;
  padding: 56px 0 48px !important;
  background:
    radial-gradient(ellipse 70% 65% at 50% 0%, rgba(82, 224, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 55% at 100% 100%, rgba(255, 94, 157, 0.06), transparent 60%),
    linear-gradient(180deg, #02101D 0%, #051D33 55%, #03182B 100%) !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

/* Grid texture overlay (HUD readout) */
html body #shoes-category-lists::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background-image:
    linear-gradient(rgba(82, 175, 198, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 175, 198, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 100%, rgba(255, 224, 68, 0.04), transparent 60%) !important;
  background-size: 32px 32px, 32px 32px, 100% 100% !important;
  -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, black 45%, transparent 100%) !important;
          mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, black 45%, transparent 100%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

html body #shoes-category-lists .shoes-category-lists-main {
  position: relative !important;
  z-index: 2 !important;
}

/* Titoli pcsuite-sub + pcsuite-tit in versione "scura" per il bg navy.
   Riusa lo stesso stile/dimensioni dei titoli sul resto della pagina,
   solo invertendo i colori per garantire leggibilita sul fondo dark. */
html body #shoes-category-lists h4.pcsuite-sub,
html body #shoes-category-lists .pcsuite-sub {
  color: var(--pc-yellow) !important;
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 6px !important;
}

html body #shoes-category-lists h4.pcsuite-sub::before,
html body #shoes-category-lists .pcsuite-sub::before {
  background: rgba(255, 224, 68, 0.16) !important;
  color: var(--pc-yellow) !important;
  border: 1px solid rgba(255, 224, 68, 0.5) !important;
}

html body #shoes-category-lists h2.pcsuite-tit,
html body #shoes-category-lists .pcsuite-tit {
  color: #FFFFFF !important;
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 22px !important;
}

html body #shoes-category-lists .shoes-category-lists-main ul {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin: 26px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  counter-reset: pcsBay !important;
}

html body #shoes-category-lists .shoes-category-item {
  width: auto !important;
  margin: 0 !important;
  min-height: 0 !important;
  position: relative !important;
  list-style: none !important;
  animation: pcsBayReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) both !important;
  counter-increment: pcsBay !important;
  --pcs-bay-accent: #52E0FF;
  --pcs-bay-accent-soft: rgba(82, 224, 255, 0.20);
  --pcs-bay-tag: 'GAMING_RIG';
}

html body #shoes-category-lists .shoes-category-item:nth-child(1) {
  animation-delay: 0.18s !important;
  --pcs-bay-accent: #52E0FF;
  --pcs-bay-accent-soft: rgba(82, 224, 255, 0.22);
  --pcs-bay-tag: 'GAMING_RIG';
}
html body #shoes-category-lists .shoes-category-item:nth-child(2) {
  animation-delay: 0.32s !important;
  --pcs-bay-accent: #FFE044;
  --pcs-bay-accent-soft: rgba(255, 224, 68, 0.22);
  --pcs-bay-tag: 'OFFICE_NODE';
}
html body #shoes-category-lists .shoes-category-item:nth-child(3) {
  animation-delay: 0.46s !important;
  --pcs-bay-accent: #FF5E9D;
  --pcs-bay-accent-soft: rgba(255, 94, 157, 0.22);
  --pcs-bay-tag: 'CREATIVE_LAB';
}

/* === Card: tactical panel === */
html body #shoes-category-lists .shoes-cate-item-content {
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.20) 100%),
    linear-gradient(135deg, rgba(0, 60, 110, 0.42) 0%, rgba(2, 24, 41, 0.96) 100%) !important;
  border: 1px solid rgba(82, 175, 198, 0.22) !important;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)) !important;
  overflow: hidden !important;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s ease !important;
}

/* Top accent stripe (gradient verso accent della categoria) */
html body #shoes-category-lists .shoes-cate-item-content::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent 0%, var(--pcs-bay-accent) 25%, var(--pcs-bay-accent) 75%, transparent 100%) !important;
  opacity: 0.85 !important;
  z-index: 3 !important;
  pointer-events: none !important;
}

/* Scan-line sweep continuo */
html body #shoes-category-lists .shoes-cate-item-content::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(105deg,
    transparent 35%,
    rgba(82, 224, 255, 0.10) 50%,
    transparent 65%) !important;
  animation: pcsBayScan 7s ease-in-out infinite !important;
  animation-delay: var(--pcs-bay-scan-delay, 0s) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  mix-blend-mode: screen !important;
}

html body #shoes-category-lists .shoes-category-item:nth-child(1) .shoes-cate-item-content::after { --pcs-bay-scan-delay: 0s; }
html body #shoes-category-lists .shoes-category-item:nth-child(2) .shoes-cate-item-content::after { --pcs-bay-scan-delay: 2.4s; }
html body #shoes-category-lists .shoes-category-item:nth-child(3) .shoes-cate-item-content::after { --pcs-bay-scan-delay: 4.8s; }

/* Hover: lift + glow + accent border */
html body #shoes-category-lists .shoes-cate-item-content:hover {
  transform: translateY(-8px) !important;
  border-color: var(--pcs-bay-accent) !important;
  box-shadow:
    0 36px 72px rgba(0, 0, 0, 0.6),
    0 0 0 1px var(--pcs-bay-accent),
    0 0 36px var(--pcs-bay-accent-soft) !important;
}

html body #shoes-category-lists .shoes-cate-item-content:hover::before {
  opacity: 1 !important;
  height: 3px !important;
}

/* === Link: layout column compatto con header tag + main name === */
html body #shoes-category-lists .shoes-cate-item-content a {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  height: auto !important;
  min-height: 0 !important;
  gap: 8px !important;
  padding: 18px 24px 20px 26px !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 2 !important;
  color: inherit !important;
}

/* Top tag: numero categoria mono + tag classe */
html body #shoes-category-lists .shoes-cate-item-content a::before {
  content: '// CLASS_' counter(pcsBay, decimal-leading-zero) '  ·  ' var(--pcs-bay-tag) !important;
  font-family: 'JetBrains Mono', ui-monospace, monospace !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.20em !important;
  color: var(--pcs-bay-accent) !important;
  text-transform: uppercase !important;
  z-index: 3 !important;
  align-self: flex-start !important;
}

/* CTA "DEPLOY →" inline che appare on hover (a destra del titolo) */
html body #shoes-category-lists .shoes-cate-item-content a::after {
  content: 'DEPLOY  →' !important;
  position: absolute !important;
  top: 18px !important;
  right: 24px !important;
  font-family: 'JetBrains Mono', ui-monospace, monospace !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.24em !important;
  color: var(--pcs-bay-accent) !important;
  text-transform: uppercase !important;
  opacity: 0 !important;
  transform: translateX(-10px) !important;
  transition: opacity 0.32s ease, transform 0.32s ease !important;
  z-index: 3 !important;
  pointer-events: none !important;
}

html body #shoes-category-lists .shoes-cate-item-content:hover a::after {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* === Categoria: stack "Computer" + STRONG === */
html body #shoes-category-lists .shoes-cate-name {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  margin: 0 !important;
  font-family: 'Saira Condensed', sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  position: relative !important;
  z-index: 2 !important;
}

html body #shoes-category-lists .shoes-cate-name strong {
  display: inline-block !important;
  margin: 4px 0 0 !important;
  font-family: 'Saira Condensed', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  letter-spacing: -0.005em !important;
  line-height: 0.95 !important;
  color: var(--pcs-bay-accent) !important;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--pcs-bay-accent) 90%) !important;
  -webkit-background-clip: text !important;
          background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  position: relative !important;
  text-shadow: none !important;
  filter: drop-shadow(0 0 10px var(--pcs-bay-accent-soft)) !important;
}

/* Sottolineatura sotto STRONG (linea HUD che si estende in hover) */
html body #shoes-category-lists .shoes-cate-name strong::after {
  content: '' !important;
  display: block !important;
  width: 28px !important;
  height: 2px !important;
  margin-top: 6px !important;
  background: var(--pcs-bay-accent) !important;
  box-shadow: 0 0 12px var(--pcs-bay-accent-soft) !important;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html body #shoes-category-lists .shoes-cate-item-content:hover .shoes-cate-name strong::after {
  width: 72px !important;
}

html body .blockDorGroups {
  padding-top: 6px !important;
  padding-bottom: 54px !important;
}

html body #dor-tab-product-category {
  background: rgba(255, 255, 255, 0.72) !important;
  border-top: 1px solid var(--pc-line) !important;
  padding: 26px 0 0 !important;
}

html body h4.pcsuite-sub,
html body .pcsuite-sub {
  margin-left: 0 !important;
}

html body h2.pcsuite-tit,
html body .pcsuite-tit {
  font-size: clamp(34px, 4vw, 54px) !important;
  max-width: 760px !important;
  margin-bottom: 26px !important;
}

html body .product_list.grid,
html body .product_list.grid .slick-track {
  display: flex !important;
  align-items: stretch !important;
  gap: 22px !important;
}

html body .product_list.grid .slick-list {
  overflow: visible !important;
}

html body article.product-miniature {
  box-shadow: 0 10px 30px rgba(0, 37, 68, 0.07) !important;
}

html body article.product-miniature .right-block {
  padding: 18px 18px 14px !important;
}

html body article.product-miniature .product-title-item,
html body article.product-miniature h5.product-title-item {
  font-size: 14px !important;
  line-height: 1.32 !important;
  min-height: calc(14px * 1.32 * 2) !important;
}

html body article.product-miniature .product-more-options {
  padding: 12px 14px 14px !important;
}

html body .all-product-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  float: none !important;
  margin: 28px 0 0 auto !important;
  padding: 10px 0 !important;
  color: var(--pc-blue) !important;
  font-family: 'Saira Condensed', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  border-bottom: 2px solid var(--pc-yellow) !important;
}

/* Footer: stesso pattern di sfondo della Deployment Bay
   (#shoes-category-lists) per coerenza visiva.
   - multi-layer radial + linear gradient navy
   - grid texture HUD via ::before
   - bordo superiore giallo accent */
html body #footer .dor-footer-wrapper {
  position: relative !important;
  background:
    radial-gradient(ellipse 70% 65% at 50% 0%, rgba(82, 224, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 55% at 100% 100%, rgba(255, 94, 157, 0.06), transparent 60%),
    linear-gradient(180deg, #02101D 0%, #051D33 55%, #03182B 100%) !important;
  border-top: 4px solid var(--pc-yellow) !important;
  isolation: isolate !important;
  overflow: hidden !important;
}

html body #footer .dor-footer-wrapper::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background-image:
    linear-gradient(rgba(82, 175, 198, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 175, 198, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 100%, rgba(255, 224, 68, 0.04), transparent 60%) !important;
  background-size: 32px 32px, 32px 32px, 100% 100% !important;
  -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, black 45%, transparent 100%) !important;
          mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, black 45%, transparent 100%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

html body #footer .dor-footer-wrapper > * {
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 991px) {
  html body #topbar .top-menu-navigation {
    display: none !important;
  }

  html body #dor-homeslider,
  html body #dor-homeslider img {
    min-height: 420px !important;
  }

  html body #shoes-category-lists .shoes-category-lists-main ul {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  html body #shoes-category-lists {
    margin-top: -24px !important;
  }
}

@media (max-width: 575px) {
  html body #dor-homeslider {
    min-height: 0 !important;
    background: var(--pc-navy) !important;
  }

  html body #dor-homeslider img {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    object-fit: contain !important;
  }

  html body #dor-homeslider::after {
    font-size: 9px !important;
    letter-spacing: 0.08em !important;
    bottom: 14px !important;
    left: 18px !important;
    width: calc(100% - 36px) !important;
    padding: 8px 10px !important;
  }

  html body h2.pcsuite-tit,
  html body .pcsuite-tit {
    font-size: 34px !important;
  }

  html body #shoes-category-lists .shoes-cate-name strong {
    font-size: 21px !important;
  }

  html body #shoes-category-lists {
    margin-top: 0 !important;
    padding-top: 10px !important;
  }

  html body #shoes-category-lists .shoes-category-item,
  html body #shoes-category-lists .shoes-cate-item-content,
  html body #shoes-category-lists .shoes-cate-item-content a {
    min-height: 104px !important;
  }
}
