/*
 * Stran "Oglaševanje za podjetja" (business-mockups-functions.php): ponazoritve, zaključni poziv, lebdeči gumb.
 * Mere so v enotah izvirnih slik: --u je 1/1080 širine vsebnika (uvod 1/1024),
 * zato se ponazoritev skalira kot slika, besedilo pa je prevedeno.
 */

.element-ogl .bzm {
  width: 70%;
  margin: 20px 0 20px 10%;
}

/* Naslovni blok: naslov in podnaslov navpično na sredini kartice */
.bzm-hero {
  display: flex;
  align-items: center;
  gap: 30px;
}

.bzm-hero .element-ogl-glava-inside-left, .bzm-hero .element-ogl-glava-inside-right {
  float: none;
}

.element-subblock .element-ogl-glava .bzm-hero h1 {
  margin-top: 0;
}

.element-subblock .element-ogl-glava .bzm-hero h2 {
  margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
  .bzm-hero {
    flex-direction: column;
    gap: 20px;
  }
}

.element-ogl-glava-inside-right .bzm {
  width: 100%;
  margin: 0;
}

.bzm {
  container-type: inline-size;
  font-family: 'Poppins', sans-serif;
  color: #000;
  line-height: 1.25;
  text-align: left;
}

.bzm *, .bzm *::before, .bzm *::after {
  box-sizing: border-box;
}

.bzm-art {
  --u: calc(100cqw / 1080);
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #dde9f6;
  border-radius: 15px;
  overflow: hidden;
}

.bzm-intro .bzm-art {
  --u: calc(100cqw / 1024);
  aspect-ratio: 1024 / 628;
  background: none;
  border-radius: 0;
  overflow: visible;
}

.bzm ul, .bzm li, .bzm dl, .bzm dt, .bzm dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bzm b, .bzm i {
  font-style: normal;
}

.element-ogl .bzm img, .element-ogl-glava-inside-right .bzm img, .bzm img {
  display: block;
  max-width: none;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
}

.bzm-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.bzm-card {
  position: absolute;
  background: #f3f7fb;
  border-radius: calc(30 * var(--u));
}

.element-ogl .bzm .bzm-logo, .bzm .bzm-logo {
  position: absolute;
  border-radius: 50%;
}

.bzm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 400;
}

/* Iskalno polje (stranke, Google) */
.bzm-search {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(12 * var(--u));
  background: #fbfcfe;
  border: calc(1.5 * var(--u)) solid #c4c7cc;
  border-radius: 999px;
  padding: 0 calc(28 * var(--u)) 0 calc(26 * var(--u));
  font-size: calc(26 * var(--u));
  color: #3c4043;
}

.bzm-search span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bzm-search svg {
  width: calc(42 * var(--u));
  height: calc(42 * var(--u));
  flex: none;
  color: #5f6368;
}

/* Izpostavljen oglas (stranke, aktualna ponudba) */
.bzm-feat {
  position: absolute;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: calc(30 * var(--u));
  z-index: 2;
}

.element-ogl .bzm .bzm-feat-photo, .bzm .bzm-feat-photo {
  width: calc(182 * var(--u));
  height: calc(182 * var(--u));
  flex: none;
  border-radius: 50%;
}

.bzm-feat-body {
  margin-left: calc(21 * var(--u));
  min-width: 0;
}

.bzm-feat-title {
  font-size: calc(44 * var(--u));
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.bzm-feat-meta {
  display: flex;
  align-items: center;
  gap: calc(22 * var(--u));
  margin-top: calc(4 * var(--u));
}

.bzm-feat-price {
  font-size: calc(40 * var(--u));
  white-space: nowrap;
}

.bzm-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(18 * var(--u));
  height: calc(46 * var(--u));
  padding: 0 calc(30 * var(--u)) 0 calc(12 * var(--u));
  background: #dde9f6;
  border-radius: 999px;
  font-size: calc(19 * var(--u));
  color: #222;
  white-space: nowrap;
}

.bzm-check {
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
  flex: none;
}

/* Seznam oglasov */
.bzm-list {
  position: absolute;
}

.bzm-list li {
  display: flex;
  align-items: center;
}

.element-ogl .bzm .bzm-list img, .bzm .bzm-list img {
  width: calc(103 * var(--u));
  height: calc(103 * var(--u));
  flex: none;
  border-radius: 50%;
}

.bzm-list span {
  display: flex;
  flex-direction: column;
  margin-left: calc(32 * var(--u));
  color: #444;
  white-space: nowrap;
}

.bzm-list b {
  font-size: calc(28 * var(--u));
  font-weight: 700;
}

.bzm-list i {
  font-size: calc(26 * var(--u));
  margin-top: calc(6 * var(--u));
}

/* Poveži se z novimi strankami */
.bzm-customers-card {
  left: calc(182 * var(--u));
  top: calc(108 * var(--u));
  width: calc(715 * var(--u));
  height: calc(874 * var(--u));
}

.element-ogl .bzm .bzm-customers-logo {
  left: calc(238 * var(--u));
  top: calc(152 * var(--u));
  width: calc(90 * var(--u));
  height: calc(90 * var(--u));
}

.bzm-customers-search {
  left: calc(373 * var(--u));
  top: calc(162 * var(--u));
  width: calc(435 * var(--u));
  height: calc(70 * var(--u));
}

.bzm-customers-feat {
  left: calc(108 * var(--u));
  top: calc(277 * var(--u));
  width: calc(862 * var(--u));
  height: calc(226 * var(--u));
  padding-left: calc(23 * var(--u));
}

.bzm-customers-list {
  left: calc(238 * var(--u));
  top: calc(545 * var(--u));
}

.bzm-customers-list li {
  height: calc(103 * var(--u));
  margin-bottom: calc(33 * var(--u));
}

/* Izpostavite svojo blagovno znamko: kartica prodajalca iz sidebarja oglasa
   (#contact v item-sidebar.php), povečana 2,5-krat (1 px = calc(2.5 * var(--u))). */
.bzm-brand-card {
  position: absolute;
  left: calc(140 * var(--u));
  top: 50%;
  width: calc(800 * var(--u));
  padding: calc(50 * var(--u));
  transform: translateY(-50%);
  background: #fff;
  border-radius: calc(30 * var(--u));
  font-family: 'Inter', sans-serif;
  line-height: calc(55 * var(--u));
}

.bzm-brand-head {
  display: flex;
  align-items: center;
  margin-bottom: calc(30 * var(--u));
}

.element-ogl .bzm .bzm-brand-shop, .bzm .bzm-brand-shop {
  width: calc(130 * var(--u));
  height: calc(130 * var(--u));
  flex: none;
  border-radius: 50%;
}

.bzm-brand-head > div {
  min-width: 0;
  padding-left: calc(35 * var(--u));
}

.bzm-brand-name {
  font-size: calc(42.5 * var(--u));
  font-weight: 700;
  color: #171717;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bzm-brand-sub {
  margin-top: calc(12 * var(--u));
  font-size: calc(32.5 * var(--u));
  font-weight: 500;
  color: #245a91;
  white-space: nowrap;
}

.bzm .bzm-brand-chips {
  display: flex;
  flex-wrap: wrap;
}

.bzm .bzm-brand-chips li {
  display: flex;
  align-items: center;
  margin: 0 calc(25 * var(--u)) calc(25 * var(--u)) 0;
  padding: calc(5 * var(--u)) calc(20 * var(--u));
  background: rgba(219, 219, 219, 0.6);
  border-radius: calc(20 * var(--u));
  font-size: calc(37.5 * var(--u));
  font-weight: 600;
  color: #000;
  white-space: nowrap;
}

.bzm-brand-chips i {
  margin-right: calc(10 * var(--u));
  font-size: calc(37.5 * var(--u));
}

.bzm-brand-btn {
  height: calc(115 * var(--u));
  margin-top: calc(12 * var(--u));
  font-family: 'Inter', sans-serif;
  font-size: calc(37.5 * var(--u));
}

/* Enostavna uporaba */
.bzm-usage-card {
  left: calc(158 * var(--u));
  top: calc(58 * var(--u));
  width: calc(695 * var(--u));
  height: calc(945 * var(--u));
}

.element-ogl .bzm .bzm-usage-logo {
  left: calc(39 * var(--u));
  top: calc(28 * var(--u));
  width: calc(88 * var(--u));
  height: calc(88 * var(--u));
}

.bzm-usage-form {
  position: absolute;
  left: calc(39 * var(--u));
  top: calc(146 * var(--u));
  width: calc(591 * var(--u));
}

.bzm-usage-form dt {
  font-size: calc(26 * var(--u));
  font-weight: 700;
  line-height: 1.4;
  color: #424242;
  white-space: nowrap;
}

.bzm-usage-form dd {
  display: flex;
  align-items: center;
  height: calc(72 * var(--u));
  margin: calc(8 * var(--u)) 0 calc(32 * var(--u));
  padding: 0 calc(18 * var(--u));
  background: #fff;
  font-size: calc(28 * var(--u));
  white-space: nowrap;
  overflow: hidden;
}

.bzm-usage-btn {
  position: absolute;
  left: calc(39 * var(--u));
  top: calc(782 * var(--u));
  width: calc(617 * var(--u));
  height: calc(78 * var(--u));
  font-size: calc(34 * var(--u));
}

/* Povezava s trgovino */
.bzm-integration-card {
  left: calc(167 * var(--u));
  top: calc(84 * var(--u));
  width: calc(746 * var(--u));
  height: calc(912 * var(--u));
}

.element-ogl .bzm .bzm-integration-logo {
  left: calc(42 * var(--u));
  top: calc(30 * var(--u));
  width: calc(94 * var(--u));
  height: calc(94 * var(--u));
}

.element-ogl .bzm .bzm-integration-photo, .bzm .bzm-integration-photo {
  position: absolute;
  left: calc(42 * var(--u));
  top: calc(164 * var(--u));
  width: calc(661 * var(--u));
  height: calc(423 * var(--u));
  border-radius: calc(22 * var(--u));
}

.bzm-integration-title {
  position: absolute;
  left: calc(42 * var(--u));
  top: calc(614 * var(--u));
  font-size: calc(42 * var(--u));
  font-weight: 700;
  white-space: nowrap;
}

.bzm-integration-price {
  position: absolute;
  left: calc(42 * var(--u));
  top: calc(688 * var(--u));
  font-size: calc(30 * var(--u));
}

.bzm-integration-btn {
  position: absolute;
  left: calc(42 * var(--u));
  top: calc(774 * var(--u));
  width: calc(662 * var(--u));
  height: calc(84 * var(--u));
  font-size: calc(32 * var(--u));
}

/* Vedno aktualna ponudba */
.bzm-recent-feat {
  left: calc(85 * var(--u));
  top: calc(114 * var(--u));
  width: calc(916 * var(--u));
  height: calc(240 * var(--u));
  padding-left: calc(24 * var(--u));
}

.element-ogl .bzm .bzm-recent-feat .bzm-feat-photo {
  width: calc(193 * var(--u));
  height: calc(193 * var(--u));
}

.bzm-recent-feat .bzm-feat-body {
  margin-left: calc(23 * var(--u));
}

.bzm-recent-list {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.bzm-recent-list li {
  position: absolute;
  padding-left: calc(38 * var(--u));
  background: #fff;
  border-radius: calc(28 * var(--u));
}

.bzm-recent-list li:nth-child(1) {
  left: calc(135 * var(--u));
  top: calc(418 * var(--u));
  width: calc(812 * var(--u));
  height: calc(170 * var(--u));
  transform: rotate(2.4deg);
}

.bzm-recent-list li:nth-child(2) {
  left: calc(140 * var(--u));
  top: calc(612 * var(--u));
  width: calc(808 * var(--u));
  height: calc(166 * var(--u));
}

.bzm-recent-list li:nth-child(3) {
  left: calc(133 * var(--u));
  top: calc(823 * var(--u));
  width: calc(813 * var(--u));
  height: calc(163 * var(--u));
  transform: rotate(2.4deg);
}

.element-ogl .bzm .bzm-recent-list img {
  width: calc(113 * var(--u));
  height: calc(113 * var(--u));
}

.bzm-recent-list span {
  margin-left: calc(36 * var(--u));
}

.bzm-recent-list b {
  font-size: calc(30 * var(--u));
}

.bzm-recent-list i {
  font-size: calc(28 * var(--u));
}

/* Bodite na prvi strani (Google) */
.bzm-serp-g {
  position: absolute;
  left: calc(238 * var(--u));
  top: calc(152 * var(--u));
  width: calc(90 * var(--u));
  height: calc(90 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
}

.bzm-serp-g svg {
  width: calc(58 * var(--u));
  height: calc(58 * var(--u));
}

.bzm-serp-search, .bzm-serp-result {
  font-family: Arial, 'Liberation Sans', Helvetica, sans-serif;
}

.bzm-serp-search {
  font-size: calc(25 * var(--u));
}

.bzm-serp-result {
  position: absolute;
  left: calc(108 * var(--u));
  top: calc(269 * var(--u));
  width: calc(862 * var(--u));
  min-height: calc(280 * var(--u));
  padding: calc(26 * var(--u)) calc(30 * var(--u)) calc(22 * var(--u)) calc(31 * var(--u));
  background: #fff;
  border-radius: calc(30 * var(--u));
  color: #000;
  z-index: 2;
}

.bzm-serp-site {
  display: flex;
  align-items: center;
  gap: calc(15 * var(--u));
  font-size: calc(20 * var(--u));
  color: #202124;
}

.bzm-serp-site div div:first-child {
  font-size: calc(21 * var(--u));
  margin-bottom: calc(8 * var(--u));
}

.element-ogl .bzm .bzm-serp-site img {
  width: calc(64 * var(--u));
  height: calc(64 * var(--u));
  border-radius: 50%;
}

.bzm-serp-title {
  margin-top: calc(14 * var(--u));
  font-size: calc(40 * var(--u));
  font-weight: 700;
  line-height: 1.2;
  color: #1a0dab;
}

.bzm-serp-desc {
  max-width: calc(735 * var(--u));
  margin-top: calc(4 * var(--u));
  font-size: calc(23 * var(--u));
  line-height: 1.45;
}

.bzm-serp-links {
  display: flex;
  flex-wrap: wrap;
  gap: calc(4 * var(--u)) calc(30 * var(--u));
  margin-top: calc(6 * var(--u));
  font-size: calc(19.5 * var(--u));
  color: #1a0dab;
}

.bzm-serp-links span {
  white-space: nowrap;
}

.bzm-serp-ghost {
  position: absolute;
  left: calc(218 * var(--u));
  width: calc(644 * var(--u));
  height: calc(110 * var(--u));
  padding: calc(16 * var(--u)) calc(14 * var(--u));
  background: #fff;
  border-radius: calc(9 * var(--u));
}

.bzm-serp-ghost-1 { top: calc(578 * var(--u)); }
.bzm-serp-ghost-2 { top: calc(709 * var(--u)); }
.bzm-serp-ghost-3 { top: calc(840 * var(--u)); }

.bzm-serp-ghost i {
  display: block;
  width: calc(570 * var(--u));
  height: calc(17 * var(--u));
  margin-top: calc(9 * var(--u));
  background: #bfbfbf;
  border-radius: calc(4 * var(--u));
}

.bzm-serp-ghost i:first-child {
  width: calc(448 * var(--u));
  height: calc(27 * var(--u));
  margin-top: 0;
  background: #d1cfee;
}

.bzm-serp-ghost i:last-child {
  width: calc(513 * var(--u));
}

/* Uvod (naslovni blok): kartica oglasa z gumbom do trgovine */
.bzm-intro-card {
  position: absolute;
  left: calc(231 * var(--u));
  top: calc(8 * var(--u));
  width: calc(493 * var(--u));
  padding: calc(24 * var(--u));
  background: #fff;
  border-radius: calc(24 * var(--u));
}

.element-ogl-glava-inside-right .bzm .bzm-logo {
  position: static;
  width: calc(63 * var(--u));
  height: calc(63 * var(--u));
}

.element-ogl-glava-inside-right .bzm .bzm-intro-photo {
  width: calc(445 * var(--u));
  height: calc(285 * var(--u));
  margin-top: calc(27 * var(--u));
  border-radius: calc(18 * var(--u));
}

.bzm-intro-title {
  margin-top: calc(24 * var(--u));
  font-size: calc(30 * var(--u));
  font-weight: 700;
  white-space: nowrap;
}

.bzm-intro-price {
  margin-top: calc(6 * var(--u));
  font-size: calc(22 * var(--u));
}

.bzm-intro .bzm-btn {
  height: calc(57 * var(--u));
  margin-top: calc(20 * var(--u));
  font-size: calc(24 * var(--u));
}

.bzf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bzf-btn:hover {
  transform: translateY(-2px);
}

.bzf-btn i {
  transition: transform 0.2s ease;
}

.bzf-btn:hover i {
  transform: translateX(4px);
}

/* Lebdeči gumb (fable_biz_float) */
.bzf[hidden] {
  display: none;
}

.bzf {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #111;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  font-family: 'Inter', sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 150%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
}

.bzf.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.bzf .bzf-btn {
  padding: 12px 22px;
  background: linear-gradient(135deg, #2a8299, #173755);
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
}

.bzf-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.bzf-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

@media only screen and (max-width: 768px) {
  .bzf {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateY(150%);
  }

  .bzf.is-on {
    transform: translateY(0);
  }

  .bzf .bzf-btn {
    flex: 1;
    justify-content: center;
    gap: 8px;
    padding: 13px 14px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }
}

/* Zaključni poziv (fable_biz_final_cta): velik banner na dnu strani */
.bze {
  position: relative;
  clear: both;
  max-width: 1110px;
  margin: 50px auto 80px;
  padding: 72px 40px 60px;
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(ellipse at 50% 120%, rgba(64, 196, 214, 0.38), transparent 60%), radial-gradient(circle at 10% 0%, rgba(120, 160, 255, 0.28), transparent 45%), linear-gradient(160deg, #0f2a44, #173755 45%, #216175);
  color: #fff;
  font-family: 'Inter', sans-serif;
  text-align: center;
  box-shadow: 0 30px 70px rgba(15, 42, 68, 0.3);
}

.bze-spark {
  position: absolute;
  width: 200px;
  height: 200px;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.bze-spark-l {
  left: -30px;
  top: -20px;
}

.bze-spark-r {
  right: -20px;
  bottom: -30px;
}

.bze .bze-title {
  display: block;
  float: none;
  max-width: 760px;
  margin: 0 auto 30px;
  padding: 0;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
  text-align: center;
}

.bze .bze-steps {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 38px;
  padding: 0;
  list-style: none;
}

.bze .bze-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 18px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.bze-steps b {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #173755;
  font-size: 14px;
  font-weight: 800;
}

.bze .bze-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14), 0 18px 44px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: bze-ring 2.6s ease-in-out infinite;
}

.bze .bze-btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.bze-btn i {
  transition: transform 0.2s ease;
}

.bze-btn:hover i {
  transform: translateX(5px);
}

@keyframes bze-ring {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14), 0 18px 44px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.05), 0 18px 44px rgba(0, 0, 0, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  .bze .bze-btn {
    animation: none;
  }
}

.bze .bze-note {
  position: relative;
  margin: 22px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

@media only screen and (max-width: 768px) {
  .bze {
    margin: 30px 0 50px;
    padding: 46px 20px 40px;
    border-radius: 22px;
  }

  .bze .bze-title {
    font-size: 30px;
  }

  .bze .bze-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .bze .bze-btn {
    display: flex;
    justify-content: center;
    padding: 18px 20px;
    font-size: 17px;
    text-align: center;
  }
}
