@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
.widget-page,
.widget-page html {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}
.widget-page #widget {
  position: relative;
  max-width: 100vw;
  max-height: 100vh;
}
.dw-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center;
  font-family: Manrope, Arial, sans-serif;
  pointer-events: none;
  display: grid;
  place-items: center;
}
.dw-stage * {
  box-sizing: border-box;
}
.dw-face {
  --dw-font: 24px;
  --dw-radius: 24px;
  --dw-opacity: 0.85;
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 100%;
  padding: 28px 36px;
  color: #f6f6f4;
  background: rgba(19, 20, 21, var(--dw-opacity));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--dw-radius);
  overflow: hidden;
  font-size: var(--dw-font);
  box-shadow: inset 0 1px 0 #ffffff26;
  isolation: isolate;
}
.dw-face:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    #ffffff15 48%,
    transparent 65%
  );
  transform: translateX(-100%);
  animation: dw-sheen 12s ease-in-out infinite;
  pointer-events: none;
}
.dw-light {
  color: #161719;
  background: rgba(249, 249, 247, var(--dw-opacity));
  border-color: #00000020;
}
.dw-mark {
  width: 38px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
.dw-word {
  font-size: 1.25em;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.dw-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.dw-site {
  font-size: 0.62em;
  letter-spacing: 0.02em;
  color: #f6cf32;
  white-space: nowrap;
}
.dw-light .dw-site {
  color: #806300;
}
.dw-logo .dw-site {
  font-size: 0.7em;
}
.dw-face.dw-logo,
.dw-badge {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 36px;
}
.dw-face.dw-logo {
  width: auto;
  height: auto;
}
.dw-logo .dw-brand .dw-mark {
  width: 30px;
  height: 36px;
}
.dw-badge {
  font-size: min(var(--dw-font), 26px);
  min-width: 250px;
}
.dw-badge .dw-mark {
  width: 26px;
  height: 32px;
}
.dw-partner {
  font-size: 0.45em;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
}
.dw-copy {
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.dw-kicker {
  font-size: 0.36em;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.55;
}
.dw-title {
  font-size: 1em;
  line-height: 1.3;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.dw-banner,
.dw-lower-third {
  width: calc(100% - 24px);
  max-height: calc(100% - 24px);
  min-height: 120px;
}
.dw-banner .dw-brand,
.dw-lower-third .dw-brand {
  border-right: 1px solid #8885;
  padding-right: 24px;
}
.dw-banner .dw-word,
.dw-lower-third .dw-word {
  font-size: 0.85em;
}
.dw-lower-third {
  border-bottom: 3px solid #f6cf32;
  border-radius: var(--dw-radius);
  background: linear-gradient(
    100deg,
    rgba(25, 25, 25, var(--dw-opacity)),
    rgba(55, 50, 24, var(--dw-opacity))
  );
}
.dw-lower-third.dw-light {
  background: linear-gradient(
    100deg,
    rgba(250, 250, 250, var(--dw-opacity)),
    rgba(255, 246, 205, var(--dw-opacity))
  );
}
.dw-qr-image {
  background: #fff;
  display: block;
  width: 154px;
  height: 154px;
  flex-shrink: 0;
  border-radius: 8px;
}
.dw-face.dw-qr {
  width: 276px;
  height: 276px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
}
.dw-qr .dw-brand {
  gap: 7px;
}
.dw-qr .dw-brand .dw-mark {
  width: 18px;
  height: 22px;
}
.dw-qr .dw-word {
  font-size: clamp(15px, calc(var(--dw-font) * 0.75), 22px);
}
.dw-qr-title {
  font-size: clamp(9px, calc(var(--dw-font) * 0.46), 16px);
  text-align: center;
}
.dw-qr .dw-site {
  font-size: 12px;
}
.dw-products,
.dw-offers {
  width: calc(100% - 24px);
  max-height: calc(100% - 24px);
  padding: 22px 28px;
  min-height: 130px;
}
.dw-product-image {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #ffffff0c;
  flex-shrink: 0;
  overflow: hidden;
}
.dw-product-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dw-product-info {
  flex: 1;
  display: grid;
  gap: 8px;
}
.dw-prices {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dw-prices b {
  color: #f6cf32;
  font-size: 1.1em;
}
.dw-light .dw-prices b {
  color: #806300;
}
.dw-prices s {
  opacity: 0.45;
  font-size: 0.65em;
}
.dw-prices em {
  font-style: normal;
  font-size: 0.5em;
  background: #f6cf32;
  color: #161616;
  padding: 5px 8px;
  border-radius: 8px;
}
.dw-end {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 120px;
}
.dw-end .dw-mark {
  width: 18px;
  height: 24px;
}
.dw-end .dw-word {
  font-size: 0.65em;
}
.dw-end .dw-site {
  font-size: 0.55em;
}
.dw-vertical {
  flex-direction: column;
  max-width: 90%;
  max-height: 90%;
  width: auto;
  text-align: center;
}
.dw-vertical .dw-brand {
  border: 0;
  padding: 0;
}
.dw-vertical .dw-product-info {
  flex: none;
}
.dw-vertical .dw-end {
  width: auto;
  justify-content: center;
}
.dw-vertical .dw-prices {
  justify-content: center;
}
.dw-empty {
  font-size: 16px;
  opacity: 0.65;
}
.dw-campaign {
  max-width: 100%;
  max-height: 55px;
  object-fit: contain;
}
.preview-host {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background-color: #171819;
  background-image:
    linear-gradient(45deg, #ffffff03 25%, transparent 25%),
    linear-gradient(-45deg, #ffffff03 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ffffff03 75%),
    linear-gradient(-45deg, transparent 75%, #ffffff03 75%);
  background-size: 20px 20px;
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0;
}
.preview-host:before {
  content: "CANLI ÖNİZLƏMƏ";
  position: absolute;
  left: 16px;
  top: 13px;
  font:
    600 8px Manrope,
    sans-serif;
  letter-spacing: 0.18em;
  color: #898b8b;
}
.preview-host.light-stage {
  background-color: #dedfdd;
}
.preview-host.stream-stage {
  background: radial-gradient(ellipse at 60% 60%, #363831, #171b1c 65%);
  height: 360px;
  border-radius: 14px;
}
.preview-host.stream-stage:after {
  content: "SİZİN YAYIMINIZ";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font:
    600 11px Manrope,
    sans-serif;
  letter-spacing: 0.45em;
  color: #ffffff18;
  pointer-events: none;
}
.preview-host.stream-stage .dw-stage {
  z-index: 1;
}
.studio-stage {
  height: 420px;
}
.dw-face .dw-mark {
  position: static;
}
@keyframes dw-sheen {
  0%,
  70% {
    transform: translateX(-100%);
  }
  95%,
  100% {
    transform: translateX(100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dw-face:after {
    animation: none;
  }
}
