/* DiPrint - prilagođeni izgled (Claude, nov 2026). Brisanjem ovog fajla vraća se stari izgled. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --dp-red: #E30613;
  --dp-red-dark: #B8050F;
  --dp-cyan: #00AEEF;
  --dp-magenta: #EC008C;
  --dp-yellow: #FFD400;
  --dp-ink: #14171c;
  --dp-text: #1a1d23;
  --dp-muted: #4a505a;
  --dp-line: #e6e8ec;
  --dp-soft: #f6f7f9;
  --dp-stripe: linear-gradient(90deg, var(--dp-cyan) 0 25%, var(--dp-magenta) 25% 50%, var(--dp-yellow) 50% 75%, var(--dp-ink) 75% 100%);
  --cassiopeia-color-primary: #14171c;
  --cassiopeia-color-link: #C8050F;
  --cassiopeia-color-hover: #8f040b;
}

body.site {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--dp-text);
  background: #fff;
}
.site h1, .site h2, .site h3, .site .card-header {
  font-family: Archivo, Inter, sans-serif;
  letter-spacing: -0.3px;
}

/* ---------- Header ---------- */
.site .container-header {
  background: #fff !important;
  background-image: none !important;
  box-shadow: none;
  position: relative;
  border-bottom: 0;
}
.site .container-header::after {
  content: "";
  display: block;
  height: 4px;
  background: var(--dp-stripe);
}
.site .container-header .container-topbar {
  background: var(--dp-ink);
  padding: 0;
  margin: 0;
  max-width: none;
  width: 100%;
  grid-column: 1 / -1;
}
.site .container-topbar #mod-custom138 > div {
  background: transparent !important;
  border-radius: 0 !important;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px !important;
}
.site .container-topbar a { color: #fff !important; }
.site .container-topbar a:hover { color: var(--dp-yellow) !important; }
.site .container-header .container-nav {
  padding-top: 14px;
  padding-bottom: 14px;
  align-items: center;
}
.site .container-header .mod-menu {
  padding-bottom: 0 !important;
  align-self: center !important;
  gap: 4px 6px;
}
.site .container-header .mod-menu > li > a {
  color: var(--dp-text) !important;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 17px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.site .container-header .mod-menu > li > a:hover { color: var(--dp-red) !important; background: var(--dp-soft); }
.site .container-header .mod-menu > li.active > a,
.site .container-header .mod-menu > li.current > a { color: var(--dp-red) !important; }
.site .container-header .navbar-toggler { color: var(--dp-ink); border-color: var(--dp-line); }

/* ---------- Naslovna sekcija ---------- */
.dp-hero { background: var(--dp-ink); color: #fff; }
.dp-hero-in {
  max-width: 1200px; margin: 0 auto; padding: 64px 24px;
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
}
.dp-hero-text { flex: 1 1 440px; }
.dp-hero-img { flex: 1 1 400px; }
.dp-hero-img img { width: 100%; height: auto; display: block; border-radius: 16px; }
.dp-hero .dp-eyebrow {
  margin: 0 0 14px; color: var(--dp-yellow); font-weight: 700;
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
}
.dp-hero h1 {
  margin: 0 0 18px; color: #fff; font-weight: 800;
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -1px;
}
.dp-hero .dp-lead { margin: 0 0 26px; color: #c7ccd4; font-size: 19px; line-height: 1.55; max-width: 540px; }
.dp-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.dp-btn {
  display: inline-block; text-decoration: none !important; font-weight: 700; font-size: 17px;
  padding: 15px 26px; border-radius: 10px; line-height: 1.2; transition: background .15s, color .15s;
}
.dp-btn-red { background: var(--dp-red); color: #fff !important; border: 2px solid var(--dp-red); }
.dp-btn-red:hover { background: var(--dp-red-dark); border-color: var(--dp-red-dark); }
.dp-btn-ghost { background: transparent; color: #fff !important; border: 2px solid #fff; }
.dp-btn-ghost:hover { background: #fff; color: var(--dp-ink) !important; }
.dp-btn-dark { background: var(--dp-ink); color: #fff !important; border: 2px solid var(--dp-ink); }
.dp-btn-outline { background: #fff; color: var(--dp-ink) !important; border: 2px solid var(--dp-ink); }

/* ---------- Kartice i naslovi modula ---------- */
.site .card { border-radius: 14px; }
.site .card-header {
  background: transparent; border: 0; padding: 0 0 10px; margin-bottom: 18px;
  font-size: 30px; font-weight: 800; color: var(--dp-text); position: relative;
}
.site .card-header::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 96px; height: 4px;
  background: linear-gradient(90deg, var(--dp-cyan) 0 33.3%, var(--dp-magenta) 33.3% 66.6%, var(--dp-yellow) 66.6% 100%);
}
.site .container-top-b { margin-top: 48px; }
.site .sidebar-right.card { border: 1px solid var(--dp-line); padding: 20px; box-shadow: 0 10px 30px rgba(20,23,28,.06); }
.site .sidebar-right .card-header { font-size: 22px; }
.site .sidebar-right .card-body { padding: 0; }

/* ---------- Proizvodi (Phoca Cart) ---------- */
.site .ph-item-box .ph-thumbnail,
.site .ph-item-box .thumbnail {
  border: 1px solid var(--dp-line) !important; border-radius: 14px !important; overflow: hidden;
  background: #fff; padding: 0 0 14px !important; transition: box-shadow .15s, transform .15s;
}
.site .ph-item-box .thumbnail:hover { box-shadow: 0 12px 28px rgba(20,23,28,.10); transform: translateY(-2px); }
.site .ph-item-box img.ph-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; margin: 0 0 12px; }
.site .ph-item-box h3 { font-size: 20px; font-weight: 700; margin: 0 14px 6px; text-align: left; }
.site .ph-category-price-box, .site .ph-item-price-box { margin: 0 14px; display: flex; justify-content: space-between; align-items: baseline; }
.site .ph-price-txt { color: var(--dp-muted); font-size: 14px; }
.site .ph-price-brutto, .site .ph-standard { color: #C8050F; font-weight: 700; }
.site .swiper-slide:nth-child(4n+1) .ph-thumbnail { border-bottom: 4px solid var(--dp-red) !important; }
.site .swiper-slide:nth-child(4n+2) .ph-thumbnail { border-bottom: 4px solid var(--dp-cyan) !important; }
.site .swiper-slide:nth-child(4n+3) .ph-thumbnail { border-bottom: 4px solid var(--dp-magenta) !important; }
.site .swiper-slide:nth-child(4n+4) .ph-thumbnail { border-bottom: 4px solid var(--dp-yellow) !important; }
.site .swiper-pagination-bullet-active { background: var(--dp-red); }

/* stranica jednog proizvoda */
.site .ph-item-view .ph-item-title h1, .site .ph-item-view h1 { font-size: 42px; font-weight: 800; }
.site .ph-item-view .ph-item-price-box .ph-price-brutto { font-family: Archivo, sans-serif; font-size: 28px; }
.site .ph-item-view .nav-tabs .nav-link.active { border-top: 3px solid var(--dp-red); }

/* ---------- Tekst i dugmad ---------- */
.site .item-page h2 { font-size: 34px; font-weight: 800; margin-top: 8px; }
.site .item-page p { font-size: 17px; line-height: 1.65; color: var(--dp-muted); }
.site .item-page p strong { color: var(--dp-text); }
.site .btn-primary { background: var(--dp-red); border-color: var(--dp-red); border-radius: 10px; font-weight: 700; }
.site .btn-primary:hover { background: var(--dp-red-dark); border-color: var(--dp-red-dark); }

/* ---------- Koraci ---------- */
.dp-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px;
  background: var(--dp-soft); border-radius: 18px; padding: 36px 30px; margin: 28px 0;
}
.dp-step h3 { font-size: 22px; margin: 12px 0 6px; }
.dp-step p { margin: 0 !important; font-size: 16px !important; }
.dp-step .dp-num {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-family: Archivo, sans-serif; font-weight: 800; font-size: 24px; color: #fff;
}
.dp-step:nth-child(1) .dp-num { background: var(--dp-cyan); }
.dp-step:nth-child(2) .dp-num { background: var(--dp-magenta); }
.dp-step:nth-child(3) .dp-num { background: var(--dp-yellow); color: var(--dp-ink); }

/* ---------- Blok "Zatražite ponudu" ---------- */
.site #mod-custom139 > div { border-radius: 16px !important; }

/* ---------- Footer ---------- */
.site .container-footer { background: var(--dp-ink) !important; background-image: none !important; color: #c7ccd4; position: relative; }
.site .container-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--dp-cyan) 0 25%, var(--dp-magenta) 25% 50%, var(--dp-yellow) 50% 75%, var(--dp-red) 75% 100%); }
.site .container-footer .ph-cart-module-box { display: none; }
.dp-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding: 36px 0 20px; font-size: 15px; line-height: 1.7; }
.dp-footer a { color: #fff !important; text-decoration: none; }
.dp-footer a:hover { color: var(--dp-yellow) !important; }
.dp-footer .dp-f-title { color: #fff; font-weight: 700; margin-bottom: 6px; }
.dp-footer .dp-f-logo { font-family: Archivo, sans-serif; font-weight: 800; font-size: 26px; color: #fff; }
.dp-footer .dp-f-logo span { color: var(--dp-red); }

/* ---------- Telefon ---------- */
@media (max-width: 767px) {
  .dp-hero-in { padding: 40px 18px; gap: 28px; }
  .dp-btn { width: 100%; text-align: center; box-sizing: border-box; }
  .site .card-header { font-size: 26px; }
  .site .container-header .mod-menu > li > a { font-size: 16px; }
  .dp-steps { padding: 26px 20px; }
}
/* ---------- Dopune ---------- */
.site .container-footer .grid-child > .mod-custom { flex: 1 1 100%; width: 100%; }
.dp-footer .dp-f-logo .dp-red, .dp-red { color: var(--dp-red); }
@media (max-width: 767px) {
  .site .container-header .container-nav { padding-top: 10px; padding-bottom: 6px; }
  .site .container-header .mod-menu { flex-direction: row !important; flex-wrap: wrap; justify-content: center !important; width: 100%; gap: 2px; }
  .site .container-header .mod-menu > li > a { font-size: 15px; padding: 6px 9px; }
  .site #mod-custom128 img { max-width: 220px; height: auto; }
  .site #mod-custom128 p { margin: 0; text-align: center; }
}
/* ---------- Dugme za kontakt (donji desni ugao) ---------- */
#dp-kontakt { position: fixed; right: 22px; bottom: 22px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: Inter, system-ui, sans-serif; }
#dp-kontakt .dp-k-btn { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: var(--dp-red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(20,23,28,.28); transition: background .15s, transform .15s; }
#dp-kontakt .dp-k-btn:hover { background: var(--dp-red-dark); transform: scale(1.05); }
#dp-kontakt .dp-k-btn:focus-visible { outline: 3px solid var(--dp-cyan); outline-offset: 3px; }
#dp-kontakt .dp-k-meni { background: #fff; border-radius: 14px; box-shadow: 0 12px 36px rgba(20,23,28,.22); padding: 8px; min-width: 240px; display: flex; flex-direction: column; }
#dp-kontakt .dp-k-meni[hidden] { display: none; }
#dp-kontakt .dp-k-meni a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; color: var(--dp-text) !important; text-decoration: none !important; font-weight: 600; font-size: 15px; }
#dp-kontakt .dp-k-meni a:hover { background: var(--dp-soft); color: var(--dp-red) !important; }
#dp-kontakt .dp-k-meni a svg { flex: none; color: var(--dp-red); }
@media (max-width: 767px) { #dp-kontakt { right: 14px; bottom: 14px; } #dp-kontakt .dp-k-btn { width: 54px; height: 54px; } }
/* ---------- Dugme Korpa u meniju (samo kad korpa nije prazna) ---------- */
#dp-korpa { display: inline-flex; align-items: center; gap: 8px; align-self: center; margin-left: 12px; padding: 9px 16px; border-radius: 10px; background: var(--dp-red); color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none !important; line-height: 1; white-space: nowrap; }
#dp-korpa:hover { background: var(--dp-red-dark); }
#dp-korpa:focus-visible { outline: 3px solid var(--dp-cyan); outline-offset: 2px; }
#dp-korpa .dp-korpa-broj { background: #fff; color: var(--dp-red); border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
@media (max-width: 767px) { #dp-korpa { margin: 6px auto 0; } }
.dp-steps { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
/* Sakriven natpis "Powered by Phoca Cart" */
.site div:has(> a[href*="phoca.cz/phocacart"]) { display: none !important; }