/*
 * F10 Tuya IoT / Zigbee — Russian B2B depth layer
 *
 * This stylesheet is intentionally scoped to the F10 page. It adds a clear
 * buying sequence (positioning → evidence → integration → supply → FAQ)
 * without changing the shared navigation or other product pages.
 */

.f10-tuya-zigbee-page {
  --f10-ink: #101b24;
  --f10-ink-soft: #172a34;
  --f10-ink-muted: #b9c9d0;
  --f10-paper: #fbfaf7;
  --f10-warm: #f3eee7;
  --f10-surface: #ffffff;
  --f10-copper: #c86b31;
  --f10-copper-dark: #a95121;
  --f10-line: #ded6cd;
  --f10-shadow: 0 18px 42px rgba(16, 27, 36, .10);
  --f10-shadow-lift: 0 26px 60px rgba(16, 27, 36, .16);
  color: var(--f10-ink);
  background: var(--f10-paper);
}

.f10-tuya-zigbee-page .breadcrumb-wrap {
  background: #f7f3ee;
  border-bottom-color: var(--f10-line);
}

.f10-tuya-zigbee-page .breadcrumb-wrap ol li.active {
  color: var(--f10-ink);
  font-weight: 700;
}

/* Hero: make the product boundary and the primary B2B action unmistakable. */
.f10-tuya-zigbee-page .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 430px;
  padding: clamp(76px, 8vw, 108px) 0 86px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 24%, rgba(200, 107, 49, .22), transparent 28%),
    radial-gradient(circle at 60% 100%, rgba(54, 117, 134, .18), transparent 34%),
    linear-gradient(118deg, #0b171f 0%, #122731 58%, #162c35 100%) !important;
  border-bottom: 4px solid var(--f10-copper);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08);
}

.f10-tuya-zigbee-page .page-hero::before {
  z-index: -1;
  display: block !important;
  opacity: .72;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .82) 48%, transparent 100%);
}

.f10-tuya-zigbee-page .page-hero::after {
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -48%;
  width: 62vw;
  max-width: 820px;
  aspect-ratio: 1;
  border: 1px solid rgba(200, 107, 49, .3);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(200, 107, 49, .045), 0 0 0 76px rgba(200, 107, 49, .025);
  content: '';
}

.f10-tuya-zigbee-page .page-hero .hero-content {
  max-width: 930px;
}

.f10-tuya-zigbee-page .page-hero .hero-badges {
  gap: 10px;
  margin-bottom: 22px;
}

.f10-tuya-zigbee-page .page-hero .hero-badge {
  padding: 7px 13px;
  border-color: rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #e8f1f3;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.f10-tuya-zigbee-page .page-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  color: #fff !important;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.f10-tuya-zigbee-page .page-hero .hero-sub {
  max-width: 720px;
  color: var(--f10-ink-muted) !important;
  font-size: 17px !important;
  line-height: 1.72 !important;
}

.f10-tuya-zigbee-page .page-hero .btn-primary-jbss,
.f10-tuya-zigbee-page .cta-section .btn-primary-jbss {
  background: var(--f10-copper);
  box-shadow: 0 12px 28px rgba(200, 107, 49, .28);
}

.f10-tuya-zigbee-page .page-hero .btn-primary-jbss:hover,
.f10-tuya-zigbee-page .cta-section .btn-primary-jbss:hover {
  background: var(--f10-copper-dark);
  box-shadow: 0 16px 30px rgba(200, 107, 49, .34);
}

.f10-tuya-zigbee-page .page-hero .btn-tg,
.f10-tuya-zigbee-page .cta-section .btn-tg {
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
  background: rgba(255, 255, 255, .055);
}

.f10-tuya-zigbee-page .page-hero .btn-tg:hover,
.f10-tuya-zigbee-page .cta-section .btn-tg:hover {
  border-color: rgba(255, 255, 255, .62);
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

/* Shared section rhythm and typography. */
.f10-tuya-zigbee-page .section-pad {
  position: relative;
  padding: clamp(72px, 8vw, 112px) 0;
}

.f10-tuya-zigbee-page .section-title {
  color: var(--f10-ink);
  letter-spacing: -.018em;
  text-wrap: balance;
}

.f10-tuya-zigbee-page .section-sub {
  color: #66727b;
  line-height: 1.72 !important;
}

.f10-tuya-zigbee-page .label-tag {
  color: var(--f10-copper-dark);
  background: #f9e9de;
  border: 1px solid rgba(200, 107, 49, .12);
}

/* Visual proof immediately after the hero. The image keeps its full ratio. */
.f10-tuya-zigbee-page .b2b-visual-brief {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 6vw, 84px) 0;
  background: linear-gradient(135deg, #f3eee7 0%, #fcfbf8 58%, #e9f0ed 100%);
  border-bottom: 1px solid var(--f10-line);
}

.f10-tuya-zigbee-page .b2b-visual-brief::after {
  position: absolute;
  right: -8%;
  bottom: -70%;
  width: 48vw;
  max-width: 620px;
  aspect-ratio: 1;
  border: 1px solid rgba(200, 107, 49, .14);
  border-radius: 50%;
  content: '';
}

.f10-tuya-zigbee-page .b2b-visual-brief .brief-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.f10-tuya-zigbee-page .b2b-visual-brief .brief-copy {
  max-width: 680px;
}

.f10-tuya-zigbee-page .b2b-visual-brief .brief-copy h2 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.13;
}

.f10-tuya-zigbee-page .b2b-visual-brief .brief-copy p {
  max-width: 620px;
  color: #62717a;
  font-size: 16px;
  line-height: 1.72;
}

.f10-tuya-zigbee-page .b2b-visual-brief .brief-points {
  max-width: 620px;
  gap: 12px 26px;
  margin-top: 24px;
}

.f10-tuya-zigbee-page .b2b-visual-brief .brief-points li {
  color: var(--f10-ink);
  font-size: 15px;
  line-height: 1.5;
}

.f10-tuya-zigbee-page .b2b-visual-brief .brief-points li::before {
  top: .58em;
  width: 8px;
  height: 8px;
  background: var(--f10-copper);
  box-shadow: 0 0 0 4px rgba(200, 107, 49, .12);
}

.f10-tuya-zigbee-page .b2b-visual-brief .visual-placeholder.visual-image {
  min-height: 0;
  aspect-ratio: 1586 / 992;
  padding: 0;
  border: 1px solid rgba(200, 107, 49, .28);
  border-radius: 18px;
  background: #e4ebe7;
  box-shadow: var(--f10-shadow-lift);
}

.f10-tuya-zigbee-page .b2b-visual-brief .visual-placeholder.visual-image::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  content: '';
  pointer-events: none;
}

.f10-tuya-zigbee-page .b2b-visual-brief .visual-placeholder.visual-image img {
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 17px;
}

/* Product evidence: image and copy read as one procurement proof block. */
.f10-tuya-zigbee-page .f10-positioning-section {
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f8f4ee 100%);
}

.f10-tuya-zigbee-page .f10-positioning-row {
  align-items: center;
}

.f10-tuya-zigbee-page .f10-positioning-visual {
  padding-top: 6px;
}

.f10-tuya-zigbee-page .f10-product-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 27, 36, .14);
  border-radius: 18px;
  background: #f0efec;
  box-shadow: var(--f10-shadow-lift);
}

.f10-tuya-zigbee-page .f10-product-media::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 11px;
  content: '';
  pointer-events: none;
}

.f10-tuya-zigbee-page .f10-positioning-copy {
  padding: 28px 22px 28px 36px;
  border-left: 2px solid rgba(200, 107, 49, .58);
}

.f10-tuya-zigbee-page .f10-positioning-copy .section-title {
  max-width: 590px;
  font-size: clamp(28px, 3.15vw, 41px);
  line-height: 1.12;
}

.f10-tuya-zigbee-page .f10-positioning-copy .section-sub {
  max-width: 590px;
}

.f10-tuya-zigbee-page .f10-positioning-copy .icon-list {
  max-width: 600px;
  gap: 8px;
  margin-top: 22px !important;
}

.f10-tuya-zigbee-page .f10-positioning-copy .icon-list li {
  padding: 9px 14px;
  border: 1px solid rgba(16, 27, 36, .09);
  border-radius: 8px;
  color: var(--f10-ink);
  background: rgba(255, 255, 255, .68);
  line-height: 1.5;
}

.f10-tuya-zigbee-page .f10-positioning-copy .icon-list .il-icon {
  color: var(--f10-copper);
  font-weight: 800;
}

/* Specification section: readable table, raised order brief, no visual noise. */
.f10-tuya-zigbee-page .f10-spec-section {
  background: #f5f0e9;
  border-top: 1px solid rgba(16, 27, 36, .05);
  border-bottom: 1px solid rgba(16, 27, 36, .07);
}

.f10-tuya-zigbee-page .f10-spec-head {
  max-width: 760px;
}

.f10-tuya-zigbee-page .f10-spec-grid {
  align-items: stretch !important;
}

.f10-tuya-zigbee-page .f10-spec-table-wrap {
  overflow: hidden;
  border: 1px solid var(--f10-line);
  border-radius: 14px;
  background: var(--f10-surface);
  box-shadow: var(--f10-shadow);
}

.f10-tuya-zigbee-page .f10-spec-table {
  margin: 0;
}

.f10-tuya-zigbee-page .f10-spec-table th {
  width: 31%;
  color: #5d6972;
  background: #f7f3ee;
  border-bottom-color: var(--f10-line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.f10-tuya-zigbee-page .f10-spec-table td {
  color: var(--f10-ink);
  border-bottom-color: var(--f10-line);
  font-size: 14px;
}

.f10-tuya-zigbee-page .f10-spec-table tbody tr:first-child th,
.f10-tuya-zigbee-page .f10-spec-table tbody tr:first-child td {
  border-top: 3px solid var(--f10-copper);
}

.f10-tuya-zigbee-page .f10-order-card {
  height: 100%;
  padding: 30px;
  border: 1px solid var(--f10-line);
  border-top: 3px solid var(--f10-copper);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--f10-shadow);
}

.f10-tuya-zigbee-page .f10-order-card h3 {
  font-size: 21px;
  line-height: 1.22;
}

.f10-tuya-zigbee-page .f10-order-card .icon-list li {
  color: #35434b;
}

.f10-tuya-zigbee-page .f10-order-card .icon-list .il-icon {
  color: var(--f10-copper-dark);
  background: #f9e9de;
}

.f10-tuya-zigbee-page .f10-order-card .btn-primary-jbss {
  background: var(--f10-copper);
}

/* Architecture: a technical evidence panel with a contained, complete image. */
.f10-tuya-zigbee-page .f10-architecture-row {
  align-items: center !important;
}

.f10-tuya-zigbee-page .f10-architecture-copy {
  padding-right: 12px;
}

.f10-tuya-zigbee-page .f10-architecture-copy .section-title {
  max-width: 570px;
  font-size: clamp(28px, 3.15vw, 41px);
}

.f10-tuya-zigbee-page .f10-boundary-card {
  border: 1px solid var(--f10-line);
  border-left: 3px solid var(--f10-copper);
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 28px rgba(16, 27, 36, .08);
}

.f10-tuya-zigbee-page .f10-boundary-card h3 {
  color: var(--f10-ink);
}

.f10-tuya-zigbee-page .f10-boundary-card p {
  color: #5f6b73;
}

.f10-tuya-zigbee-page .f10-architecture-media {
  padding: 14px;
  border: 1px solid rgba(200, 107, 49, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--f10-shadow-lift);
}

.f10-tuya-zigbee-page .f10-architecture-link {
  aspect-ratio: 1586 / 992;
  border: 1px solid var(--f10-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.f10-tuya-zigbee-page .f10-architecture-media figcaption {
  margin: 10px 0 0;
  color: #6e7b83;
  font-size: 12px;
}

/* Supply cards: amounts are the visual anchors, terms remain factual. */
.f10-tuya-zigbee-page .f10-supply-section {
  background: linear-gradient(180deg, #fff 0%, #faf7f2 100%);
}

.f10-tuya-zigbee-page .f10-supply-card {
  min-height: 238px;
  padding: 30px;
  border-color: var(--f10-line);
  border-radius: 14px;
  box-shadow: var(--f10-shadow);
}

.f10-tuya-zigbee-page .f10-supply-card::before {
  height: 4px;
  background: var(--f10-ink-soft);
}

.f10-tuya-zigbee-page .f10-supply-card--oem::before { background: var(--f10-copper); }
.f10-tuya-zigbee-page .f10-supply-card--odm::before { background: #315d67; }

.f10-tuya-zigbee-page .f10-supply-card-head > span {
  border-color: rgba(200, 107, 49, .35);
  color: var(--f10-copper-dark);
}

.f10-tuya-zigbee-page .f10-supply-amount strong {
  color: var(--f10-ink);
  font-size: clamp(42px, 4vw, 58px);
}

.f10-tuya-zigbee-page .f10-supply-card h3 {
  color: var(--f10-ink);
  font-size: 20px;
}

.f10-tuya-zigbee-page .f10-warranty-panel {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: linear-gradient(115deg, #0d1a24 0%, #18303a 72%, #274750 100%);
  box-shadow: var(--f10-shadow-lift);
}

.f10-tuya-zigbee-page .f10-warranty-panel::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(200, 107, 49, .36);
  border-radius: 50%;
  content: '';
}

.f10-tuya-zigbee-page .f10-warranty-period,
.f10-tuya-zigbee-page .f10-warranty-copy {
  position: relative;
  z-index: 1;
}

.f10-tuya-zigbee-page .f10-warranty-period strong {
  color: #fff;
}

.f10-tuya-zigbee-page .f10-supply-actions {
  margin-top: 26px;
}

/* FAQ: one raised rail; the script still enforces one open item at a time. */
.f10-tuya-zigbee-page .bg-light-section:has(.faq-list) {
  background: #f5f0e9;
}

.f10-tuya-zigbee-page .faq-list {
  max-width: 940px;
  margin-top: 26px;
  border: 1px solid var(--f10-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--f10-shadow);
}

.f10-tuya-zigbee-page .faq-item {
  border-bottom-color: var(--f10-line);
}

.f10-tuya-zigbee-page .faq-item summary {
  min-height: 64px;
  padding: 19px 24px;
  color: var(--f10-ink);
  font-weight: 700;
  line-height: 1.45;
  transition: background .2s ease, color .2s ease;
}

.f10-tuya-zigbee-page .faq-item summary:hover,
.f10-tuya-zigbee-page .faq-item[open] summary {
  color: var(--f10-copper-dark);
  background: #fff8f2;
}

.f10-tuya-zigbee-page .faq-answer {
  padding: 0 24px 22px;
  color: #5f6b73;
  line-height: 1.7;
}

/* Final conversion panel closes with a dark, deliberate endpoint. */
.f10-tuya-zigbee-page .cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(200, 107, 49, .22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 0%, rgba(200, 107, 49, .18), transparent 34%),
    linear-gradient(118deg, #0d1a24 0%, #132a34 100%);
  box-shadow: var(--f10-shadow-lift);
}

.f10-tuya-zigbee-page .cta-section::after {
  position: absolute;
  z-index: -1;
  right: -7%;
  bottom: -76%;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(200, 107, 49, .28);
  border-radius: 50%;
  content: '';
}

.f10-tuya-zigbee-page .cta-section p {
  color: #b9c9d0;
}

.f10-tuya-zigbee-page a:focus-visible,
.f10-tuya-zigbee-page button:focus-visible,
.f10-tuya-zigbee-page summary:focus-visible {
  outline: 3px solid rgba(200, 107, 49, .55);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .f10-tuya-zigbee-page .page-hero {
    min-height: 0;
  }

  .f10-tuya-zigbee-page .b2b-visual-brief .brief-grid {
    grid-template-columns: 1fr;
  }

  .f10-tuya-zigbee-page .b2b-visual-brief .visual-placeholder.visual-image {
    max-width: 720px;
  }

  .f10-tuya-zigbee-page .f10-positioning-copy {
    padding-left: 24px;
  }

  .f10-tuya-zigbee-page .f10-architecture-copy {
    padding-right: 0;
  }
}

@media (max-width: 767.98px) {
  .f10-tuya-zigbee-page .page-hero {
    padding: 62px 0 66px;
  }

  .f10-tuya-zigbee-page .page-hero h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .f10-tuya-zigbee-page .section-pad {
    padding: 58px 0;
  }

  .f10-tuya-zigbee-page .b2b-visual-brief .brief-grid {
    gap: 30px;
  }

  .f10-tuya-zigbee-page .b2b-visual-brief .brief-points {
    grid-template-columns: 1fr;
  }

  .f10-tuya-zigbee-page .f10-positioning-copy {
    padding: 22px 0 0 18px;
  }

  .f10-tuya-zigbee-page .f10-spec-table-wrap {
    overflow-x: auto;
  }

  .f10-tuya-zigbee-page .f10-spec-table {
    min-width: 640px;
  }

  .f10-tuya-zigbee-page .f10-order-card {
    padding: 24px;
  }

  .f10-tuya-zigbee-page .f10-architecture-media {
    padding: 8px;
  }

  .f10-tuya-zigbee-page .f10-supply-card {
    min-height: 0;
    padding: 26px 22px;
  }

  .f10-tuya-zigbee-page .f10-warranty-panel {
    align-items: stretch;
    padding: 22px;
  }

  .f10-tuya-zigbee-page .f10-warranty-period {
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .f10-tuya-zigbee-page .faq-item summary {
    padding: 17px 18px;
  }

  .f10-tuya-zigbee-page .faq-answer {
    padding: 0 18px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .f10-tuya-zigbee-page *,
  .f10-tuya-zigbee-page *::before,
  .f10-tuya-zigbee-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* The shared product selector includes a type selector (`body`), so keep
   these two inverse Hero controls explicitly above that rule. */
body.f10-tuya-zigbee-page[data-page-kind^="product-"] .page-hero .hero-badge {
  border-color: rgba(255, 255, 255, .22) !important;
  color: #e8f1f3 !important;
  background: rgba(255, 255, 255, .08) !important;
}

body.f10-tuya-zigbee-page[data-page-kind^="product-"] .page-hero .btn-tg {
  border-color: rgba(255, 255, 255, .34) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .055) !important;
}

body.f10-tuya-zigbee-page[data-page-kind^="product-"] .page-hero .btn-tg:hover {
  border-color: rgba(255, 255, 255, .62) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .12) !important;
}
