/*
Theme Name: Delphi Dijagnostika Elementor
Description: Elementor child tema za Delphi Dijagnostika WooCommerce prodavnicu.
Author: Auto OBD DOO
Version: 2.1.0
Template: hello-elementor
Text Domain: delphi-dijagnostika
*/

@font-face {
  font-family: "Lexend Deca";
  src: url("assets/fonts/lexend-deca-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lexend Deca";
  src: url("assets/fonts/lexend-deca-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lexend Deca";
  src: url("assets/fonts/lexend-deca-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lexend Deca";
  src: url("assets/fonts/lexend-deca-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lexend Deca";
  src: url("assets/fonts/lexend-deca-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --delphi-blue: #005ed2;
  --delphi-deep: #201e76;
  --delphi-ink: #1f1f1f;
  --delphi-muted: #4c4c4c;
  --delphi-soft: #f4f4f4;
  --delphi-line: #e5e5e5;
  --delphi-white: #ffffff;
  --delphi-radius: 8px;
  --delphi-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}

html { scroll-behavior: smooth; }
body {
  color: var(--delphi-ink);
  background: var(--delphi-white);
  font-family: "Lexend Deca", Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  color: var(--delphi-ink);
  font-family: "Lexend Deca", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.12;
}

a { color: var(--delphi-blue); }
a:hover { color: var(--delphi-deep); }

.delphi-service-bar {
  min-height: 34px;
  color: #dcecff;
  background: var(--delphi-deep);
  font-size: 12px;
}
.delphi-service-bar .elementor-container { min-height: 34px; }
.delphi-service-bar a { color: #fff; }

.delphi-site-header {
  position: relative;
  z-index: 50;
  min-height: 80px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
}
.delphi-site-header .elementor-container { min-height: 80px; }
.delphi-site-header .elementor-widget-image img { width: 165px; }
.delphi-site-header .delphi-brand-caption {
  margin-top: -7px;
  color: #59626b;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .14em;
}

.delphi-navigation ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.delphi-navigation a {
  color: var(--delphi-ink);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}
.delphi-navigation a:hover,
.delphi-navigation .current-menu-item > a { color: var(--delphi-blue); }

.elementor-button,
.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.delphi-inquiry-button {
  min-height: 48px;
  padding: 14px 25px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: var(--delphi-blue);
  font-family: "Lexend Deca", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.elementor-button:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.delphi-inquiry-button:hover {
  color: #fff;
  background: var(--delphi-deep);
  transform: translateY(-1px);
}
.delphi-button-outline .elementor-button {
  color: #fff;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}

.delphi-hero {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  color: #fff;
  background-color: #111;
  background-position: center;
  background-size: cover;
}
.delphi-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 4%, rgba(0,0,0,.68) 43%, rgba(0,0,0,.08) 100%);
}
.delphi-hero > .elementor-container { position: relative; z-index: 1; min-height: 590px; }
.delphi-hero h1,
.delphi-hero .elementor-heading-title { color: #fff; font-size: clamp(43px, 5vw, 72px); letter-spacing: -.035em; }
.delphi-hero h1 strong { color: #a8cffc; font-weight: 500; }
.delphi-hero p { max-width: 650px; color: #eff6ff; font-size: 18px; }
.delphi-eyebrow .elementor-heading-title,
.delphi-section-label .elementor-heading-title {
  color: var(--delphi-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.delphi-hero .delphi-eyebrow .elementor-heading-title { color: #9bc9ff; }

.delphi-section { padding: 84px 20px; }
.delphi-section-soft { background: var(--delphi-soft); }
.delphi-section-deep { color: #fff; background: var(--delphi-deep); }
.delphi-section-deep h2,
.delphi-section-deep h3,
.delphi-section-deep .elementor-heading-title { color: #fff; }
.delphi-section-title .elementor-heading-title { font-size: clamp(32px, 3.4vw, 50px); letter-spacing: -.03em; }

.delphi-category-card,
.delphi-benefit-card,
.delphi-info-card,
.delphi-package-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--delphi-line);
  border-radius: var(--delphi-radius);
  background: #fff;
  box-shadow: var(--delphi-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.delphi-category-card:hover,
.delphi-package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 40, 90, .13);
}
.delphi-category-card .elementor-widget-image img,
.delphi-info-card .elementor-widget-image img {
  width: 100%;
  height: 235px;
  object-fit: contain;
  background: #fff;
}
.delphi-category-card .elementor-widget-wrap,
.delphi-benefit-card .elementor-widget-wrap,
.delphi-info-card .elementor-widget-wrap,
.delphi-package-card .elementor-widget-wrap { padding: 28px; }
.delphi-category-card .elementor-heading-title { font-size: 24px; }
.delphi-benefit-card { border: 0; box-shadow: none; }
.delphi-benefit-card .elementor-heading-title { font-size: 18px; }

.delphi-blue-panel {
  overflow: hidden;
  border-radius: var(--delphi-radius);
  color: #fff;
  background: var(--delphi-blue);
  box-shadow: 0 15px 40px rgba(0, 94, 210, .25);
}
.delphi-blue-panel .elementor-widget-wrap { padding: 48px; }
.delphi-blue-panel h2,
.delphi-blue-panel h3,
.delphi-blue-panel .elementor-heading-title { color: #fff; }

.delphi-vti-image img {
  width: 100%;
  border-radius: var(--delphi-radius);
  box-shadow: var(--delphi-shadow);
}

.delphi-cta {
  color: #fff;
  background: var(--delphi-blue);
}
.delphi-cta .elementor-container { min-height: 260px; }
.delphi-cta h2,
.delphi-cta .elementor-heading-title { color: #fff; }

.delphi-page-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  color: #fff;
  background-position: center;
  background-size: cover;
}
.delphi-page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.28));
}
.delphi-page-hero > .elementor-container { position: relative; z-index: 1; }
.delphi-page-hero h1,
.delphi-page-hero .elementor-heading-title { color: #fff; font-size: clamp(38px, 4vw, 60px); }
.delphi-page-hero p { max-width: 700px; color: #f2f6fb; font-size: 17px; }

.delphi-feature-list ul { margin: 0; padding-left: 20px; }
.delphi-feature-list li { margin: 0 0 11px; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { margin: 26px 0; color: #6b737b; font-size: 12px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--delphi-blue); }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 28px; }
.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #d6dce2;
  border-radius: 6px;
  background: #fff;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.woocommerce ul.products:before,
.woocommerce ul.products:after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex;
  flex-direction: column;
  float: none;
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--delphi-line);
  border-radius: var(--delphi-radius);
  background: #fff;
  box-shadow: var(--delphi-shadow);
}
.woocommerce ul.products li.product a img {
  width: 100%;
  height: 245px;
  margin: 0;
  padding: 22px;
  object-fit: contain;
  background: #fff;
  border-bottom: 1px solid var(--delphi-line);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 22px 22px 5px;
  color: var(--delphi-ink);
  font-size: 19px;
  font-weight: 500;
}
.woocommerce ul.products li.product .price {
  padding: 0 22px;
  color: var(--delphi-blue);
  font-size: 15px;
  font-weight: 500;
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .delphi-inquiry-button {
  align-self: flex-start;
  margin: 12px 22px 24px;
}
.woocommerce span.onsale {
  min-width: auto;
  min-height: auto;
  padding: 7px 12px;
  border-radius: 0 0 8px 0;
  background: var(--delphi-blue);
  font-size: 11px;
  line-height: 1.2;
}

.woocommerce div.product { padding: 45px 0 85px; }
.woocommerce div.product div.images img { border-radius: var(--delphi-radius); background: var(--delphi-soft); }
.woocommerce div.product .product_title { font-size: clamp(36px, 4vw, 54px); letter-spacing: -.035em; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--delphi-blue); font-size: 21px; font-weight: 500; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--delphi-muted); font-size: 17px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding-left: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; border-radius: 0; background: var(--delphi-soft); }
.woocommerce div.product .woocommerce-tabs .panel { padding: 32px; border-radius: var(--delphi-radius); background: var(--delphi-soft); }
.woocommerce table.shop_table { overflow: hidden; border-color: var(--delphi-line); border-radius: var(--delphi-radius); }
.woocommerce-checkout #payment { background: var(--delphi-soft); border-radius: var(--delphi-radius); }
.woocommerce-checkout #payment div.payment_box { background: #e7eef6; }
.woocommerce-message,
.woocommerce-info { border-top-color: var(--delphi-blue); }
.woocommerce-message:before,
.woocommerce-info:before { color: var(--delphi-blue); }

.delphi-inquiry-price { color: var(--delphi-blue); font-size: 17px; font-weight: 500; }
.delphi-inquiry-wrap { margin: 20px 0; }

.delphi-site-footer {
  padding: 70px 20px 30px;
  color: #525c65;
  background: var(--delphi-soft);
  border-top: 1px solid var(--delphi-line);
}
.delphi-site-footer h3,
.delphi-site-footer .elementor-heading-title { color: var(--delphi-ink); font-size: 17px; }
.delphi-site-footer a { color: #3e4b56; }
.delphi-site-footer a:hover { color: var(--delphi-blue); }
.delphi-footer-legal { padding-top: 24px; border-top: 1px solid #d8dde2; font-size: 11px; }

@media (max-width: 1024px) {
  .delphi-navigation ul { flex-wrap: wrap; gap: 12px 20px; }
  .delphi-site-header .elementor-container { padding: 13px 20px; }
  .delphi-hero { min-height: 530px; }
  .delphi-hero > .elementor-container { min-height: 530px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .delphi-service-bar { display: none; }
  .delphi-hero,
  .delphi-hero > .elementor-container { min-height: 600px; }
  .delphi-hero:before { background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,.35)); }
  .delphi-hero h1,
  .delphi-hero .elementor-heading-title { font-size: 42px; }
  .delphi-section { padding: 60px 18px; }
  .delphi-blue-panel .elementor-widget-wrap { padding: 30px; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .woocommerce ul.products li.product a img { height: 270px; }
  .woocommerce div.product { padding: 25px 15px 60px; }
}

/* Delphi Autoparts precise theme defaults. Elementor widget styles remain editable. */
body,
body p,
body li,
body a,
body button,
body input,
body select,
body textarea,
body .elementor-widget-text-editor,
body .elementor-button,
body .woocommerce {
  font-family: "Lexend Deca", Arial, sans-serif;
}
body .woocommerce h1,
body .woocommerce h2,
body .woocommerce h3,
body .woocommerce h4 {
  color: #1f1f1f;
  font-family: "Lexend Deca", Arial, sans-serif;
  font-weight: 500;
}
body .elementor-section.elementor-section-boxed > .elementor-container {
  width: 100%;
  max-width: 1372px;
}
body .delphi-section-title .elementor-heading-title {
  color: #1f1f1f;
  font-size: clamp(36px, 3.45vw, 54px);
  font-weight: 500;
  letter-spacing: -.035em;
}
body .delphi-section-label .elementor-heading-title,
body .delphi-eyebrow .elementor-heading-title {
  color: #005ed2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body .delphi-service-bar {
  min-height: 36px;
  color: #3c4752;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  font-size: 11px;
}
body .delphi-service-bar .elementor-container { min-height: 36px; }
body .delphi-service-bar p { margin: 0; }
body .delphi-service-bar .elementor-column:last-child .elementor-widget-wrap { justify-content: flex-end; text-align: right; }
body .delphi-service-bar a { color: #1f1f1f; font-weight: 500; }
body .delphi-site-header {
  min-height: 80px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.10);
}
body .delphi-site-header > .elementor-container { min-height: 80px; }
body .delphi-site-header .elementor-widget-wrap { align-content: center; }
body .delphi-site-header .elementor-widget-image { margin: 0; text-align: left; }
body .delphi-site-header .elementor-widget-image img { width: 140px; }
body .delphi-site-header .delphi-brand-caption { margin: -5px 0 0 2px; color: #005ed2; font-size: 7px; font-weight: 600; letter-spacing: .11em; }
body .delphi-site-header .delphi-brand-caption p { margin: 0; }
body .delphi-site-header .delphi-navigation ul { justify-content: flex-end; gap: 18px; }
body .delphi-site-header .delphi-navigation a { color: #1f1f1f; font-size: 12px; }
body .delphi-site-header .delphi-navigation a:hover { color: #005ed2; }

.delphi-fallback-container {
  width: min(1372px, calc(100% - 48px));
  margin: 0 auto;
}
.delphi-fallback-servicebar {
  height: 36px;
  color: #3c4752;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  font-size: 11px;
}
.delphi-fallback-servicebar .delphi-fallback-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.delphi-fallback-servicebar div div { display: flex; gap: 28px; }
.delphi-fallback-servicebar a { color: #1f1f1f; font-weight: 500; text-decoration: none; }
.delphi-fallback-header {
  position: relative;
  z-index: 80;
  height: 80px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.1);
}
.delphi-fallback-header-inner {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 35px;
  height: 100%;
}
.delphi-fallback-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: #005ed2;
  text-decoration: none;
}
.delphi-fallback-logo img { width: 140px; height: auto; display: block; }
.delphi-fallback-logo span {
  margin: 2px 0 0 2px;
  color: #005ed2;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .11em;
}
.delphi-fallback-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 31px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.delphi-fallback-nav a {
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}
.delphi-fallback-nav a:hover,
.delphi-fallback-nav .current-menu-item > a { color: #005ed2; }
.delphi-fallback-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  color: #fff;
  background: #005ed2;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.delphi-fallback-cta:hover { color: #fff; background: #201e76; }

body .delphi-hero {
  min-height: 560px;
  margin: 0;
}
body .delphi-hero > .elementor-container { min-height: 560px; }
body .delphi-hero:before {
  background: linear-gradient(90deg, rgba(0,0,0,.80) 4%, rgba(0,0,0,.63) 43%, rgba(0,0,0,.06) 100%);
}
body .delphi-hero .elementor-heading-title { color: #fff; }
body .delphi-hero .delphi-eyebrow .elementor-heading-title { color: #fff; opacity: .92; }
body .delphi-hero h1,
body .delphi-hero h1.elementor-heading-title {
  max-width: 720px;
  color: #fff;
  font-size: clamp(47px, 4.8vw, 68px);
  font-weight: 300;
  line-height: 1.05;
}
body .delphi-hero h1 strong { color: #fff; font-weight: 600; }
body .delphi-hero .elementor-widget-text-editor,
body .delphi-hero .elementor-widget-text-editor p { color: #fff; }
body .delphi-hero .elementor-widget-button { display: inline-block; width: auto; margin: 9px 8px 0 0; }
.delphi-hero-specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0 8px; }
.delphi-hero-specs span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 14px;
  color: #fff;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 18px;
  font-size: 11px;
  font-weight: 500;
}

body .delphi-category-rail { padding: 30px 20px 26px; background: #fff; }
body .delphi-category-rail > .elementor-container { gap: 14px; }
body .delphi-category-rail .elementor-column,
body .delphi-benefit-row .elementor-column { width: calc(25% - 10.5px) !important; }
body .delphi-category-rail .delphi-rail-card {
  min-height: 94px;
  overflow: hidden;
  border-radius: 48px;
  background: #f4f4f4;
}
body .delphi-category-rail .delphi-rail-card > .elementor-widget-wrap {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-content: center;
  column-gap: 10px;
  padding: 20px 25px;
}
body .delphi-rail-number .elementor-heading-title { color: #005ed2; font-size: 10px; font-weight: 600; }
body .delphi-rail-title .elementor-heading-title { color: #1f1f1f; font-size: 15px; font-weight: 500; }
body .delphi-rail-title a { display: flex; justify-content: space-between; gap: 12px; color: inherit; }
body .delphi-rail-title a:after { content: "→"; color: #005ed2; font-weight: 400; }
body .delphi-rail-text { grid-column: 2; color: #5f6870; font-size: 10px; }
body .delphi-rail-text p { margin: 0; }

body .delphi-benefit-row { padding: 28px 20px 76px; background: #fff; }
body .delphi-benefit-row > .elementor-container { gap: 14px; }
body .delphi-benefit-card-v2 {
  min-height: 88px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
}
body .delphi-benefit-card-v2 > .elementor-widget-wrap {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-content: center;
  column-gap: 12px;
  padding: 17px 20px;
}
body .delphi-benefit-icon .elementor-heading-title {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #005ed2;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 600;
}
body .delphi-benefit-title .elementor-heading-title { color: #1f1f1f; font-size: 13px; font-weight: 500; }
body .delphi-benefit-text { grid-column: 2; color: #6b737b; font-size: 9px; }
body .delphi-benefit-text p { margin: 0; }

body .delphi-department-intro { padding: 50px 20px 36px; background: #fff; }
body .delphi-department-intro .elementor-widget-text-editor { max-width: 390px; margin-left: auto; color: #59626b; }
body .delphi-departments { padding: 0 20px 82px; background: #fff; }
body .delphi-departments > .elementor-container { display: block; }
body .delphi-department-row {
  box-sizing: border-box;
  width: min(1372px, calc(100% - 40px));
  max-width: 1372px;
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,.08);
}
body .delphi-department-row.delphi-department-last { margin-bottom: 82px; }
body .delphi-department-row > .elementor-container { max-width: none !important; min-height: 300px; }
body .delphi-department-row .elementor-column { min-height: 300px; }
body .delphi-department-row .delphi-department-image { background: #f4f4f4; }
body .delphi-department-row .delphi-department-image > .elementor-widget-wrap { padding: 30px; }
body .delphi-department-row .delphi-department-image .elementor-widget-image,
body .delphi-department-row .delphi-department-image .elementor-widget-container,
body .delphi-department-row .delphi-department-image img { width: 100%; height: 100%; }
body .delphi-department-row .delphi-department-image img { max-height: 275px; object-fit: contain; }
body .delphi-department-row .delphi-department-image-cover img { object-fit: cover; }
body .delphi-department-row .delphi-department-copy > .elementor-widget-wrap {
  align-content: center;
  padding: 54px 78px;
}
body .delphi-department-row .delphi-department-copy .elementor-heading-title { color: #1f1f1f; }
body .delphi-department-row .delphi-department-copy h3.elementor-heading-title { font-size: 32px; }
body .delphi-department-row .elementor-button {
  color: #005ed2;
  background: transparent;
  box-shadow: inset 0 0 0 1px #005ed2;
}
body .delphi-department-row .elementor-button:hover { color: #fff; background: #005ed2; }

body .delphi-products-v2 { padding: 78px 20px; background: #f4f4f4; }
body .delphi-products-v2 .elementor-heading-title { color: #1f1f1f; }
body .delphi-products-v2 .delphi-section-label .elementor-heading-title { color: #005ed2; }
body .woocommerce ul.products li.product .woocommerce-loop-product__title { color: #1f1f1f; font-family: "Lexend Deca", Arial, sans-serif; font-weight: 500; }
body .woocommerce ul.products li.product .price,
body .delphi-inquiry-price { color: #005ed2; }
body .woocommerce ul.products li.product a img {
  height: 255px !important;
  padding: 22px !important;
  object-fit: contain !important;
  background: #fff !important;
}

.delphi-fallback-footer {
  padding: 70px 0 26px;
  color: #525c65;
  background: #f4f4f4;
  border-top: 1px solid #e5e5e5;
}
.delphi-fallback-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 70px; }
.delphi-fallback-footer-grid h3 { margin: 0 0 18px; color: #1f1f1f; font-size: 16px; }
.delphi-fallback-footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.delphi-fallback-footer-grid a { color: #4c4c4c; text-decoration: none; }
.delphi-fallback-footer-grid a:hover { color: #005ed2; }
.delphi-fallback-legal { display: flex; justify-content: space-between; margin-top: 42px; padding-top: 22px; border-top: 1px solid #d8dde2; font-size: 10px; }

@media (max-width: 1080px) {
  .delphi-fallback-header { height: auto; min-height: 80px; }
  .delphi-fallback-header-inner { grid-template-columns: 180px 1fr; padding: 14px 0; }
  .delphi-fallback-cta { display: none; }
  .delphi-fallback-nav ul { flex-wrap: wrap; gap: 12px 20px; }
  body .delphi-category-rail > .elementor-container,
  body .delphi-benefit-row > .elementor-container { flex-wrap: wrap; }
  body .delphi-category-rail .elementor-column,
  body .delphi-benefit-row .elementor-column { width: calc(50% - 8px) !important; }
}

@media (max-width: 767px) {
  .delphi-fallback-container { width: min(100% - 30px, 1372px); }
  .delphi-fallback-servicebar { display: none; }
  body .delphi-hero,
  body .delphi-hero > .elementor-container { min-height: 610px; }
  body .delphi-hero:before { background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,.30)); }
  body .delphi-hero h1,
  body .delphi-hero h1.elementor-heading-title { font-size: 41px; }
  body .delphi-category-rail .elementor-column,
  body .delphi-benefit-row .elementor-column { width: 100% !important; }
  body .delphi-department-intro .elementor-column { width: 100% !important; }
  body .delphi-department-intro .elementor-widget-text-editor { margin-left: 0; }
  body .delphi-department-row > .elementor-container { flex-direction: column; }
  body .delphi-department-row .elementor-column { width: 100% !important; min-height: auto; }
  body .delphi-department-row .delphi-department-copy > .elementor-widget-wrap { padding: 36px 28px; }
  body .delphi-department-row .delphi-department-image > .elementor-widget-wrap { padding: 24px; }
  body .delphi-department-row .delphi-department-image img { height: 230px; }
  .delphi-fallback-footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .delphi-fallback-legal { flex-direction: column; gap: 8px; }
}

/* Kompletno usklađivanje WordPress/Elementor prikaza */
body .elementor-section.elementor-section-boxed > .elementor-container {
  width: 100%;
  max-width: 1320px;
}
.delphi-fallback-container { width: min(1320px, calc(100% - 48px)); }
.delphi-fallback-logo img,
body .delphi-site-header .elementor-widget-image img { width: 112px; }
.delphi-fallback-header-inner { grid-template-columns: 175px 1fr auto; }

/* Rezervni selektori po Elementor ID-u popravljaju izgled i pre regeneracije CSS-a. */
body .elementor-element-dh2hero1 { position: relative; overflow: hidden; min-height: 560px; color: #fff; background-position: center; background-size: cover; }
body .elementor-element-dh2hero1:before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 2%, rgba(0,0,0,.58) 44%, rgba(0,0,0,.04) 100%); }
body .elementor-element-dh2hero1 > .elementor-container { position: relative; z-index: 1; min-height: 560px; }
body .elementor-element-dh2hero1 .elementor-heading-title,
body .elementor-element-dh2hero1 p { color: #fff; }

body .delphi-shop-hero {
  min-height: 285px;
  padding: 55px 20px 60px;
}
body .delphi-shop-hero:before { background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.34)); }
body .delphi-shop-hero h1.elementor-heading-title { margin-top: 22px; color: #fff; font-size: clamp(42px, 4vw, 54px); font-weight: 500; }
body .delphi-shop-hero .elementor-widget-text-editor,
body .delphi-shop-hero .elementor-widget-text-editor p,
body .delphi-shop-hero .delphi-breadcrumb { color: #fff; }
body .delphi-breadcrumb { font-size: 11px; }
body .delphi-breadcrumb p { display: flex; gap: 10px; align-items: center; margin: 0; }
body .delphi-breadcrumb a,
body .delphi-breadcrumb span,
body .delphi-breadcrumb strong { color: inherit; }

body .delphi-shop-layout { padding: 55px 20px 90px; background: #f4f4f4; }
body .delphi-shop-layout > .elementor-container { align-items: flex-start; gap: 35px; }
body .delphi-shop-layout .delphi-shop-sidebar { width: 220px !important; flex: 0 0 220px; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,.07); }
body .delphi-shop-sidebar > .elementor-widget-wrap { padding: 0; }
body .delphi-shop-sidebar > .elementor-widget-wrap > .elementor-widget-heading { margin: 0; padding: 20px; background: #005ed2; }
body .delphi-shop-sidebar > .elementor-widget-wrap > .elementor-widget-heading .elementor-heading-title { color: #fff; font-size: 17px; }
body .delphi-sidebar-links { display: flex; flex-direction: column; }
body .delphi-sidebar-links a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 20px; color: #1f1f1f; border-bottom: 1px solid #e5e5e5; font-size: 13px; text-decoration: none; }
body .delphi-sidebar-links a:hover,
body .delphi-sidebar-links a.is-active { color: #005ed2; background: #f8fbff; }
body .delphi-sidebar-help { margin: 0; padding: 18px 20px 8px; color: #525c65; font-size: 11px; }
body .delphi-sidebar-help strong { color: #1f1f1f; }
body .delphi-shop-layout .delphi-shop-main { width: calc(100% - 255px) !important; flex: 1 1 auto; }
body .delphi-shop-main > .elementor-widget-wrap { padding: 0; }
body .delphi-shop-toolbar { margin: 0 0 18px; padding: 0; }
body .delphi-shop-toolbar > .elementor-widget-container > div { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 20px; border-radius: 7px; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.04); font-size: 12px; }
body .delphi-shop-main .woocommerce ul.products,
body .delphi-archive-main ul.products { gap: 18px; }
body .delphi-shop-main .woocommerce ul.products li.product,
body .delphi-archive-main ul.products li.product { border: 0; box-shadow: 0 5px 18px rgba(0,0,0,.07); }
body .delphi-shop-main .woocommerce ul.products li.product a img,
body .delphi-archive-main ul.products li.product a img { height: 255px !important; padding: 24px !important; }
.delphi-loop-badge { align-self: flex-start; margin: 14px 18px -2px; padding: 5px 10px; border-radius: 13px; background: #f4f4f4; color: #1f1f1f; font-size: 9px; font-weight: 500; }
.delphi-loop-application { margin: 14px 20px 0; color: #005ed2; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.delphi-loop-short { margin: 4px 20px 2px; color: #6a7178; font-size: 12px; line-height: 1.55; }

body .delphi-vti-hero { padding: 65px 20px 68px; color: #fff; background: #0965cf; }
body .delphi-vti-hero > .elementor-container { align-items: center; min-height: 510px; }
body .delphi-vti-hero .elementor-widget-wrap { align-content: center; }
body .delphi-vti-hero .elementor-heading-title,
body .delphi-vti-hero p,
body .delphi-vti-hero a { color: #fff; }
body .delphi-vti-hero .delphi-eyebrow .elementor-heading-title { color: #fff; }
body .delphi-vti-hero h1.elementor-heading-title { max-width: 650px; margin-top: 28px; font-size: clamp(43px, 4.2vw, 58px); font-weight: 500; line-height: 1.08; }
body .delphi-vti-hero .elementor-widget-text-editor:not(.delphi-breadcrumb) { max-width: 650px; font-size: 14px; }
body .delphi-vti-hero .elementor-widget-button { display: inline-block; width: auto; margin: 18px 12px 0 0; }
body .delphi-vti-hero .elementor-button { color: #1f1f1f; background: #fff; }
body .delphi-vti-hero .delphi-vti-text-button .elementor-button { color: #fff; background: transparent; padding-inline: 8px; }
body .delphi-vti-hero-image img { width: 100%; max-height: 500px; object-fit: contain; border-radius: 7px; box-shadow: 0 8px 25px rgba(0,0,0,.12); }

body .delphi-vti-intro { padding: 72px 20px; background: #fff; }
body .delphi-vti-intro .delphi-section-title .elementor-heading-title { max-width: 510px; font-size: clamp(34px, 3.2vw, 47px); }
body .delphi-vti-intro .elementor-column:last-child > .elementor-widget-wrap { padding-left: 42px; }
body .delphi-vti-note { display: grid; grid-template-columns: 65px 1fr; gap: 14px; margin-top: 24px; padding: 16px 18px; border-left: 3px solid #005ed2; background: #f4f4f4; color: #59626b; font-size: 11px; }
body .delphi-vti-note strong { color: #005ed2; }

body .delphi-vti-features { padding: 68px 20px 82px; background: #f4f4f4; }
body .delphi-vti-features > .elementor-container { display: flex; flex-wrap: wrap; gap: 16px; }
body .delphi-vti-feature-intro { width: 100% !important; margin-bottom: 20px; }
body .delphi-vti-feature-intro .delphi-section-title .elementor-heading-title { max-width: 580px; font-size: clamp(36px, 3.2vw, 48px); }
body .delphi-vti-feature-card { width: calc(25% - 12px) !important; min-height: 190px; border-radius: 7px; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,.06); }
body .delphi-vti-feature-card > .elementor-widget-wrap { align-content: center; padding: 24px 20px; }
body .delphi-vti-feature-card .elementor-heading-title { color: #1f1f1f; font-size: 15px; }
body .delphi-vti-feature-card .delphi-vti-card-number .elementor-heading-title { margin-bottom: 35px; color: #005ed2; font-size: 9px; font-weight: 600; }
body .delphi-vti-feature-card p { margin: 0; color: #646d75; font-size: 10px; line-height: 1.55; }

body .delphi-vti-guided { padding: 80px 20px; background: #fff; }
body .delphi-vti-guided > .elementor-container { align-items: center; }
body .delphi-vti-guided .elementor-column:first-child > .elementor-widget-wrap { padding-right: 55px; }
body .delphi-vti-guided .delphi-section-title .elementor-heading-title { font-size: clamp(38px, 3.5vw, 52px); }
body .delphi-vti-guide-image img { width: 100%; border-radius: 7px 7px 0 0; box-shadow: 0 5px 18px rgba(0,0,0,.08); }
body .delphi-image-caption { margin: 0; padding: 8px 14px; border-radius: 0 0 7px 7px; background: #f4f4f4; color: #69727a; font-size: 9px; }
body .delphi-image-caption p { margin: 0; }

body .delphi-vti-packages { padding: 70px 20px 82px; background: #f4f4f4; }
body .delphi-vti-packages > .elementor-container { display: flex; flex-wrap: wrap; gap: 18px; }
body .delphi-vti-package-intro { width: 100% !important; margin-bottom: 16px; }
body .delphi-vti-package-intro .elementor-widget-wrap { display: grid; grid-template-columns: 1fr 420px; align-items: end; }
body .delphi-vti-package-intro .delphi-section-label,
body .delphi-vti-package-intro .delphi-section-title { grid-column: 1; }
body .delphi-vti-package-intro .elementor-widget-text-editor { grid-column: 2; grid-row: 1 / span 2; color: #59626b; font-size: 11px; }
body .delphi-vti-package-card { width: calc(33.333% - 12px) !important; min-height: 390px; border-radius: 7px; background: #fff; box-shadow: 0 5px 18px rgba(0,0,0,.07); }
body .delphi-vti-package-card > .elementor-widget-wrap { align-content: flex-start; padding: 34px 28px; }
body .delphi-vti-package-card h3.elementor-heading-title { font-size: 28px; }
body .delphi-vti-package-card .elementor-widget-text-editor { color: #646d75; font-size: 11px; }
body .delphi-vti-package-card ul { margin: 22px 0; padding-left: 18px; }
body .delphi-vti-package-card li { margin-bottom: 7px; }

body .delphi-vti-heavy { padding: 78px 20px; background: #fff; }
body .delphi-vti-heavy > .elementor-container { align-items: center; }
body .delphi-vti-heavy .elementor-column:last-child > .elementor-widget-wrap { padding-left: 55px; }
body .delphi-vti-heavy .delphi-section-title .elementor-heading-title { font-size: clamp(38px, 3.5vw, 52px); }

.delphi-archive-hero { position: relative; overflow: hidden; min-height: 285px; padding: 55px 20px; color: #fff; background-position: center; background-size: cover; }
.delphi-archive-hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.34)); }
.delphi-archive-hero-inner { position: relative; z-index: 1; width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.delphi-archive-hero h1 { margin: 35px 0 10px; color: #fff; font-size: clamp(42px,4vw,54px); }
.delphi-archive-hero p { max-width: 720px; }
.delphi-archive-shell { display: grid; grid-template-columns: 220px 1fr; gap: 35px; width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 55px 0 90px; }
.delphi-archive-sidebar { overflow: hidden; align-self: start; border-radius: 7px; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,.07); }
.delphi-archive-sidebar h3 { margin: 0; padding: 20px; color: #fff; background: #005ed2; font-size: 17px; }
.delphi-archive-main .woocommerce-result-count,
.delphi-archive-main .woocommerce-ordering { margin-top: 0; }
body.post-type-archive-product,
body.tax-product_cat { background: #f4f4f4; }

body.single-product main.site-main,
body.woocommerce-cart main.site-main,
body.woocommerce-checkout main.site-main,
body.woocommerce-account main.site-main {
  width: min(1320px, calc(100% - 48px));
  max-width: 1320px;
  margin: 0 auto;
}
body.single-product .woocommerce div.product { padding: 55px 0 85px; }
body.single-product .woocommerce div.product div.images { padding: 24px; border-radius: 8px; background: #f4f4f4; }
body.single-product .woocommerce div.product div.images img { object-fit: contain; background: transparent; }
body.single-product .woocommerce div.product div.summary { padding: 20px 0 0 45px; }
body.single-product .woocommerce-product-attributes-item__label { color: #1f1f1f; font-weight: 500; }
body.single-product .related.products { padding-top: 50px; }
body.single-product .related.products > h2 { margin-bottom: 28px; font-size: 34px; }

body .delphi-info-card > .elementor-widget-wrap,
body .delphi-package-card > .elementor-widget-wrap,
body .delphi-blue-panel > .elementor-widget-wrap { height: 100%; }

/* Tamne sekcije imaju svetao podrazumevani tekst, ali Elementor boje i dalje
   mogu da ih promene jer pravila ne koriste !important. */
body .delphi-page-hero .elementor-heading-title,
body .delphi-page-hero .elementor-widget-text-editor,
body .delphi-page-hero .elementor-widget-text-editor p,
body .delphi-blue-panel .elementor-heading-title,
body .delphi-blue-panel .elementor-widget-text-editor,
body .delphi-blue-panel .elementor-widget-text-editor p,
body .delphi-blue-panel li,
body .delphi-blue-panel a { color: #fff; }

.delphi-sgw-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.delphi-sgw-brand {
  min-height: 170px;
  padding: 25px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,.06);
}
.delphi-sgw-brand strong {
  display: block;
  margin-bottom: 9px;
  color: #1f1f1f;
  font-size: 17px;
  font-weight: 500;
}
.delphi-sgw-brand span { color: #59626b; font-size: 12px; line-height: 1.6; }
.delphi-sgw-brand-featured { border-color: #005ed2; box-shadow: 0 8px 24px rgba(0,94,210,.13); }
.delphi-sgw-brand-featured strong { color: #005ed2; }

.delphi-support-lead {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}
.delphi-support-lead .elementor-heading-title { font-size: clamp(36px, 4vw, 55px); }
.delphi-support-grid > .elementor-container { display: flex; flex-wrap: wrap; gap: 18px; }
.delphi-support-grid .delphi-info-card { width: calc(33.333% - 12px) !important; min-height: 250px; }
.delphi-support-grid .delphi-info-card .elementor-heading-title { font-size: 22px; }
.delphi-support-grid .delphi-info-card p { color: #5a626a; }

.delphi-support-contact-strip {
  padding: 34px 20px;
  color: #fff;
  background: #201e76;
}
.delphi-support-contact-strip > .elementor-container { align-items: center; }
.delphi-support-contact-strip .elementor-heading-title,
.delphi-support-contact-strip p,
.delphi-support-contact-strip a { color: #fff; }

.delphi-support-form-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 38px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.delphi-support-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.delphi-support-form p { margin: 0; }
.delphi-support-form label { display: block; margin-bottom: 6px; color: #1f1f1f; font-weight: 500; }
.delphi-support-form input,
.delphi-support-form select,
.delphi-support-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cfd6dd;
  border-radius: 6px;
  color: #1f1f1f;
  background: #fff;
}
.delphi-support-form textarea { min-height: 145px; resize: vertical; }
.delphi-support-form-wide { grid-column: 1 / -1; }
.delphi-support-form-note { color: #646d75; font-size: 12px; }
.delphi-support-form .delphi-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.delphi-form-notice { margin: 0 0 22px; padding: 14px 16px; border-radius: 6px; }
.delphi-form-success { color: #14532d; background: #dcfce7; }
.delphi-form-error { color: #7f1d1d; background: #fee2e2; }

.delphi-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.delphi-blog-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0,0,0,.07);
}
.delphi-blog-image { display: block; height: 220px; background: #eef3f8; }
.delphi-blog-image img { width: 100%; height: 100%; object-fit: cover; }
.delphi-blog-card-copy { padding: 25px; }
.delphi-blog-meta { margin: 0 0 12px; color: #005ed2; font-size: 10px; font-weight: 600; letter-spacing: .08em; }
.delphi-blog-card h2 { margin: 0 0 12px; font-size: 22px; }
.delphi-blog-card h2 a { color: #1f1f1f; text-decoration: none; }
.delphi-blog-card-copy > p:not(.delphi-blog-meta) { color: #646d75; font-size: 13px; }
.delphi-blog-more { font-weight: 500; text-decoration: none; }
body.single-post main.site-main { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 65px 0 90px; }
body.single-post .entry-title { font-size: clamp(38px, 5vw, 62px); }
body.single-post .wp-post-image { width: 100%; max-height: 520px; object-fit: cover; border-radius: 8px; }
body.single-post .entry-content { font-size: 17px; }

@media (max-width: 1024px) {
  body .delphi-shop-layout > .elementor-container { flex-wrap: nowrap; }
  body .delphi-vti-feature-card { width: calc(50% - 8px) !important; }
  body .delphi-vti-package-card { width: calc(50% - 9px) !important; }
  body .delphi-vti-package-intro .elementor-widget-wrap { grid-template-columns: 1fr 330px; }
  .delphi-archive-shell { grid-template-columns: 200px 1fr; }
  .delphi-sgw-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delphi-support-grid .delphi-info-card { width: calc(50% - 9px) !important; }
  .delphi-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .delphi-fallback-container { width: min(100% - 30px, 1320px); }
  body .delphi-shop-hero { min-height: 250px; padding: 45px 18px; }
  body .delphi-shop-layout > .elementor-container { display: block; }
  body .delphi-shop-layout .delphi-shop-sidebar,
  body .delphi-shop-layout .delphi-shop-main { width: 100% !important; }
  body .delphi-shop-layout .delphi-shop-sidebar { margin-bottom: 25px; }
  body .delphi-vti-hero .elementor-column,
  body .delphi-vti-intro .elementor-column,
  body .delphi-vti-guided .elementor-column,
  body .delphi-vti-heavy .elementor-column { width: 100% !important; }
  body .delphi-vti-hero { padding: 45px 18px 55px; }
  body .delphi-vti-hero h1.elementor-heading-title { font-size: 39px; }
  body .delphi-vti-hero .elementor-column:last-child { margin-top: 35px; }
  body .delphi-vti-intro .elementor-column:last-child > .elementor-widget-wrap,
  body .delphi-vti-guided .elementor-column:first-child > .elementor-widget-wrap,
  body .delphi-vti-heavy .elementor-column:last-child > .elementor-widget-wrap { padding: 25px 0 0; }
  body .delphi-vti-feature-card,
  body .delphi-vti-package-card { width: 100% !important; }
  body .delphi-vti-package-intro .elementor-widget-wrap { display: block; }
  .delphi-archive-shell { grid-template-columns: 1fr; width: min(100% - 30px, 1320px); }
  body.single-product main.site-main,
  body.woocommerce-cart main.site-main,
  body.woocommerce-checkout main.site-main,
  body.woocommerce-account main.site-main { width: min(100% - 30px, 1320px); }
  body.single-product .woocommerce div.product div.summary { padding: 30px 0 0; }
  .delphi-sgw-brand-grid { grid-template-columns: 1fr; }
  .delphi-support-grid .delphi-info-card { width: 100% !important; }
  .delphi-support-form-wrap { padding: 25px 20px; }
  .delphi-support-form { grid-template-columns: 1fr; }
  .delphi-support-form-wide { grid-column: auto; }
  .delphi-blog-grid { grid-template-columns: 1fr; }
  body.single-post main.site-main { width: min(100% - 30px, 900px); padding-top: 40px; }
}

/* Elementor editabilnost i responsive navigacija — v1.3 */
html,
body { max-width: 100%; overflow-x: clip; }
img { max-width: 100%; height: auto; }

.delphi-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  min-height: 44px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #1f1f1f;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transform: none;
}
.delphi-mobile-toggle:hover,
.delphi-mobile-toggle:focus-visible {
  color: #005ed2;
  background: transparent;
  transform: none;
}
.delphi-mobile-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.is-menu-open .delphi-mobile-toggle > span:not(.screen-reader-text):nth-last-child(3) { transform: translateY(7px) rotate(45deg); }
.is-menu-open .delphi-mobile-toggle > span:not(.screen-reader-text):nth-last-child(2) { opacity: 0; }
.is-menu-open .delphi-mobile-toggle > span:not(.screen-reader-text):last-child { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .delphi-fallback-header,
  body .delphi-site-header { height: 72px; min-height: 72px; }
  .delphi-fallback-header-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    height: 72px;
    padding: 0;
  }
  .delphi-fallback-logo img,
  body .delphi-site-header .elementor-widget-image img { width: 108px; }
  .delphi-fallback-cta { display: inline-flex; grid-column: 2; grid-row: 1; align-self: center; min-height: 38px; padding: 0 14px; }
  body .delphi-site-header > .elementor-container > .elementor-column:nth-child(3) {
    display: flex;
    width: auto !important;
    position: absolute;
    top: 17px;
    right: 82px;
    z-index: 101;
  }
  body .delphi-site-header .delphi-header-cart { min-height: 38px; padding: 0 14px; }
  .delphi-mobile-toggle { display: inline-flex; grid-column: 3; grid-row: 1; justify-self: end; z-index: 101; }

  .delphi-fallback-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 100;
    padding: 8px 20px 16px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
  }
  .delphi-fallback-header.is-menu-open .delphi-fallback-nav { display: block; }
  .delphi-fallback-nav ul,
  body .delphi-site-header .delphi-navigation ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .delphi-fallback-nav a,
  body .delphi-site-header .delphi-navigation a {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid #ededed;
    font-size: 14px;
  }

  body .delphi-site-header > .elementor-container {
    position: relative;
    min-height: 72px;
    padding: 10px 24px;
  }
  body .delphi-site-header > .elementor-container > .elementor-column:first-child { width: calc(100% - 64px) !important; }
  body .delphi-site-header > .elementor-container > .elementor-column:nth-child(2) {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 100;
    width: 100% !important;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
  }
  body .delphi-site-header.is-menu-open > .elementor-container > .elementor-column:nth-child(2) { display: block; }
  body .delphi-site-header .delphi-navigation ul { padding: 8px 24px 16px; }
  body .delphi-site-header .delphi-mobile-toggle {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
  }
  body .delphi-site-header.is-menu-open .delphi-mobile-toggle { transform: translateY(-50%); }

  body .delphi-category-rail,
  body .delphi-benefit-row,
  body .delphi-department-intro,
  body .delphi-products-v2,
  body .delphi-vti-intro,
  body .delphi-vti-features,
  body .delphi-vti-guided,
  body .delphi-vti-packages,
  body .delphi-vti-heavy,
  .delphi-section { padding-right: 24px; padding-left: 24px; }
  body .delphi-department-row { width: min(100% - 48px, 1320px); }
  body .delphi-department-row .delphi-department-copy > .elementor-widget-wrap { padding: 44px; }
  body .delphi-vti-intro .elementor-column:last-child > .elementor-widget-wrap { padding-left: 28px; }
  body .delphi-vti-guided .elementor-column:first-child > .elementor-widget-wrap { padding-right: 32px; }
  body .delphi-vti-heavy .elementor-column:last-child > .elementor-widget-wrap { padding-left: 32px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.single-product .woocommerce div.product div.summary { padding-left: 30px; }
}

@media (max-width: 900px) {
  body .delphi-shop-layout > .elementor-container { display: block; }
  body .delphi-shop-layout .delphi-shop-sidebar,
  body .delphi-shop-layout .delphi-shop-main { width: 100% !important; }
  body .delphi-shop-layout .delphi-shop-sidebar { margin-bottom: 28px; }
  body .delphi-sidebar-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body .delphi-sidebar-links a { min-height: 54px; padding: 8px 16px; border-right: 1px solid #e5e5e5; }
  body .delphi-vti-hero .elementor-column,
  body .delphi-vti-intro .elementor-column,
  body .delphi-vti-guided .elementor-column,
  body .delphi-vti-heavy .elementor-column { width: 100% !important; }
  body .delphi-vti-hero > .elementor-container,
  body .delphi-vti-intro > .elementor-container,
  body .delphi-vti-guided > .elementor-container,
  body .delphi-vti-heavy > .elementor-container { flex-wrap: wrap; }
  body .delphi-vti-hero .elementor-column:last-child { margin-top: 38px; }
  body .delphi-vti-intro .elementor-column:last-child > .elementor-widget-wrap,
  body .delphi-vti-guided .elementor-column:first-child > .elementor-widget-wrap,
  body .delphi-vti-heavy .elementor-column:last-child > .elementor-widget-wrap { padding: 30px 0 0; }
  .delphi-archive-shell { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body { font-size: 14px; line-height: 1.6; }
  .delphi-fallback-container { width: min(100% - 30px, 1320px); }
  .delphi-fallback-servicebar,
  body .delphi-service-bar { display: none; }
  body .delphi-site-header > .elementor-container { padding-right: 15px; padding-left: 15px; }
  body .delphi-site-header .delphi-mobile-toggle { right: 15px; }

  body .delphi-hero,
  body .delphi-hero > .elementor-container { min-height: 585px; }
  body .delphi-hero { background-position: 63% center; }
  body .delphi-hero:before { background: linear-gradient(0deg, rgba(0,0,0,.9), rgba(0,0,0,.35)); }
  body .delphi-hero > .elementor-container { align-items: flex-end; padding: 52px 18px; }
  body .delphi-hero .elementor-column:first-child { width: 100% !important; }
  body .delphi-hero .elementor-column:last-child { display: none; }
  body .delphi-hero h1,
  body .delphi-hero h1.elementor-heading-title { font-size: clamp(34px, 10vw, 42px); }
  body .delphi-hero .elementor-widget-text-editor { font-size: 14px; }
  body .delphi-hero .elementor-widget-button { display: block; width: 100%; margin: 8px 0 0; }
  body .delphi-hero .elementor-button { width: 100%; text-align: center; }
  .delphi-hero-specs { gap: 7px; margin-top: 18px; }
  .delphi-hero-specs span { padding: 3px 10px; font-size: 10px; }

  body .delphi-category-rail,
  body .delphi-benefit-row,
  body .delphi-department-intro,
  body .delphi-products-v2,
  body .delphi-vti-intro,
  body .delphi-vti-features,
  body .delphi-vti-guided,
  body .delphi-vti-packages,
  body .delphi-vti-heavy,
  .delphi-section { padding: 48px 15px; }
  body .delphi-category-rail { padding-top: 22px; padding-bottom: 15px; }
  body .delphi-benefit-row { padding-top: 15px; padding-bottom: 48px; }
  body .delphi-category-rail > .elementor-container,
  body .delphi-benefit-row > .elementor-container { gap: 12px; }
  body .delphi-category-rail .delphi-rail-card { min-height: 82px; }
  body .delphi-category-rail .delphi-rail-card > .elementor-widget-wrap { padding: 16px 20px; }
  body .delphi-section-title .elementor-heading-title { font-size: clamp(31px, 9vw, 38px); }

  body .delphi-department-intro .elementor-column { width: 100% !important; }
  body .delphi-department-intro .elementor-widget-text-editor { margin: 20px 0 0; }
  body .delphi-departments { padding: 0 0 50px; }
  body .delphi-department-row,
  body .delphi-department-row.delphi-department-last { width: calc(100% - 30px); margin: 0 auto 18px; }
  body .delphi-department-row > .elementor-container { flex-direction: column; }
  body .delphi-department-row .elementor-column { width: 100% !important; min-height: auto; }
  body .delphi-department-row .delphi-department-image { order: 1; }
  body .delphi-department-row .delphi-department-copy { order: 2; }
  body .delphi-department-row .delphi-department-image > .elementor-widget-wrap { padding: 20px; }
  body .delphi-department-row .delphi-department-image img { height: 210px; }
  body .delphi-department-row .delphi-department-copy > .elementor-widget-wrap { padding: 32px 24px; }
  body .delphi-department-row .delphi-department-copy h3.elementor-heading-title { font-size: 28px; }
  body .delphi-department-row .elementor-button { width: 100%; text-align: center; }

  body .delphi-shop-hero { min-height: 290px; padding: 46px 15px; background-position: 62% center; }
  body .delphi-shop-hero h1.elementor-heading-title { margin-top: 16px; font-size: 38px; line-height: 1.08; }
  body .delphi-shop-hero .elementor-widget-text-editor { font-size: 14px; }
  body .delphi-breadcrumb p { flex-wrap: wrap; }
  body .delphi-shop-layout { padding: 34px 15px 60px; }
  body .delphi-sidebar-links { grid-template-columns: 1fr; }
  body .delphi-sidebar-links a { border-right: 0; }
  body .delphi-shop-toolbar > .elementor-widget-container > div { align-items: flex-start; flex-direction: column; gap: 4px; padding: 13px 16px; }

  body .delphi-vti-hero { padding: 44px 15px 52px; }
  body .delphi-vti-hero > .elementor-container { min-height: auto; }
  body .delphi-vti-hero h1.elementor-heading-title { margin-top: 20px; font-size: 38px; }
  body .delphi-vti-hero .elementor-widget-button { display: block; width: 100%; margin: 10px 0 0; }
  body .delphi-vti-hero .elementor-button { width: 100%; text-align: center; }
  body .delphi-vti-hero-image img { max-height: 360px; }
  body .delphi-vti-note { grid-template-columns: 1fr; }
  body .delphi-vti-feature-card,
  body .delphi-vti-package-card { width: 100% !important; min-height: auto; }
  body .delphi-vti-package-intro .elementor-widget-wrap { display: block; }
  body .delphi-vti-package-intro .elementor-widget-text-editor { margin-top: 18px; }
  body .delphi-vti-feature-card > .elementor-widget-wrap,
  body .delphi-vti-package-card > .elementor-widget-wrap { padding: 28px 22px; }
  body .delphi-vti-feature-card .delphi-vti-card-number .elementor-heading-title { margin-bottom: 20px; }
  body .delphi-vti-guided .delphi-section-title .elementor-heading-title,
  body .delphi-vti-heavy .delphi-section-title .elementor-heading-title { font-size: 36px; }

  .woocommerce ul.products,
  body .delphi-shop-main .woocommerce ul.products,
  body .delphi-archive-main ul.products { grid-template-columns: 1fr; }
  .woocommerce ul.products li.product a img,
  body .delphi-shop-main .woocommerce ul.products li.product a img,
  body .delphi-archive-main ul.products li.product a img { height: 245px !important; }
  .delphi-archive-hero { min-height: 250px; padding: 45px 15px; }
  .delphi-archive-hero-inner,
  .delphi-archive-shell { width: min(100% - 30px, 1320px); }
  .delphi-archive-hero h1 { margin-top: 24px; font-size: 38px; }
  .delphi-archive-shell { padding: 36px 0 60px; }

  body.single-product main.site-main,
  body.woocommerce-cart main.site-main,
  body.woocommerce-checkout main.site-main,
  body.woocommerce-account main.site-main { width: min(100% - 30px, 1320px); }
  body.single-product .woocommerce div.product div.summary { padding: 28px 0 0; }
  .woocommerce div.product .product_title { font-size: 36px; }
  .woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; overflow-x: auto; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li { flex: 0 0 auto; }
  .woocommerce div.product .woocommerce-tabs .panel { padding: 24px 18px; }
  .woocommerce table.shop_table { display: block; overflow-x: auto; }

  body .delphi-site-footer .elementor-column { width: 100% !important; }
  .delphi-site-footer { padding: 50px 15px 24px; }
  .delphi-fallback-footer { padding: 50px 0 24px; }
  .delphi-fallback-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .delphi-fallback-legal { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .delphi-fallback-logo img,
  body .delphi-site-header .elementor-widget-image img { width: 100px; }
  body .delphi-hero,
  body .delphi-hero > .elementor-container { min-height: 560px; }
  body .delphi-hero h1,
  body .delphi-hero h1.elementor-heading-title { font-size: 34px; }
  body .delphi-shop-hero h1.elementor-heading-title,
  body .delphi-vti-hero h1.elementor-heading-title { font-size: 34px; }
  body .delphi-section-title .elementor-heading-title,
  body .delphi-vti-guided .delphi-section-title .elementor-heading-title,
  body .delphi-vti-heavy .delphi-section-title .elementor-heading-title { font-size: 31px; }
  .elementor-button,
  .button,
  input[type="submit"],
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .delphi-inquiry-button { width: 100%; text-align: center; }
}

/* WooCommerce kupovina i detaljan sadržaj proizvoda */
.delphi-header-cart,
.delphi-fallback-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  color: #fff;
  background: var(--delphi-blue);
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
}
.delphi-header-cart:hover,
.delphi-fallback-cta:hover { color: #fff; background: var(--delphi-deep); }

.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.woocommerce div.product form.cart .quantity .qty {
  min-height: 48px;
  border: 1px solid var(--delphi-line);
  border-radius: 24px;
}
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce ul.products li.product .button {
  min-height: 46px;
  padding: 13px 22px;
  color: #fff;
  background: var(--delphi-blue);
  border-radius: 24px;
  font-weight: 600;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover { color: #fff; background: var(--delphi-deep); }

.delphi-product-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 30px;
  border: 1px solid var(--delphi-line);
  background: var(--delphi-line);
}
.delphi-product-capabilities section { min-height: 165px; padding: 23px; background: #fff; }
.delphi-product-capabilities h3 { margin: 0 0 10px; color: var(--delphi-blue); font-size: 16px; }
.delphi-product-capabilities p { margin: 0; color: var(--delphi-muted); font-size: 12px; line-height: 1.7; }
.delphi-sgw-box,
.delphi-license-box { margin: 22px 0; padding: 22px 24px; border-radius: var(--delphi-radius); }
.delphi-sgw-box { color: #fff; background: var(--delphi-blue); }
.delphi-license-box { border-left: 4px solid var(--delphi-blue); background: #eef6ff; }
.delphi-sgw-box strong,
.delphi-license-box strong { display: block; margin-bottom: 8px; font-size: 17px; }
.delphi-sgw-box p { color: rgba(255,255,255,.84); }
.delphi-sgw-box a { color: #fff; font-weight: 600; text-decoration: underline; }

@media (max-width: 767px) {
  .delphi-product-capabilities { grid-template-columns: 1fr; }
  .delphi-product-capabilities section { min-height: 0; }
}
