/* Shared topic artwork and defensive public-banner layout. Loaded after offer-banner.css. */
.uzmi-offer-banner,
.uzmi-offer-banner * {
  box-sizing: border-box;
}
.uzmi-offer-banner {
  display: block;
  min-height: 78px;
  height: auto !important;
  max-height: none !important;
  flex: none;
}

.uzmi-offer-inner {
  display: grid;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  min-height: 56px;
  align-items: center;
  gap: clamp(11px, 1.7vw, 24px);
  text-align: left;
  grid-template-columns: minmax(76px, 92px) minmax(220px, 1fr) auto auto;
}

.uzmi-offer-copy,
.uzmi-offer-timer,
.uzmi-offer-button {
  position: relative;
  z-index: 2;
}

.uzmi-offer-close {
  z-index: 4;
}

.uzmi-offer-artwork {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--offer-accent) 42%, transparent);
  border-radius: 17px;
  background:
    radial-gradient(circle at 22% 15%, rgba(255,255,255,.2), transparent 36%),
    linear-gradient(145deg, color-mix(in srgb, var(--offer-accent) 24%, transparent), rgba(255,255,255,.07));
  color: var(--offer-accent);
  box-shadow: inset 0 1px rgba(255,255,255,.2), 0 10px 24px rgba(0,0,0,.16);
}

.uzmi-artwork-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.uzmi-artwork-svg .art-primary { fill: var(--offer-accent); color: var(--offer-accent); }
.uzmi-artwork-svg .art-secondary { fill: var(--offer-accent-2); color: var(--offer-accent-2); }
.uzmi-artwork-svg .art-light { fill: rgba(255,255,255,.9); color: rgba(255,255,255,.9); }
.uzmi-artwork-svg .art-dark { fill: var(--offer-bg-a); color: var(--offer-bg-a); }
.uzmi-artwork-svg .art-warm { fill: #ffd166; color: #ffd166; }
.uzmi-artwork-svg .art-green { fill: #4fb477; color: #4fb477; }
.uzmi-artwork-svg .art-saffron { fill: #ff9933; color: #ff9933; }
.uzmi-artwork-svg .art-blue { fill: #1a4c9a; color: #1a4c9a; }
.uzmi-artwork-svg .art-glow { fill: color-mix(in srgb, var(--offer-accent) 18%, transparent); }
.uzmi-artwork-svg .art-stroke {
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.uzmi-artwork-svg .art-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer-template-artwork {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.offer-template-artwork .uzmi-artwork-svg {
  width: 34px;
  height: 30px;
}

@media (max-width: 960px) {
  .uzmi-offer-inner {
    grid-template-columns: 70px minmax(0, 1fr) auto;
  }

  .uzmi-offer-artwork {
    width: 70px;
    height: 58px;
    grid-row: 1 / 3;
  }
}

@media (max-width: 680px) {
  .uzmi-offer-banner {
    min-height: 0;
  }

  .uzmi-offer-inner {
    min-height: 0;
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .uzmi-offer-artwork {
    width: 56px;
    height: 48px;
    grid-row: auto;
    border-radius: 14px;
  }

  .uzmi-offer-timer,
  .uzmi-offer-button {
    grid-column: 1 / 3;
  }

  .uzmi-offer-time-block {
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .uzmi-offer-artwork {
    width: 50px;
    height: 44px;
  }

  .uzmi-offer-inner {
    grid-template-columns: 50px minmax(0, 1fr);
  }
}
