/* ==========================================================================
   Masážní stoly — nový stylopis (design sjednocený s dobryfuton.cz)
   Zachovává původní ID a třídy, které generuje PHP (index.php, admin/classes)
   ========================================================================== */

@import url('fonts/inter.css');
@import url('fonts/fontawesome.css');

:root {
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --green: #6f8043;
  --green-dark: #5c6b36;
  --green-light: #788653;
  --logo-green: #60662d;
  --brown: #b95335;
  --brown-hover: #9e432a;
  --dark: #20201e;
  --gray: #626158;
  --bg-light: #faf8f3;
  --bg-card: #faf8f7;
  --border: #e8e4da;
  --radius: 12px;
  --container-max: 1280px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -8px rgba(32, 32, 30, 0.15);
}

/* ==========================================================================
   Reset & základ
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark);
  background: #ffffff;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }
a img { border: none; }

a:link, a:visited { color: var(--green); text-decoration: none; transition: color .2s ease; }
a:hover, a:active { color: var(--brown); text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .6em;
}
h1 { font-size: 26px; }
h2 { font-size: 21px; }
h3 { font-size: 17px; }

p { margin: 0 0 1em; }

.container {
  width: min(calc(100% - 48px), var(--container-max));
  margin-inline: auto;
}

/* Pomocné třídy z původního webu */
.cleaner { clear: both; }
.ptop { padding-top: 5px; }
.pleft { padding-left: 5px; }
.ptop2 { padding-top: 10px; }
.ptop3 { padding-top: 15px; }
.pbott2 { padding-bottom: 10px; }
.acenter { text-align: center; }
.mtop2 { margin-top: 15px; }
.fleft { float: left; }
.mright3 { margin-right: 15px; }
.textsmall { font-size: 13px; }
.biglines { line-height: 1.7; }
.textbigger, .texbigger { font-size: 16px; }
.brown { color: var(--brown) !important; }
.grey { color: var(--gray) !important; }
.red { color: var(--brown) !important; }
.underline { text-decoration: none !important; border-bottom: 1px solid currentColor; }
a:link.black, a:visited.black { color: var(--dark); }
a:hover.black, a:active.black { color: var(--green); }

/* ==========================================================================
   Hlavička (#banner + #menu)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#banner { flex-shrink: 0; }
#banner h1 {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
#banner a {
  display: block;
  transition: opacity .2s ease, transform .2s ease;
}
#banner a:hover { opacity: .85; transform: translateY(-1px); }
#banner img { display: block; height: 72px; width: auto; }

#menu { flex: 1; display: flex; justify-content: center; }
#menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#menu li { list-style: none; }
#menu a:link, #menu a:visited {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  text-transform: lowercase;
}
#menu a::first-letter { text-transform: uppercase; }
#menu a:hover, #menu a:active { color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.back-btn:link, .back-btn:visited {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brown);
  color: #fff;
  padding: 13px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background-color .2s ease, transform .15s ease;
}
.back-btn:hover { background: var(--brown-hover); color: #fff; transform: translateY(-1px); }

.mobile-menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  width: 44px; height: 44px;
  font-size: 18px;
  color: var(--dark);
  cursor: pointer;
}

/* ==========================================================================
   Tři sloupce
   ========================================================================== */
#kontejner { background: #fff; }

#stranka {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 270px;
  grid-template-areas: "left main right";
  gap: 36px;
  padding: 36px 0 56px;
}
#levysloup  { grid-area: left; }
#obsah      { grid-area: main; min-width: 0; }
#pravysloup { grid-area: right; }
#stranka > .cleaner { display: none; }

/* Společný vzhled panelů v bočních sloupcích */
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px;
  margin-bottom: 24px;
}
.panel-title,
#noo .nadpis,
.kontaktpravy .nadpis {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark) !important;
  margin: 0 0 14px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid var(--border) !important;
}

/* ==========================================================================
   Levý sloupec — katalog
   ========================================================================== */
#lin { height: auto; background: none; }
#ls, #ntop, #nbott, #notop { display: none; }

.cat-toggle { display: none; }

#mainmenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
#mainmenu li {
  list-style: none;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
}
#mainmenu > li.mainmenuk { border-top: 1px solid #f1ede4; }
#mainmenu > li.mainmenuk:first-child { border-top: none; }
#mainmenu li.mainmenuk > a:link,
#mainmenu li.mainmenuk > a:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 14.5px;
  color: var(--dark);
}
#mainmenu li.mainmenuk > a::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  color: #b9b4a6;
  transition: transform .2s ease, color .2s ease;
}
#mainmenu li.mainmenuk > a:hover { color: var(--green); }
#mainmenu li.mainmenuk > a:hover::after { color: var(--green); transform: translateX(3px); }

#mainmenu .sub { padding: 0 0 10px; display: block; }
#mainmenu .submenu { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 2px solid #efece3; }
#mainmenu .submenu li { font-weight: 400; padding: 0; }
#mainmenu .submenu li a:link,
#mainmenu .submenu li a:visited {
  display: block;
  padding: 4px 0 4px 6px;
  font-size: 13.5px;
  color: var(--gray);
}
#mainmenu .submenu li a:hover { color: var(--green); }

/* Newsletter */
#newsletter { margin: 0; }
#no {
  height: auto;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
#no::after {
  content: "\f0e0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -8px;
  bottom: -16px;
  font-size: 84px;
  color: rgba(255, 255, 255, .08);
  pointer-events: none;
}
#newsletter #no div { padding: 0; color: #fff; font-weight: 600; font-size: 15px; }
#newsletter #no span { display: block; font-size: 12.5px; font-weight: 400; opacity: .85; line-height: 1.5; }
#newsletter #no br { display: none; }
#news {
  display: flex;
  gap: 6px;
  width: auto;
  margin: 12px 0 10px;
  padding: 0;
  position: relative;
  z-index: 1;
}
#newsletter #no form input[type="text"] {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: none;
  border-radius: 4px;
  background: #fff;
  color: var(--dark);
  font: 400 13px var(--font-sans);
}
#newsletter #no form input.newslink {
  margin: 0;
  padding: 10px 14px;
  background: var(--brown);
  color: #fff;
  border: none;
  border-radius: 4px;
  font: 700 12px var(--font-sans);
  letter-spacing: .05em;
  cursor: pointer;
  transition: background-color .2s ease;
}
#newsletter #no form input.newslink:hover { background: var(--brown-hover); }

.partner-link {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--bg-light);
  border-radius: 8px;
  font-size: 13px;
  color: var(--gray);
}
.partner-link a { font-weight: 600; }
.partner-link i { color: var(--green); margin-right: 6px; }

/* ==========================================================================
   Střední sloupec — obsah
   ========================================================================== */
#obsah { float: none; width: auto; text-align: left; }
#obsah div.in { padding: 0; }
#obsah p { line-height: 1.7; }

/* Úvodní blok (hero) */
#intro {
  position: relative;
  background: var(--bg-light);
  border-radius: 16px;
  padding: 40px 300px 40px 40px;
  margin-bottom: 44px;
  color: var(--gray);
  line-height: 1.7;
  overflow: hidden;
  min-height: 260px;
}
#intro::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 280px;
  height: 200px;
  background: url('img/masazni-stul.png') no-repeat center / contain;
  opacity: .9;
  pointer-events: none;
}
#intro h1, #intro h2, #intro h3, #intro h4 {
  display: block;
  color: var(--dark);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px;
  padding: 0;
}
#intro h2, #intro h3, #intro h4 { font-size: 18px; color: var(--logo-green); font-weight: 600; }
#intro p { margin: 0 0 12px; padding: 0; }
#intro strong { color: var(--dark); }

/* Video na úvodní stránce */
.video-uvod {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 44px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow-md);
}
.video-uvod iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Nadpis sekce */
.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 30px;
}
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--green);
  border-radius: 2px;
}

/* ==========================================================================
   Produktové karty (.bublinam) — homepage i katalog
   ========================================================================== */
.zbozihomepage {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px;
}
.zbozihomepage::after { display: none; }

.bublinam,
.bublinam3 {
  float: none;
  width: auto;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.bublinam:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #ddd7c8;
}
.bublinav, .bublinas { display: none; }

.bublinao {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: none;
  text-align: left;
  color: var(--gray);
}

/* Obrázek nahoře */
.bublinao .galerie {
  order: -1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 190px;
  padding: 18px;
  background: var(--bg-card);
  border-bottom: 1px solid #f1ede4;
}
.bublinao .galerie .dli,
.bublinao .galerie .dli div,
.bublinao .galerie a,
.bublinao .galerie .wrimg {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
}
.bublinao .galerie .wrimg span { display: none; }
.bublinao .galerie img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 154px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .35s ease;
}
.bublinam:hover .galerie img { transform: scale(1.04); }

.bublinam .nadpisek {
  padding: 16px 18px 4px;
  font-size: 15.5px;
  color: var(--dark);
  line-height: 1.35;
}
.bublinam .nadpisek strong { font-weight: 600; }

.bublinao .cena {
  padding: 0 18px;
  font-size: 13px;
  color: var(--gray);
}
.bublinao .cena strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--brown);
  margin: 0 3px 0 2px;
}

.bublinao > div:last-child { margin-top: auto; padding: 12px 18px 18px; }
a.koupit:link, a.koupit:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none !important;
}
a.koupit::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  transition: transform .2s ease;
}
a.koupit:hover { color: var(--brown); }
a.koupit:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Pravý sloupec — novinky, kontakt, o nás
   ========================================================================== */
#noo {
  background: none;
  padding: 0;
  color: var(--gray) !important;
  font-size: 13.5px;
  line-height: 1.6;
}
.novinka {
  border-top: none;
  border-bottom: 1px solid #f1ede4;
  padding: 0 0 14px;
  margin: 0 0 14px;
}
.novinka:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.novinka h3 {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark) !important;
  margin: 0 0 4px;
}
.novinka h3::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin: 0 8px 1px 0;
  border-radius: 50%;
  background: var(--green-light);
}

.kontaktpravy .nazev { color: var(--dark); }
.kontaktpravy i { width: 16px; margin-right: 6px; color: var(--green); text-align: center; }
.kontaktpravy .fleft { float: none; margin: 0; }
.kontaktpravy .ico { color: #8d8a7f; font-size: 12.5px; }
.kontaktpravy a.underline:link,
.kontaktpravy a.underline:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
  padding: 11px 16px;
  border: none !important;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.kontaktpravy a.underline:hover { background: var(--green-dark); color: #fff; }

.about-user-inner { display: flex; gap: 12px; align-items: flex-start; }
.about-user img {
  flex-shrink: 0;
  border-radius: 50%;
  width: 64px; height: 64px;
  object-fit: cover;
  border: 2px solid var(--border);
}
.about-user-text { font-size: 13px; color: var(--gray); line-height: 1.5; min-width: 0; }
.about-user-text p { margin: 0 0 .6em; }

/* ==========================================================================
   Patička (#spodek)
   ========================================================================== */
#spodek {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  height: auto;
  margin: 0;
  text-align: left;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0;
}
.footer-inner img { height: 54px; width: auto; display: block; mix-blend-mode: multiply; }
#spodek .footer-copy { padding: 0; line-height: 1.6; font-size: 13.5px; color: var(--gray); }
#spodek .footer-copy a { color: var(--dark); font-weight: 600; }
#spodek .footer-copy a:hover { color: var(--green); }
#spodek .footer-note { color: #8d8a7f; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.footer-links li { list-style: none; margin: 0; padding: 0; }
.footer-links a:link, .footer-links a:visited { color: var(--gray); }
.footer-links a:hover { color: var(--green); }

/* ==========================================================================
   Formuláře (kontakt, objednávka)
   ========================================================================== */
form { width: auto; max-width: 560px; }
form fieldset, #contactform fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 1em;
}
form legend, #contactform legend {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  padding: 0 8px;
}
form label, form em, #contactform label, #contactform em {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  padding: 0;
}
form em, #contactform em { color: var(--brown); font-style: normal; }
form input, form select, form textarea,
#contactform input, #contactform select, #contactform textarea {
  font: 400 14px var(--font-sans);
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 12px;
  margin: 4px 0 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(111, 128, 67, .15);
}
form textarea, #contactform textarea { width: 100%; max-width: 100%; height: 150px; margin-left: 0; }
form dl, #contactform dl { margin: 0; padding: 0; }
form dt, #contactform dt { float: left; width: 160px; padding-top: 12px; }
form dd, #contactform dd { margin: 0; width: auto; display: block; overflow: hidden; }
form .button, #contactform .button,
form input[type="submit"] {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}
form .button:hover, form input[type="submit"]:hover { background: var(--green-dark); }

/* ==========================================================================
   Detail produktu, články, kontakt
   ========================================================================== */
.navigace h3 { display: inline; font-size: 14px; }
a.detailobr { display: block; border: 1px solid var(--border); border-radius: 10px; padding: 8px; background: var(--bg-card); }
a.detailobr:hover { border-color: var(--green-light); }
.detailo { float: left; margin: 6px; }
.detailo img { border-radius: 8px; border: 1px solid var(--border); }
.popisprodukt { line-height: 1.7; color: var(--gray); }
.separator { border-top: 1px solid var(--border); margin: 24px 0; height: 0; overflow: hidden; }
.infotext { color: var(--gray); }

/* Drobečková navigace v katalogu */
.navigace { margin: 0 0 22px; color: #b9b4a6; font-size: 14px; }
.navigace h3 { font-weight: 600; margin: 0; }
.navigace a:link, .navigace a:visited { color: var(--gray); }
.navigace a:hover { color: var(--green); }
.mtop3 { margin-top: 0; }

/* Detail produktu */
.detailprodukt h1 { font-size: 28px; margin-bottom: 22px; }
.detailprodukt > div[style*="float"] { margin: 0 28px 20px 0 !important; max-width: 50%; }
.detailprodukt a.detailobr img { display: block; border-radius: 6px; }
.detailprodukt .ptop a.underline { font-size: 13px; color: var(--gray) !important; border-bottom-color: #d6d1c4; }
.produktinfo {
  overflow: hidden;
  padding: 22px 24px;
  background: var(--bg-light);
  border-radius: var(--radius);
  color: var(--gray);
}
.produktinfo .brown strong { font-size: 24px; }
.produktinfo strike { color: #8d8a7f; }
.lightgreen { color: var(--green); margin-bottom: 8px; }
.detailprodukt a.koupit:link, .detailprodukt a.koupit:visited {
  margin-top: 6px;
  padding: 14px 26px;
  border-radius: 4px;
  background: var(--brown);
  color: #fff !important;
}
.detailprodukt a.koupit:hover { background: var(--brown-hover); }
.detailprodukt a.koupit strong { font-weight: 700; }
.popisprodukt img { max-width: 100%; height: auto; }
.popisprodukt table { max-width: 100%; }

/* Nezávazná objednávka */
#spamprotirobotum p { margin: 0 0 4px; }

/* Kontakt - mapa */
#mainMap { max-width: 100%; border-radius: var(--radius); border-color: var(--border) !important; }

/* Obsah z administrace (úvod, články) */
#intro img, .clankyobsah img, .obsahkontakt img { max-width: 100%; height: auto; }
.clankyobsah h1 { margin-top: .4em; }
hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* ==========================================================================
   Responzivita
   ========================================================================== */
@media (max-width: 1180px) {
  #stranka {
    grid-template-columns: 240px minmax(0, 1fr);
    grid-template-areas:
      "left main"
      "left right";
  }
  #pravysloup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  #pravysloup .panel { margin: 0; }
  #intro { padding-right: 40px; }
  #intro::after { display: none; }
  .back-btn span { display: none; }
}

@media (max-width: 960px) {
  .header-inner { min-height: 76px; }
  #banner img { height: 56px; }
  #menu {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 18px;
  }
  #menu.open { display: block; }
  #menu ul { flex-direction: column; gap: 0; }
  #menu li { border-bottom: 1px solid #f1ede4; }
  #menu li:last-child { border-bottom: none; }
  #menu a { display: block; padding: 12px 0; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .container { width: calc(100% - 32px); }
  #stranka {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "left" "main" "right";
    gap: 24px;
    padding: 20px 0 40px;
  }
  #pravysloup { grid-template-columns: 1fr; }

  /* Katalog sbalený do rozbalovacího tlačítka */
  .cat-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    font: 700 12px var(--font-sans);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dark);
    cursor: pointer;
  }
  .cat-toggle i { transition: transform .2s ease; }
  #lin.panel { padding: 16px 18px; }
  #lin .panel-title { display: none; }
  #mainmenu { display: none; margin-top: 12px; }
  #lin.open #mainmenu { display: block; }
  #lin.open .cat-toggle i { transform: rotate(180deg); }
  #newsletter { display: none; }

  #intro { padding: 26px 22px; min-height: 0; margin-bottom: 30px; }
  .video-uvod { margin-bottom: 30px; border-radius: 12px; }
  .zbozihomepage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bublinao .galerie { height: 140px; padding: 12px; }
  .bublinao .galerie img { max-height: 112px; }
  .bublinam .nadpisek { padding: 12px 12px 2px; font-size: 14px; }
  .bublinao .cena { padding: 0 12px; }
  .bublinao > div:last-child { padding: 10px 12px 14px; }

  .back-btn:link, .back-btn:visited { padding: 11px 14px; }
  .detailprodukt > div[style*="float"] { float: none !important; max-width: 100%; margin: 0 0 20px !important; }
  .footer-inner { flex-direction: column; text-align: center; }

  form dt, #contactform dt { float: none; width: auto; padding-top: 4px; }
  form input[type="text"], form select { width: 100%; }
}

@media (max-width: 420px) {
  .zbozihomepage { grid-template-columns: minmax(0, 1fr); }
}
