:root {
  --ascontec-blue: #12306f;
  --ascontec-blue-2: #0b2459;
  --ascontec-cyan: #18a8d8;
  --ascontec-ink: #111827;
  --ascontec-muted: #657085;
  --ascontec-line: #e6ebf2;
  --ascontec-soft: #f5f8fb;
  --ascontec-safety: #f6c744;
  --ascontec-green: #18a572;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ascontec-ink);
}

a {
  text-underline-offset: 0.18em;
}

.wp-site-blocks {
  overflow-x: hidden;
}

.ascontec-header {
  border-bottom: 1px solid var(--ascontec-line);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
  position: sticky;
  top: 0;
  z-index: 40;
}

.ascontec-logo img {
  display: block;
  height: auto;
  max-width: 172px;
}

.ascontec-top-search {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--ascontec-line);
  border-radius: 8px;
  display: flex;
  min-height: 44px;
  position: relative;
}

.ascontec-top-search::before {
  color: var(--ascontec-muted);
  content: "Buscar productos, SKU o categoria";
  font-size: 0.92rem;
  padding-left: 18px;
}

.ascontec-top-search::after {
  align-items: center;
  background: var(--ascontec-blue);
  border-radius: 6px;
  color: #ffffff;
  content: "Buscar";
  display: flex;
  font-size: 0.82rem;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: 6px;
  top: 5px;
  width: 82px;
}

.ascontec-header-actions {
  display: flex;
  gap: 10px;
}

.ascontec-action {
  align-items: center;
  background: #eef7fb;
  border-radius: 8px;
  color: var(--ascontec-blue);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  min-width: 42px;
  padding: 0 12px;
  text-decoration: none;
}

.ascontec-nav-strip {
  background: var(--ascontec-blue);
  color: #ffffff;
}

.ascontec-nav-strip .wp-block-navigation a {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.ascontec-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0;
  padding: 0.42rem 0.78rem;
}

.ascontec-hero {
  background: #071a42;
  color: #ffffff;
  min-height: 680px;
  position: relative;
}

.ascontec-hero::before {
  background:
    linear-gradient(110deg, rgba(7, 26, 66, 0.98) 0%, rgba(18, 48, 111, 0.94) 47%, rgba(24, 168, 216, 0.3) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
  content: "";
  inset: 0;
  position: absolute;
}

.ascontec-hero > * {
  position: relative;
  z-index: 1;
}

.ascontec-slider {
  display: grid;
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.ascontec-slide {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 48px;
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateX(18px);
  animation: ascontecSlide 18s infinite;
}

.ascontec-slide:nth-child(2) {
  animation-delay: 6s;
}

.ascontec-slide:nth-child(3) {
  animation-delay: 12s;
}

@keyframes ascontecSlide {
  0%,
  29% {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
  }

  33%,
  100% {
    opacity: 0;
    transform: translateX(-18px);
    z-index: 1;
  }
}

.ascontec-hero h1,
.ascontec-hero h2 {
  color: #ffffff;
  font-size: clamp(2.8rem, 5.3vw, 5.2rem);
  line-height: 0.96;
  margin: 18px 0;
  max-width: 780px;
}

.ascontec-hero p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 630px;
}

.ascontec-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ascontec-hero-actions a {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-weight: 900;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
}

.ascontec-btn-primary {
  background: var(--ascontec-cyan);
  color: #ffffff;
}

.ascontec-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.ascontec-hero-panel {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  color: var(--ascontec-ink);
  min-height: 430px;
  overflow: hidden;
  padding: 18px;
}

.ascontec-product-scene {
  background:
    radial-gradient(circle at 78% 16%, rgba(24, 168, 216, 0.18), transparent 26%),
    linear-gradient(145deg, #f2f7fb, #ffffff 62%);
  border: 1px solid var(--ascontec-line);
  border-radius: 8px;
  display: grid;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.ascontec-scene-floor {
  background: linear-gradient(90deg, rgba(18, 48, 111, 0.12), rgba(24, 168, 216, 0.04));
  bottom: 0;
  height: 110px;
  left: 0;
  position: absolute;
  right: 0;
}

.gear {
  position: absolute;
}

.gear.boot {
  background: #151b2b;
  border-radius: 28px 18px 12px 12px;
  bottom: 58px;
  height: 88px;
  left: 44px;
  transform: skew(-12deg);
  width: 210px;
}

.gear.boot::before {
  background: var(--ascontec-safety);
  border-radius: 8px;
  content: "";
  height: 24px;
  left: 22px;
  position: absolute;
  top: 18px;
  width: 76px;
}

.gear.boot::after {
  background: #0c1220;
  border-radius: 7px;
  bottom: -20px;
  content: "";
  height: 28px;
  left: 84px;
  position: absolute;
  width: 170px;
}

.gear.jacket {
  background: var(--ascontec-safety);
  border-radius: 22px 22px 12px 12px;
  height: 180px;
  right: 66px;
  top: 96px;
  width: 150px;
}

.gear.jacket::before,
.gear.jacket::after {
  background: rgba(18, 48, 111, 0.78);
  content: "";
  height: 150px;
  position: absolute;
  top: 18px;
  width: 18px;
}

.gear.jacket::before {
  left: 36px;
}

.gear.jacket::after {
  right: 36px;
}

.gear.helmet {
  background: var(--ascontec-blue);
  border-radius: 90px 90px 28px 28px;
  height: 86px;
  left: 168px;
  top: 62px;
  width: 152px;
}

.gear.helmet::after {
  background: var(--ascontec-cyan);
  border-radius: 10px;
  bottom: -13px;
  content: "";
  height: 18px;
  left: -18px;
  position: absolute;
  width: 188px;
}

.gear.glasses {
  border: 12px solid var(--ascontec-cyan);
  border-radius: 40px;
  height: 58px;
  left: 64px;
  top: 222px;
  width: 144px;
}

.gear.gloves {
  background: var(--ascontec-blue);
  border-radius: 32px 32px 18px 18px;
  bottom: 120px;
  height: 86px;
  right: 226px;
  transform: rotate(-16deg);
  width: 82px;
}

.gear.respirator {
  background: #2e3445;
  border-radius: 28px 28px 48px 48px;
  bottom: 62px;
  height: 82px;
  right: 94px;
  width: 116px;
}

.gear.respirator::before,
.gear.respirator::after {
  background: var(--ascontec-cyan);
  border-radius: 50%;
  content: "";
  height: 38px;
  position: absolute;
  top: 22px;
  width: 38px;
}

.gear.respirator::before {
  left: -22px;
}

.gear.respirator::after {
  right: -22px;
}

.ascontec-panel-caption {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 16px 4px 0;
}

.ascontec-panel-caption strong {
  font-size: 1.02rem;
}

.ascontec-panel-caption span {
  color: var(--ascontec-muted);
  font-size: 0.85rem;
}

.ascontec-slider-dots {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.ascontec-slider-dots span {
  background: rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  height: 8px;
  width: 34px;
}

.ascontec-trust-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--ascontec-line);
  box-shadow: 0 16px 40px rgba(18, 48, 111, 0.08);
  margin-top: -42px;
  position: relative;
  z-index: 4;
}

.ascontec-trust-item {
  align-items: center;
  display: flex;
  gap: 14px;
  margin: 0;
}

.ascontec-trust-item b {
  color: var(--ascontec-blue);
  display: block;
}

.ascontec-trust-item span {
  color: var(--ascontec-muted);
  font-size: 0.9rem;
}

.ascontec-mini-icon {
  align-items: center;
  background: #eef7fb;
  border-radius: 8px;
  color: var(--ascontec-blue);
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  min-width: 42px;
}

.ascontec-section-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.ascontec-section-title h2 {
  margin-bottom: 8px;
}

.ascontec-category-card,
.ascontec-product-card,
.ascontec-feature,
.ascontec-quote-card {
  background: #ffffff;
  border: 1px solid var(--ascontec-line);
  border-radius: 8px;
}

.ascontec-category-card {
  min-height: 254px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ascontec-category-card:hover {
  border-color: rgba(24, 168, 216, 0.55);
  box-shadow: 0 18px 42px rgba(18, 48, 111, 0.12);
  transform: translateY(-3px);
}

.ascontec-category-media {
  align-items: center;
  background:
    radial-gradient(circle at 70% 26%, rgba(24, 168, 216, 0.18), transparent 28%),
    linear-gradient(145deg, #eef6fb, #ffffff);
  display: flex;
  height: 126px;
  justify-content: center;
  position: relative;
}

.ascontec-category-media::before {
  background: var(--media-color, var(--ascontec-blue));
  border-radius: 8px;
  content: "";
  height: var(--media-h, 76px);
  transform: skew(-8deg) rotate(var(--media-r, 0deg));
  width: var(--media-w, 134px);
}

.ascontec-category-body {
  padding: 20px;
}

.ascontec-category-body h3 {
  margin: 0 0 8px;
}

.ascontec-category-body p {
  color: var(--ascontec-muted);
  margin: 0;
}

.ascontec-product-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ascontec-product-card {
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

.ascontec-product-card::before {
  background: var(--ascontec-green);
  border-radius: 0 0 0 8px;
  color: #ffffff;
  content: "Stock";
  font-size: 0.74rem;
  font-weight: 900;
  padding: 6px 10px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.ascontec-product-image {
  align-items: center;
  background:
    radial-gradient(circle at 64% 18%, rgba(24, 168, 216, 0.14), transparent 30%),
    linear-gradient(145deg, #f0f6fb, #ffffff);
  display: flex;
  height: 210px;
  justify-content: center;
}

.ascontec-product-shape {
  background: var(--shape, var(--ascontec-blue));
  border-radius: var(--shape-radius, 8px);
  height: var(--shape-h, 96px);
  transform: skew(-8deg) rotate(var(--shape-r, 0deg));
  width: var(--shape-w, 142px);
}

.ascontec-product-body {
  padding: 18px;
}

.ascontec-product-body strong {
  display: block;
  font-size: 1.02rem;
  min-height: 48px;
}

.ascontec-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.ascontec-badge {
  background: #eef7fb;
  border-radius: 999px;
  color: var(--ascontec-blue);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.26rem 0.55rem;
}

.ascontec-price {
  color: var(--ascontec-blue);
  font-size: 1.15rem;
  font-weight: 900;
}

.ascontec-card-action {
  border: 1px solid var(--ascontec-blue);
  border-radius: 6px;
  color: var(--ascontec-blue);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 900;
  margin-top: 12px;
  padding: 8px 12px;
  text-decoration: none;
}

.ascontec-band {
  background: var(--ascontec-soft);
  border-bottom: 1px solid var(--ascontec-line);
  border-top: 1px solid var(--ascontec-line);
}

.ascontec-feature {
  padding: 24px;
}

.ascontec-quote-card {
  background:
    linear-gradient(135deg, rgba(18, 48, 111, 0.96), rgba(24, 168, 216, 0.86)),
    var(--ascontec-blue);
  color: #ffffff;
  padding: 34px;
}

.ascontec-quote-card p {
  color: rgba(255, 255, 255, 0.82);
}

.ascontec-footer {
  background: #101827;
  color: #ffffff;
}

.ascontec-footer a,
.ascontec-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.woocommerce ul.products li.product,
.wc-block-grid__product {
  border: 1px solid var(--ascontec-line);
  border-radius: 8px;
  padding: 16px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button,
.wp-block-button__link {
  border-radius: 6px;
}

@media (max-width: 1060px) {
  .ascontec-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ascontec-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .ascontec-header .wp-block-group {
    gap: 14px;
  }

  .ascontec-top-search,
  .ascontec-header-actions {
    display: none;
  }

  .ascontec-hero {
    min-height: auto;
  }

  .ascontec-slider {
    min-height: 780px;
  }

  .ascontec-slide {
    gap: 26px;
  }

  .ascontec-hero h1,
  .ascontec-hero h2 {
    font-size: 2.65rem;
  }

  .ascontec-product-grid {
    grid-template-columns: 1fr;
  }

  .ascontec-trust-bar {
    margin-top: 0;
  }
}
