/* SLEEP Cjenik 1.0.2 */
.sleep-cjenik{--sleep-blue:#082D8F;--sleep-green:#4FA85A;--sleep-orange:#B46F2C;width:100%;max-width:1280px;margin:0 auto;padding:42px 18px 60px;color:#24324a;font-family:Arial,Helvetica,sans-serif;background:#fff}.sleep-cjenik *{box-sizing:border-box}.sleep-cjenik-hero{text-align:center;margin-bottom:28px}.sleep-kicker{font-size:13px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:var(--sleep-green);margin-bottom:7px}.sleep-cjenik-hero h2{margin:0;color:var(--sleep-blue);font-size:clamp(34px,5vw,58px);line-height:1;font-weight:900;letter-spacing:-.03em}.sleep-subtitle{margin-top:10px;color:var(--sleep-blue);font-size:14px;letter-spacing:.08em;font-weight:700}.sleep-valid{display:inline-flex;margin-top:15px;padding:7px 13px;border:1px solid #d7e8da;border-radius:999px;color:var(--sleep-green);background:#f5faf6;font-weight:800;font-size:12px}.sleep-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 auto 22px;max-width:850px}.sleep-search{flex:1;background:#fff;border:1px solid #d2dce4;border-radius:10px;color:#24324a;padding:12px 15px;outline:none;box-shadow:0 4px 15px rgba(25,45,65,.06)}.sleep-search:focus{border-color:var(--sleep-blue)}.sleep-anchor-toggle{display:flex;align-items:center;gap:7px;color:#66717d;font-size:12px;white-space:nowrap;font-weight:700}.sleep-anchor-toggle input{accent-color:var(--sleep-green)}.sleep-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.sleep-card{background:#fff;border:1px solid #dce4e9;border-radius:15px;overflow:hidden;box-shadow:0 8px 25px rgba(23,44,65,.09)}.sleep-card-head{display:flex;align-items:center;gap:11px;padding:14px 16px;color:#fff;background:linear-gradient(135deg,var(--sleep-blue),#315db2)}.sleep-card:nth-child(4n+2) .sleep-card-head,.sleep-card:nth-child(4n+3) .sleep-card-head{background:linear-gradient(135deg,var(--sleep-green),#77b97e)}.sleep-card-icon{width:32px;height:32px;border-radius:9px;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:18px;flex:0 0 32px}.sleep-card-head h3{font-size:16px;line-height:1.15;margin:0;font-weight:900;text-transform:uppercase}.sleep-table-head{display:grid;grid-template-columns:1fr 190px;background:#eef3f7;color:#5f6876;border-bottom:1px solid #dce4e9;padding:8px 12px;font-size:10px;font-weight:900;letter-spacing:.05em}.sleep-table-head .sleep-price-label{display:grid;grid-template-columns:60px 76px 36px;gap:4px;align-items:center;text-align:right}.sleep-table-head .sleep-price-label b{font-size:9px;white-space:nowrap}.sleep-price-row{display:grid;grid-template-columns:1fr 190px;min-height:50px;align-items:center;border-bottom:1px solid #e1e7eb}.sleep-price-row:last-child{border-bottom:0}.sleep-service{padding:10px 12px;font-size:13px;line-height:1.3;color:#3e4854}.sleep-pricing{display:grid;grid-template-columns:60px 76px 36px;gap:4px;align-items:center;text-align:right;padding:8px 10px 8px 4px}.sleep-anchor{font-size:11px;color:var(--sleep-orange);text-decoration:none;min-height:14px}.sleep-anchor.is-empty{visibility:hidden}.sleep-current{font-size:14px;color:var(--sleep-blue);font-weight:900;white-space:nowrap}.sleep-current.is-quote{color:#707986;font-size:12px}.sleep-unit{font-size:11px;color:#707986;white-space:nowrap;display:block;min-width:34px;text-align:right}.sleep-cjenik.sleep-anchor-off .sleep-anchor{display:none}.sleep-cjenik.sleep-anchor-off .sleep-anchor-heading{display:none}.sleep-cjenik.sleep-anchor-off .sleep-price-label{grid-template-columns:1fr 40px}.sleep-cjenik.sleep-anchor-off .sleep-pricing{grid-template-columns:1fr 40px}.sleep-cjenik.sleep-anchor-off .sleep-current{text-align:right}.sleep-note{margin:20px auto 0;max-width:1000px;text-align:center;color:#6d7783;font-size:12px;line-height:1.55}.sleep-cta{margin:25px auto 0;max-width:900px;padding:22px;border-radius:16px;background:linear-gradient(135deg,#f1f6ff,#f4faf5);border:1px solid #d8e3eb;text-align:center;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.sleep-cta strong{color:var(--sleep-blue);font-size:18px}.sleep-cta span{color:#65707d;font-size:13px}.sleep-cta a{display:inline-block;text-decoration:none;background:var(--sleep-green);color:#fff;font-weight:900;padding:10px 18px;border-radius:9px;box-shadow:0 5px 14px rgba(79,168,90,.22)}@media(max-width:900px){.sleep-price-grid{grid-template-columns:1fr}}@media(max-width:620px){.sleep-cjenik{padding:28px 10px 45px}.sleep-toolbar{flex-direction:column;align-items:stretch}.sleep-table-head{grid-template-columns:1fr 190px}.sleep-price-row{grid-template-columns:1fr}.sleep-pricing{grid-template-columns:60px 76px 36px;justify-content:end;padding:0 8px 11px}.sleep-service{padding-bottom:6px}.sleep-card-head h3{font-size:15px}}

.sleep-anchor-date{display:block;font-size:9px;line-height:1.15;color:#8a6334;margin-top:2px;white-space:nowrap}.sleep-anchor-value{display:block}

/* SLEEP Cjenik 1.3.0 - personalization */
.sleep-cjenik{background:var(--sleep-bg);background-image:var(--sleep-bg-image,none);background-size:cover;background-position:center;font-family:var(--sleep-font);color:var(--sleep-text);border-radius:var(--sleep-radius);}.sleep-cjenik .sleep-logo{display:block;max-width:190px;max-height:80px;width:auto;height:auto;margin:0 auto 16px;object-fit:contain}.sleep-hero-image{max-width:900px;height:170px;margin:0 auto 22px;border-radius:var(--sleep-radius);background-size:cover;background-position:center;box-shadow:0 7px 25px rgba(0,0,0,.10)}.sleep-cjenik .sleep-cjenik-hero h2,.sleep-cjenik .sleep-subtitle{color:var(--sleep-blue)}.sleep-cjenik .sleep-valid{color:var(--sleep-green);border-color:color-mix(in srgb,var(--sleep-green) 25%,white);background:color-mix(in srgb,var(--sleep-green) 8%,white)}.sleep-cjenik .sleep-search{color:var(--sleep-text);border-color:var(--sleep-border)}.sleep-cjenik .sleep-card{background:var(--sleep-card-bg);border-color:var(--sleep-border);border-radius:var(--sleep-radius)}.sleep-cjenik.sleep-has-shadow .sleep-card{box-shadow:0 8px 25px rgba(23,44,65,.09)}.sleep-cjenik.sleep-no-shadow .sleep-card{box-shadow:none}.sleep-cjenik .sleep-table-head{background:color-mix(in srgb,var(--sleep-blue) 7%,white);color:var(--sleep-muted);border-color:var(--sleep-border)}.sleep-cjenik .sleep-price-row{border-color:var(--sleep-border)}.sleep-cjenik .sleep-service{color:var(--sleep-text)}.sleep-cjenik .sleep-current{color:var(--sleep-blue)}.sleep-cjenik .sleep-unit,.sleep-cjenik .sleep-note,.sleep-cjenik .sleep-anchor-toggle{color:var(--sleep-muted)}.sleep-cjenik .sleep-card-head{border-radius:calc(var(--sleep-radius) - 1px) calc(var(--sleep-radius) - 1px) 0 0}.sleep-cjenik.sleep-layout-compact .sleep-price-grid{gap:10px}.sleep-cjenik.sleep-layout-compact .sleep-card-head{padding:10px 12px}.sleep-cjenik.sleep-layout-compact .sleep-price-row{min-height:42px}.sleep-cjenik.sleep-layout-compact .sleep-service{padding:7px 10px;font-size:12px}.sleep-cjenik.sleep-layout-table .sleep-price-grid{display:block;max-width:1050px;margin:0 auto}.sleep-cjenik.sleep-layout-table .sleep-card{margin-bottom:18px}.sleep-cjenik.sleep-layout-table .sleep-card-head{background:var(--sleep-blue)!important}.sleep-cjenik.sleep-layout-table .sleep-table-head,.sleep-cjenik.sleep-layout-table .sleep-price-row{grid-template-columns:1fr 230px}.sleep-cjenik.sleep-layout-table .sleep-pricing{grid-template-columns:72px 100px 42px}.sleep-cjenik.sleep-layout-table .sleep-price-row{min-height:54px}.sleep-cjenik .sleep-cta{background:color-mix(in srgb,var(--sleep-blue) 6%,white);border-color:var(--sleep-border);border-radius:var(--sleep-radius)}.sleep-cjenik .sleep-cta strong{color:var(--sleep-blue)}.sleep-cjenik .sleep-cta a{background:var(--sleep-green)}
@media(max-width:620px){.sleep-hero-image{height:120px}.sleep-cjenik.sleep-layout-table .sleep-table-head,.sleep-cjenik.sleep-layout-table .sleep-price-row{grid-template-columns:1fr}.sleep-cjenik.sleep-layout-table .sleep-pricing{grid-template-columns:60px 76px 36px}}


/* SLEEP Cjenik 1.3.2 - javni izvoz */
.sleep-export-box{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin:24px auto 0;
  padding:14px 16px;
  border:1px solid var(--sleep-border);
  border-radius:var(--sleep-radius);
  background:var(--sleep-card-bg);
  color:var(--sleep-text);
  font-size:14px;
}
.sleep-export-box strong{font-weight:700}
.sleep-export-box span{color:var(--sleep-muted)}
.sleep-export-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  padding:8px 14px;
  border-radius:9px;
  background:var(--sleep-blue);
  color:#fff!important;
  text-decoration:none!important;
  font-weight:700;
  line-height:1;
}
.sleep-export-button:hover,
.sleep-export-button:focus{
  opacity:.9;
  color:#fff!important;
}


/* SLEEP Cjenik 1.3.3 - kompaktan tablični A4 ispis */
.sleep-print-options{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:10px auto 0;
  flex-wrap:wrap;
}
.sleep-print-label{
  font-size:13px;
  font-weight:700;
  color:var(--sleep-muted);
}
.sleep-print-button{
  appearance:none;
  border:1px solid var(--sleep-border);
  background:var(--sleep-card-bg);
  color:var(--sleep-text);
  border-radius:8px;
  padding:7px 12px;
  cursor:pointer;
  font-size:13px;
  font-weight:700;
}
.sleep-print-button:hover{opacity:.85}

@media print{
  

  html, body{
    width:210mm;
    min-height:297mm;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
  }

  .sleep-export-box,
  .sleep-print-options,
  header,
  footer,
  nav{
    display:none!important;
  }

  /* Pretvori cjenik u gušći, čitljiv tablični prikaz. */
  .sleep-cjenik,
  .sleep-price-list,
  .sleep-table-wrap{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    box-shadow:none!important;
    border:0!important;
  }

  .sleep-cjenik table,
  .sleep-price-list table,
  table{
    width:100%!important;
    border-collapse:collapse!important;
    table-layout:fixed!important;
    font-size:9pt!important;
    line-height:1.15!important;
  }

  .sleep-cjenik th,
  .sleep-cjenik td,
  .sleep-price-list th,
  .sleep-price-list td,
  table th,
  table td{
    padding:3px 5px!important;
    border:1px solid #777!important;
    vertical-align:middle!important;
  }

  .sleep-cjenik th,
  .sleep-price-list th,
  table th{
    font-weight:700!important;
  }

  .sleep-cjenik tr,
  .sleep-price-list tr,
  table tr{
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }

  .sleep-cjenik h1,
  .sleep-cjenik h2,
  .sleep-cjenik h3{
    margin:4px 0!important;
  }

  .sleep-cjenik .category,
  .sleep-price-list .category{
    margin:5px 0 2px!important;
  }

  /* Jedan list: dodatno smanjenje prikaza kako bi cijeli cjenik pokušao stati na jednu A4 stranicu. */
  body.sleep-print-one-page .sleep-cjenik,
  body.sleep-print-one-page .sleep-price-list{
    zoom:.72;
  }

  body.sleep-print-one-page .sleep-cjenik table,
  body.sleep-print-one-page .sleep-price-list table,
  body.sleep-print-one-page table{
    font-size:7.5pt!important;
  }

  body.sleep-print-one-page .sleep-cjenik th,
  body.sleep-print-one-page .sleep-cjenik td,
  body.sleep-print-one-page .sleep-price-list th,
  body.sleep-print-one-page .sleep-price-list td,
  body.sleep-print-one-page table th,
  body.sleep-print-one-page table td{
    padding:2px 3px!important;
  }

  /* Više listova: prirodan A4 prijelom, bez nepotrebnog praznog prostora. */
  body.sleep-print-multi-page .sleep-cjenik,
  body.sleep-print-multi-page .sleep-price-list{
    zoom:1;
  }
}


/* SLEEP Cjenik 1.3.4 - prisilni A4 portrait ispis */
@media print {
  @page {
    size: A4 portrait !important;
    margin: 8mm !important;
  }

  /* Osigurava da preglednik ne zadrži landscape postavku iz ranijih pravila. */
  html {
    page: auto;
  }

  body {
    width: 194mm !important;
    max-width: 194mm !important;
    margin: 0 auto !important;
  }

  .sleep-cjenik,
  .sleep-price-list,
  .sleep-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* SLEEP Cjenik 1.3.8 - kategorija jednom iznad pripadajućih artikala */
@media print{
  .sleep-print-table .col-service{width:54%}
  .sleep-print-table .col-anchor{width:16%}
  .sleep-print-table .col-price{width:16%}
  .sleep-print-table .col-unit{width:14%}

  .sleep-print-table tr.category-row{
    break-after:avoid;
    page-break-after:avoid;
  }
  .sleep-print-table tr.category-row td{
    background:#e9e9e9!important;
    font-weight:700!important;
    text-align:left!important;
    font-size:1.02em!important;
    border-top:2px solid #333!important;
    border-bottom:1px solid #555!important;
    padding:4px 5px!important;
  }
  .sleep-print-table tr.item-row td{
    border-top:1px solid #777!important;
  }
}


/* SLEEP Cjenik 1.3.9 - naglašena kategorija */
@media print{
  .sleep-print-table tr.category-row td{
    background:#eeeeee !important;
    font-weight:700 !important;
    color:#111 !important;
    text-align:left !important;
    border-top:2px solid #555 !important;
    border-bottom:1px solid #777 !important;
    padding:4px 6px !important;
  }
}

/* SLEEP Cjenik 1.4.0 */
@media print{.sleep-print-table{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}

/* SLEEP Cjenik 1.5.0 - javna arhiva */
.sleep-backup-public{margin:18px 0;padding:16px;border:1px solid var(--sleep-border);border-radius:var(--sleep-radius);background:var(--sleep-card-bg);box-shadow:0 2px 10px rgba(0,0,0,.035)}
.sleep-backup-public-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:10px}
.sleep-backup-public-head strong{display:block;font-size:16px;color:var(--sleep-text)}
.sleep-backup-public-head span{display:block;color:var(--sleep-muted);font-size:13px;margin-top:3px}
.sleep-backup-public-head label{display:flex;align-items:center;gap:8px;color:var(--sleep-muted);font-size:13px;font-weight:600}
.sleep-backup-public-head select{min-width:150px;padding:8px 10px;border:1px solid var(--sleep-border);border-radius:8px;background:#fff;color:var(--sleep-text)}
.sleep-backup-date-row{display:none;gap:8px;flex-wrap:wrap;padding-top:8px;border-top:1px solid var(--sleep-border)}
.sleep-backup-date-row .sleep-export-button{margin:0}
.sleep-backup-empty{color:var(--sleep-muted);font-size:13px}
/* SLEEP Cjenik 1.5.1 - usluge / maloprodaja */
.sleep-cjenik.sleep-mode-services .sleep-table-head{grid-template-columns:1fr 390px}.sleep-cjenik.sleep-mode-services .sleep-service-price-label{display:grid;grid-template-columns:1.15fr 1.15fr 1fr .55fr;gap:8px;text-align:right}.sleep-cjenik.sleep-mode-services .sleep-service-price-label b{font-size:9px;white-space:nowrap}.sleep-cjenik.sleep-mode-services .sleep-service-row{grid-template-columns:1fr 390px}.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-pricing{display:grid;grid-template-columns:1.15fr 1.15fr 1fr .55fr;gap:8px;padding:8px 10px;text-align:right;align-items:center}.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-current,.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-anchor,.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-special,.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-unit{text-align:right}.sleep-cjenik .sleep-special{font-size:11px;color:var(--sleep-orange);font-weight:700;line-height:1.2}.sleep-cjenik .sleep-anchor-date{font-size:9px;line-height:1.15;color:#8a6334;margin-top:2px;white-space:nowrap}.sleep-cjenik.sleep-mode-retail .sleep-table-head,.sleep-cjenik.sleep-mode-retail .sleep-retail-row{grid-template-columns:minmax(180px,2.4fr) .75fr 1fr .7fr 1fr 1.1fr 1.1fr 1.2fr .9fr}.sleep-cjenik.sleep-mode-retail .sleep-table-head{overflow-x:auto;white-space:nowrap}.sleep-cjenik.sleep-mode-retail .sleep-table-head span{font-size:8px;letter-spacing:.025em}.sleep-cjenik.sleep-mode-retail .sleep-retail-row{min-height:52px;align-items:center;border-bottom:1px solid var(--sleep-border)}.sleep-cjenik.sleep-mode-retail .sleep-retail-cell,.sleep-cjenik.sleep-mode-retail .sleep-current,.sleep-cjenik.sleep-mode-retail .sleep-anchor{padding:8px 6px;font-size:11px;line-height:1.2;overflow-wrap:anywhere}.sleep-cjenik.sleep-mode-retail .sleep-current{font-weight:900;text-align:right;white-space:nowrap}.sleep-cjenik.sleep-mode-retail .sleep-anchor{text-align:right;color:var(--sleep-orange)}.sleep-cjenik.sleep-mode-retail .sleep-unit-price{text-align:right;white-space:nowrap}.sleep-cjenik.sleep-mode-retail .sleep-availability{font-weight:800;font-size:10px}.sleep-cjenik.sleep-mode-retail .sleep-availability.is-unavailable{color:#a33}.sleep-cjenik.sleep-mode-retail .sleep-service{padding:10px 8px;font-size:12px}.sleep-cjenik.sleep-mode-retail .sleep-price-grid{display:block}.sleep-cjenik.sleep-mode-retail .sleep-card{margin-bottom:18px}.sleep-cjenik.sleep-mode-retail .sleep-rows{overflow-x:auto}.sleep-cjenik.sleep-mode-retail .sleep-retail-row,.sleep-cjenik.sleep-mode-retail .sleep-retail-head{min-width:1050px}
.sleep-cjenik .sleep-export-box,.sleep-cjenik .sleep-backup-public{margin:22px auto 0;max-width:1100px;padding:15px 18px;border:1px solid var(--sleep-border);border-radius:12px;background:color-mix(in srgb,var(--sleep-blue) 3%,white);display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sleep-cjenik .sleep-export-box strong,.sleep-cjenik .sleep-backup-public strong{color:var(--sleep-blue)}.sleep-cjenik .sleep-export-box span,.sleep-cjenik .sleep-backup-public span{color:var(--sleep-muted);font-size:12px}.sleep-cjenik .sleep-export-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:var(--sleep-blue);color:#fff!important;padding:8px 13px;border-radius:8px;font-weight:800;font-size:11px}.sleep-cjenik .sleep-backup-public{display:block}.sleep-cjenik .sleep-backup-public-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.sleep-cjenik .sleep-backup-public-head label{font-size:11px;color:var(--sleep-muted);display:flex;gap:7px;align-items:center}.sleep-cjenik .sleep-backup-date-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.sleep-cjenik .sleep-backup-date-row:not(:first-of-type){display:none}.sleep-cjenik .sleep-backup-empty{display:block;margin-top:10px}
@media(max-width:900px){.sleep-cjenik.sleep-mode-services .sleep-table-head,.sleep-cjenik.sleep-mode-services .sleep-service-row{grid-template-columns:1fr 380px}.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-pricing,.sleep-cjenik.sleep-mode-services .sleep-service-price-label{grid-template-columns:1fr 1fr 1fr .6fr}.sleep-cjenik.sleep-mode-retail .sleep-retail-row,.sleep-cjenik.sleep-mode-retail .sleep-retail-head{min-width:900px}}
@media(max-width:620px){.sleep-cjenik.sleep-mode-services .sleep-table-head{grid-template-columns:1fr 100%;}.sleep-cjenik.sleep-mode-services .sleep-table-head .sleep-service-price-label{display:grid;grid-template-columns:1fr 1fr 1fr;padding-top:5px}.sleep-cjenik.sleep-mode-services .sleep-service-row{grid-template-columns:1fr}.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-pricing{grid-template-columns:1fr 1fr 1fr .6fr;justify-content:stretch;padding:0 10px 10px}.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-pricing>span{min-width:0}.sleep-cjenik.sleep-mode-retail .sleep-retail-row,.sleep-cjenik.sleep-mode-retail .sleep-retail-head{min-width:850px}.sleep-cjenik .sleep-backup-public-head{align-items:flex-start;flex-direction:column}}

/* SLEEP Cjenik 1.5.2 - napredna personalizacija */
.sleep-cjenik{font-family:var(--sleep-font);font-size:var(--sleep-font-size);}
.sleep-cjenik .sleep-cjenik-hero h2{font-size:var(--sleep-title-size)!important;}
.sleep-cjenik .sleep-table-head{background:var(--sleep-header-bg)!important;color:var(--sleep-header-text)!important;}
.sleep-cjenik .sleep-table-head span,.sleep-cjenik .sleep-table-head b{color:var(--sleep-header-text)!important;}
.sleep-cjenik .sleep-card-head{background:var(--sleep-header-bg)!important;color:var(--sleep-header-text)!important;}
.sleep-cjenik .sleep-card-head h3,.sleep-cjenik .sleep-card-head .sleep-card-icon{color:var(--sleep-header-text)!important;}
.sleep-cjenik .sleep-service{text-align:var(--sleep-align)!important;}
.sleep-cjenik .sleep-current{font-size:var(--sleep-price-size)!important;color:var(--sleep-price-color)!important;}
.sleep-cjenik .sleep-anchor{color:var(--sleep-anchor-color)!important;}
.sleep-cjenik .sleep-special{color:var(--sleep-special-color)!important;}
.sleep-cjenik .sleep-price-row{padding-top:var(--sleep-row-padding)!important;padding-bottom:var(--sleep-row-padding)!important;}
.sleep-cjenik.sleep-mode-retail .sleep-retail-row .sleep-retail-cell,.sleep-cjenik.sleep-mode-retail .sleep-retail-row .sleep-current,.sleep-cjenik.sleep-mode-retail .sleep-retail-row .sleep-anchor{padding-top:var(--sleep-row-padding)!important;padding-bottom:var(--sleep-row-padding)!important;}


/* SLEEP Cjenik 1.5.5 - prostraniji javni prikaz i potpuna veza personaliziranih boja */
.sleep-cjenik.sleep-mode-services .sleep-table-head,
.sleep-cjenik.sleep-mode-retail .sleep-table-head{
  background:var(--sleep-header-bg)!important;
  color:var(--sleep-header-text)!important;
  border-color:var(--sleep-header-bg)!important;
}
.sleep-cjenik .sleep-card-head{
  background:linear-gradient(135deg,var(--sleep-blue),color-mix(in srgb,var(--sleep-blue) 78%,white))!important;
  color:var(--sleep-header-text)!important;
}
.sleep-cjenik .sleep-card-head h3,
.sleep-cjenik .sleep-card-head .sleep-card-icon{color:var(--sleep-header-text)!important}
.sleep-cjenik .sleep-table-head span,
.sleep-cjenik .sleep-table-head b{color:var(--sleep-header-text)!important}
.sleep-cjenik.sleep-mode-services .sleep-table-head,
.sleep-cjenik.sleep-mode-services .sleep-service-row{
  grid-template-columns:minmax(250px,1fr) minmax(340px,390px)!important;
}
.sleep-cjenik.sleep-mode-services .sleep-service-price-label,
.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-pricing{
  grid-template-columns:minmax(88px,1.1fr) minmax(100px,1.2fr) minmax(92px,1fr) minmax(42px,.55fr)!important;
  gap:12px!important;
}
.sleep-cjenik.sleep-mode-services .sleep-table-head{
  padding:11px 18px!important;
  min-height:44px;
}
.sleep-cjenik.sleep-mode-services .sleep-service-price-label b{
  font-size:9px!important;
  line-height:1.15;
}
.sleep-cjenik.sleep-mode-services .sleep-service-row{
  min-height:78px!important;
}
.sleep-cjenik.sleep-mode-services .sleep-service{
  padding:17px 18px!important;
  font-size:14px!important;
  line-height:1.42!important;
}
.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-pricing{
  padding:14px 18px 14px 8px!important;
}
.sleep-cjenik.sleep-mode-services .sleep-current{
  font-size:17px!important;
  color:var(--sleep-price-color)!important;
}
.sleep-cjenik.sleep-mode-services .sleep-anchor{
  color:var(--sleep-anchor-color)!important;
  font-size:11px!important;
}
.sleep-cjenik.sleep-mode-services .sleep-special{
  color:var(--sleep-special-color)!important;
  font-size:11px!important;
  font-weight:800;
  text-transform:none;
}
.sleep-cjenik.sleep-mode-services .sleep-unit{
  font-size:12px!important;
  color:var(--sleep-muted)!important;
}
.sleep-cjenik .sleep-price-row{border-color:var(--sleep-border)!important}
.sleep-cjenik .sleep-card{box-shadow:0 10px 30px rgba(23,44,65,.08)}
.sleep-cjenik .sleep-card-head{padding:17px 18px!important;min-height:62px}
.sleep-cjenik .sleep-card-head h3{font-size:17px!important}
.sleep-cjenik .sleep-card-icon{width:34px;height:34px;flex-basis:34px}
.sleep-cjenik.sleep-mode-retail .sleep-table-head,
.sleep-cjenik.sleep-mode-retail .sleep-retail-row{
  grid-template-columns:minmax(230px,2.5fr) .8fr 1fr .7fr 1fr 1.25fr 1.25fr 1.15fr .9fr!important;
}
.sleep-cjenik.sleep-mode-retail .sleep-table-head{padding:11px 14px!important;min-height:44px}
.sleep-cjenik.sleep-mode-retail .sleep-retail-row{min-height:70px!important}
.sleep-cjenik.sleep-mode-retail .sleep-retail-cell,
.sleep-cjenik.sleep-mode-retail .sleep-current,
.sleep-cjenik.sleep-mode-retail .sleep-anchor{padding:12px 8px!important;font-size:12px!important}
@media(max-width:900px){
 .sleep-cjenik.sleep-mode-services .sleep-table-head,
 .sleep-cjenik.sleep-mode-services .sleep-service-row{grid-template-columns:minmax(220px,1fr) minmax(330px,380px)!important}
 .sleep-cjenik.sleep-mode-services .sleep-service{padding-left:15px!important;padding-right:15px!important}
}
@media(max-width:620px){
 .sleep-cjenik.sleep-mode-services .sleep-table-head{grid-template-columns:1fr!important}
 .sleep-cjenik.sleep-mode-services .sleep-table-head .sleep-service-price-label{grid-template-columns:1fr 1fr 1fr .65fr!important;gap:8px!important;padding-top:8px}
 .sleep-cjenik.sleep-mode-services .sleep-service-row{grid-template-columns:1fr!important;min-height:0!important}
 .sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-pricing{grid-template-columns:1fr 1fr 1fr .65fr!important;gap:8px!important;padding:10px 14px 15px!important}
}


/* SLEEP Cjenik 1.5.6 - theme colours + balanced public table layout */
.sleep-cjenik .sleep-card-head{
  background:linear-gradient(135deg,var(--sleep-header-bg),color-mix(in srgb,var(--sleep-header-bg) 78%,#fff)) !important;
  color:var(--sleep-header-text);
}
.sleep-cjenik .sleep-card:nth-child(3n+2) .sleep-card-head{
  background:linear-gradient(135deg,var(--sleep-header-secondary),color-mix(in srgb,var(--sleep-header-secondary) 78%,#fff)) !important;
}
.sleep-cjenik .sleep-card:nth-child(3n) .sleep-card-head{
  background:linear-gradient(135deg,var(--sleep-header-accent),color-mix(in srgb,var(--sleep-header-accent) 78%,#fff)) !important;
}
.sleep-cjenik .sleep-card-head h3{color:var(--sleep-header-text)}
.sleep-cjenik .sleep-table-head{
  background:var(--sleep-header-bg) !important;
  color:var(--sleep-header-text) !important;
  border-color:color-mix(in srgb,var(--sleep-header-bg) 72%,#fff) !important;
  grid-template-columns:minmax(0,38%) minmax(0,62%);
  padding:11px 14px;
  align-items:center;
}
.sleep-cjenik .sleep-table-head .sleep-service-price-label{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr) minmax(42px,.55fr);
  gap:10px;
  align-items:center;
  text-align:center;
}
.sleep-cjenik .sleep-table-head .sleep-price-label b,
.sleep-cjenik .sleep-table-head .sleep-service-price-label b{
  color:var(--sleep-header-text);
  text-align:center;
  font-size:9px;
  line-height:1.15;
  white-space:normal;
}
.sleep-cjenik .sleep-price-row{
  grid-template-columns:minmax(0,38%) minmax(0,62%);
  min-height:66px;
  align-items:stretch;
}
.sleep-cjenik .sleep-service{
  padding:var(--sleep-row-padding) 14px;
  display:flex;
  align-items:center;
  text-align:var(--sleep-align);
  font-size:calc(var(--sleep-font-size) - 1px);
  line-height:1.4;
}
.sleep-cjenik .sleep-pricing{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr) minmax(42px,.55fr);
  gap:10px;
  align-items:center;
  padding:var(--sleep-row-padding) 14px  var(--sleep-row-padding) 8px;
  text-align:center;
}
.sleep-cjenik .sleep-current,
.sleep-cjenik .sleep-anchor,
.sleep-cjenik .sleep-special,
.sleep-cjenik .sleep-unit{justify-self:stretch;text-align:center}
.sleep-cjenik .sleep-current{font-size:var(--sleep-price-size);color:var(--sleep-price-color)}
.sleep-cjenik .sleep-anchor{color:var(--sleep-anchor-color)}
.sleep-cjenik .sleep-special{color:var(--sleep-special-color);font-size:11px;font-weight:800;white-space:normal;line-height:1.2}
.sleep-cjenik .sleep-unit{color:var(--sleep-muted);min-width:0}
.sleep-cjenik .sleep-anchor-date{color:var(--sleep-anchor-color)}
.sleep-cjenik.sleep-anchor-off .sleep-table-head{grid-template-columns:minmax(0,78%) minmax(0,22%)}
.sleep-cjenik.sleep-anchor-off .sleep-price-row{grid-template-columns:minmax(0,78%) minmax(0,22%)}
.sleep-cjenik.sleep-anchor-off .sleep-pricing{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(42px,.55fr)}
.sleep-cjenik.sleep-layout-table .sleep-table-head,
.sleep-cjenik.sleep-layout-table .sleep-price-row{grid-template-columns:minmax(0,38%) minmax(0,62%)}
.sleep-cjenik.sleep-layout-table .sleep-pricing{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr) minmax(42px,.55fr)}

/* Retail: keep every field readable and prevent squeezed columns. */
.sleep-cjenik .sleep-retail-head,
.sleep-cjenik .sleep-retail-row{
  min-width:980px;
  grid-template-columns:2.15fr .8fr 1fr .55fr 1fr 1.2fr 1.1fr 1.05fr .9fr;
}
.sleep-cjenik .sleep-retail-head{padding:11px 14px;text-align:center}
.sleep-cjenik .sleep-retail-head span:first-child{text-align:left}
.sleep-cjenik .sleep-retail-row{min-height:66px;align-items:center}
.sleep-cjenik .sleep-retail-cell{text-align:center;padding:var(--sleep-row-padding) 7px;line-height:1.3}
.sleep-cjenik .sleep-retail-row .sleep-service{text-align:left}
.sleep-cjenik .sleep-retail-row .sleep-current,
.sleep-cjenik .sleep-retail-row .sleep-anchor{justify-self:stretch;text-align:center}
.sleep-cjenik .sleep-retail-row .sleep-special{color:var(--sleep-special-color);font-weight:800}
.sleep-cjenik .sleep-retail-row .sleep-availability{font-weight:800}

@media(max-width:900px){
  .sleep-cjenik .sleep-table-head,.sleep-cjenik .sleep-price-row{grid-template-columns:minmax(0,36%) minmax(0,64%)}
  .sleep-cjenik .sleep-pricing,.sleep-cjenik .sleep-table-head .sleep-service-price-label{gap:7px}
}
@media(max-width:620px){
  .sleep-cjenik .sleep-table-head{display:grid;grid-template-columns:1fr;padding:9px 12px}
  .sleep-cjenik .sleep-table-head .sleep-service-price-label{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:6px}
  .sleep-cjenik .sleep-price-row{grid-template-columns:1fr;min-height:0}
  .sleep-cjenik .sleep-service{padding:12px 13px 7px}
  .sleep-cjenik .sleep-pricing{grid-template-columns:repeat(4,minmax(0,1fr));padding:7px 10px 12px;gap:6px}
  .sleep-cjenik .sleep-retail-head,.sleep-cjenik .sleep-retail-row{min-width:980px}
}

/* SLEEP Cjenik 1.5.7 - zamjena sidrene i maloprodajne cijene */
.sleep-cjenik.sleep-mode-services .sleep-service-price-label,
.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-pricing{
  grid-template-columns:minmax(0,1.15fr) minmax(0,1.15fr) minmax(0,1fr) minmax(42px,.55fr)!important;
}
.sleep-cjenik.sleep-mode-retail .sleep-table-head,
.sleep-cjenik.sleep-mode-retail .sleep-retail-row{
  grid-template-columns:minmax(180px,2.4fr) .75fr 1fr .7fr 1fr 1.1fr 1.1fr 1.2fr .9fr!important;
}

/* Upravljačka tablica: 7 stupaca za usluge i 11 za maloprodaju, bez dodatnog tekstnog polja za posebnu prodaju. */
.sleep-admin-head:not(.sleep-admin-retail-head),
.sleep-admin-row:not(.sleep-admin-retail-row){
  grid-template-columns:26px minmax(300px,2.5fr) 155px 155px 105px minmax(180px,1.25fr) 34px!important;
  min-width:1050px!important;
}
.sleep-admin-retail-head,
.sleep-admin-retail-row{
  grid-template-columns:26px minmax(260px,2.2fr) 95px 120px 85px 115px 145px 145px 150px 110px 34px!important;
  min-width:1280px!important;
}
.sleep-admin-row select[name*="special_sale_name"]{font-weight:600}
@media(max-width:900px){
  .sleep-admin-head:not(.sleep-admin-retail-head),
  .sleep-admin-row:not(.sleep-admin-retail-row){min-width:1050px!important}
  .sleep-admin-retail-head,.sleep-admin-retail-row{min-width:1280px!important}
}

/* SLEEP Cjenik 1.5.8 - masonry raspored kategorija bez praznih okomitih prostora */
.sleep-cjenik .sleep-price-grid.sleep-masonry-grid{
  display:block;
  position:relative;
  width:100%;
}
.sleep-cjenik .sleep-price-grid.sleep-masonry-grid .sleep-card{
  position:absolute;
  top:0;
  width:calc(50% - 9px);
  margin:0;
  transition:none;
}
@media(max-width:900px){
  .sleep-cjenik .sleep-price-grid.sleep-masonry-grid{
    display:block;
  }
  .sleep-cjenik .sleep-price-grid.sleep-masonry-grid .sleep-card{
    position:relative;
    width:100%;
    top:auto!important;
    left:auto!important;
    margin:0 0 14px;
  }
}


/* SLEEP Cjenik 1.5.9 - kompaktniji i responzivniji javni prikaz usluga */
.sleep-cjenik.sleep-mode-services .sleep-table-head,
.sleep-cjenik.sleep-mode-services .sleep-service-row{
  grid-template-columns:minmax(0,42%) minmax(0,58%)!important;
}
.sleep-cjenik.sleep-mode-services .sleep-service-price-label,
.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-pricing{
  grid-template-columns:minmax(0,1.10fr) minmax(0,1.15fr) minmax(0,.95fr) minmax(38px,.52fr)!important;
  gap:8px!important;
}
.sleep-cjenik.sleep-mode-services .sleep-table-head{
  padding:9px 14px!important;
  min-height:42px!important;
}
.sleep-cjenik.sleep-mode-services .sleep-service-price-label b{
  font-size:8.5px!important;
  line-height:1.1!important;
  white-space:normal!important;
}
.sleep-cjenik.sleep-mode-services .sleep-service-row{
  min-height:0!important;
  height:auto!important;
  align-items:stretch!important;
}
.sleep-cjenik.sleep-mode-services .sleep-service{
  min-width:0!important;
  padding:10px 14px!important;
  font-size:calc(var(--sleep-font-size) - 1px)!important;
  line-height:1.32!important;
  align-items:center!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-pricing{
  min-width:0!important;
  padding:9px 12px 9px 6px!important;
  align-items:center!important;
}
.sleep-cjenik.sleep-mode-services .sleep-anchor,
.sleep-cjenik.sleep-mode-services .sleep-current,
.sleep-cjenik.sleep-mode-services .sleep-special,
.sleep-cjenik.sleep-mode-services .sleep-unit{
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
.sleep-cjenik.sleep-mode-services .sleep-anchor-date{
  display:block!important;
  margin-top:2px!important;
  font-size:8.5px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
}
.sleep-cjenik.sleep-mode-services .sleep-current{
  white-space:nowrap!important;
}
.sleep-cjenik.sleep-mode-services .sleep-special{
  white-space:normal!important;
  line-height:1.1!important;
}

/* Isti raspored i za maloprodaju: retci rastu samo koliko traži sadržaj. */
.sleep-cjenik.sleep-mode-retail .sleep-retail-row{
  min-height:0!important;
  height:auto!important;
  align-items:stretch!important;
}
.sleep-cjenik.sleep-mode-retail .sleep-retail-cell,
.sleep-cjenik.sleep-mode-retail .sleep-current,
.sleep-cjenik.sleep-mode-retail .sleep-anchor{
  min-width:0!important;
  overflow-wrap:anywhere!important;
  padding-top:9px!important;
  padding-bottom:9px!important;
}
.sleep-cjenik.sleep-mode-retail .sleep-anchor-date{
  display:block!important;
  font-size:8.5px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  margin-top:2px!important;
}

@media(max-width:900px){
  .sleep-cjenik.sleep-mode-services .sleep-table-head,
  .sleep-cjenik.sleep-mode-services .sleep-service-row{
    grid-template-columns:minmax(0,40%) minmax(0,60%)!important;
  }
}
@media(max-width:620px){
  .sleep-cjenik.sleep-mode-services .sleep-table-head,
  .sleep-cjenik.sleep-mode-services .sleep-service-row{grid-template-columns:1fr!important}
  .sleep-cjenik.sleep-mode-services .sleep-service-price-label{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .sleep-cjenik.sleep-mode-services .sleep-service-row .sleep-pricing{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    padding:7px 10px 9px!important;
  }
}

/* SLEEP Cjenik 1.5.10 - prostraniji stupac posebne prodaje i HEX boje */
.sleep-cjenik .sleep-table-head{grid-template-columns:minmax(0,1fr) 250px;padding:8px 14px}
.sleep-cjenik .sleep-table-head .sleep-price-label{grid-template-columns:72px 92px 68px 32px;gap:6px;text-align:center}
.sleep-cjenik .sleep-table-head .sleep-price-label b{white-space:normal;line-height:1.08;text-align:center}
.sleep-cjenik .sleep-price-row{grid-template-columns:minmax(0,1fr) 250px;min-height:0}
.sleep-cjenik .sleep-service{padding:12px 14px;line-height:1.3}
.sleep-cjenik .sleep-pricing{grid-template-columns:72px 92px 68px 32px;gap:6px;align-items:center;text-align:center;padding:calc(var(--sleep-row-padding) * .7) 10px}
.sleep-cjenik .sleep-anchor,.sleep-cjenik .sleep-current,.sleep-cjenik .sleep-special,.sleep-cjenik .sleep-unit{text-align:center}
.sleep-cjenik .sleep-special{font-size:11px;font-weight:700;line-height:1.15;white-space:normal;overflow-wrap:anywhere;color:var(--sleep-special-color)}
.sleep-cjenik .sleep-unit{min-width:0}
.sleep-color-field{grid-template-columns:1fr auto!important}
.sleep-color-field .sleep-hex-picker{width:42px!important;height:32px!important}
.sleep-color-field .sleep-hex-input{grid-column:1/3;width:100%;height:34px;padding:6px 8px;box-sizing:border-box;font-family:monospace;text-transform:uppercase}
.sleep-color-field code{grid-column:1/3;font-size:10px;color:#667}
@media(max-width:620px){
  .sleep-cjenik .sleep-table-head{grid-template-columns:minmax(0,1fr) 250px}
  .sleep-cjenik .sleep-price-row{grid-template-columns:1fr}
  .sleep-cjenik .sleep-pricing{grid-template-columns:72px 92px 68px 32px;justify-content:end;padding:8px 10px 12px}
}
