/* =========================================================
   AKVARIUM NA KLIC – pouze pro stránku id-1518
   Scope: body.id-1518
   ========================================================= */
body.id-1518 .svc--turnkey {
  margin: 0 auto;
  padding: 24px 16px;
}

/* Zruší „článek“ look: přirozený rytmus */
body.id-1518 .pageArticleDetail header {
  margin-bottom: 10px;
}
body.id-1518 .pageArticleDetail > header h1 {
  margin-bottom: 10px;
}

/* HERO */
body.id-1518 .svc--turnkey .svc-hero {
  padding: 28px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body.id-1518 .svc--turnkey .svc-hero__inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  align-items: center;
}

body.id-1518 .svc--turnkey .svc-hero__title {
  margin: 0 0 10px 0;
}

body.id-1518 .svc--turnkey .svc-hero__lead {
  margin: 0 0 16px 0;
  opacity: 0.9;
  line-height: 1.45;
}

body.id-1518 .svc--turnkey .svc-hero__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px 0;
}

body.id-1518 .svc--turnkey .svc-hero__media {
  min-height: 160px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
body.id-1518 .svc--turnkey .svc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Buttons */
body.id-1518 .svc--turnkey .svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
}

body.id-1518 .svc--turnkey .svc-btn--primary {
  background: #111;
  color: #fff;
}

body.id-1518 .svc--turnkey .svc-btn--ghost {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.22);
  color: #111;
}

/* Badges */
body.id-1518 .svc--turnkey .svc-badges {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

body.id-1518 .svc--turnkey .svc-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-weight: 800;
  font-size: 12px;
}

/* Sekce */
body.id-1518 .svc--turnkey .svc-section {
  margin: 28px 0;
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body.id-1518 .svc--turnkey .svc-section--alt {
  background: #f6f7f8;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body.id-1518 .svc--turnkey .svc-section__head h2 {
  margin: 0 0 8px 0;
}

body.id-1518 .svc--turnkey .svc-section__head p {
  margin: 0;
  opacity: 0.85;
  line-height: 1.45;
}

/* Cards */
body.id-1518 .svc--turnkey .svc-cards {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

body.id-1518 .svc--turnkey .svc-cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

body.id-1518 .svc--turnkey .svc-cards--2 {
  grid-template-columns: repeat(2, 1fr);
}

body.id-1518 .svc--turnkey .svc-card {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body.id-1518 .svc--turnkey .svc-card h3 {
  margin: 0 0 6px 0;
}

body.id-1518 .svc--turnkey .svc-card p {
  margin: 0;
  opacity: 0.85;
  line-height: 1.45;
}

/* Steps */
body.id-1518 .svc--turnkey .svc-steps {
  margin: 16px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

body.id-1518 .svc--turnkey .svc-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body.id-1518 .svc--turnkey .svc-step__n {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
  font-weight: 900;
}

body.id-1518 .svc--turnkey .svc-step__body h3 {
  margin: 0 0 4px 0;
}

body.id-1518 .svc--turnkey .svc-step__body p {
  margin: 0;
  opacity: 0.85;
  line-height: 1.45;
}

/* Gallery */
body.id-1518 .svc--turnkey .svc-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

body.id-1518 .svc--turnkey .svc-thumb {
  display: block;
  border-radius: 16px;
  min-height: 350px;
  background: rgba(0, 0, 0, 0.06);
  text-decoration: none;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

body.id-1518 .svc--turnkey .svc-thumb span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #111;
  font-weight: 900;
}

/* Center */
body.id-1518 .svc--turnkey .svc-center {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

/* Form */
body.id-1518 .svc--turnkey .svc-form {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #f6f7f8;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body.id-1518 .svc--turnkey .svc-form .form-group {
  margin-bottom: 12px;
}

body.id-1518 .svc--turnkey .svc-form label {
  font-weight: 800;
}

body.id-1518 .svc--turnkey .svc-form .form-control {
  border-radius: 12px;
}

body.id-1518 .svc--turnkey .svc-form .submit-wrapper .btn {
  border-radius: 12px;
  font-weight: 900;
}

/* Responsive */
@media (max-width: 980px) {
  body.id-1518 .svc--turnkey .svc-hero__inner {
    grid-template-columns: 1fr;
  }
  body.id-1518 .svc--turnkey .svc-cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  body.id-1518 .svc--turnkey .svc-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.id-1518 .svc--turnkey {
    padding: 18px 12px;
  }
  body.id-1518 .svc--turnkey .svc-cards--2,
  body.id-1518 .svc--turnkey .svc-cards--4 {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   AKVARIUM NA KLIC – zrušení sidebaru + full width
   Pouze pro stránku ID 1518
   ========================================================= */

/* 1) Skrýt levý sidebar */
body.id-1518 aside.sidebar.sidebar-left {
  display: none !important;
}

/* 2) Roztáhnout hlavní content */
body.id-1518 .content-wrapper-in {
  display: block !important;
}

/* 3) Zrušit "narrow" omezení obsahu */
body.id-1518 #content.content.narrow {
  max-width: none !important;
  width: 100% !important;
}

/* 4) Zrušit vnitřní odsazení, které počítalo se sidebar */
body.id-1518 #content {
  padding-left: 0 !important;
}
/* =========================================================
   AKVARIUM NA KLIC – FINÁLNÍ FULL-WIDTH ŘEŠENÍ
   ========================================================= */

body.id-1518 .svc--turnkey {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.id-1518 .svc--turnkey > section {
  max-width: 1420px;
  margin-left: auto;
  margin-right: auto;
}
/* =========================================================
   FIX: Shoptet Classic dává na NTB "narrow" layout (content-inner max-width:600px)
   Jen pro stránku Akvárium na klíč (id-1518)
   ========================================================= */

@media (min-width: 1200px) {
  body.id-1518 .content-inner {
    max-width: none !important;
    width: 100% !important;
  }
}

/* Pro jistotu: i kdyby Shoptet držel "narrow" na mainu */
body.id-1518 main#content.content.narrow {
  max-width: none !important;
  width: 100% !important;
}

/* Ať se vám to neláme paddingem z šablony */
body.id-1518 main#content.content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Pokud pořád existuje levý sidebar, pryč (jen pro id-1518) */
body.id-1518 aside.sidebar.sidebar-left {
  display: none !important;
}
body.id-1518 .content-wrapper-in {
  display: block !important;
}
/* =========================================================
   Sekce: Jak probíhá realizace – 2 sloupce, poslední jako finále přes celý řádek
   (jen id-1518)
   ========================================================= */

@media (min-width: 992px) {
  body.id-1518 .svc-steps-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  /* Každý krok jako karta */
  body.id-1518 .svc-step {
    margin: 0 !important; /* zabije defaultní vertical spacing */
  }

  /* Poslední krok = finále přes oba sloupce */
  body.id-1518 .svc-steps-list .svc-step:last-child {
    grid-column: 1 / -1 !important;
  }
}

/* Mobil necháme jako 1 sloupec – je to čitelnější */
@media (max-width: 991.98px) {
  body.id-1518 .svc-steps-list {
    display: block !important;
  }
}
/* =========================================================
   ID 1518 – FULL WIDTH + zrušení NTB "content-inner max-width:600px"
   + kroky realizace do 2 sloupců (poslední přes celý řádek)
   ========================================================= */

/* 1) Pryč sidebar jen na této stránce */
body.id-1518 aside.sidebar.sidebar-left {
  display: none !important;
}

/* 2) Container na full width (Shoptet Classic často omezuje .container) */
body.id-1518 #content-wrapper.container.content-wrapper,
body.id-1518 .breadcrumbs-wrapper.container {
  max-width: none !important;
  width: 100% !important;
}

/* 3) Zrušit "narrow" + paddingy co počítaly se sidebar */
body.id-1518 main#content.content.narrow,
body.id-1518 main#content.content {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 4) TOTO je ten NTB bug – šablona ti to umí stáhnout na 600px */
@media (min-width: 1200px) {
  body.id-1518 main#content .content-inner {
    max-width: none !important;
    width: 100% !important;
  }
}

/* 5) Ať je obsah hezky uprostřed, ale stránka je full width */
body.id-1518 .svc--turnkey {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px 16px !important;
}
body.id-1518 .svc--turnkey > section {
  max-width: 1420px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   KROKY: "Jak probíhá realizace" – 2 sloupce, poslední přes celý řádek
   POZOR: správný selektor je .svc-steps (ne .svc-steps-list)
   ========================================================= */
@media (min-width: 992px) {
  body.id-1518 .svc--turnkey .svc-steps {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  /* poslední krok jako finále přes oba sloupce */
  body.id-1518 .svc--turnkey .svc-steps > .svc-step:last-child {
    grid-column: 1 / -1 !important;
  }
}

/* mobil nech 1 sloupec */
@media (max-width: 991.98px) {
  body.id-1518 .svc--turnkey .svc-steps {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}
/* =========================================================
   AKVARIUM NA KLIC (id-1518) – full width layout FIX
   ========================================================= */

/* 1) Zruš levý sidebar (ať vůbec neexistuje mezera) */
body.id-1518 #content-wrapper .sidebar.sidebar-left {
  display: none !important;
}

/* 2) Roztáhni content wrapper (ať main zabere 100%) */
body.id-1518 #content-wrapper .content-wrapper-in {
  display: block !important; /* zruší flex/columns layout */
}

/* 3) Zruš "narrow" režim na main */
body.id-1518 #content-wrapper main#content.content,
body.id-1518 #content-wrapper main#content.content.narrow {
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 100% !important;
}

/* 4) Nejdůležitější: přepíš Shoptet limit max-width:600px na .content-inner */
body.id-1518 #content-wrapper main#content .content-inner {
  max-width: none !important;
  width: 100% !important;
}

/* 5) Ať se to fakt roztáhne i na velkých displejích */
body.id-1518 #content-wrapper.container.content-wrapper {
  max-width: 1400px !important; /* klidně dej 1600px nebo 100% */
  width: 100% !important;
}

/* 6) Trochu rozumný padding na okrajích */
body.id-1518 #content-wrapper {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
/* =========================================================
   Akvárium na klíč – krok 7 vycentrovaný jako finále
   ========================================================= */

@media (min-width: 992px) {
  /* Grid pro kroky */
  body.id-1518 .svc--turnkey .svc-steps {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  /* Poslední krok (7) */
  body.id-1518 .svc--turnkey .svc-steps > .svc-step:last-child {
    grid-column: 1 / -1 !important; /* přes oba sloupce */
    max-width: 720px !important; /* UŽŠÍ – důležité */
    justify-self: center !important; /* vycentrovat */
  }
}
/* =========================================================
   REALIZACE – když je uvnitř <img>
   ========================================================= */

body.id-1518 .svc-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* karta */
body.id-1518 .svc-thumb {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  min-height: 350px; /* výška boxu */
  background: #eee;
}

/* IMG jako cover */
body.id-1518 .svc-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* gradient pro čitelnost textu */
body.id-1518 .svc-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  z-index: 1;
}

/* tlačítko */
body.id-1518 .svc-thumb span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 800;
  z-index: 2;
}
@media (max-width: 1100px) {
  body.id-1518 .svc-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  body.id-1518 .svc-gallery {
    grid-template-columns: 1fr;
  }
}
