body { font-family: var(--aplo-font); }
.aplodema-logotype {
  color: var(--aplo-deep);
  display: inline-flex;
  align-items: center;
  font: 700 24px/1 Rubik, Arial, sans-serif;
  letter-spacing: -.06em;
  min-height: 48px;
  white-space: nowrap;
}
.aplodema-logotype span { color: var(--aplo-blue); }
#iz-progressive-news, #izprati-plan-close { display: none !important; }
@media (max-width: 921px) {
  .aplodema-logotype { font-size: clamp(14px, 4vw, 22px); }
}
[data-home-answer][hidden] { display: none !important; }
[data-home-answer]:not([hidden]) { display: block !important; }
[data-home-faq].aplodema-faq-open svg { transform: rotate(45deg); }
.elementor-invisible { visibility: visible; }
[id], [data-home-section] { scroll-margin-top: 125px; }
a[aria-disabled="true"] { cursor: default; }

@media (min-width: 922px) {
  [data-home-section="hero"] [data-id="597b965"] {
    position: relative;
    top: -34px;
  }
}

/* Keep the reference layout and use white surfaces with restrained accents. */
body, #page { background-color: var(--aplo-surface); }

.elementor.elementor-49 > [data-home-section] {
  background-color: var(--aplo-surface);
}

.elementor.elementor-49 > #hero {
  background-image: none;
}

.elementor.elementor-49 > :is(#announcement, #pickup-widget, #demo, #platform, #support, #tracking, #customer-story, #start) {
  background: var(--aplo-neutral);
  border-block: 1px solid var(--aplo-line);
  color: var(--aplo-deep);
}

:is(#announcement, #pickup-widget, #demo, #platform, #support, #tracking, #customer-story, #start)
  :is(h1, h2, h3, h4, p, li, blockquote, cite, .elementor-counter-title, .elementor-counter-number-wrapper) {
  color: var(--aplo-deep) !important;
}

#settings .iz-flex-card {
  background: var(--aplo-neutral);
  border: 1px solid var(--aplo-line);
  color: var(--aplo-deep);
}

#settings .iz-flex-card :is(h2, h3, p) { color: var(--aplo-deep); }
#settings .iz-flex-copy a.shopify-button { color: var(--aplo-surface) !important; }

#settings .iz-flex-image img {
  aspect-ratio: 2560 / 1186;
  object-fit: contain;
  object-position: left top;
}

@media (max-width: 767px) {
  #settings .iz-flex-image img { object-fit: cover; }
}

[data-home-section] a.elementor-button:not(.shopify-button) {
  background-color: var(--aplo-blue);
  background-image: none;
  color: #fff;
}

[data-home-section] a.elementor-button:not(.shopify-button):hover {
  background-color: var(--aplo-deep);
  color: #fff;
}

/* The imported template gives the hero background priority over theme rules. */
[data-elementor-id="49"] > [data-home-section="hero"] {
  background: var(--aplo-surface) !important;
}

#hero .aplodema-hero-subtitle {
  margin: 14px 0 0;
  color: var(--aplo-muted);
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.45;
}

#iz-home-feature-grid .izfg-mini img {
  object-fit: contain;
  object-position: center;
  transform: none;
}

#hero a.elementor-button:not([data-home-cta], .shopify-button) {
  background: var(--aplo-surface);
  color: var(--aplo-blue);
  box-shadow: inset 0 0 0 1px var(--aplo-line);
}

#hero a.elementor-button:not([data-home-cta], .shopify-button):hover {
  background: var(--aplo-neutral);
  color: var(--aplo-deep);
}

.aplodema-carrier-content {
  width: min(1200px, 100%);
  padding-inline: clamp(18px, 4vw, 40px);
  margin-inline: auto;
  margin-block: clamp(28px, 5vw, 60px);
}
.aplodema-carrier-content > h2 { text-align: center; }
.aplodema-carrier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-top: 30px;
}
.aplodema-carrier-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--aplo-line);
  border-radius: 12px;
}
.aplodema-carrier-card h3 { margin: 0 0 10px; }

a[aria-disabled="true"].elementor-button {
  opacity: .7;
  box-shadow: none;
}
a[aria-disabled="true"] { text-decoration: none; }

#aplodema-demo-dialog {
  width: min(840px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  border: 1px solid var(--aplo-line);
  border-radius: 12px;
  padding: clamp(14px, 3vw, 24px);
  color: var(--aplo-deep);
}
#aplodema-demo-dialog::backdrop { background: rgb(18 27 36 / .65); }
.aplodema-demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.aplodema-demo-heading h2 { margin: 0; font-size: clamp(18px, 4vw, 25px); }
.aplodema-demo-heading button { padding: .3em .6em; line-height: 1; }
#aplodema-demo-dialog video { display: block; width: 100%; max-height: 70dvh; }
.elementor-custom-embed-play[data-home-demo] { border: 0; background: transparent; padding: 0; color: inherit; }
