@charset "UTF-8";
/* ==========================================================
   Bambu.cz – moderní kabát (2026)
   Načítá se jako poslední, přebíjí bambu.css / default.css
   a nezávisí na Bootstrapu.
   Výstup kopírovat do htdocs/bambu/public/style/modern.css
   ========================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Bricolage+Grotesque:wght@700;800&display=swap");
:root {
  --bg: #f4f2ef;
  --surface: #ffffff;
  --surface-2: #f0ede8;
  --text: #1c1a17;
  --muted: #6f6a63;
  --line: #e4dfd8;
  --accent: #e8432e;
  --accent-2: #ff8a3d;
  --accent-ink: #ffffff;
  --header: rgba(255, 255, 255, .85);
  --shadow: 0 1px 2px rgba(28, 26, 23, .06), 0 8px 24px rgba(28, 26, 23, .06);
  --shadow-hover: 0 2px 4px rgba(28, 26, 23, .08), 0 16px 40px rgba(28, 26, 23, .14);
  --radius: 16px;
  --max: 1240px;
}

body.dark {
  --bg: #121212;
  --surface: #1c1c1e;
  --surface-2: #26262a;
  --text: #f2f0ec;
  --muted: #a19c95;
  --line: #2e2e33;
  --header: rgba(18, 18, 18, .85);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, .5), 0 16px 40px rgba(0, 0, 0, .5);
}

html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background: var(--bg) !important;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  padding: 0 !important;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}

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

h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: none;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.2em 0 0.6em;
}

h2 {
  font-size: 1.4rem;
  margin: 0 0 0.8em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
h2::before {
  content: "";
  width: 6px;
  height: 1.1em;
  border-radius: 3px;
  background: linear-gradient(var(--accent), var(--accent-2));
}

.container {
  width: 100% !important;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}
.row > [class*=col-] {
  padding: 0 12px;
  width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-sm-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-sm-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
  }
  .col-sm-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
#main {
  background: transparent !important;
  box-shadow: none !important;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
header > .container > .row {
  margin: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
header > .container > .row > * {
  padding: 0 !important;
  width: auto;
  flex: 0 0 auto;
}
header .logo {
  margin: 0;
  display: flex;
  align-items: center;
}
header .logo img {
  max-height: 40px;
  max-width: 160px;
  width: auto;
}
header .col-sm:nth-child(2) {
  flex: 1 1 auto !important;
  max-width: 520px;
  margin: 0 auto;
}
header form {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  float: none !important;
}
header .input-group {
  display: flex !important;
  width: 100%;
  position: relative;
}
header .input-group-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  width: auto;
}
header .input-group-btn .btn {
  width: 34px;
  height: 34px;
  border-radius: 50% !important;
  padding: 0;
  background: var(--accent) !important;
  border: 0 !important;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
@media (max-width: 767px) {
  header > .container > .row {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }
  header form {
    position: static !important;
    width: auto !important;
  }
  header .col-sm:nth-child(2) {
    order: 3;
    flex: 1 0 100% !important;
    max-width: none;
  }
}

#srch-term {
  width: 100%;
  height: 42px;
  border-radius: 999px !important;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  padding: 0 48px 0 18px;
  font: inherit;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
#srch-term:focus {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 67, 46, 0.15);
}

#top-user ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#top-user .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9rem;
  border: 0;
  text-shadow: none;
  transition: transform 0.15s;
}
#top-user .btn:hover {
  transform: translateY(-1px);
}
#top-user .user-avatar {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  object-fit: cover;
}
#top-user .dropdown {
  position: relative;
}
#top-user .dropdown:hover .dropdown-menu, #top-user .dropdown.open .dropdown-menu {
  display: block;
}
#top-user .dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  padding: 6px;
  text-align: left;
}
#top-user .dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
}
#top-user .dropdown-menu a:hover {
  background: var(--surface-2);
}
@media (max-width: 767px) {
  #top-user {
    margin-left: auto;
  }
  #top-user .btn {
    height: 36px;
    padding: 0 14px;
  }
}

#menu-header {
  padding: 0 16px;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
#menu-header .navbar {
  background: none !important;
  border: 0;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  #menu-header {
    position: static !important;
    width: auto !important;
  }
}

.navbar-header {
  display: none;
}

#navbar {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  width: 100%;
  height: auto !important;
  padding: 0;
  border: 0;
  box-shadow: none;
  overflow: visible !important;
}
#navbar span {
  color: inherit !important;
  background: none !important;
  text-shadow: none !important;
  font-size: inherit !important;
}
#navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#navbar a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  margin: 6px 0;
  border-radius: 999px;
  color: var(--muted) !important;
  background: none !important;
  font-size: 0.95rem !important;
  font-weight: 600;
  text-transform: none !important;
  text-shadow: none !important;
  transition: color 0.15s, background 0.15s;
}
#navbar a.navSelected {
  color: var(--accent) !important;
  background: rgba(232, 67, 46, 0.1) !important;
}
#navbar > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  float: none;
  margin: 0 !important;
  width: auto;
}
#navbar > ul > li {
  position: relative;
  float: none;
}
#navbar > ul > li > a:hover, #navbar > ul > li:hover > a {
  color: var(--text) !important;
  background: var(--surface-2) !important;
}
#navbar > ul > li.navSelected > a, #navbar > ul > li.navSelected2 > a {
  color: var(--accent) !important;
  background: rgba(232, 67, 46, 0.1) !important;
}
#navbar > ul > li.is-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.6;
}
#navbar > ul > li:hover > ul.level2, #navbar > ul > li:focus-within > ul.level2 {
  opacity: 1;
  visibility: visible;
  transform: none;
}
#navbar > ul.navbar-right {
  margin-left: auto !important;
}
#navbar ul.level2 {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 2px;
  width: max-content;
  max-width: min(640px, 90vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
#navbar ul.level2 a {
  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.9rem !important;
}
#navbar ul.level2 a:hover {
  background: var(--surface-2) !important;
  color: var(--accent) !important;
}
#navbar .navbar-right a {
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
}
#navbar .navbar-right li:last-child a {
  background: var(--accent) !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  #navbar {
    overflow-x: auto !important;
    scrollbar-width: none;
  }
  #navbar::-webkit-scrollbar {
    display: none;
  }
  #navbar ul {
    position: static !important;
  }
  #navbar ul.level2 {
    display: none !important;
  }
  #navbar a {
    white-space: nowrap;
    padding: 8px 12px;
  }
  #navbar > ul > li.is-children > a::after {
    display: none;
  }
}

section {
  padding: 28px 0 48px;
}

.container.content {
  background: none !important;
  box-shadow: none !important;
}

#content {
  background: none !important;
  padding: 0 !important;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted);
}

.desc {
  color: var(--muted);
  padding: 0 12px;
}

.btn {
  font-family: inherit;
}

.btn-default, .btn-block.btn-default {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
  font-weight: 600;
  text-shadow: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-default:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.col-sm-6 > .btn-block {
  margin-bottom: 32px;
}

.pagination, .paging {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}
.pagination a, .pagination span, .paging a, .paging span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  float: none;
}
.pagination a:hover, .paging a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pagination .active a, .pagination .active span, .paging .active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pic-main {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  overflow: hidden;
}
.pic-main img {
  border-radius: 10px;
}
.pic-main .prev, .pic-main .next {
  color: #fff;
}

.tag-description {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px;
}

iframe[src*=youtube] {
  border-radius: var(--radius);
  max-width: 100%;
}

.col-sm-3 .adsbygoogle {
  position: sticky;
  top: 140px;
}

input.form-control, textarea.form-control, select.form-control {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  font: inherit;
}

.catalog {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.catalog > .clearfix {
  display: none;
}
.catalog .overlay {
  display: none;
}
.catalog .item-wrap {
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.catalog .item-wrap:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.catalog .item-wrap:hover .small-thumb img {
  transform: scale(1.05);
}
.catalog .item-wrap-in {
  display: flex;
  flex-direction: column-reverse;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  height: auto !important;
  box-shadow: none !important;
}
.catalog .small-thumb, .catalog div.small-thumb {
  position: relative;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-2);
  margin: 0 !important;
}
.catalog .small-thumb img, .catalog div.small-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.catalog a[href*="/video/"] .small-thumb::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/24px no-repeat;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform 0.2s, background-color 0.2s;
}
.catalog a[href*="/video/"]:hover .small-thumb::after {
  transform: scale(1.1);
  background-color: var(--accent);
}
.catalog .title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 12px 14px;
  margin: 0 !important;
  min-height: calc(2.7em + 24px);
  color: var(--text) !important;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: left;
  background: none !important;
  position: static !important;
  text-shadow: none !important;
  height: auto !important;
  width: auto !important;
}
@media (max-width: 767px) {
  .catalog {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .catalog .title {
    font-size: 0.85rem;
    padding: 10px;
  }
}

.catalog-vtipy {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.catalog-vtipy .item-wrap, .catalog-vtipy .item-wrap-in {
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  background: var(--surface) !important;
  border: 0 !important;
  border-radius: var(--radius);
}
.catalog-vtipy .item-wrap {
  box-shadow: var(--shadow);
  padding: 18px !important;
}
.catalog-vtipy .item-wrap p {
  color: var(--text);
}

footer {
  margin-top: 40px;
  padding: 32px 0 40px;
  background: var(--surface) !important;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
footer .fleft, footer .copyright {
  float: none;
}
footer .clearfix {
  display: none;
}
footer a, footer .logo {
  color: var(--muted) !important;
  background: none !important;
}
footer a:hover {
  color: var(--accent) !important;
}
footer .logo span {
  font-weight: 700;
  color: var(--text);
}
