.tk-product {
  --ef-bg: #141615;
  --ef-panel: #202321;
  --ef-raised: #2b2e2b;
  --ef-gold: #ffc633;
}

.tk-product .ef-hero :is(h1, h2) {
  max-inline-size: none;
  font-size: clamp(46px, 5vw, 71px);
}

html[lang="ar"] .tk-product .ef-hero :is(h1, h2) {
  font-size: clamp(37px, 4.5vw, 61px);
  line-height: 1.65;
}

.tk-product .ef-phone,
.tk-product .ef-phone img {
  background: #f7f4ec;
}

.tk-product .ef-hero-main-phone {
  inline-size: 282px;
}

.tk-product .ef-hero-rear-phone {
  inline-size: 240px;
  block-size: 450px;
}

.tk-demo .tk-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.tk-demo :is(input:not([type="checkbox"]), textarea, select) {
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  font: inherit;
  font-size: 13px;
  line-height: 1.8;
  padding: 11px 13px;
  color: var(--ef-ink);
  background: var(--ef-panel);
  border: 1px solid var(--ef-line);
  border-radius: 8px;
}

.tk-demo textarea {
  resize: vertical;
}

.tk-demo :is(input, textarea, select):focus-visible {
  outline: 2px solid var(--ef-gold-text);
  outline-offset: 3px;
}

.tk-demo input[type="checkbox"] {
  inline-size: 17px;
  block-size: 17px;
  flex: none;
  accent-color: var(--ef-gold);
}

.tk-demo .ef-demo-field {
  margin-block-end: 14px;
}

.tk-form > .ef-demo-field:has(textarea),
.tk-form > .ef-demo-field:has(input[type="search"]),
.tk-form > .tk-avatars,
.tk-form > button {
  grid-column: 1 / -1;
}

.tk-form > button {
  justify-self: start;
}

.tk-demo > .ef-demo-button {
  margin-block: 14px;
  margin-inline-end: 9px;
}

.tk-demo button:disabled {
  opacity: 0.55;
  cursor: default;
}

.tk-separated {
  margin-block-start: 25px;
  padding-block-start: 25px;
  border-block-start: 1px solid var(--ef-line);
}

.tk-library-label,
.tk-widget-details h5 {
  font-size: 13px;
  font-weight: 600;
  margin-block: 25px 13px;
}

.tk-library {
  margin-block-start: 20px;
  display: grid;
  gap: 10px;
}

.tk-result-count {
  margin: 0 0 5px !important;
  font-size: 11px;
  color: var(--ef-muted);
}

.tk-item {
  padding: 15px;
  border: 1px solid var(--ef-line);
  border-radius: 10px;
  background: var(--ef-panel);
  min-inline-size: 0;
}

.tk-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.tk-item summary::-webkit-details-marker {
  display: none;
}

.tk-kind {
  flex: none;
  min-inline-size: 38px;
  padding: 6px 9px;
  border-radius: 9px;
  color: var(--ef-gold-text);
  background: #ffc63312;
  font-size: 10px;
}

.tk-item-heading {
  display: grid;
  gap: 4px;
  min-inline-size: 0;
}

.tk-item-heading strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.tk-item-heading small,
.tk-tags {
  color: var(--ef-muted);
  font-size: 11px;
}

.tk-item-body {
  margin-block: 14px !important;
  color: var(--ef-muted);
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.tk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-block-start: 13px;
}

.tk-actions button {
  min-block-size: 34px;
  padding: 6px 10px;
  font-size: 10px !important;
}

.tk-batch-list {
  display: grid;
  gap: 8px;
  margin-block-end: 20px;
}

.tk-batch-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  margin-block-end: 9px;
  border: 1px solid var(--ef-line);
  border-radius: 8px;
  background: var(--ef-panel);
  font-size: 13px;
  cursor: pointer;
}

.tk-media-preview {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.tk-media-preview img {
  inline-size: auto;
  max-inline-size: 100%;
  max-block-size: 240px;
  object-fit: contain;
  margin-block: 15px;
  border-radius: 9px;
}

.tk-qr-result:not(:empty) {
  display: grid;
  justify-content: center;
  padding: 22px;
  margin-block-start: 20px;
  border-radius: 10px;
  background: #fff;
}

.tk-sync-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-block: 22px;
}

.tk-sync-card {
  padding: 18px;
  border: 1px solid var(--ef-line);
  border-radius: 10px;
  background: var(--ef-panel);
}

.tk-sync-card h5 {
  margin: 0 0 13px;
  font-size: 13px;
}

.tk-sync-card p {
  font-size: 13px;
  color: var(--ef-muted);
  line-height: 1.9;
  margin-block-end: 17px;
}

.tk-notification,
.tk-private-card,
.tk-profile-preview {
  padding: 24px;
  margin-block: 18px;
  border: 1px solid var(--ef-line);
  border-radius: 12px;
  background: var(--ef-panel);
  font-size: 14px;
  line-height: 1.9;
}

.tk-private-card.is-locked {
  border-style: dashed;
  color: var(--ef-muted);
  text-align: center;
}

.tk-profile-preview {
  color: var(--ef-gold-text);
  font-size: 23px;
}

.tk-avatars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tk-avatars button {
  inline-size: 42px;
  min-inline-size: 0;
  padding: 8px;
}

.tk-widget {
  max-inline-size: 270px;
  padding: 23px;
  border: 1px solid #d3af6655;
  border-radius: 23px;
  background: #29291f;
  color: #f7f4ec;
  display: grid;
  gap: 15px;
  margin-block: 22px;
}

.tk-widget.is-wide {
  max-inline-size: 100%;
}

.tk-widget-brand {
  font-size: 12px;
  color: #ffcf55;
}

.tk-widget p {
  font-size: 16px;
  font-weight: 600;
}

.tk-widget small {
  color: #d0cfc2;
}

.tk-project-logo {
  inline-size: 90px;
  block-size: 90px;
  object-fit: contain;
  border-radius: 18px;
  margin-block-end: 20px;
}

.tuckivo-project-card .tk-project-preview {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 60%, #ffc63318, transparent 70%), #161a17;
}

.tuckivo-project-card .tk-project-logo {
  inline-size: 150px;
  block-size: 150px;
  margin: 0;
}

@media (max-width: 850px) {
  .tk-product .ef-hero-main-phone {
    inline-size: 252px;
  }
  .tk-product .ef-hero-rear-phone {
    inline-size: 217px;
    block-size: 405px;
  }
}

@media (max-width: 520px) {
  .tk-demo .tk-form,
  .tk-sync-cards {
    grid-template-columns: 1fr;
  }
  .tk-product .ef-hero-main-phone {
    inline-size: 224px;
  }
  .tk-product .ef-hero-rear-phone {
    inline-size: 191px;
    block-size: 365px;
  }
  .tk-demo .ef-demo-button {
    max-inline-size: 100%;
  }
}
