/* Static archive layout repairs. Loaded after the recovered site styles. */
.recovery-static {
  --stss-orange: #f06724;
  --stss-ink: #26313e;
  --stss-muted: #68727d;
  --stss-paper: #fff;
  --stss-page: #f5f5f5;
  --stss-rule: #e3e5e8;
}

.recovery-static,
.recovery-static * { box-sizing: border-box; }
.recovery-static img,
.recovery-static svg { max-width: 100%; }
.recovery-static .page { min-width: 0; overflow-x: clip; }
.recovery-static .container { width: min(100% - 40px, 1480px); min-width: 0; }

/* Catalog: cards should take equal, flexible tracks in either view mode. */
.recovery-static .s-catalog,
.recovery-static .catalog-main,
.recovery-static .catalog-output,
.recovery-static .catalog-cards { min-width: 0; width: 100%; max-width: 100%; }
.recovery-static .catalog-main { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 0; }
.recovery-static .catalog-output { grid-column: 1; }
.recovery-static .catalog-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch;
}
.recovery-static .catalog-cards > *,
.recovery-static .catalog-cards > .product-card {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}
.recovery-static .product-card {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--stss-rule);
  border-radius: 8px;
  background: var(--stss-paper);
  overflow-wrap: anywhere;
}
.recovery-static .product-card-pic,
.recovery-static .product-card-pic-link { display: flex; justify-content: center; align-items: center; width: 100%; min-width: 0; height: 170px; }
.recovery-static .product-card-pic img { width: 100%; height: 100%; object-fit: contain; }
.recovery-static .product-card-content,
.recovery-static .product-card-name,
.recovery-static .product-card-chars,
.recovery-static .product-card-price { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.recovery-static .product-card-name { font-size: 16px; line-height: 1.45; }
.recovery-static .product-card-chars { font-size: 13px; line-height: 1.55; }
.recovery-static .product-card-buy { margin-top: auto; }
.recovery-static .catalog-controls__views { display: flex; align-items: center; gap: 8px; }
.recovery-static .catalog-view-control { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; }
.recovery-static .catalog-cards.catalog-cards_list,
.recovery-static .catalog-cards.is-list { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

/* Product pages: let the product content and order panel share the page width. */
.recovery-static .s-product,
.recovery-static .s-product > .container,
.recovery-static .product { min-width: 0; width: 100%; max-width: 100%; }
.recovery-static .product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, .8fr) !important;
  grid-template-areas: "product-name product-order" "product-swiper product-order" "product-short-desc product-order" "product-chars product-order" "product-detailed product-detailed" !important;
  align-items: start;
  gap: 22px 30px !important;
  padding: 28px !important;
  overflow: visible !important;
}
.recovery-static .product-main { display: contents !important; }
.recovery-static .product-name { grid-area: product-name !important; min-width: 0; max-width: none; margin: 0; font-size: clamp(24px, 2.3vw, 34px) !important; line-height: 1.2; overflow-wrap: anywhere; }
.recovery-static .product-swiper { grid-area: product-swiper !important; min-width: 0; width: 100%; max-width: none; }
.recovery-static .product-swiper-main { max-width: 100%; }
.recovery-static .product-swiper-main-slide__pic { display: flex; align-items: center; justify-content: center; min-width: 0; }
.recovery-static .product-swiper-main-slide__pic img { max-height: 420px; width: 100%; object-fit: contain; }
.recovery-static .product-short-desc { grid-area: product-short-desc !important; min-width: 0; width: 100%; max-width: none; align-self: center; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.recovery-static .product-chars { grid-area: product-chars !important; min-width: 0; width: 100%; }
.recovery-static .product-chars-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.recovery-static .product-chars-item { min-width: 0; overflow-wrap: anywhere; }
.recovery-static .product-detailed { grid-area: product-detailed !important; min-width: 0; width: 100%; max-width: none; }
.recovery-static .product-detailed-inner,
.recovery-static .product-detailed-panel,
.recovery-static .product-detailed-description { width: 100%; max-width: none; min-width: 0; }
.recovery-static .product-detailed-panel { padding-top: 18px; }
.recovery-static .product-order { grid-area: product-order !important; position: static !important; inset: auto !important; width: 100%; min-width: 0; max-width: none; margin: 0 !important; align-self: stretch; }
.recovery-static .product-order__inner { position: static !important; inset: auto !important; width: 100%; min-width: 0; max-width: none; padding: 22px !important; border: 1px solid var(--stss-rule); border-radius: 8px; background: #fafafa; }
.recovery-static .product-order__price,
.recovery-static .product-configuration,
.recovery-static .product-configuration-form-group,
.recovery-static .product-configuration-group-row { width: 100%; min-width: 0; max-width: none; }
.recovery-static .product-configuration-group-row { min-height: 0; height: auto; }
.recovery-static .product-configuration-group-row_title { white-space: normal; }
.recovery-static .recovered-value { min-width: 0; max-width: 100%; }

/* Home hero: a calm charcoal panel with legible copy and a bounded product image. */
.recovery-static .s-key { padding-block: 22px; }
.recovery-static .key-outer { border-radius: 8px; background: var(--stss-ink); overflow: hidden; }
.recovery-static .key { min-width: 0; min-height: 390px; gap: 30px; padding: 38px; color: #fff; }
.recovery-static .key-content { position: relative; z-index: 1; flex: 1 1 46%; width: auto; min-width: 0; max-width: 560px; padding: 24px 0; color: #fff; }
.recovery-static .key-heading { color: #fff; font-size: clamp(26px, 3vw, 42px); line-height: 1.2; }
.recovery-static .key-text { max-width: 38rem; font-size: 17px; line-height: 1.65; }
.recovery-static .key-pic { flex: 1 1 54%; width: auto; min-width: 0; max-width: 650px; max-height: 390px; object-fit: contain; }
.recovery-static .key-pic img { display: block; max-height: 390px; width: 100%; object-fit: contain; }
.recovery-static .key .btn,
.recovery-static .key a.button { background: var(--stss-orange); color: #fff; }

/* Static cards replace the original home page carousels without overflowing. */
.recovery-static .s-advantages { min-width: 0; overflow: hidden; }
.recovery-static .advantages { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 28px; }
.recovery-static .advantages-left,
.recovery-static .advantages-right,
.recovery-static .advantages-cards { min-width: 0; max-width: 100%; }
.recovery-static .advantages-left { display: flex; flex-direction: column; gap: 18px; }
.recovery-static .advantages-title { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.recovery-static .advantages-list { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; }
.recovery-static .advantages-item { display: flex; align-items: flex-start; gap: 12px; min-width: 0; line-height: 1.55; overflow-wrap: anywhere; }
.recovery-static .advantages-item > svg { display: block; width: 28px; height: 28px; flex: 0 0 28px; color: var(--stss-orange); }
.recovery-static .advantages-swiper { min-width: 0; max-width: 100%; overflow: hidden; }
.recovery-static .advantages-swiper > .swiper-wrapper { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; gap: 10px; width: 100% !important; height: auto !important; transform: none !important; }
.recovery-static .advantages-swiper .advantages-slide { display: flex; align-items: center; justify-content: center; width: auto !important; min-width: 0; height: 54px; margin: 0 !important; padding: 6px; }
.recovery-static .advantages-swiper .advantages-slide:nth-child(n+13) { display: none !important; }
.recovery-static .advantages-swiper .advantages-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.recovery-static .advantages-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 16px; width: 100%; }
.recovery-static .advantages-card { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 150px; max-width: 100%; padding: 20px; border-radius: 8px; background-color: #46515f; overflow-wrap: anywhere; }
.recovery-static .advantages-card_colspan-2 { grid-column: span 2; }
.recovery-static .advantages-card img,
.recovery-static .advantages-card svg,
.recovery-static .advantages-item svg { width: 30px; height: 30px; flex: 0 0 auto; color: var(--stss-orange); object-fit: contain; }
.recovery-static .s-testimonials { min-width: 0; overflow: hidden; background: var(--stss-page); }
.recovery-static .testimonials { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.recovery-static .testimonials-card_hat { min-width: 0; min-height: 0; padding: 18px 22px; border-radius: 8px; }
.recovery-static .testimonials-slider,
.recovery-static .testimonials-slider__swiper { min-width: 0; max-width: 100%; height: auto; overflow: visible; }
.recovery-static .testimonials-slider__swiper > .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  width: 100% !important;
  height: auto !important;
  transform: none !important;
}
.recovery-static .testimonials-slider .swiper-slide { display: flex; width: auto !important; min-width: 0; max-width: 100%; height: auto !important; margin: 0 !important; }
.recovery-static .testimonials-card { width: 100%; min-width: 0; min-height: 190px; padding: 22px; border: 1px solid var(--stss-rule); border-radius: 8px; background: #fff; overflow-wrap: anywhere; }
.recovery-static .testimonials-card_hat { background-color: var(--stss-orange); color: #fff; }
.recovery-static .testimonials-card__txt { min-width: 0; line-height: 1.65; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .recovery-static .catalog-main { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .recovery-static .catalog-output { grid-column: 1; }
  .recovery-static .catalog-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .recovery-static .product { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr) !important; grid-template-areas: "product-name product-name" "product-swiper product-order" "product-short-desc product-order" "product-chars product-chars" "product-detailed product-detailed" !important; }
  .recovery-static .advantages { grid-template-columns: minmax(0, 1fr); }
  .recovery-static .advantages-swiper > .swiper-wrapper { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .recovery-static .advantages-cards,
  .recovery-static .testimonials-slider__swiper > .swiper-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .recovery-static .container { width: min(100% - 28px, 1480px); }
  .recovery-static .catalog-cards,
  .recovery-static .catalog-cards.catalog-cards_list,
  .recovery-static .catalog-cards.is-list { grid-template-columns: minmax(0, 1fr) !important; }
  .recovery-static .product { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "product-name" "product-swiper" "product-short-desc" "product-order" "product-chars" "product-detailed" !important; gap: 18px !important; padding: 18px !important; }
  .recovery-static .product-chars-list { grid-template-columns: minmax(0, 1fr); }
  .recovery-static .product-order__inner { padding: 16px !important; }
  .recovery-static .key { flex-direction: column-reverse; align-items: stretch; min-height: 0; gap: 8px; padding: 22px; }
  .recovery-static .key-content { flex: auto; max-width: none; padding: 10px 0 0; }
  .recovery-static .key-pic { flex: auto; align-self: center; max-height: 260px; }
  .recovery-static .key-pic img { max-height: 260px; }
  .recovery-static .advantages-cards,
  .recovery-static .testimonials-slider__swiper > .swiper-wrapper { grid-template-columns: minmax(0, 1fr); }
  .recovery-static .advantages-swiper > .swiper-wrapper { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .recovery-static .advantages-card_colspan-2 { grid-column: auto; }
}
/* Complete static home sections when their archived background is unavailable. */
.recovery-static .specprice{background:#26313e;border-radius:16px;min-height:300px;color:#fff;overflow:hidden}
.recovery-static .specprice-content{padding:32px;max-width:640px}
.recovery-static .specprice-heading{font-size:clamp(24px,2.7vw,36px);line-height:1.25}
.recovery-static .specprice-text{font-size:15px;line-height:1.7}
.recovery-static .advantages-cards{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(140px,auto)}
.recovery-static .advantages-card{min-height:140px;overflow-wrap:normal;word-break:normal;font-size:14px;line-height:1.5}
.recovery-static .advantages-card_colspan-2{grid-column:span 2}
.recovery-static .advantages-slide:has(img[src$="image-unavailable.svg"]){display:none!important}
.recovery-static .testimonials-card_hat{display:grid;grid-template-columns:1fr 1.3fr;grid-template-rows:auto auto auto;gap:6px 40px;padding:28px 32px;min-height:0!important;height:auto!important}
.recovery-static .testimonials-card_hat .testimonials-card__suptitle{grid-column:1;max-width:none;font-size:16px;margin:0}
.recovery-static .testimonials-card_hat .testimonials-card__num{grid-column:1;font-size:64px;line-height:1.1;margin:0}
.recovery-static .testimonials-card_hat .testimonials-card__num-title{grid-column:1;font-size:20px;margin:0}
.recovery-static .testimonials-card_hat .testimonials-card__subtitle{grid-column:2;grid-row:1 / 4;align-self:center;max-width:100%;width:auto;margin:0;font-size:20px;line-height:1.5}
.recovery-static .testimonials-slider .testimonials-card{display:flex;flex-direction:column;gap:20px;height:100%;padding:24px;border-radius:16px}
.recovery-static .testimonials-card__name{font-size:16px;line-height:1.4;min-height:45px;margin:0}
.recovery-static .testimonials-card__txt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:10;overflow:hidden;font:14px/1.7 'Open Sans',Arial,sans-serif;margin:0;color:#69747d}
.recovery-static .testimonials-card__txt p{margin:0 0 12px}
.recovery-static .testimonials-card__position:empty{display:none}
.recovery-static .testimonials-card__more{margin-top:auto;font-size:12px}
.recovery-static .testimonials-slider .swiper-navigation{display:none!important}
@media(max-width:680px){
 .recovery-static .specprice{min-height:0}
 .recovery-static .specprice-content{padding:25px;max-width:none}
 .recovery-static .advantages-cards{grid-template-columns:1fr}
 .recovery-static .advantages-card_colspan-2{grid-column:auto}
 .recovery-static .advantages-card{min-height:110px}
 .recovery-static .testimonials-card_hat{grid-template-columns:1fr;gap:10px;padding:24px}
 .recovery-static .testimonials-card_hat .testimonials-card__num{font-size:54px}
 .recovery-static .testimonials-card_hat .testimonials-card__subtitle{grid-column:1;grid-row:auto;font-size:16px;margin-top:10px}
}
.recovery-static .specprice{min-height:260px;display:block}
.recovery-static .specprice-content{width:100%;max-width:none;display:grid;grid-template-columns:1.1fr 1fr;gap:22px 50px;padding:38px 42px;margin:0}
.recovery-static .specprice-heading{grid-column:1;grid-row:1;margin:0}
.recovery-static .specprice-text{grid-column:2;grid-row:1 / 3;margin:0;align-self:center;max-width:none;font:15px/1.8 'Open Sans',Arial,sans-serif}
.recovery-static .specprice-content>.btn{grid-column:1;grid-row:2;justify-self:start;align-self:end;margin:0}
@media(max-width:680px){.recovery-static .specprice-content{grid-template-columns:1fr;padding:26px;gap:20px}.recovery-static .specprice-heading,.recovery-static .specprice-text,.recovery-static .specprice-content>.btn{grid-column:1;grid-row:auto}.recovery-static .specprice-heading{font-size:27px}.recovery-static .specprice-text{font-size:14px}}
/* The archived gallery used a square padding spacer, which grows excessively in the new grid. */
.recovery-static .product-swiper-main-slide__pic{height:360px;padding:0!important}
.recovery-static .product-swiper-main-slide__pic img{position:static!important;inset:auto!important;width:100%;height:100%;max-height:360px}
@media(max-width:680px){.recovery-static .product-swiper-main-slide__pic{height:250px}.recovery-static .product-swiper-main-slide__pic img{max-height:250px}}
/* Readable static details, with real section anchors rather than inactive tabs. */
.recovery-static .product-detailed-controls{position:static!important;inset:auto!important;transform:none!important;margin:0 0 24px!important;padding:0!important;width:100%!important;display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #e4e7e9;padding-bottom:16px!important}
.recovery-static .product-detailed-controls__item{flex:0 1 auto;min-width:0;max-width:100%;min-height:42px;line-height:1.4;white-space:normal}
.recovery-static .product-detailed-description{max-width:1050px!important;margin:0 0 36px;padding:0;font:16px/1.8 'Open Sans',Arial,sans-serif;color:#39464f;overflow-wrap:anywhere}
.recovery-static .product-detailed-description p{margin:0 0 18px}
/* Preserve the full testimonial text; no clipped lines or fixed text height. */
.recovery-static .testimonials-card__txt{display:block!important;-webkit-line-clamp:unset!important;max-height:none!important;height:auto!important;overflow:visible!important}
.recovery-static .testimonials-card__txt p{overflow:visible!important;display:block!important;-webkit-line-clamp:unset!important;max-height:none!important}
/* Remove square padding spacers and absolute pictures from static catalog cards. */
.recovery-static .product-card-pic,.recovery-static .product-card-pic-link{height:200px!important;min-height:0!important;padding:0!important;display:flex!important;align-items:center;justify-content:center;position:relative;overflow:hidden}
.recovery-static .product-card-pic img,.recovery-static .product-card-pic-link img{position:static!important;inset:auto!important;display:block;width:100%;height:100%;max-height:180px;object-fit:contain!important;padding:14px}
@media(max-width:680px){.recovery-static .product-detailed-description{font-size:15px;line-height:1.75}.recovery-static .product-detailed-controls__item{font-size:11px;padding:10px}.recovery-static .product-card-pic,.recovery-static .product-card-pic-link{height:180px!important}}
