/* Global */
.brand-tabs-wrap,
.brand-tabs-wrap * {
  box-sizing: border-box;
}

.brand-tabs-wrap {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  max-width: 1320px;
  margin: 32px auto 0;
  border-radius: 24px;
  box-shadow: 0 10px 42px rgba(15, 23, 42, 0.06);
  padding: 0 0 34px;
}

.brand-tabs {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-bottom: 1px solid #e8eef6;
  background: #f8fbff;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  gap: 0;
}

.brand-tab {
  flex: 1 1 0%;
  text-align: center;
  border: none;
  outline: none;
  background: none;
  font-size: 1.04rem;
  color: #7487a3;
  font-weight: 600;
  cursor: pointer;
  padding: 22px 12px 18px;
  margin-bottom: -1px;
  transition: all .18s ease;
  position: relative;
  letter-spacing: .1px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-tab.active,
.brand-tab:hover {
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.08);
  border-bottom: 2px solid #3b82f6;
  z-index: 2;
}

.brand-tab-contents {
  padding: 30px 34px 0;
}

.brand-tab-content {
  display: none;
  min-height: 270px;
}

.brand-tab-content.is-active {
  display: block;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0;
  border: none;
  cursor: pointer;
  transition: all .18s ease;
}

.btn-primary {
  background: #0f172a;
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.04);
  color: #ffffff;
}

.btn-secondary {
  background: #f1f5f9;
  color: #0f172a;
}

.btn-secondary:hover {
  filter: brightness(0.98);
  color: #0f172a;
}

/* Upload */
.upload-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 26px;
  align-items: stretch;
}

.upload-text-card,
.upload-video-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
  border: 1px solid #edf2f7;
  padding: 24px;
}

.upload-badge {
  display: inline-block;
  background: #eef6ff;
  color: #2563eb;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .9rem;
  margin-bottom: 14px;
}

.upload-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.upload-steps-list {
  margin: 0;
  padding-left: 20px;
  color: #1e293b;
  font-size: 1.05rem;
  line-height: 1.78;
  font-weight: 400;
}

.upload-steps-list li {
  margin: 12px 0;
}

.upload-help {
  margin-top: 18px;
  font-size: 1rem;
  color: #475569;
  font-weight: 400;
}

.upload-help-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
}

.upload-cta-row {
  margin-top: 22px;
}

.upload-video-wrapper iframe {
  width: 100%;
  height: 390px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  background: #000;
}

/* Product Sync */
.touchrf-sync-header {
  text-align: center;
  margin-bottom: 24px;
}

.touchrf-sync-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #eef6ff;
  color: #2563eb;
  font-size: 0.88rem;
  font-weight: 600;
}

.touchrf-sync-header h2 {
  font-size: 2.2rem;
  margin: 0 0 8px;
  color: #0f172a;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.touchrf-sync-header p {
  margin: 0 auto;
  color: #64748b;
  font-size: 1.02rem;
  font-weight: 400;
  max-width: 760px;
  line-height: 1.7;
}

.touchrf-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.touchrf-highlight-card {
  background: linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  border: 1px solid #e6edf6;
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 12px 26px rgba(15,23,42,0.04);
}

.touchrf-highlight-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
}

.touchrf-highlight-label {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: #64748b;
  font-weight: 500;
}

.touchrf-sync-toolbar,
.touchrf-sync-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.touchrf-sync-toolbar {
  margin-bottom: 22px;
  padding: 18px;
  background: #f8fbff;
  border: 1px solid #e6edf6;
  border-radius: 18px;
}

.touchrf-toolbar-row {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.touchrf-toolbar-row-controls {
  justify-content: flex-start;
}

.touchrf-search-input,
.touchrf-filter-select,
.touchrf-ar-link-input {
  width: 100%;
  border: 1px solid #d7dee8;
  border-radius: 14px;
  min-height: 46px;
  padding: 11px 14px;
  box-shadow: none;
  outline: none;
  background: #fff;
  color: #0f172a;
  font-size: 0.96rem;
  font-weight: 400;
}

.touchrf-search-input::placeholder,
.touchrf-ar-link-input::placeholder {
  color: #94a3b8;
}

.touchrf-search-input {
  min-width: 280px;
}

.touchrf-filter-select {
  min-width: 220px;
  max-width: 320px;
}

.touchrf-fetch-btn {
  min-width: 168px;
}

.touchrf-sync-actions {
  margin-bottom: 18px;
}

.bottom-actions {
  margin-top: 18px;
  margin-bottom: 0;
}

.touchrf-sync-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.touchrf-sync-card {
  background: #ffffff;
  border: 1px solid #e7edf5;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.touchrf-sync-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(15,23,42,0.07);
}

.touchrf-sync-card-top {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 16px;
  align-items: start;
}

.touchrf-product-thumb {
  width: 86px;
  height: 86px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f7fb;
  border: 1px solid #e7edf5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.touchrf-product-thumb img,
.touchrf-product-thumb .touchrf-product-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.touchrf-product-thumb-placeholder {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  padding: 8px;
}

.touchrf-product-meta h3 {
  margin: 0 0 7px;
  font-size: 1.3rem;
  line-height: 1.45;
  font-weight: 500;
  color: #0f172a;
}

.touchrf-product-meta h3 a {
  color: #0f172a;
  text-decoration: none;
}

.touchrf-product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 400;
}

.touchrf-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.touchrf-status-enabled {
  background: #dcfce7;
  color: #166534;
}

.touchrf-status-disabled {
  background: #e5e7eb;
  color: #374151;
}

.touchrf-status-missing {
  background: #fef3c7;
  color: #92400e;
}

.touchrf-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 74px;
}

.touchrf-toggle-label {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

.touchrf-switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 30px;
}

.touchrf-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.touchrf-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #d1d5db;
  transition: .3s;
  border-radius: 999px;
}

.touchrf-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  top: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.16);
}

.touchrf-switch input:checked + .touchrf-slider {
  background-color: #0f172a;
}

.touchrf-switch input:checked + .touchrf-slider:before {
  transform: translateX(24px);
}

.touchrf-sync-card-body {
  margin-top: 18px;
}

.touchrf-field-label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

.touchrf-empty-state {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  padding: 34px 20px;
  text-align: center;
  color: #475569;
  font-size: 0.98rem;
  font-weight: 400;
}

/* Pricing */
.pricing-section {
  padding: 24px 16px 34px;
  background: #f7fafd;
  border-radius: 20px;
  box-shadow: 0 3px 22px rgba(45,146,252,0.07);
  max-width: 1260px;
  margin: 32px auto 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: 26px;
}

.pricing-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #154187;
  margin: 0 0 8px;
}

.pricing-header p {
  color: #4880b5;
  font-size: 1rem;
  margin: 0;
  font-weight: 400;
}

.pricing-cards-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(187,216,255,0.13);
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e8f0fa;
}

.pricing-card.featured {
  border: 2px solid #1977ff;
  box-shadow: 0 8px 40px rgba(49,141,255,0.18);
}

.plan-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.plan-sub {
  font-size: 0.98rem;
  color: #6b7280;
  margin-bottom: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.plan-price {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1977ff;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
}

.plan-price .currency {
  font-size: 1.2rem;
  font-weight: 700;
}

.plan-price .duration {
  font-size: 0.96rem;
  color: #6b7280;
  font-weight: 500;
  white-space: nowrap;
}

.plan-price.is-contact {
  font-size: 1.35rem;
  font-weight: 700;
}

.plan-features {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.plan-features li {
  color: #24609c;
  font-size: 0.96rem;
  margin-bottom: 10px;
  line-height: 1.45;
  font-weight: 400;
}

.plan-cta {
  background: #000;
  color: #fff;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 14px;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  display: block;
}

.plan-cta:hover {
  filter: brightness(1.05);
  color: #fff;
}

/* Support */
.support-card {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  border: 1px solid #eef2f7;
  box-shadow: 0 10px 34px rgba(20,70,140,0.08);
}

.support-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.support-sub {
  color: #475569;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(200px,1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.support-item {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 14px;
}

.support-label {
  font-size: .88rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 6px;
}

.support-link {
  color: #0f172a;
  font-weight: 600;
  text-decoration: underline;
}

.support-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* API */
.api-card {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  border: 1px solid #eef2f7;
  box-shadow: 0 10px 34px rgba(20,70,140,0.08);
}

.api-badge {
  display: inline-block;
  background: #eef6ff;
  color: #1d4ed8;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .9rem;
  margin-bottom: 12px;
}

.api-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.api-sub {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 18px;
  font-weight: 400;
}

.api-steps ol {
  margin: 0;
  padding-left: 22px;
  font-size: 1rem;
  color: #111827;
  line-height: 1.8;
  font-weight: 400;
}

.api-steps li {
  margin: 10px 0;
}

.api-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eef2f7;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.api-help {
  font-size: 0.98rem;
  color: #334155;
  font-weight: 400;
}

.api-help a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
}

.api-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1100px) {
  .touchrf-highlight-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .pricing-cards-wrap {
    grid-template-columns: repeat(2,minmax(220px,1fr));
  }
}

@media (max-width: 980px) {
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .upload-video-wrapper iframe {
    height: 320px;
  }

  .touchrf-sync-grid {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .brand-tab {
    font-size: .96rem;
    padding: 18px 10px 14px;
  }

  .brand-tab-contents {
    padding: 20px 18px 0;
  }

  .touchrf-sync-toolbar,
  .touchrf-sync-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .touchrf-toolbar-row {
    flex-direction: column;
    align-items: stretch;
  }

  .touchrf-search-input,
  .touchrf-filter-select,
  .touchrf-fetch-btn {
    min-width: 100%;
    max-width: 100%;
  }

  .touchrf-sync-card-top {
    grid-template-columns: 72px 1fr;
  }

  .touchrf-toggle-wrap {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    min-width: auto;
  }

  .upload-title,
  .touchrf-sync-header h2,
  .pricing-header h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 720px) {
  .pricing-cards-wrap {
    grid-template-columns: 1fr;
  }

  .touchrf-highlight-grid {
    grid-template-columns: 1fr;
  }
}