/* =========================================================
   TEJPY.cz — Masážní válce
   Externí CSS pro obsah kategorie v Shoptetu
   Prefix všech tříd: .tejp-
   ========================================================= */

.tejp-category {
  --tejp-ink: #18201f;
  --tejp-muted: #65706d;
  --tejp-line: #dfe5e2;
  --tejp-soft: #f4f7f5;
  --tejp-soft-2: #eef3f0;
  --tejp-accent: #176b58;
  --tejp-accent-dark: #0e4c3f;
  --tejp-white: #fff;
  --tejp-radius: 18px;
  --tejp-shadow: 0 12px 36px rgba(18, 38, 32, .07);

  max-width: 1180px;
  margin: 0 auto;
  color: var(--tejp-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

.tejp-category *,
.tejp-category *::before,
.tejp-category *::after {
  box-sizing: border-box;
}

.tejp-category a {
  color: var(--tejp-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tejp-category a:hover {
  color: var(--tejp-accent-dark);
}

.tejp-category h1,
.tejp-category h2,
.tejp-category h3 {
  margin: 0;
  color: var(--tejp-ink);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.tejp-category h1 {
  max-width: 780px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 750;
}

.tejp-category h2 {
  font-size: clamp(27px, 3.2vw, 40px);
  font-weight: 720;
}

.tejp-category h3 {
  font-size: 20px;
  font-weight: 700;
}

.tejp-category p {
  margin: 0 0 1em;
}

.tejp-category strong {
  font-weight: 700;
}

.tejp-eyebrow {
  margin: 0 0 10px !important;
  color: var(--tejp-accent);
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .16em !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.tejp-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 18px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--tejp-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 10%, rgba(23, 107, 88, .10), transparent 30%),
    linear-gradient(135deg, #fbfcfb 0%, #f1f6f3 100%);
}

.tejp-hero__content {
  max-width: 850px;
}

.tejp-hero__content > p:not(.tejp-eyebrow) {
  max-width: 800px;
  color: var(--tejp-muted);
}

.tejp-hero__content .tejp-lead {
  margin-top: 22px;
  color: #36423f;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.tejp-hero__note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 650px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(23, 107, 88, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

.tejp-hero__note-icon {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--tejp-accent);
  color: #fff;
  font-weight: 800;
}

.tejp-hero__note strong,
.tejp-hero__note span {
  display: block;
}

.tejp-hero__note span {
  margin-top: 2px;
  color: var(--tejp-muted);
  font-size: 14px;
}

.tejp-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 46px;
}

.tejp-jump a {
  padding: 8px 13px;
  border: 1px solid var(--tejp-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tejp-ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: .2s ease;
}

.tejp-jump a:hover {
  border-color: var(--tejp-accent);
  color: var(--tejp-accent);
  transform: translateY(-1px);
}

.tejp-section {
  margin: 0 0 58px;
}

.tejp-section__heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.tejp-section__heading > p:last-child {
  margin-top: 15px;
  color: var(--tejp-muted);
  font-size: 16px;
}

.tejp-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tejp-choice-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--tejp-line);
  border-radius: var(--tejp-radius);
  background: #fff;
  box-shadow: var(--tejp-shadow);
}

.tejp-choice-card__number {
  display: block;
  margin-bottom: 28px;
  color: var(--tejp-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.tejp-choice-card h3 {
  margin-bottom: 13px;
}

.tejp-choice-card p {
  color: var(--tejp-muted);
  font-size: 14px;
  line-height: 1.65;
}

.tejp-choice-card p:last-child {
  margin-bottom: 0;
}

.tejp-section--soft {
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  background: var(--tejp-soft);
}

.tejp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--tejp-line);
  border-radius: 15px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.tejp-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.tejp-table th,
.tejp-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--tejp-line);
  text-align: left;
  vertical-align: top;
}

.tejp-table thead th {
  background: var(--tejp-soft-2);
  color: #34413e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tejp-table tbody tr:last-child th,
.tejp-table tbody tr:last-child td {
  border-bottom: 0;
}

.tejp-table tbody th {
  width: 25%;
  color: var(--tejp-ink);
  font-weight: 700;
}

.tejp-table tbody td {
  color: var(--tejp-muted);
}

.tejp-footnote {
  margin: 18px 0 0 !important;
  color: var(--tejp-muted);
  font-size: 13px;
}

.tejp-recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tejp-recommend {
  display: flex;
  min-height: 185px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--tejp-line);
  border-radius: var(--tejp-radius);
  background: #fff;
  color: var(--tejp-ink) !important;
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(18, 38, 32, .045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tejp-recommend:hover {
  border-color: rgba(23, 107, 88, .45);
  box-shadow: 0 15px 35px rgba(18, 38, 32, .10);
  transform: translateY(-3px);
}

.tejp-recommend__tag {
  margin-bottom: 20px;
  color: var(--tejp-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.tejp-recommend strong {
  margin-bottom: 8px;
  font-size: 19px;
}

.tejp-recommend span:not(.tejp-recommend__tag) {
  color: var(--tejp-muted);
  font-size: 13px;
  line-height: 1.55;
}

.tejp-recommend em {
  margin-top: auto;
  padding-top: 16px;
  color: var(--tejp-accent);
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.tejp-section--dark {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 24px;
  background: #18201f;
  color: rgba(255, 255, 255, .82);
}

.tejp-section--dark h2,
.tejp-section--dark h3 {
  color: #fff;
}

.tejp-section--dark .tejp-eyebrow {
  color: #7bc6b2;
}

.tejp-section--dark .tejp-section__heading > p:last-child {
  color: rgba(255, 255, 255, .68);
}

.tejp-use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tejp-use-grid > div {
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 15px;
  background: rgba(255, 255, 255, .055);
}

.tejp-use-grid span {
  display: block;
  margin-bottom: 20px;
  color: #7bc6b2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.tejp-use-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.tejp-use-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
}

.tejp-warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 20px;
  padding: 17px 19px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}

.tejp-warning strong {
  white-space: nowrap;
  color: #fff;
}

.tejp-warning span {
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
}

.tejp-section--compare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px;
  border: 1px solid var(--tejp-line);
  border-radius: var(--tejp-radius);
  background: #fff;
}

.tejp-section--compare > div {
  max-width: 760px;
}

.tejp-section--compare p {
  margin: 10px 0 0;
  color: var(--tejp-muted);
}

.tejp-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--tejp-accent);
  color: #fff !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none !important;
  white-space: nowrap;
  transition: .2s ease;
}

.tejp-button:hover {
  background: var(--tejp-accent-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.tejp-button--outline {
  border: 1px solid var(--tejp-accent);
  background: #fff;
  color: var(--tejp-accent) !important;
}

.tejp-button--outline:hover {
  background: var(--tejp-accent);
  color: #fff !important;
}

.tejp-faq {
  max-width: 900px;
}

.tejp-faq details {
  border-top: 1px solid var(--tejp-line);
}

.tejp-faq details:last-child {
  border-bottom: 1px solid var(--tejp-line);
}

.tejp-faq summary {
  position: relative;
  padding: 19px 38px 19px 0;
  cursor: pointer;
  list-style: none;
  color: var(--tejp-ink);
  font-size: 16px;
  font-weight: 700;
}

.tejp-faq summary::-webkit-details-marker {
  display: none;
}

.tejp-faq summary::after {
  position: absolute;
  top: 17px;
  right: 2px;
  content: "+";
  color: var(--tejp-accent);
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

.tejp-faq details[open] summary::after {
  content: "−";
}

.tejp-faq details p {
  max-width: 760px;
  margin: -2px 0 20px;
  color: var(--tejp-muted);
  font-size: 14px;
}

.tejp-product-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 0;
  padding: 26px 28px;
  border-radius: var(--tejp-radius);
  background: var(--tejp-soft);
}

.tejp-product-intro h2 {
  font-size: 27px;
}

.tejp-product-intro p:last-child {
  margin: 8px 0 0;
  color: var(--tejp-muted);
  font-size: 14px;
}

/* Přístupné focus stavy */
.tejp-category a:focus-visible,
.tejp-category summary:focus-visible {
  outline: 3px solid rgba(23, 107, 88, .28);
  outline-offset: 3px;
}

/* Tablet */
@media (max-width: 900px) {
  .tejp-choice-grid,
  .tejp-recommend-grid,
  .tejp-use-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tejp-hero {
    padding: 36px;
  }
}

/* Mobil */
@media (max-width: 640px) {
  .tejp-category {
    font-size: 15px;
  }

  .tejp-category h1 {
    font-size: 34px;
  }

  .tejp-category h2 {
    font-size: 28px;
  }

  .tejp-hero {
    margin-left: -8px;
    margin-right: -8px;
    padding: 28px 22px;
    border-radius: 18px;
  }

  .tejp-jump {
    margin-bottom: 34px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 3px;
  }

  .tejp-jump a {
    flex: 0 0 auto;
  }

  .tejp-section {
    margin-bottom: 42px;
  }

  .tejp-section--soft,
  .tejp-section--dark {
    margin-left: -8px;
    margin-right: -8px;
    padding: 28px 20px;
    border-radius: 18px;
  }

  .tejp-choice-grid,
  .tejp-recommend-grid,
  .tejp-use-grid {
    grid-template-columns: 1fr;
  }

  .tejp-choice-card {
    padding: 21px;
  }

  .tejp-choice-card__number {
    margin-bottom: 18px;
  }

  .tejp-recommend {
    min-height: 160px;
  }

  .tejp-warning {
    grid-template-columns: 1fr;
  }

  .tejp-warning strong {
    white-space: normal;
  }

  .tejp-section--compare {
    flex-direction: column;
    align-items: flex-start;
    padding: 23px;
  }

  .tejp-product-intro {
    flex-direction: column;
    align-items: flex-start;
    padding: 23px;
  }

  .tejp-product-intro .tejp-button {
    width: 100%;
  }

  .tejp-table {
    min-width: 650px;
  }
}

/* Respektování omezení pohybu */
@media (prefers-reduced-motion: reduce) {
  .tejp-category * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
