/* Catalogue promo: used by products/index.html. */
.catalog-promo{
  position:relative;
  overflow:hidden;
  padding:58px 0;
  color:#fff;
  background:
    radial-gradient(circle at 83% 26%,rgba(129,28,20,.18),transparent 30%),
    linear-gradient(118deg,#111316 0%,#191b1f 58%,#101114 100%)
}
.catalog-promo:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.34;
  background:linear-gradient(120deg,transparent 0 46%,rgba(255,255,255,.025) 46% 47%,transparent 47% 100%)
}
.catalog-promo-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:70px;
  min-height:330px
}
.catalog-copy{max-width:650px}
.catalog-copy .eyebrow{color:#d8a29e}
.catalog-copy h2{
  max-width:620px;
  margin:13px 0 16px;
  font-size:clamp(34px,4vw,54px);
  line-height:1.02;
  letter-spacing:-1.8px
}
.catalog-copy p{
  max-width:560px;
  margin:0;
  color:#b8bcc1;
  font-size:15px;
  line-height:1.55
}
.catalog-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.catalog-actions .btn{min-height:48px}

.catalog-book{
  position:relative;
  display:grid;
  place-items:center;
  min-height:340px;
  color:#15171a;
  perspective:1100px
}
.catalog-book:before{
  content:"";
  position:absolute;
  left:14%;
  right:9%;
  bottom:6%;
  height:34px;
  border-radius:50%;
  background:rgba(0,0,0,.58);
  filter:blur(18px)
}
.catalog-book-face{
  position:relative;
  width:min(300px,72%);
  aspect-ratio:.76;
  padding:27px 24px 22px;
  overflow:hidden;
  border-radius:4px 10px 10px 4px;
  background:#f7f7f7;
  box-shadow:0 26px 50px rgba(0,0,0,.45),inset 5px 0 0 #e6e6e6;
  transform:rotate(5deg) rotateY(-5deg)
}
.catalog-book-face:after{
  content:"";
  position:absolute;
  right:-35%;
  bottom:-18%;
  width:115%;
  height:54%;
  transform:rotate(-10deg);
  background:linear-gradient(135deg,#16181b,#2a2d32)
}
.catalog-book-logo{position:relative;z-index:2;width:106px;height:auto}
.catalog-book-title{
  position:relative;
  z-index:2;
  margin-top:24px;
  font-size:31px;
  font-weight:900;
  line-height:.92;
  letter-spacing:-1.25px
}
.catalog-book-title span{display:block;margin-top:7px;color:var(--red)}
.catalog-book-subtitle{
  position:relative;
  z-index:2;
  max-width:205px;
  margin-top:14px;
  color:#73777c;
  font-size:10px;
  line-height:1.35
}
.catalog-book-products{
  position:absolute;
  z-index:3;
  right:15px;
  bottom:17px;
  left:30px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:3px
}
.catalog-book-products img{
  width:29%;
  height:112px;
  object-fit:contain;
  filter:drop-shadow(0 9px 8px rgba(0,0,0,.28))
}


@media(max-width:1080px){
  .catalog-promo-grid{gap:34px}
  .catalog-book-face{width:min(280px,78%)}
}

@media(max-width:640px){
  .catalog-promo{padding:42px 0}
  .catalog-promo-grid{grid-template-columns:1fr;gap:28px;min-height:0}
  .catalog-copy h2{font-size:38px;letter-spacing:-1.25px}
  .catalog-copy p{font-size:14px}
  .catalog-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:22px}
  .catalog-actions .btn{min-height:46px;padding:0 11px;font-size:12px}
  .catalog-book{min-height:292px}
  .catalog-book-face{width:218px;padding:22px 19px 18px}
  .catalog-book-logo{width:88px}
  .catalog-book-title{margin-top:18px;font-size:25px}
  .catalog-book-subtitle{font-size:8px}
  .catalog-book-products{left:24px;right:10px}
  .catalog-book-products img{height:88px}
}

@media(max-width:380px){
  .catalog-actions{grid-template-columns:1fr}
  .catalog-copy h2{font-size:34px}
}

/* Catalog promo — compact balanced layout */
@media(min-width:641px){
  .catalog-promo{padding:40px 0}
  .catalog-promo-grid{
    grid-template-columns:minmax(0,1.08fr) minmax(250px,.72fr);
    align-items:stretch;
    gap:48px;
    min-height:0
  }
  .catalog-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:3px 0
  }
  .catalog-copy h2{
    max-width:600px;
    margin:10px 0 13px;
    font-size:clamp(34px,3.45vw,48px)
  }
  .catalog-copy p{font-size:14px}
  .catalog-actions{margin-top:22px}
  .catalog-book{
    position:relative;
    min-width:0;
    min-height:0;
    height:auto
  }
  .catalog-book:before{
    left:18%;
    right:14%;
    bottom:1%;
    height:25px
  }
  .catalog-book-face{
    position:absolute;
    top:0;
    left:50%;
    width:auto;
    height:100%;
    max-width:100%;
    aspect-ratio:.76;
    padding:7.2% 7.5% 5.8%;
    transform:translateX(-50%) rotate(3deg) rotateY(-4deg)
  }
  .catalog-book-logo{width:36%}
  .catalog-book-title{
    margin-top:6.5%;
    font-size:clamp(22px,2vw,28px)
  }
  .catalog-book-subtitle{
    max-width:72%;
    margin-top:4.5%;
    font-size:8px
  }
  .catalog-book-products{
    right:5%;
    bottom:4%;
    left:10%;
    gap:1%
  }
  .catalog-book-products img{
    width:29%;
    height:auto;
    max-height:29%;
    aspect-ratio:1/1.45
  }
}
@media(max-width:640px){
  .catalog-promo{padding:34px 0}
  .catalog-promo-grid{gap:18px}
  .catalog-copy h2{margin-top:10px;margin-bottom:13px}
  .catalog-actions{margin-top:18px}
  .catalog-book{min-height:248px}
  .catalog-book-face{width:188px;padding:19px 16px 15px}
  .catalog-book-logo{width:76px}
  .catalog-book-title{margin-top:15px;font-size:22px}
  .catalog-book-subtitle{margin-top:10px}
  .catalog-book-products{left:21px}
  .catalog-book-products img{height:76px}
}


/* CataloguePromo — preserve the homepage dark background */
body.kerong-unified main>[data-component="catalogue-promo"].catalog-promo{
  color:#fff;
  background:
    radial-gradient(circle at 83% 26%,rgba(129,28,20,.18),transparent 30%),
    linear-gradient(118deg,#111316 0%,#191b1f 58%,#101114 100%)
}
body.kerong-unified [data-component="catalogue-promo"] .catalog-copy h2{
  max-width:600px;
  margin:10px 0 13px;
  color:#fff;
  font-size:clamp(34px,3.45vw,48px);
  line-height:1.02;
  letter-spacing:-1.8px
}
body.kerong-unified [data-component="catalogue-promo"] .catalog-copy p{
  max-width:560px;
  margin:0;
  color:#b8bcc1;
  font-size:14px;
  line-height:1.55
}

body.kerong-unified [data-component="catalogue-promo"] .catalog-actions{
  grid-column:1/-1;
  justify-content:center;
  margin:4px 0 0
}
body.kerong-unified [data-component="catalogue-promo"] .catalog-actions .btn{
  width:min(320px,100%)
}
@media(max-width:640px){
  body.kerong-unified [data-component="catalogue-promo"] .catalog-actions{
    display:flex;
    margin-top:2px
  }
}


@media(orientation:landscape) and (max-width:1080px) and (max-height:600px) and (pointer:coarse){
  .catalog-promo-grid{
    grid-template-columns:minmax(0,1.08fr) minmax(250px,.72fr);
    gap:40px
  }
}

/* Category and catalog pages only. */
.catalog-hero{padding:46px 0 52px;background:#f4f4f3}
.catalog-hero-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:42px;align-items:center}
.catalog-hero-copy{min-width:0;padding:28px 0}
.catalog-hero h1{max-width:780px;margin:12px 0 20px;font-size:clamp(44px,5.3vw,76px);line-height:.96;letter-spacing:-.045em}
.catalog-hero p{max-width:650px;margin:0;color:#62666a;font-size:19px;line-height:1.55}
.catalog-hero-action{display:inline-flex;align-items:center;gap:16px;margin-top:28px;padding:15px 20px;border-radius:999px;background:#b10b0a;color:#fff;font-weight:800;text-decoration:none}
.catalog-hero-action span{font-size:20px}
.catalog-hero-media{position:relative;min-width:0;margin:0;overflow:hidden;border-radius:18px;background:#ddd;box-shadow:0 18px 42px rgba(0,0,0,.1)}
.catalog-hero-media:after{position:absolute;inset:0;content:"";box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);border-radius:inherit;pointer-events:none}
.catalog-hero-media img{display:block;width:100%;aspect-ratio:1.45/1;object-fit:cover}
.catalog-benefits{padding:76px 0;background:#fff}
.catalog-benefits-head{display:grid;grid-template-columns:.45fr 1fr;gap:24px;align-items:end;margin-bottom:30px}
.catalog-benefits-head h2{max-width:850px;margin:0;font-size:clamp(34px,4vw,56px);line-height:1.02;letter-spacing:-.035em}
.catalog-benefits-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #dfe1e2;border-bottom:1px solid #dfe1e2}
.catalog-benefit{position:relative;min-width:0;padding:28px 24px 30px;border-right:1px solid #dfe1e2}
.catalog-benefit:first-child{border-left:1px solid #dfe1e2}
.catalog-benefit-icon{display:grid;width:54px;height:54px;place-items:center;margin-bottom:36px;color:#b10b0a}
.catalog-benefit-icon svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.catalog-benefit-number{position:absolute;top:30px;right:22px;color:#a5a8ab;font-size:12px;font-weight:850;letter-spacing:.08em}
.catalog-benefit h3{margin:0 0 10px;font-size:20px;line-height:1.12}
.catalog-benefit p{margin:0;color:#676b6f;font-size:14px;line-height:1.55}
.catalog-section{padding:84px 0 96px;background:#f4f4f3}
.catalog-heading{margin-bottom:34px}
.catalog-heading h2{max-width:900px;margin:10px 0 12px;font-size:clamp(40px,5vw,68px);line-height:.98;letter-spacing:-.04em}
.catalog-heading p{max-width:720px;margin:0;color:#666b70;font-size:17px;line-height:1.55}
.catalog-main-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:90px}
.catalog-main-card{position:relative;display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid #dedfe0;border-radius:16px;background:#fff;color:#111;text-decoration:none;box-shadow:0 9px 24px rgba(0,0,0,.04)}
.catalog-main-featured{grid-column:span 2}
.catalog-main-media{display:block;overflow:hidden;aspect-ratio:1.65/1;background:#e5e6e6}
.catalog-main-featured .catalog-main-media{aspect-ratio:2.1/1}
.catalog-main-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.catalog-main-card:hover .catalog-main-media img{transform:scale(1.025)}
.catalog-main-copy{display:grid;gap:7px;padding:20px 58px 22px 20px}
.catalog-main-copy small,.catalog-subgroup small{color:#8a8e92;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.15em}
.catalog-main-copy b{font-size:20px;line-height:1.08}
.catalog-main-card>i,.catalog-subgroup>i{position:absolute;right:16px;bottom:16px;display:grid;width:36px;height:36px;place-items:center;border:1px solid #dcdee0;border-radius:50%;color:#b10b0a;font-size:17px;font-style:normal;transition:background .2s ease,color .2s ease}
.catalog-main-card:hover>i,.catalog-subgroup:hover>i{border-color:#b10b0a;background:#b10b0a;color:#fff}
.catalog-groups{display:grid;gap:100px}
.catalog-family{min-width:0;scroll-margin-top:120px}
.catalog-family-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:end;margin-bottom:28px;padding-bottom:22px}
.catalog-family-kicker{display:block;margin-bottom:9px;color:#b10b0a;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.12em}
.catalog-family h2{max-width:860px;margin:0;font-size:clamp(38px,4.6vw,62px);line-height:1;letter-spacing:-.04em}
.catalog-family-copy{max-width:680px;margin:13px 0 0;color:#656a6e;font-size:16px;line-height:1.55}
.catalog-family-head>a{display:inline-flex;align-items:center;min-height:44px;padding:0 17px;border:1px solid #d5d7d9;border-radius:999px;color:#171717;font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}
.catalog-family-head>a:hover{border-color:#b10b0a;color:#b10b0a}
.catalog-subgroups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.catalog-subgroup{position:relative;display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid #dedfe0;border-radius:16px;background:#fff;color:#111;text-decoration:none;box-shadow:0 8px 22px rgba(0,0,0,.035);transition:transform .2s ease,box-shadow .2s ease}
.catalog-subgroup:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.08)}
.catalog-subgroup-featured{grid-column:span 2}
.catalog-family .catalog-subgroup-featured{grid-column:auto}
.catalog-family .catalog-subgroup-featured .catalog-subgroup-media{aspect-ratio:1.7/1}
.catalog-family .catalog-subgroups:has(>.catalog-subgroup:nth-child(3n+2):last-child)>.catalog-subgroup-featured{grid-column:span 2}
.catalog-family .catalog-subgroups:has(>.catalog-subgroup:nth-child(3n+2):last-child)>.catalog-subgroup-featured .catalog-subgroup-media{aspect-ratio:2.15/1}
.catalog-subgroup-media{display:block;overflow:hidden;aspect-ratio:1.7/1;background:#e7e7e7}
.catalog-subgroup-featured .catalog-subgroup-media{aspect-ratio:2.15/1}
.catalog-subgroup-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.catalog-subgroup:hover .catalog-subgroup-media img{transform:scale(1.025)}
.catalog-subgroup>span:nth-child(2){display:grid;gap:7px;padding:20px 62px 24px 20px}
.catalog-subgroup b{font-size:23px;line-height:1.06}
.catalog-subgroup em{color:#666b70;font-size:13px;font-style:normal;line-height:1.45}
.catalog-subgroups-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.catalog-subgroups-compact .catalog-subgroup-featured{grid-column:auto}
.catalog-subgroups-compact .catalog-subgroup-media,.catalog-subgroups-compact .catalog-subgroup-featured .catalog-subgroup-media{aspect-ratio:2/1}
.catalog-product-gallery .main-photo{min-height:520px}
.catalog-product-main-image{display:block;width:100%;height:100%;max-height:540px;object-fit:contain}
.catalog-verification{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.catalog-verification span{padding:7px 10px;border-radius:999px;background:#f0f1f2;color:#5d6268;font-size:11px;font-weight:750}
.catalog-copy{max-width:980px}.catalog-copy p{font-size:17px;line-height:1.7}
.catalog-table-wrap{overflow-x:auto}
.catalog-notes{display:grid;gap:12px;max-width:1000px}
.catalog-notes p{margin:0;padding:16px 18px;border-left:3px solid #b10b0a;background:#f5f5f5;line-height:1.55}
.catalog-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.related-product-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid #dedfe2;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(20,22,25,.04);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.related-product-card:hover{transform:translateY(-3px);border-color:#c8cbd0;box-shadow:0 15px 34px rgba(20,22,25,.09)}
.related-product-media{display:grid;height:220px;place-items:center;overflow:hidden;border-bottom:1px solid #e5e6e8;background:#f4f5f6}
.related-product-media img{display:block;width:100%;height:100%;padding:18px;object-fit:contain}
.related-product-body{display:flex;min-height:280px;padding:18px;flex:1;flex-direction:column}
.related-product-category{color:#b10b0a;font-size:10px;font-weight:850;line-height:1.25;letter-spacing:.08em;text-transform:uppercase}
.related-product-body h3{margin:8px 0 0;font-size:21px;line-height:1.1}
.related-product-body h3 a{color:#111;text-decoration:none}
.related-product-body p{display:-webkit-box;margin:11px 0 0;overflow:hidden;color:#64696f;font-size:13px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:4}
.related-product-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.related-product-tags span{padding:6px 8px;border:1px solid #e0e2e5;border-radius:999px;background:#f5f6f7;color:#555b61;font-size:10px;font-weight:750}
.related-product-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:18px}
.related-product-footer strong{font-size:18px;line-height:1.1}
.related-product-link{display:inline-flex;min-height:40px;padding:0 14px;align-items:center;justify-content:center;border-radius:7px;background:#b10b0a;color:#fff;text-decoration:none;font-size:12px;font-weight:850}
.related-products-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}
.related-products-heading span{color:#b10b0a;font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.related-products-heading h2{margin:7px 0 0}
.related-products-heading>a{color:#b10b0a;font-size:13px;font-weight:850;text-decoration:none;white-space:nowrap}
.product-description-section .catalog-copy{display:grid;gap:18px}
.product-description-section .catalog-copy>p{margin:0}
.product-properties{margin-top:4px;padding:22px;border:1px solid #e0e2e4;border-radius:14px;background:#f7f8f9}
.product-properties h3{margin:0 0 14px;font-size:20px}
.product-properties ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.product-properties li{padding:8px 11px;border:1px solid #d9dcdf;border-radius:999px;background:#fff;color:#34383c;font-size:13px;font-weight:750}
.catalog-product-gallery .badge{z-index:2}
@media(max-width:1100px){.catalog-hero-grid{grid-template-columns:1fr 1fr;gap:26px}.catalog-benefits-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-benefit:nth-child(2){border-right:1px solid #dfe1e2}.catalog-benefit:nth-child(n+3){border-top:1px solid #dfe1e2}.catalog-main-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-main-featured{grid-column:1/-1}.catalog-subgroups{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-family .catalog-subgroup-featured{grid-column:auto}.catalog-family .catalog-subgroup-featured .catalog-subgroup-media{aspect-ratio:1.7/1}.catalog-family .catalog-subgroups:has(>.catalog-subgroup:nth-child(odd):last-child)>.catalog-subgroup-featured{grid-column:span 2}.catalog-family .catalog-subgroups:has(>.catalog-subgroup:nth-child(odd):last-child)>.catalog-subgroup-featured .catalog-subgroup-media{aspect-ratio:2.15/1}}
@media(max-width:860px){.catalog-hero-grid{grid-template-columns:1fr}.catalog-hero-copy{padding-bottom:0}.catalog-benefits-head{grid-template-columns:1fr}.catalog-main-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-main-featured{grid-column:span 2}.catalog-subgroups-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-related{grid-template-columns:1fr}}
@media(max-width:680px){.catalog-groups,.catalog-family{width:100%;min-width:0;max-width:100%}.catalog-family .catalog-subgroups{display:flex;width:100%;max-width:100%;flex-direction:column;gap:12px}.catalog-family .catalog-subgroup{width:100%;max-width:100%;flex:0 0 auto;grid-column:auto}.catalog-family .catalog-subgroups>.catalog-subgroup-featured{grid-column:auto}.catalog-hero{padding:28px 0 36px}.catalog-hero h1{font-size:42px}.catalog-hero p{font-size:16px}.catalog-hero-media{border-radius:14px}.catalog-hero-action{margin-top:22px}.catalog-benefits{padding:54px 0}.catalog-benefits-head h2{font-size:36px}.catalog-benefits-grid{grid-template-columns:1fr 1fr}.catalog-benefit{padding:22px 16px}.catalog-benefit-icon{width:44px;height:44px;margin-bottom:28px}.catalog-benefit h3{font-size:17px}.catalog-benefit p{font-size:13px}.catalog-section{padding:60px 0 76px}.catalog-heading h2{font-size:42px}.catalog-main-nav{gap:12px;margin-bottom:70px}.catalog-main-copy{padding:15px 45px 17px 14px}.catalog-main-copy b{font-size:16px}.catalog-main-card>i,.catalog-subgroup>i{right:12px;bottom:12px;width:30px;height:30px}.catalog-groups{gap:78px}.catalog-family-head{grid-template-columns:1fr;gap:16px}.catalog-family h2{font-size:38px}.catalog-family-head>a{justify-self:start}.catalog-subgroups{gap:12px}.catalog-subgroup>span:nth-child(2){padding:15px 44px 18px 14px}.catalog-subgroup b{font-size:18px}.catalog-subgroup em{display:-webkit-box;overflow:hidden;font-size:11px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.catalog-product-gallery .main-photo{min-height:340px}.catalog-related a{grid-template-columns:92px 1fr}.catalog-related img{width:92px;height:78px}}
@media(max-width:430px){.catalog-benefits-grid{grid-template-columns:1fr}.catalog-benefit{border-left:1px solid #dfe1e2;border-top:1px solid #dfe1e2}.catalog-benefit:first-child{border-top:0}.catalog-main-media{aspect-ratio:1.4/1}.catalog-main-featured .catalog-main-media{aspect-ratio:1.75/1}.catalog-subgroup-media{aspect-ratio:1.35/1}.catalog-subgroup-featured .catalog-subgroup-media{aspect-ratio:1.8/1}.catalog-subgroups-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){.catalog-hero-grid{grid-template-columns:1fr 1fr}.catalog-benefits-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-main-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-main-featured{grid-column:span 2}.catalog-subgroups{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-family .catalog-subgroup-featured{grid-column:auto}.catalog-family .catalog-subgroup-featured .catalog-subgroup-media{aspect-ratio:1.7/1}.catalog-family .catalog-subgroups:has(>.catalog-subgroup:nth-child(3n+2):last-child)>.catalog-subgroup-featured{grid-column:span 2}.catalog-family .catalog-subgroups:has(>.catalog-subgroup:nth-child(3n+2):last-child)>.catalog-subgroup-featured .catalog-subgroup-media{aspect-ratio:2.15/1}}
@media(prefers-reduced-motion:reduce){.catalog-main-media img,.catalog-subgroup,.catalog-subgroup-media img{transition:none}}

body.kerong-unified .product-grid>.catalog-product-gallery{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:12px;min-width:0}
body.kerong-unified .product-grid>.catalog-product-gallery>.product-gallery-frame{position:relative;display:grid;grid-column:1;grid-row:1;width:100%;place-items:center;overflow:hidden;touch-action:pan-y;cursor:zoom-in}
.catalog-product-gallery .product-gallery-frame .catalog-product-main-image{width:100%;height:100%;object-fit:contain}
body.kerong-unified .product-hero.unified-page-hero .product-info{height:auto;max-height:none;overflow:visible}
body.kerong-unified .product-grid>.catalog-product-gallery>.product-gallery-thumbs{display:flex;grid-column:1;grid-row:2;gap:10px;width:100%;height:auto;overflow-x:auto;padding:3px 2px 10px;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-color:#b10b0a #eceeef;scrollbar-width:thin}
.product-gallery-thumb{display:grid;min-width:112px;flex:0 0 112px;aspect-ratio:1.32/1;place-items:center;overflow:hidden;padding:5px;border:1px solid #d9dcdf;border-radius:10px;background:#fff;cursor:pointer;scroll-snap-align:start;transition:border-color .2s ease,box-shadow .2s ease}
.product-gallery-thumb:hover{border-color:#aeb3b7}
.product-gallery-thumb[aria-pressed="true"]{border-color:#b10b0a;box-shadow:0 0 0 2px rgba(129,28,20,.12)}
.product-gallery-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.product-gallery-arrow{position:absolute;z-index:3;top:50%;display:grid;width:44px;height:44px;place-items:center;padding:0;transform:translateY(-50%);border:1px solid rgba(0,0,0,.12);border-radius:50%;background:rgba(255,255,255,.94);color:#141414;font:500 34px/1 Arial,sans-serif;box-shadow:0 6px 20px rgba(0,0,0,.11);cursor:pointer}
.product-gallery-arrow:hover{border-color:#b10b0a;color:#b10b0a}
.product-gallery-prev{left:14px}.product-gallery-next{right:14px}
.product-gallery-lightbox{width:min(1100px,calc(100vw - 32px));max-width:none;height:min(820px,calc(100vh - 32px));max-height:none;padding:54px 70px 44px;border:0;border-radius:18px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.28)}
.product-gallery-lightbox::backdrop{background:rgba(8,10,12,.78)}
.product-gallery-lightbox[open]{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;grid-template-rows:minmax(0,1fr) auto;gap:12px;align-items:center}
.product-gallery-lightbox img{display:block;width:100%;height:100%;max-height:calc(100vh - 150px);object-fit:contain}
.product-gallery-close{position:absolute;top:12px;right:14px;width:42px;height:42px;padding:0;border:0;background:transparent;color:#171717;font:400 34px/1 Arial,sans-serif;cursor:pointer}
.product-gallery-lightbox-arrow{display:grid;width:44px;height:44px;place-items:center;padding:0;border:1px solid #d8dade;border-radius:50%;background:#fff;color:#171717;font:500 32px/1 Arial,sans-serif;cursor:pointer}
.product-gallery-counter{grid-column:1/-1;text-align:center;color:#666b70;font-size:14px;font-weight:700}
@media(max-width:680px){.related-products-heading{display:block}.related-products-heading>a{display:inline-block;margin-top:12px}.related-product-media{height:190px}.related-product-body{min-height:250px}.product-gallery-thumbs{gap:7px}.product-gallery-thumb{min-width:88px;flex-basis:88px;padding:3px;border-radius:8px}.product-gallery-arrow{width:38px;height:38px;font-size:29px}.product-gallery-prev{left:8px}.product-gallery-next{right:8px}.product-gallery-lightbox{width:calc(100vw - 16px);height:calc(100vh - 16px);padding:50px 12px 34px;border-radius:14px}.product-gallery-lightbox[open]{grid-template-columns:38px minmax(0,1fr) 38px}.product-gallery-lightbox-arrow{width:36px;height:36px;font-size:26px}}
@media(prefers-reduced-motion:reduce){.product-gallery-thumb{transition:none}}
/* All-products catalog controls and pagination */
.product-catalog-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin: 28px 0 12px;
  padding: 20px;
  border: 1px solid #d9dde2;
  border-radius: 18px;
  background: #fff;
}
.product-catalog-filter { display: grid; gap: 8px; min-width: 0; }
.product-catalog-filter span { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.product-catalog-filter select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 42px 0 14px;
  border: 1px solid #cfd4da;
  border-radius: 10px;
  background: #fff;
  color: #15171a;
  font: inherit;
}
.product-catalog-filter select:focus-visible,
.product-catalog-reset:focus-visible,
.product-catalog-pagination button:focus-visible { outline: 3px solid rgba(129,28,20, .25); outline-offset: 2px; }
.product-catalog-filter select:disabled { color: #8b9097; background: #f2f3f4; }
.product-catalog-reset {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #b10b0a;
  border-radius: 10px;
  background: #fff;
  color: #b10b0a;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.product-catalog-results { margin: 0 0 20px; color: #666d76; font-size: 14px; }
.product-catalog-live .product-grid > [hidden] { display: none !important; }
.product-catalog-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 32px 0 8px; }
.product-catalog-pagination button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d7dbe0;
  border-radius: 10px;
  background: #fff;
  color: #15171a;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.product-catalog-pagination button[aria-current="page"] { border-color: #b10b0a; background: #b10b0a; color: #fff; }
.product-catalog-pagination button:disabled { cursor: default; opacity: .42; }
@media (max-width: 700px) {
  .product-catalog-controls { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
  .product-catalog-reset { width: 100%; }
  .product-catalog-pagination { gap: 6px; }
  .product-catalog-pagination button { padding: 0 11px; }
}
.product-catalog-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-catalog-reset { align-self: end; }
.product-catalog-live .product-source-count { white-space: nowrap; }
@media (max-width: 900px) { .product-catalog-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .product-catalog-controls { grid-template-columns: minmax(0, 1fr); }
  .product-catalog-live .products-label { align-items: flex-start; }
  .product-catalog-live .product-source-count { width: fit-content; max-width: 100%; }
  body.kerong-unified .product-catalog-live[data-product-categories="RFID-замки для шкафчиков"] .products-label {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  body.kerong-unified .product-catalog-live[data-product-categories="RFID-замки для шкафчиков"] .product-source-count {
    justify-self: start;
    margin: 0;
  }
}
.product-subgroups { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 4px; }
.product-subgroups button { min-height: 44px; padding: 10px 16px; border: 1px solid #d7dbe0; border-radius: 999px; background: #fff; color: #17191c; font: inherit; font-weight: 800; cursor: pointer; }
.product-subgroups button:hover, .product-subgroups button:focus-visible { border-color: #b10b0a; color: #b10b0a; }
@media (max-width: 700px) { .product-subgroups { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; } .product-subgroups button { flex: 0 0 auto; scroll-snap-align: start; } }
/* Locker-lock section overview built from the shared catalog card language. */
.locker-section-catalog { padding: 64px 0; background: #f4f5f6; border-bottom: 1px solid #dde0e3; }
.locker-section-catalog-head { margin-bottom: 28px; }
.locker-section-catalog-head h2 { max-width: 820px; }
.locker-section-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.locker-section-card { min-width: 0; overflow: hidden; border: 1px solid #d9dde1; border-radius: 18px; background: #fff; color: #15171a; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.locker-section-card:hover { transform: translateY(-3px); border-color: #c5c9ce; box-shadow: 0 16px 36px rgba(19, 22, 25, .09); }
.locker-section-card:focus-visible { outline: 3px solid rgba(129,28,20, .28); outline-offset: 3px; }
.locker-section-card > img { display: block; width: 100%; aspect-ratio: 1.55 / 1; object-fit: cover; background: #eceeef; }
.locker-section-card > span { position: relative; display: grid; gap: 7px; min-height: 160px; padding: 20px 62px 20px 20px; }
.locker-section-card small { color: #8a9097; font-size: 12px; font-style: normal; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.locker-section-card strong { font-size: clamp(20px, 2vw, 27px); line-height: 1.08; }
.locker-section-card em { color: #6f757c; font-size: 15px; font-style: normal; line-height: 1.45; }
.locker-section-card b { position: absolute; right: 18px; bottom: 18px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #d7dbe0; border-radius: 50%; color: #b10b0a; font-size: 22px; }
.locker-section-card:hover b { border-color: #b10b0a; background: #b10b0a; color: #fff; }
@media (max-width: 980px) { .locker-section-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .locker-section-catalog { padding: 42px 0; } .locker-section-catalog-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } .locker-section-card > span { min-height: 142px; padding: 18px 58px 18px 18px; } .locker-section-card > img { aspect-ratio: 1.5 / 1; } }
@media (hover: none) {
  .locker-section-card:hover { transform: none; border-color: #d9dde1; box-shadow: none; }
  .locker-section-card:hover b { border-color: #d7dbe0; background: #fff; color: #b10b0a; }
}
.locker-question-cta { display: inline-flex; width: fit-content; margin-top: 18px; color: #fff !important; text-decoration: none; }
@media (max-width: 640px) { .locker-question-cta { width: 100%; justify-content: center; } }


/* KERONG-Locks cards use the standard catalogue surface without an inner frame. */
.software-products .product-card .product-info{border:0!important;border-radius:0!important;box-shadow:none!important}
.generated-category-page{--category-border:#dde0e3;--category-soft:#f4f5f6}
.generated-category-page main>.crumb{display:flex;align-items:center;gap:8px;margin-bottom:22px;padding-top:20px;color:#747a80;font-size:14px}
.generated-category-page main>.crumb a{color:inherit;text-decoration:none}
.category-hero{padding-top:24px}
body.generated-category-page .category-hero{border-bottom:0}
body.generated-category-page .category-hero .unified-hero-media{isolation:isolate;background:transparent;box-shadow:none;-webkit-mask-image:-webkit-radial-gradient(#fff,#000)}
body.generated-category-page .category-hero .unified-hero-media::after{content:none}
body.generated-category-page .category-hero .unified-hero-media img{display:block;height:calc(100% + 12px);margin-top:-2px;box-shadow:none;filter:none}
@media(min-width:1081px){
 body.generated-category-page .unified-hero.category-hero .hero-grid{min-height:500px;height:auto;max-height:none}
 body.generated-category-page .unified-hero.category-hero .hero-grid>div:first-child{max-height:none}
 body.generated-category-page .unified-hero.category-hero .unified-hero-media{min-height:500px;height:auto;max-height:none;align-self:stretch}
}
@media(max-width:640px) and (orientation:portrait){
 .generated-category-page main>.crumb{margin-bottom:14px;padding-top:14px;overflow:hidden;white-space:nowrap}
 .category-hero{padding-top:14px}
}
.category-products{padding:64px 0;background:var(--category-soft)}
.category-products .products-label{margin-bottom:24px}
@media(max-width:640px) and (orientation:portrait){.category-products{padding:44px 0}}
.category-theory{margin:0}
.category-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}

.generated-category-page [id]{scroll-margin-top:132px}
@media(max-width:640px) and (orientation:portrait){.generated-category-page [id]{scroll-margin-top:84px}}

@media(max-width:980px){.category-related-grid{grid-template-columns:minmax(0,1fr)}}

/* Shared benefits use the shared sitewide card component. */
.generated-category-page .benefits.unified-benefits{margin-top:0}
.generated-category-page .hero .btn{display:inline-flex;align-items:center;justify-content:center;line-height:1.2;text-align:center}
/* Reuse the illustrated category-card language from the locker overview. */
.category-related-grid .locker-section-card{position:relative;display:block;min-width:0;overflow:hidden;padding:0;border:1px solid #d9dde1;border-radius:18px;background:#fff;color:#15171a;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.category-related-grid .locker-section-card>img{display:block;width:100%;aspect-ratio:1.55/1;object-fit:cover;background:#eceeef}
.category-related-grid .locker-section-card>span{position:relative;display:grid;gap:7px;min-height:160px;padding:20px 62px 20px 20px;color:inherit;font-size:initial;font-weight:initial;letter-spacing:normal;text-transform:none}
.category-related-grid .locker-section-card small{color:#8a9097;font-size:12px;font-style:normal;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.category-related-grid .locker-section-card strong{font-size:clamp(20px,2vw,27px);line-height:1.08}
.category-related-grid .locker-section-card em{color:#6f757c;font-size:15px;font-style:normal;line-height:1.45}
.category-related-grid .locker-section-card b{position:absolute;right:18px;bottom:18px;display:grid;width:42px;height:42px;place-items:center;border:1px solid #d7dbe0;border-radius:50%;color:#b10b0a;font-size:22px}
.category-related-grid .locker-section-card:hover{transform:translateY(-3px);border-color:#c5c9ce;box-shadow:0 16px 36px rgba(19,22,25,.09)}
.category-related-grid .locker-section-card:hover b{border-color:#b10b0a;background:#b10b0a;color:#fff}
@media(max-width:640px) and (orientation:portrait){
 .generated-category-page .category-theory .bg-grid{margin-top:28px}
 .generated-category-page .category-theory .bg-wrap{padding-bottom:20px}
 .generated-category-page .category-related{padding-top:32px}
 .category-related-grid .locker-section-card>span{min-height:142px;padding:18px 58px 18px 18px}
 .category-related-grid .locker-section-card>img{aspect-ratio:1.5/1}
}
@media(hover:none){
 .category-related-grid .locker-section-card:hover{transform:none;border-color:#d9dde1;box-shadow:none}
 .category-related-grid .locker-section-card:hover b{border-color:#d7dbe0;background:#fff;color:#b10b0a}
}

/* Remove the parent section padding that previously accumulated between blocks. */
.generated-category-page .category-theory{padding-bottom:0}
.generated-category-page .category-theory .bg-wrap{padding-bottom:12px}
.generated-category-page .category-related{padding-top:24px}
body.kerong-unified main[data-page-template="service"]{--service-section-edge:36px}
body.kerong-unified main[data-page-template="service"]>section[data-block-id^="service-"]:not([data-block-id="service-hero"],[data-block-id="service-benefits"],[data-block-id="service-contact"]){padding-block:var(--service-section-edge)}
body.kerong-unified main[data-page-template="service"]>section[data-block-id="service-theory"] .bg-wrap{padding-bottom:0}
@media(max-width:640px) and (orientation:portrait){
 .generated-category-page .category-theory{padding-bottom:0}
 .generated-category-page .category-theory .bg-wrap{padding-bottom:10px}
 .generated-category-page .category-related{padding-top:20px}
}
@media(max-width:640px){
 body.kerong-unified main[data-page-template="service"]{--service-section-edge:28px}
}

/* Optional category-specific context around the shared theory grid. */
.generated-category-page .category-theory-lead{max-width:900px;margin:18px 0 0;color:#6f757c;font-size:18px;line-height:1.6}
.generated-category-page .category-theory .bg-grid{margin-top:30px}
.generated-category-page .content-head>div{flex:1 1 auto;max-width:none}
.generated-category-page .content-head h2{max-width:none;text-wrap:wrap}
body.generated-category-page.kerong-unified main>section.section:has(>.container>h2+.faq)>.container>h2{width:100%;max-width:none;text-wrap:wrap}
.generated-category-page .category-theory-after{max-width:900px;margin:24px 0 0;color:#6f757c;font-size:16px;line-height:1.55}
.generated-category-page .category-theory-after a{color:#b10b0a;font-weight:750;text-underline-offset:3px}
@media(max-width:640px) and (orientation:portrait){
 .generated-category-page .category-theory-lead{margin-top:14px;font-size:16px;line-height:1.55}
 .generated-category-page .category-theory-after{margin-top:20px;font-size:15px}
}

/* Category product thumbnails: compensate for uneven whitespace in source canvases. */
.generated-category-page .category-products .product-card .product-media img{
 transform:translate(var(--product-image-shift-x,0),var(--product-image-shift-y,0)) scale(1)
}
.generated-category-page .category-products .product-card:hover .product-media img{
 transform:translate(var(--product-image-shift-x,0),var(--product-image-shift-y,0)) scale(1.035)
}
@media(hover:none){
 .generated-category-page .category-products .product-card:hover .product-media img{
  transform:translate(var(--product-image-shift-x,0),var(--product-image-shift-y,0)) scale(1)
 }
}
.generated-category-page .system-products .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-inline: auto;
}

.generated-category-page .system-products .product-media img {
  object-fit: contain;
  object-position: center;
}

.generated-category-page .system-products .product-link {
  min-height: 52px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 640px) {
  .generated-category-page .system-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Optional model comparison shared by generated category pages. */
.generated-category-page .category-comparison{overflow:hidden}
.generated-category-page .category-comparison-intro{max-width:900px;margin-top:12px;color:#6f757c;font-size:17px;line-height:1.55}
.generated-category-page .category-comparison-common{margin:26px 0 22px;padding:24px 26px;border:1px solid #d9dde1;border-radius:18px;background:#f7f8f9}
.generated-category-page .category-comparison-common h3{margin:0 0 14px;font-size:20px;line-height:1.25}
.generated-category-page .category-comparison-common ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 32px;margin:0;padding-left:20px}
.generated-category-page .category-comparison-common li{padding-left:2px;color:#4f555b;line-height:1.5}
.generated-category-page .category-comparison-common li::marker{color:var(--color-accent)}
.generated-category-page .category-comparison-scroll{overflow-x:auto;border:1px solid #d9dde1;border-radius:18px;background:#fff;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.generated-category-page .category-comparison-scroll:focus-visible{outline:3px solid rgba(177,11,10,.24);outline-offset:3px}
.generated-category-page .category-comparison-table{width:100%;min-width:860px;border:0;border-collapse:separate;border-spacing:0;background:#fff}
.generated-category-page .category-comparison-table th,
.generated-category-page .category-comparison-table td{padding:17px 18px;border-right:1px solid #e2e5e8;border-bottom:1px solid #e2e5e8;text-align:left;vertical-align:middle;line-height:1.45}
.generated-category-page .category-comparison-table tr>*:last-child{border-right:0}
.generated-category-page .category-comparison-table tbody tr:last-child>*{border-bottom:0}
.generated-category-page .category-comparison-table thead th{background:#181a1d;color:#fff;font-size:16px;font-weight:800}
.generated-category-page .category-comparison-table thead th:first-child{position:sticky;left:0;z-index:3;min-width:210px}
.generated-category-page .category-comparison-table thead a{color:#fff;text-decoration-color:rgba(255,255,255,.48);text-underline-offset:4px}
.generated-category-page .category-comparison-table thead a:hover{text-decoration-color:#fff}
.generated-category-page .category-comparison-table tbody th{position:sticky;left:0;z-index:1;width:24%;min-width:210px;background:#f5f6f7;color:#202327;font-size:15px;font-weight:800}
.generated-category-page .category-comparison-table tbody td{min-width:210px;color:#4f555b}
.generated-category-page .category-comparison-table tbody tr:nth-child(even) td{background:#fafafa}
.generated-category-page .category-comparison-note{max-width:900px;margin:16px 0 0;color:#6f757c;font-size:14px;line-height:1.5}
@media(max-width:640px) and (orientation:portrait){
 .generated-category-page .category-comparison-intro{font-size:16px}
 .generated-category-page .category-comparison-common{margin:20px 0 18px;padding:20px}
 .generated-category-page .category-comparison-common ul{grid-template-columns:1fr;gap:8px}
 .generated-category-page .category-comparison-scroll{border-radius:14px}
 .generated-category-page .category-comparison-table{min-width:790px}
 .generated-category-page .category-comparison-table th,
 .generated-category-page .category-comparison-table td{padding:14px 15px;font-size:14px}
 .generated-category-page .category-comparison-table thead th:first-child,
 .generated-category-page .category-comparison-table tbody th{min-width:178px}
 .generated-category-page .category-comparison-table tbody td{min-width:190px}
}

/* SKUD identification methods: catalog-style illustrated cards. */
.access-methods__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-top:32px;
}
.access-method-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #dfe2e6;
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 34px rgba(18,22,27,.055);
}
.access-method-card__media{
  display:block;
  aspect-ratio:3/2;
  margin:0;
  overflow:hidden;
  background:#eef0f2;
}
.access-method-card__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.access-method-card__body{
  padding:26px 28px 30px;
}
.access-method-card__body h3{
  margin:0 0 18px;
  font-size:clamp(24px,2.2vw,32px);
  line-height:1.12;
}
.access-method-card__body p{
  margin:0 0 15px;
  color:#6d7279;
  font-size:17px;
  line-height:1.62;
}
.access-method-card__body p:last-child{margin-bottom:0}
.access-method-card__body strong{color:#282b30}
@media(max-width:760px){
  .access-methods__grid{
    grid-template-columns:minmax(0,1fr);
    gap:18px;
    margin-top:24px;
  }
  .access-method-card{border-radius:18px}
  .access-method-card__body{padding:22px 20px 24px}
  .access-method-card__body h3{margin-bottom:15px;font-size:25px}
  .access-method-card__body p{font-size:16px;line-height:1.58}
}
