/* Final cascade layer: loaded after every legacy page style. */
@media all {
  html, body { max-width: 100% !important; overflow-x: hidden !important; }
  body { margin: 0 !important; min-width: 0 !important; }

  body > table[width="1100"] {
    width: min(1160px, calc(100% - 32px)) !important;
    max-width: 1160px !important;
    margin: 28px auto 48px !important;
    table-layout: auto !important;
  }

  body > table[width="1100"] > tbody > tr > td[width="930"],
  body > table[width="1100"] > tbody > tr > td[width="87%"] {
    width: auto !important;
    max-width: 100% !important;
    padding: clamp(22px, 4vw, 52px) !important;
  }

  body > table[width="1100"] > tbody > tr > td[width="170"],
  body > table[width="1100"] > tbody > tr > td[width="13%"] {
    width: 250px !important;
    min-width: 0 !important;
    padding: 32px 24px !important;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
  }

  .line-contact {
    position: fixed !important;
    z-index: 2147483647 !important;
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
    background: #06c755 !important;
    text-decoration: none !important;
  }
}

@media screen and (max-width: 760px) {
  body > table[width="1100"] {
    width: calc(100% - 20px) !important;
    min-width: 0 !important;
    margin: 10px auto 88px !important;
  }

  body > table[width="1100"] > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  body > table[width="1100"] > tbody > tr > td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body > table[width="1100"] > tbody > tr > td[width="930"],
  body > table[width="1100"] > tbody > tr > td[width="87%"] {
    order: 1 !important;
    padding: 24px 18px !important;
  }

  body > table[width="1100"] > tbody > tr > td[width="170"],
  body > table[width="1100"] > tbody > tr > td[width="13%"] {
    order: 2 !important;
    width: 100% !important;
    padding: 28px 20px !important;
    border-left: 0 !important;
  }

  td > table {
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  .line-contact {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    width: auto !important;
    text-align: center !important;
  }
}

/* Branded, category-specific editorial hero */
body::before { display: none !important; }
.site-hero {
  --accent: #a64b2a;
  --deep: #25201d;
  --soft: #f1dfd3;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1160px, calc(100% - 32px));
  min-height: 360px;
  margin: 28px auto 0;
  padding: clamp(38px, 7vw, 82px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--accent) 55%, transparent) 0 10%, transparent 10.5%),
    linear-gradient(128deg, var(--deep) 0 62%, var(--accent) 150%);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--deep) 24%, transparent);
  color: #fff;
}
.site-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -140px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 48% 52% 42% 58%;
  transform: rotate(24deg);
}
.site-hero__inner { max-width: 790px; }
.site-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--soft) !important;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: .18em;
}
.site-hero__kicker::before { content: ""; width: 34px; height: 2px; background: var(--soft); }
.site-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(38px, 6.4vw, 76px) !important;
  line-height: 1.1 !important;
  letter-spacing: -.055em;
}
.site-hero__lead {
  max-width: 680px;
  margin: 24px 0 26px;
  color: rgba(255,255,255,.78) !important;
  font-size: clamp(16px, 2vw, 20px) !important;
  line-height: 1.8 !important;
}
.site-hero__points { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 32px; padding: 0; list-style: none; }
.site-hero__points li {
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  backdrop-filter: blur(8px);
}
.site-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.site-hero__cta {
  display: inline-flex;
  padding: 13px 20px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--deep) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}
.site-hero__id { color: rgba(255,255,255,.72); font-size: 13px; letter-spacing: .06em; }
.theme-chef .site-hero { --accent:#b4492e; --deep:#241c19; --soft:#f2c6a7; }
.theme-apron .site-hero { --accent:#a7792d; --deep:#272116; --soft:#f0d394; }
.theme-print .site-hero { --accent:#316b67; --deep:#142624; --soft:#a9d8ce; }
.theme-apparel .site-hero { --accent:#405aa5; --deep:#171d35; --soft:#bac8f2; }
.theme-bag .site-hero { --accent:#6f7041; --deep:#222417; --soft:#d9daa7; }
.theme-equipment .site-hero { --accent:#765a8f; --deep:#211929; --soft:#d7bde8; }
.theme-contact .site-hero { --accent:#b23652; --deep:#28171c; --soft:#f3b5c4; }
.site-hero + table[width="1100"] { margin-top: 22px !important; }

@media screen and (max-width: 760px) {
  .site-hero {
    width: calc(100% - 20px);
    min-height: 0;
    margin-top: 10px;
    padding: 38px 24px 42px;
    border-radius: 18px;
  }
  .site-hero h1 { font-size: clamp(34px, 12vw, 54px) !important; }
  .site-hero__lead { margin-top: 18px; }
  .site-hero__actions { align-items: flex-start; flex-direction: column; gap: 12px; }
}
