/*
 * Trudian / J-BSS — fully automatic Tuya smart-lock B2B depth layer.
 * Scope is intentionally limited to the F2-B / automatic-line page.
 */
.tuya-automatic-smart-locks-page {
  --auto-ink: #101b24;
  --auto-navy: #0d1922;
  --auto-navy-2: #162a34;
  --auto-copper: #c86b31;
  --auto-copper-deep: #a85022;
  --auto-line: #ded6cd;
  --auto-paper: #fbfaf7;
  --auto-warm: #f4efe8;
  --auto-muted: #66727b;
  --auto-shadow: 0 18px 42px rgba(25, 35, 42, .13);
  --auto-shadow-lift: 0 26px 54px rgba(25, 35, 42, .18);
}

.tuya-automatic-smart-locks-page .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--auto-navy) !important;
  border-bottom: 1px solid rgba(200, 107, 49, .42);
  color: #fff;
}

.tuya-automatic-smart-locks-page .page-hero::before {
  display: block !important;
  background:
    linear-gradient(rgba(166, 207, 218, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 207, 218, .055) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 1;
}

.tuya-automatic-smart-locks-page .page-hero::after {
  position: absolute;
  top: -320px;
  right: -180px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(188, 219, 224, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(188, 219, 224, .035), 0 0 0 86px rgba(188, 219, 224, .022);
  content: "";
  pointer-events: none;
}

.tuya-automatic-smart-locks-page .page-hero .hero-content { position: relative; z-index: 1; }
.tuya-automatic-smart-locks-page .page-hero h1 {
  max-width: 1060px;
  color: #fff !important;
  letter-spacing: -.035em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .18);
}

.tuya-automatic-smart-locks-page .page-hero .hero-sub {
  max-width: 760px;
  color: #c5d7df !important;
}

.tuya-automatic-smart-locks-page .page-hero .hero-badge {
  background: rgba(255, 255, 255, .09) !important;
  border-color: rgba(213, 229, 232, .28) !important;
  color: #f6fafb !important;
}

.tuya-automatic-smart-locks-page .page-hero .btn-primary-jbss,
.tuya-automatic-smart-locks-page .page-hero .btn-tg { box-shadow: 0 10px 22px rgba(0, 0, 0, .2); }
.tuya-automatic-smart-locks-page .page-hero .btn-tg {
  border-color: rgba(211, 225, 226, .5);
  background: rgba(12, 24, 31, .26) !important;
  color: #fff !important;
}

.tuya-automatic-smart-locks-page .tuya-auto-check-section,
.tuya-automatic-smart-locks-page .tuya-auto-model-section,
.tuya-automatic-smart-locks-page .tuya-auto-supply-section,
.tuya-automatic-smart-locks-page .tuya-auto-boundary-section,
.tuya-automatic-smart-locks-page .tuya-auto-faq-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.tuya-automatic-smart-locks-page .tuya-auto-check-section,
.tuya-automatic-smart-locks-page .tuya-auto-supply-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(200, 107, 49, .09), transparent 26%),
    linear-gradient(180deg, #f7f2eb 0%, #f2ece4 100%);
}

.tuya-automatic-smart-locks-page .tuya-auto-model-section { background: var(--auto-paper); }
.tuya-automatic-smart-locks-page .tuya-auto-boundary-section { background: #fff; }
.tuya-automatic-smart-locks-page .tuya-auto-faq-section {
  background: linear-gradient(180deg, #fbfaf7 0%, #f2ece4 100%);
}

.tuya-automatic-smart-locks-page .tuya-auto-check-section::before,
.tuya-automatic-smart-locks-page .tuya-auto-model-section::before,
.tuya-automatic-smart-locks-page .tuya-auto-supply-section::before,
.tuya-automatic-smart-locks-page .tuya-auto-boundary-section::before,
.tuya-automatic-smart-locks-page .tuya-auto-faq-section::before {
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(200, 107, 49, .12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.tuya-automatic-smart-locks-page .section-head,
.tuya-automatic-smart-locks-page .label-tag,
.tuya-automatic-smart-locks-page .section-title,
.tuya-automatic-smart-locks-page .section-sub { position: relative; z-index: 1; }

.tuya-automatic-smart-locks-page .purchase-check-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid #cfc6bd;
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--auto-shadow);
}

.tuya-automatic-smart-locks-page .purchase-check-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.tuya-automatic-smart-locks-page .purchase-check-media .hero-media-caption {
  position: relative !important;
  top: 0 !important;
  right: auto;
  bottom: auto !important;
  left: auto;
  z-index: 1;
  display: block;
  margin: 0 !important;
  padding: 12px 15px 14px;
  color: var(--auto-muted);
  background: #fff;
  border: 0;
  border-left: 3px solid var(--auto-copper);
  font-size: .84rem;
  line-height: 1.55;
}

.tuya-automatic-smart-locks-page .tuya-auto-check-section .table-wrap {
  overflow: hidden;
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--auto-shadow);
}

.tuya-automatic-smart-locks-page .tuya-auto-check-section .compare-table { margin: 0; }
.tuya-automatic-smart-locks-page .tuya-auto-check-section .compare-table thead th {
  border-color: rgba(255, 255, 255, .16);
  background: linear-gradient(135deg, var(--auto-copper-deep), var(--auto-copper));
  color: #fff;
}

.tuya-automatic-smart-locks-page .tuya-auto-model-section .purchase-check-media {
  border-color: #bfb4a8;
  box-shadow: var(--auto-shadow-lift);
}

.tuya-automatic-smart-locks-page .tuya-auto-model-section .purchase-check-media img {
  background: linear-gradient(145deg, #faf8f4, #e9e4dc);
}

.tuya-automatic-smart-locks-page .tuya-auto-model-section .icon-list,
.tuya-automatic-smart-locks-page .tuya-auto-supply-section .icon-list {
  margin: 0;
  padding: 24px 28px;
  border: 1px solid var(--auto-line);
  border-left: 3px solid var(--auto-copper);
  border-radius: 0 13px 13px 0;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--auto-shadow);
}

.tuya-automatic-smart-locks-page .tuya-auto-model-section .icon-list li,
.tuya-automatic-smart-locks-page .tuya-auto-supply-section .icon-list li { padding: 8px 0; }

.tuya-automatic-smart-locks-page .tuya-auto-supply-section > .container > .row { align-items: center; }
.tuya-automatic-smart-locks-page .tuya-auto-supply-section .col-lg-5 { display: flex; align-items: center; }
.tuya-automatic-smart-locks-page .tuya-auto-supply-section .col-lg-5 .card-jbss {
  position: relative;
  /* Align the inquiry panel with the evidence list, not the section heading. */
  top: 128px;
  width: 100%;
  border: 1px solid var(--auto-line);
  border-top: 3px solid var(--auto-copper);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--auto-shadow);
}

.tuya-automatic-smart-locks-page .tuya-auto-boundary-section .card-jbss {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--auto-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--auto-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tuya-automatic-smart-locks-page .tuya-auto-boundary-section .card-jbss::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--auto-copper), rgba(200, 107, 49, .12));
  content: "";
}

.tuya-automatic-smart-locks-page .tuya-auto-boundary-section .card-jbss:hover {
  border-color: rgba(200, 107, 49, .45);
  box-shadow: var(--auto-shadow-lift);
  transform: translateY(-4px);
}

.tuya-automatic-smart-locks-page .tuya-auto-faq-section .faq-list {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--auto-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--auto-shadow);
}

.tuya-automatic-smart-locks-page .tuya-auto-faq-section .faq-item {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e8dfd7;
  border-radius: 0;
  box-shadow: none;
}

.tuya-automatic-smart-locks-page .tuya-auto-faq-section .faq-item:last-child { border-bottom: 0; }
.tuya-automatic-smart-locks-page .tuya-auto-faq-section .faq-item summary { min-height: 66px; padding: 18px 22px; }

.tuya-automatic-smart-locks-page .tuya-auto-cta-section {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.tuya-automatic-smart-locks-page .tuya-auto-cta-section .cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1922, #162a34);
  box-shadow: var(--auto-shadow-lift);
}

.tuya-automatic-smart-locks-page .tuya-auto-cta-section .cta-section::after {
  position: absolute;
  right: -150px;
  bottom: -340px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(188, 219, 224, .14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.tuya-automatic-smart-locks-page .tuya-auto-cta-section .cta-section h2,
.tuya-automatic-smart-locks-page .tuya-auto-cta-section .cta-section p { position: relative; z-index: 1; }
.tuya-automatic-smart-locks-page .tuya-auto-cta-section .cta-section h2 { color: #fff; }
.tuya-automatic-smart-locks-page .tuya-auto-cta-section .cta-section p { color: #c5d3db; }

.tuya-automatic-smart-locks-page a:focus-visible,
.tuya-automatic-smart-locks-page button:focus-visible,
.tuya-automatic-smart-locks-page summary:focus-visible {
  outline: 3px solid rgba(200, 107, 49, .5);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .tuya-automatic-smart-locks-page .tuya-auto-supply-section > .container > .row { align-items: stretch; }
  .tuya-automatic-smart-locks-page .tuya-auto-supply-section .col-lg-5 { display: block; }
  .tuya-automatic-smart-locks-page .tuya-auto-supply-section .col-lg-5 .card-jbss { top: 0; }
}

@media (max-width: 767.98px) {
  .tuya-automatic-smart-locks-page .page-hero::after { top: -250px; right: -330px; width: 520px; height: 520px; }
  .tuya-automatic-smart-locks-page .page-hero h1 { letter-spacing: -.025em; }
  .tuya-automatic-smart-locks-page .tuya-auto-check-section .col-lg-7 { min-width: 0; }
  .tuya-automatic-smart-locks-page .tuya-auto-check-section .table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .tuya-automatic-smart-locks-page .tuya-auto-check-section .compare-table { display: table; width: 720px; min-width: 720px; }
  .tuya-automatic-smart-locks-page .tuya-auto-model-section .icon-list,
  .tuya-automatic-smart-locks-page .tuya-auto-supply-section .icon-list { padding: 20px; }
  .tuya-automatic-smart-locks-page .tuya-auto-faq-section .faq-item summary { min-height: 60px; padding: 16px; }
  .tuya-automatic-smart-locks-page .tuya-auto-boundary-section .card-jbss:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tuya-automatic-smart-locks-page .tuya-auto-boundary-section .card-jbss { transition: none; }
}
