/* Dedicated category-page styling.
   Loaded after home.css so category cards do not inherit the homepage
   square media treatment and oversized mobile image boxes. */
.category-catalog .reveal,
.category-catalog .product.reveal {
  opacity: 1;
  transform: none;
}

.category-catalog {
  background: #fff;
  padding: 64px 0 88px;
}

.category-catalog .shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.category-catalog .category-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 1px 22px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-catalog .category-nav::-webkit-scrollbar {
  display: none;
}

.category-catalog .category-nav a {
  flex: 0 0 auto;
  border: 1px solid #dbe7ee;
  border-radius: 10px;
  padding: 9px 13px;
  background: #fff;
  color: #52687b;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.category-catalog .category-nav a.active {
  border-color: #102a43;
  background: #102a43;
  color: #fff;
}

.category-catalog .category-section-head {
  align-items: end;
  margin-bottom: 24px;
}

.category-catalog .category-section-head h2 {
  color: #102a43;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.85rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.08;
  margin: 0;
}

.category-catalog .category-section-head > p {
  color: #61758a;
  font-size: .86rem;
  line-height: 1.55;
  margin: 0;
  max-width: 430px;
}

.category-catalog .category-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.category-catalog .category-product-grid .product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dbe7ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 70, 100, .07);
}

.category-catalog .category-product-grid .product-media {
  position: relative;
  height: 196px;
  aspect-ratio: auto;
  padding: 16px;
  background: #f3f8fa;
}

.category-catalog .category-product-grid .product-media img {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  max-width: calc(100% - 32px);
  object-fit: contain;
  object-position: center;
}

.category-catalog .category-product-grid .product-body {
  display: flex;
  min-width: 0;
  min-height: 252px;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.category-catalog .category-product-grid .product-name {
  min-height: 2.5em;
  margin: 0 0 7px;
  color: #102a43;
  font-family: 'Poppins', sans-serif;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.28;
}

.category-catalog .category-product-grid .price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 3px;
}

.category-catalog .category-product-grid .price strong {
  color: #ff6b4a;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.category-catalog .category-product-grid .price del {
  color: #8c9aa7;
  font-size: .68rem;
}

.category-catalog .category-product-grid .price span,
.category-catalog .category-product-grid .period {
  color: #61758a;
  font-size: .68rem;
}

.category-catalog .category-product-grid .period {
  margin: 0 0 10px;
}

.category-catalog .category-product-grid .product-specs {
  flex: 1;
  margin: 4px 0 16px;
  padding: 0;
  color: #385269;
  font-size: .72rem;
  line-height: 1.5;
  list-style: none;
}

.category-catalog .category-product-grid .product-specs li {
  padding: 2px 0 2px 14px;
  position: relative;
}

.category-catalog .category-product-grid .product-specs li::before {
  position: absolute;
  left: 0;
  color: #16a6a1;
  content: '•';
  font-weight: 800;
}

.category-catalog .category-product-grid .product-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.category-catalog .category-product-grid .product-actions .btn {
  min-height: 40px;
  flex: 1 1 0;
  justify-content: center;
  border-radius: 10px;
  font-size: .72rem;
  line-height: 1;
  padding: 10px 12px;
}

@media (min-width: 700px) {
  .category-catalog .category-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .category-catalog .category-product-grid .product-media {
    height: 214px;
  }
}

@media (min-width: 1040px) {
  .category-catalog .category-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-catalog .category-product-grid .product-media {
    height: 210px;
  }
}

/* Shared category hero — keeps every catalogue route compact and intentional. */
.category-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #dbe7ee;
  background: linear-gradient(135deg, #eef8fb 0%, #fff 58%, #fff7eb 100%);
}
.category-hero::before,
.category-hero::after {
  position: absolute;
  border-radius: 999px;
  content: '';
  pointer-events: none;
}
.category-hero::before {
  width: 420px;
  height: 420px;
  top: -245px;
  left: -160px;
  background: rgba(22,166,161,.12);
}
.category-hero::after {
  width: 330px;
  height: 330px;
  right: -160px;
  bottom: -220px;
  background: rgba(255,178,91,.13);
}
.category-hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 470px;
  margin-inline: auto;
  padding: 48px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: 42px;
}
.category-hero-copy { min-width: 0; }
.category-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: #385269;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}
.category-back:hover { color: #1167b1; }
.category-hero-copy .eyebrow { margin: 0 0 12px; }
.category-hero-copy h1 {
  max-width: 12ch;
  margin: 0;
  color: #102a43;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.06em;
}
.category-hero-copy > p:not(.eyebrow) {
  max-width: 530px;
  margin: 20px 0 0;
  color: #61758a;
  font-size: 1rem;
  line-height: 1.7;
}
.category-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.category-hero-actions .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}
.category-hero-actions .btn-primary {
  background: #ff6b4a;
  box-shadow: 0 12px 24px rgba(255,107,74,.2);
}
.category-hero-actions .btn-outline {
  border: 1px solid #bfd3df;
  background: rgba(255,255,255,.7);
  color: #102a43;
}
.category-hero-visual {
  position: relative;
  min-width: 0;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 30px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 24px 60px rgba(16,42,67,.11);
}
.category-hero-visual::after {
  position: absolute;
  right: 12%;
  bottom: 8%;
  left: 12%;
  height: 10%;
  border-radius: 50%;
  background: rgba(16,42,67,.13);
  content: '';
  filter: blur(18px);
}
.category-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 30px;
  object-fit: contain;
}
.category-hero-visual img:only-of-type { max-width: 100%; }
.category-hero-visual img:not(:only-of-type) { width: 53%; padding: 22px; }
.category-hero-count {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  min-width: 132px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 15px;
  background: rgba(16,42,67,.93);
  color: #fff;
  box-shadow: 0 12px 26px rgba(16,42,67,.2);
}
.category-hero-count strong { display: block; font-size: 1.35rem; line-height: 1; }
.category-hero-count span { display: block; margin-top: 4px; color: #bfd4e2; font-size: .67rem; font-weight: 700; }
.category-catalog { padding-top: 48px; }
.category-catalog .category-nav a { border-radius: 10px; transition: background .2s, color .2s, border-color .2s; }
.category-catalog .category-nav a:hover { border-color: #9fb9c8; color: #102a43; }
.category-catalog .category-section-head { margin-bottom: 28px; }
.category-catalog .category-product-grid .product { transition: transform .22s ease, box-shadow .22s ease; }
.category-catalog .category-product-grid .product:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(17,70,100,.13); }
.category-catalog .category-product-grid .product-media { background: linear-gradient(145deg, #f3f9fb, #eaf2f5); }
.category-catalog .category-product-grid .product-body { min-height: 246px; }
.category-catalog .category-product-grid .product-actions .btn { text-decoration: none; }
.category-catalog .category-product-grid .product-actions .btn-dark { background: #102a43; color: #fff; }
.category-catalog .category-product-grid .product-actions .btn-wa { background: #16a66a; color: #fff; }
.category-bottom-cta {
  padding: 58px 0 72px;
  background: #eef8fb;
}
.category-bottom-inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.category-bottom-inner h2 { max-width: 680px; margin: 0; color: #102a43; font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.04em; }
.category-bottom-inner .eyebrow { margin: 0 0 9px; }
.category-bottom-inner .btn { min-height: 44px; display: inline-flex; align-items: center; border-radius: 12px; padding: 11px 17px; font-weight: 800; text-decoration: none; white-space: nowrap; }

@media (max-width: 820px) {
  .category-hero-grid { min-height: 0; padding: 34px 0 30px; grid-template-columns: 1fr; gap: 28px; }
  .category-hero-copy h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .category-hero-visual { height: min(76vw, 340px); border-radius: 24px; }
  .category-hero-visual img { padding: 22px; }
  .category-hero-visual img:not(:only-of-type) { padding: 14px; }
  .category-catalog { padding-top: 36px; }
  .category-catalog .category-section-head { display: block; }
  .category-catalog .category-section-head > p { margin-top: 12px; }
  .category-bottom-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .category-hero-grid { width: calc(100% - 32px); padding-top: 28px; }
  .category-back { margin-bottom: 20px; }
  .category-hero-copy > p:not(.eyebrow) { margin-top: 16px; font-size: .94rem; }
  .category-hero-actions { margin-top: 21px; }
  .category-hero-actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; }
  .category-hero-visual { height: min(78vw, 310px); }
  .category-hero-count { right: 10px; bottom: 10px; min-width: 118px; padding: 10px 12px; }
  .category-catalog .shell { width: calc(100% - 32px); }
  .category-catalog .category-product-grid { gap: 13px; }
  .category-catalog .category-product-grid .product-body { min-height: 0; }
  .category-catalog .category-product-grid .product-actions { flex-wrap: wrap; }
  .category-catalog .category-product-grid .product-actions .btn { flex-basis: calc(50% - 4px); }
  .category-bottom-cta { padding: 46px 0 58px; }
}

.outright-price{margin:.35rem 0 0;font-size:.875rem;font-weight:600;color:#172b4d}.product-price-options{margin:.75rem 0 1.25rem;display:grid;gap:.35rem}.product-price-options p{margin:0}.product-price-rental{color:#435264}.product-price-rental del{font-weight:700}.product-price-outright{font-size:1rem;color:#172b4d}.product-price-note{font-size:.85rem;color:#526174}
