/* mobile.css - mobilni prikaz javnog sajta (telefon). Ucitava se POSLEDNJI iz includes/head.php. */
html { -webkit-text-size-adjust: 100%; }
@media (max-width: 767.98px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  img, video, iframe { max-width: 100%; }
  img { height: auto; }

  /* Hero */
  .hero-flex-container { gap: 12px; padding-bottom: 8px; flex-direction: column !important; align-items: stretch; }
  .hero-flex-container, .elementor-element-1017 .elementor-container { min-height: 0 !important; }
  .hero-col-left { order: 1; } .hero-col-right { order: 2; }
  .hero-col-left, .hero-col-right { flex: 1 1 100% !important; min-width: 0 !important; width: 100%; }
  .hero-col-right { margin-top: 0; }
  .hero-dashboard-img { margin-top: 8px !important; }
  .hero-trust-row { flex-wrap: wrap; gap: 10px 14px; }
  .hero-badge-img { width: 190px !important; max-width: 100% !important; }
  .hero-trust-text { white-space: normal; }
  .hero-stars svg { width: 20px; height: 20px; }

  /* Naslovi i tekst */
  h1, .elementor-heading-title { overflow-wrap: break-word; word-wrap: break-word; }

  /* Tap ciljevi i inputi (iOS zoom) */
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px; }
  .octf-btn, .btn, button { min-height: 44px; }
}

/* Drawer meni: zatvoren ne smije da curi sjenku u ekran; sirina prilagodjena uskim telefonima */
.mmenu-wrapper:not(.active) { box-shadow: none !important; }
@media (max-width: 767.98px) {
  .mmenu-wrapper { width: min(300px, 86vw) !important; height: 100vh; height: 100dvh; }
  .mobile_nav .mobile_mainmenu li a { min-height: 44px; display: flex; align-items: center; }
}

/* ===================================================================
   Mobilni prikaz - dorade (telefon, do 767px)
   =================================================================== */
@media (max-width: 767.98px) {

  /* ---------- Hero: sve na sredinu ---------- */
  .hero-col-left { --mm-hero-align: center; text-align: center; }
  .hero-col-left .elementor-widget-wrap { align-items: center; }
  .hero-col-left .elementor-widget-container,
  .hero-col-left h1, .hero-col-left h6, .hero-col-left p { text-align: center; }
  .hero-col-left p { margin-left: auto; margin-right: auto; }
  .elementor-element-6de716e .ot-button { justify-items: center; }
  .elementor-element-6de716e .ot-button a { justify-self: center; }
  .ot-button a.mm-hero-link { justify-self: center; }
  .hero-trust-row { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-stars-block { align-items: center; text-align: center; }
  .hero-stars { justify-content: center; }

  /* ---------- Usluge: kartice po 2 u redu kad se otvore ---------- */
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .srevic-mar-btom .elementor-container,
  .srevic-mar-btom .elementor-widget-wrap { padding-left: 8px; padding-right: 8px; }
  .services-grid .card-body { padding: 14px 12px 12px; }
  .services-grid .service-icon-square { width: 38px; height: 38px; border-radius: 12px; margin-bottom: 10px; }
  .services-grid .service-icon-square svg { width: 18px; height: 18px; }
  .services-grid .box-title { font-size: 14px; margin-bottom: 4px; }
  .services-grid .content-box p.service-desc { font-size: 11.5px; line-height: 1.45em; margin-bottom: 10px; }
  .service-bullets { margin-bottom: 10px; }
  .service-bullets li { font-size: 11px; gap: 6px; margin-bottom: 5px; align-items: flex-start; }
  .service-bullets li::before { margin-top: 5px; }
  .service-stats { flex-direction: column; align-items: flex-start; gap: 7px; padding-top: 10px; }
  .service-stats .stat { width: 100%; }
  .service-stats .stat-num { font-size: 12.5px; }
  .service-stats .stat-label { font-size: 10px; white-space: normal; overflow: visible; }

  /* ---------- Portfolio i cenovnik: kartice se listaju levo/desno ---------- */
  .mm-price-grid,
  .mm-portfolio-grid {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 18px 16px 18px;
    scrollbar-width: none;
    align-items: stretch;
  }
  .mm-price-grid::-webkit-scrollbar,
  .mm-portfolio-grid::-webkit-scrollbar { display: none; }
  .mm-price-grid .mm-price-card,
  .mm-portfolio-grid .mm-portfolio-card,
  .mm-price-grid .mm-portfolio-card {
    flex: 0 0 80% !important;
    width: 80% !important;
    max-width: 300px !important;
    scroll-snap-align: center;
  }
  .mm-price-grid .mm-price-card { padding: 28px 22px; }
  .mm-portfolio-card-hidden { display: flex !important; }
  .mm-explore-more-row { display: none !important; }
  /* Design tab (tamne kartice) vec ima svoj slajder */
  .mm-price-grid.mm-cols-4 .mm-dark-card { flex: 0 0 82% !important; width: 82% !important; max-width: 320px !important; min-width: 0; }

  /* ---------- Cenovnik: kategorije u 2 reda po 2 ---------- */
  .tabs-heading:has(.ttaabb) {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px !important;
    padding: 0 6px;
  }
  .tabs-heading:has(.ttaabb) .tab-link {
    flex: 0 0 calc(50% - 5px);
    max-width: calc(50% - 5px);
    margin: 0 !important;
    box-sizing: border-box;
    text-align: center;
  }
  .mm-subtab-row[aria-hidden="true"] { display: none; }

  /* ---------- About: slika veca i na sredini, tekst centriran ---------- */
  .about-img .mm-fnd { width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; }
  .about-img .mm-fnd-float img { max-width: 100% !important; width: 100%; }
  .about-img { padding-bottom: 20px !important; }
  .elementor-element-93b3678 .ot-heading,
  .elementor-element-93b3678 .ot-heading *,
  .elementor-element-93b3678 .elementor-widget-text-editor p { text-align: center !important; }

  /* ---------- Statistika: manja, 2 x 2 ---------- */
  .elementor-element-7d32845 { padding: 34px 0 !important; }
  .elementor-element-7d32845 > .elementor-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 22px 8px;
    padding: 0 8px;
  }
  .elementor-element-7d32845 .elementor-inner-column { width: 100% !important; padding: 0 !important; }
  .elementor-element-7d32845 .elementor-widget-wrap { padding: 0 !important; }
  .elementor-element-7d32845 .ot-counter { text-align: center; }
  .elementor-element-7d32845 .ot-counter .counter-title { font-size: 12.5px; margin-bottom: 4px; }
  .elementor-element-7d32845 .ot-counter .num,
  .elementor-element-7d32845 .ot-counter > div,
  .elementor-element-7d32845 .ot-counter > div span { font-size: 30px !important; line-height: 1.1 !important; }

  /* ---------- Case Study: centrirano ---------- */
  .mm-cs .ot-heading,
  .mm-cs .ot-heading.left-align { text-align: center; }
  .mm-cs-card { text-align: center; }
  .mm-cs-body { align-items: center; text-align: center; }
  .mm-cs-cat { align-self: center; }
  .mm-cs-stats { justify-content: center; }
  .mm-cs-stats > div { text-align: center; }
  .mm-cs-link { justify-content: center; align-self: center; }

  /* ---------- Contact: razmak sa strane ---------- */
  #contact { padding-left: 16px !important; padding-right: 16px !important; }
  #contact .e-con-inner { padding-left: 0 !important; padding-right: 0 !important; }

  /* ---------- Shopify naslov ---------- */
  .mm-shop-title { font-size: clamp(22px, 7vw, 30px); }

  /* ---------- Hero: dugmad i trust kartica na sredinu ---------- */
  html body .elementor-element-6de716e .elementor-widget-container .ot-button { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; }
  html body .elementor-element-6de716e .ot-button .hero-trust-row { order: -1; width: 240px !important; margin: 0 auto 6px !important; }
}

/* ===== v4 ===== */
.mm-clone{display:none !important}
@media (max-width:767.98px){
.mm-price-grid>.mm-clone,.mm-portfolio-grid>.mm-clone,.services-grid>.mm-clone{display:flex !important}
html body .hero-col-left h6.elementor-heading-title{font-size:17px !important;line-height:1.5 !important;letter-spacing:1.2px !important}
html body .hero-col-left h1.elementor-heading-title{font-size:44px !important;line-height:1.12 !important}
html body .elementor-element-6de716e{width:100% !important;max-width:100% !important;justify-self:stretch !important}
html body .elementor-element-6de716e .elementor-widget-container,html body .elementor-element-6de716e .elementor-widget-container .ot-button{width:100% !important;max-width:100% !important}
html body .elementor-element-6de716e .ot-button{display:flex !important;flex-direction:column;align-items:center !important;justify-content:center;gap:14px}
html body .elementor-element-6de716e .ot-button .hero-trust-row{order:-1;width:240px !important;margin:0 auto 6px !important}
html body .services-grid{display:flex !important;flex-wrap:nowrap !important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;gap:14px !important;padding:6px 16px 22px;margin:0 -8px;scrollbar-width:none;align-items:stretch}
html body .services-grid::-webkit-scrollbar{display:none}
html body .services-grid>*{flex:0 0 76% !important;width:76% !important;max-width:300px;scroll-snap-align:center;padding:0 !important;background:transparent !important;box-shadow:none !important;border:0 !important}
html body .services-grid>*>*{height:100%}
html body .services-grid .box-title{font-size:17px}
html body .services-grid .content-box p.service-desc{font-size:13px}
html body .service-bullets li{font-size:12.5px}
html body .service-stats{display:grid !important;grid-template-columns:1fr 1fr;gap:10px 8px;flex-direction:row}
html body .service-stats .stat{width:auto}
html body .service-stats .stat-label{white-space:normal !important;overflow:visible !important;text-overflow:clip !important;font-size:11px !important;line-height:1.3}
html body .ot-tabs ul.tabs-heading{display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;overflow-x:auto;gap:8px !important;padding:4px 16px 12px !important;margin:0 !important;width:100% !important;max-width:100% !important;justify-content:flex-start !important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html body .ot-tabs ul.tabs-heading::-webkit-scrollbar{display:none}
html body .ot-tabs{width:100% !important;max-width:100% !important}
html body .ot-tabs ul.tabs-heading>li{flex:0 0 auto !important;width:auto !important;max-width:none !important;min-width:0 !important;height:auto !important;min-height:0 !important;margin:0 !important;padding:9px 16px !important;font-size:13.5px !important;line-height:1.2 !important;white-space:nowrap;border-radius:999px !important}
html body .ot-tabs ul.tabs-heading>li *{font-size:13.5px !important;line-height:1.2 !important}
html body .ot-tabs ul.tabs-heading>li svg,html body .ot-tabs ul.tabs-heading>li i{width:14px;height:14px;font-size:13px !important}
html body .e-n-tabs{width:100% !important;max-width:100% !important;flex-direction:column}
html body .e-n-tabs-heading{display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;overflow-x:auto;gap:8px !important;padding:4px 16px 12px !important;margin:0 !important;width:100% !important;justify-content:flex-start !important;scrollbar-width:none}
html body .e-n-tabs-heading::-webkit-scrollbar{display:none}
html body .e-n-tabs-heading>.e-n-tab-title{flex:0 0 auto !important;width:auto !important;max-width:none !important;height:auto !important;min-height:0 !important;margin:0 !important;padding:9px 16px !important;font-size:13.5px !important;line-height:1.2 !important;white-space:nowrap;border-radius:999px !important;gap:6px}
html body .e-n-tabs-heading>.e-n-tab-title *{font-size:13.5px !important;line-height:1.2 !important}
html body .e-n-tab-icon svg{width:14px !important;height:14px !important}
html body .mm-subtab-static,html body .mm-subtab-row:has(.mm-subtab-static){display:none !important}
html body .mm-price-grid,html body .mm-portfolio-grid{padding-bottom:30px !important}
html body .mm-price-card{box-shadow:0 4px 14px rgba(42,67,113,.08) !important}
html body .mm-cs .ot-heading,html body .mm-cs .ot-heading *{text-align:center !important}
html body .mm-cs .ot-heading h6.sub-heading{display:flex !important;width:fit-content;margin-left:auto !important;margin-right:auto !important}
html body .mm-cs-grid{justify-content:center !important}
html body .mm-cs-card{width:100% !important;max-width:none !important;margin:0 auto !important;flex:0 0 100% !important}
html body #contact,html body #contact>.e-con-inner{display:block !important;box-sizing:border-box !important;width:100% !important;max-width:100% !important}
html body #contact{padding-left:0 !important;padding-right:0 !important}
html body #contact>.e-con-inner{padding-left:16px !important;padding-right:16px !important}
html body #contact .mm-contact-card{box-sizing:border-box !important;width:100% !important;padding-left:18px !important;padding-right:18px !important}
}

/* ===== v5 ===== */
@media (max-width:767.98px){
html body .services-grid{padding-left:12px;padding-right:12px;gap:12px !important}
html body .services-grid>*{flex:0 0 92% !important;width:92% !important;max-width:360px !important}
html body .services-grid .card-body{padding:20px 18px 16px !important}
html body .services-grid .service-icon-square{width:44px;height:44px;margin-bottom:12px}
html body .services-grid .box-title{font-size:18px;margin-bottom:6px}
html body .services-grid .content-box p.service-desc{font-size:12.5px !important;line-height:1.5em !important;margin-bottom:12px}
html body .service-bullets{margin-bottom:12px}
html body .service-bullets li{font-size:12.5px !important;margin-bottom:6px !important}
html body .service-stats{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:8px !important;padding-top:12px}
html body .service-stats .stat{text-align:center;min-width:0;width:auto}
html body .service-stats .stat-num{font-size:14px !important;white-space:nowrap}
html body .service-stats .stat-label{font-size:10.5px !important;line-height:1.25;white-space:normal !important}
html body .e-n-tabs-heading,html body .ot-tabs ul.tabs-heading{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important;overflow:visible !important;padding:4px 14px 14px !important}
html body .e-n-tabs-heading>.e-n-tab-title,html body .ot-tabs ul.tabs-heading>li{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:5px !important;width:100% !important;min-width:0 !important;padding:10px 4px !important;border-radius:16px !important;text-align:center;white-space:normal !important}
html body .e-n-tabs-heading>.e-n-tab-title *,html body .ot-tabs ul.tabs-heading>li *{font-size:12.5px !important;line-height:1.2 !important;font-weight:600}
html body .e-n-tab-icon svg,html body .ot-tabs ul.tabs-heading>li svg{width:18px !important;height:18px !important}
html body .e-n-tabs-heading{margin:0 -25px !important;width:calc(100% + 50px) !important;max-width:none !important}
}

/* ===== v6: pricing kategorije - traka koja se sama vrti ===== */
.mm-tabs-clone{display:none !important}
@media (max-width:767.98px){
html body .ot-tabs ul.tabs-heading{display:flex !important;flex-wrap:nowrap !important;grid-template-columns:none !important;overflow-x:auto !important;overflow-y:hidden;gap:10px !important;padding:6px 16px 14px !important;scrollbar-width:none;scroll-behavior:auto !important}
html body .ot-tabs ul.tabs-heading>li{flex:0 0 auto !important;display:inline-flex !important;flex-direction:row !important;width:auto !important;padding:10px 20px !important;border-radius:999px !important;white-space:nowrap !important;gap:6px !important}
html body .ot-tabs ul.tabs-heading>li *{font-size:13.5px !important}
html body .ot-tabs ul.tabs-heading>li.mm-tabs-clone{display:inline-flex !important}
}

/* ===== v7: bez gornjeg menija, bocni meni kao na desktopu; hero podignut ===== */
@media (max-width:767.98px){
html body #site-header{display:none !important}
html body .elementor-element-b102945{padding-top:26px !important}
html body .hero-trust-row{padding:8px 14px !important;gap:2px !important;width:230px !important}
html body .hero-trust-row .hero-badge-img{width:180px !important;max-width:100%;height:auto !important}
html body .hero-stars-block{gap:2px}
#mm-side{display:block;position:fixed;left:6px;top:50%;transform:translateY(-50%);z-index:9980}
#mm-side .mm-side-in{position:relative;display:flex;flex-direction:column;gap:2px;width:46px;padding:8px 5px;border-radius:26px;overflow:hidden;white-space:nowrap;background:linear-gradient(160deg,rgba(255,255,255,.9),rgba(240,243,252,.7));-webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);border:1px solid rgba(38,60,160,.14);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.7),0 14px 34px -12px rgba(38,60,160,.45);transition:width .3s cubic-bezier(.22,.9,.3,1)}
#mm-side.mm-open .mm-side-in{width:196px}
#mm-side .mm-side-logo{position:relative;display:flex;align-items:center;gap:10px;height:36px;padding:0 1px;text-decoration:none;color:#12163a;font-weight:800;font-size:14px}
#mm-side .mm-side-logo img{width:30px;height:30px;object-fit:contain;flex:none}
#mm-side .mm-side-logo span,#mm-side .mm-si b{opacity:0;transform:translateX(-6px);transition:opacity .2s,transform .25s}
#mm-side.mm-open .mm-side-logo span,#mm-side.mm-open .mm-si b{opacity:1;transform:none;transition-delay:.06s}
#mm-side .mm-side-sep{height:1px;margin:3px 6px 4px;background:linear-gradient(90deg,transparent,rgba(38,60,160,.18),transparent)}
#mm-side .mm-si{position:relative;display:flex;align-items:center;gap:10px;height:38px;padding:0 1px;border-radius:50px;text-decoration:none !important;color:#5b6176 !important;font-size:13.5px;font-weight:600}
#mm-side .mm-si i{width:32px;height:32px;display:grid;place-items:center;flex:none;border-radius:50%}
#mm-side .mm-si i svg{width:18px;height:18px}
#mm-side .mm-si.mm-on{color:#12163a !important;background:linear-gradient(120deg,rgba(38,120,239,.2),rgba(239,38,38,.15)),rgba(255,255,255,.8)}
#mm-side .mm-si.mm-on i{background:linear-gradient(120deg,#2678ef,#ef2626);color:#fff}
#mm-side .mm-si.mm-portal i{box-sizing:border-box;border:1.5px solid transparent;color:#12163a;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(120deg,#2678ef,#ef2626) border-box}
#mm-side .mm-si.mm-portal b{background:linear-gradient(120deg,#2678ef,#ef2626);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
}

/* ===== v8 ===== */
@media (max-width:767.98px){
html body #mm-side{display:block !important}
html body .elementor-element-b102945{padding-top:10px !important}
html body .hero-col-left h1.elementor-heading-title{line-height:1.06 !important}
html body .hero-col-left p{font-size:15px !important;line-height:1.55 !important}
html body .hero-trust-row{margin-bottom:0 !important}
html body #mmFixedToggleBtn{box-shadow:none !important}
html body .mm-toggle-btn-row,html body #mm-services-compact{background:transparent !important}
html body .mm-service-chip{box-shadow:0 2px 8px rgba(0,0,0,.04) !important}
/* portfolio kategorije manje */
html body .e-n-tabs-heading{gap:6px !important;padding:2px 22px 12px !important}
html body .e-n-tabs-heading>.e-n-tab-title{padding:7px 2px !important;border-radius:13px !important;gap:3px !important}
html body .e-n-tabs-heading>.e-n-tab-title *{font-size:11.5px !important}
html body .e-n-tab-icon svg{width:15px !important;height:15px !important}
/* pricing kategorije bez senke koja se odseca */
html body .ot-tabs ul.tabs-heading>li,html body .ot-tabs ul.tabs-heading>li.active{box-shadow:none !important;filter:none !important}
html body .ot-tabs ul.tabs-heading{padding-top:8px !important;padding-bottom:12px !important}
/* portfolio kartice */
html body .mm-portfolio-grid{gap:12px !important;padding:6px 18px 26px !important}
html body .mm-portfolio-grid .mm-portfolio-card{flex:0 0 76% !important;width:76% !important;max-width:290px !important;border-radius:20px !important;background:#fff !important;border:0 !important;box-shadow:0 10px 26px -10px rgba(15,23,60,.35) !important;overflow:hidden}
html body .mm-portfolio-card-img{aspect-ratio:4/3 !important;background:linear-gradient(160deg,#f6f7fc,#eef1fa) !important;padding:16px !important;box-sizing:border-box}
html body .mm-portfolio-card-img img{width:100% !important;height:100% !important;object-fit:contain !important}
html body .mm-portfolio-card-body{padding:14px 16px 16px !important;gap:6px}
html body .mm-portfolio-badge{font-size:10.5px !important;padding:3px 10px !important}
html body .mm-portfolio-title{font-size:16px !important;line-height:1.25 !important;margin:2px 0 0 !important}
html body .mm-portfolio-desc{font-size:12.5px !important;line-height:1.45 !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 !important}
html body .mm-view-project{font-size:13px !important;margin-top:4px}
html body .mm-view-project-arrow{width:24px !important;height:24px !important}
html body .mm-portfolio-grid{align-items:flex-start !important}
html body .elementor-widget-wrap:has(.mm-portfolio-tab-box){padding-bottom:20px !important}
}

/* ===== v9: sendvic meni, pricing fade, portfolio kategorije manje ===== */
@media (max-width:767.98px){
html body #mm-side{display:none !important}
#mm-burger{position:fixed;top:12px;right:12px;z-index:10001;width:46px;height:46px;border-radius:50%;border:1px solid rgba(38,60,160,.14);background:linear-gradient(160deg,rgba(255,255,255,.92),rgba(240,243,252,.78));-webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.75),0 10px 26px -10px rgba(38,60,160,.5);display:grid;place-items:center;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .25s}
#mm-burger:active{transform:scale(.92)}
#mm-burger span{display:block;position:absolute;left:13px;height:2.5px;border-radius:3px;background:linear-gradient(90deg,#2678ef,#ef2626);transition:transform .35s cubic-bezier(.22,.9,.3,1),opacity .2s,width .3s}
#mm-burger span:nth-child(1){top:15px;width:20px}
#mm-burger span:nth-child(2){top:21.5px;width:14px}
#mm-burger span:nth-child(3){top:28px;width:20px}
body.mm-menu-open #mm-burger span:nth-child(1){transform:translateY(6.5px) rotate(45deg);width:20px}
body.mm-menu-open #mm-burger span:nth-child(2){opacity:0;width:0}
body.mm-menu-open #mm-burger span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
#mm-sheet{position:fixed;inset:0;z-index:10000;visibility:hidden;pointer-events:none}
#mm-sheet .mm-sh-bg{position:absolute;inset:0;background:rgba(18,22,58,.35);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .35s}
#mm-sheet .mm-sh-panel{position:absolute;top:0;right:0;bottom:0;width:min(86%,340px);padding:76px 18px 22px;display:flex;flex-direction:column;gap:4px;overflow-y:auto;background:linear-gradient(170deg,rgba(255,255,255,.96),rgba(238,242,255,.94));-webkit-backdrop-filter:blur(24px) saturate(190%);backdrop-filter:blur(24px) saturate(190%);border-left:1px solid rgba(38,60,160,.12);border-radius:30px 0 0 30px;box-shadow:-24px 0 60px -20px rgba(38,60,160,.45);transform:translateX(105%);transition:transform .45s cubic-bezier(.22,.9,.3,1)}
body.mm-menu-open #mm-sheet{visibility:visible;pointer-events:auto}
body.mm-menu-open #mm-sheet .mm-sh-bg{opacity:1}
body.mm-menu-open #mm-sheet .mm-sh-panel{transform:none}
#mm-sheet .mm-sh-logo{position:absolute;top:16px;left:18px;display:flex;align-items:center;gap:10px;font-weight:800;font-size:16px;color:#12163a;text-decoration:none}
#mm-sheet .mm-sh-logo img{width:32px;height:32px;object-fit:contain}
#mm-sheet .mm-sh-link{display:flex;align-items:center;gap:14px;height:50px;padding:0 12px;border-radius:16px;text-decoration:none !important;color:#3b4160 !important;font-size:16px;font-weight:600;opacity:0;transform:translateX(18px);transition:opacity .35s,transform .45s cubic-bezier(.22,.9,.3,1),background .2s}
body.mm-menu-open #mm-sheet .mm-sh-link{opacity:1;transform:none}
#mm-sheet .mm-sh-link i{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#fff;box-shadow:0 4px 12px -6px rgba(38,60,160,.4);flex:none}
#mm-sheet .mm-sh-link svg{width:18px;height:18px}
#mm-sheet .mm-sh-link.mm-on{color:#12163a !important;background:linear-gradient(120deg,rgba(38,120,239,.16),rgba(239,38,38,.12))}
#mm-sheet .mm-sh-link.mm-on i{background:linear-gradient(120deg,#2678ef,#ef2626);color:#fff;box-shadow:0 8px 16px -6px rgba(120,60,200,.6)}
#mm-sheet .mm-sh-cta{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:8px;height:50px;border-radius:50px;background:linear-gradient(120deg,#2678ef,#ef2626);color:#fff !important;font-weight:700;font-size:15px;text-decoration:none !important;box-shadow:0 14px 28px -12px rgba(120,60,200,.7);opacity:0;transition:opacity .4s .35s}
body.mm-menu-open #mm-sheet .mm-sh-cta{opacity:1}
/* pricing kategorije: blagi beli fade levo/desno */
html body .ot-tabs ul.tabs-heading{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%)}
/* portfolio kategorije: jos manje */
html body .e-n-tabs-heading{gap:5px !important;padding:0 26px 10px !important}
html body .e-n-tabs-heading>.e-n-tab-title{flex-direction:row !important;justify-content:center !important;padding:6px 4px !important;border-radius:11px !important;gap:4px !important;min-height:0 !important}
html body .e-n-tabs-heading>.e-n-tab-title *{font-size:10.5px !important;line-height:1.1 !important;font-weight:600}
html body .e-n-tab-icon svg{width:12px !important;height:12px !important}
html body .e-n-tabs-heading>.e-n-tab-title{white-space:nowrap !important;padding:6px 2px !important;gap:3px !important}
html body .e-n-tabs-heading>.e-n-tab-title *{font-size:10px !important;white-space:nowrap !important}
html body .e-n-tabs-heading{gap:10px !important;column-gap:10px !important;row-gap:10px !important;padding:2px 30px 12px !important}
html body .e-n-tabs-heading>.e-n-tab-title{flex-direction:column !important;justify-content:center !important;align-items:center !important;gap:5px !important;aspect-ratio:1.25/1 !important;padding:6px 2px !important;margin:0 !important;border-radius:16px !important;white-space:normal !important;text-align:center}
html body .e-n-tabs-heading>.e-n-tab-title *{font-size:11px !important;white-space:normal !important;line-height:1.15 !important}
html body .e-n-tab-icon svg{width:17px !important;height:17px !important}
html:has(body.mm-menu-open),body.mm-menu-open{overflow:hidden !important;overscroll-behavior:none}
#mm-sheet{inset:auto;top:0;left:0;right:0;width:100%;height:100vh;height:100dvh}
#mm-sheet .mm-sh-bg{touch-action:none}
#mm-sheet .mm-sh-panel{overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding-bottom:max(22px,env(safe-area-inset-bottom))}
/* portfolio blok: isti razmak (14px) sa svih strana */
html body .elementor-widget-wrap:has(.mm-portfolio-tab-box){padding-top:14px !important;padding-bottom:14px !important}
html body .e-n-tabs-heading{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;justify-items:stretch !important;margin:0 -11px !important;width:calc(100vw - 58px) !important;max-width:none !important;padding:0 0 14px !important;gap:14px !important;column-gap:14px !important;row-gap:14px !important}
html body .e-n-tabs-heading>.e-n-tab-title{min-width:0 !important;width:100% !important;max-width:100% !important;overflow:hidden;box-sizing:border-box}
html body .mm-portfolio-tab-box{padding-top:0 !important}
html body .mm-portfolio-grid{margin-right:-20px !important;width:auto !important;padding:0 14px 6px !important;gap:14px !important}
}

/* podkategorije (Short-Form / Long-Form...) na sredini bloka */
@media (max-width:767.98px){
html body .mm-subtab-row{display:flex !important;justify-content:center !important;flex-wrap:wrap;gap:10px;margin:0 -20px 14px 0 !important;padding:0 !important;text-align:center}
}

/* dugmad u karticama (Order Now...) uvek vidljiva u slajderu */
@media (max-width:767.98px){
html body .mm-price-grid .mmb-reveal,html body .mm-portfolio-grid .mmb-reveal,html body .services-grid .mmb-reveal{opacity:1 !important;transform:none !important}
}

/* portfolio kategorije: svih 6 iste dimenzije */
@media (max-width:767.98px){
html body .e-n-tabs-heading>.e-n-tab-title{height:74px !important;min-height:74px !important;max-height:74px !important;aspect-ratio:auto !important;box-sizing:border-box !important;border:1.5px solid rgba(38,60,160,.14) !important;margin:0 !important;padding:0 4px !important}
html body .e-n-tabs-heading>.e-n-tab-title.active,html body .e-n-tabs-heading>.e-n-tab-title[aria-selected=true]{border-color:#ef2626 !important}
}

/* Desktop: sendvic meni (mm-sheet/mm-burger) se pravi preko JS-a na svim sirinama, a stilovi vaze samo na mobilnom. Na desktopu se sakriva. */
@media (min-width:768px){#mm-sheet,#mm-burger{display:none !important}}
