/* Coffee Berry
 * Kompletní stabilní CSS – 2026
 * (c) Filip Vesely / VESELY.company
 */

:root {
  --cb-accent: #a6422a;
  --cb-accent-hover: #923722;
  --cb-dark: #2d1b14;
  --cb-text: #382b25;
  --cb-muted: #756a64;
  --cb-cream: #f7f1eb;
  --cb-border: #e5dad2;
}

/* =========================================================
   1. GLOBÁLNÍ LAYOUT – BEZ SIDEBARU
   ========================================================= */

aside.sidebar,
.sidebar,
#sidebar {
  display: none !important;
}

.content-wrapper-in {
  display: block !important;
}

.content-wrapper-in > .content,
.content-wrapper-in > #content,
.content-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  float: none !important;
  flex: 0 0 100% !important;
}

/* Horní systémový titul ve Waltzu nechceme nikde. */
.navigation-wrapper > h1.header-title {
  display: none !important;
}

/* =========================================================
   2. KONTAKTY
   ========================================================= */

body.in-kontakty .contact-form,
body.in-kontakty form.contact-form,
body.in-kontakty .discussion,
body.in-kontakty #discussion,
body.in-kontakty .rate-wrapper {
  display: none !important;
}

.cb-contact {
  --cb-orange: #d85c20;
  --cb-brown: #2d1b14;
  --cb-cream-local: #f7f1eb;
  --cb-border-local: #e5d9cf;
  --cb-muted-local: #75675f;
  width: 100%;
  margin: 0;
  padding: 5px 0 60px;
  color: var(--cb-brown);
  box-sizing: border-box;
}

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

.cb-contact__intro {
  max-width: 720px;
  margin: 0 0 34px;
}

.cb-contact__intro p {
  margin: 0;
  color: var(--cb-muted-local);
  font-size: 17px;
  line-height: 1.7;
}

.cb-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cb-contact__card {
  padding: 30px;
  border: 1px solid var(--cb-border-local);
  background: #fff;
}

.cb-contact__card:nth-child(1),
.cb-contact__card:nth-child(4) {
  background: var(--cb-cream-local);
}

.cb-contact__card h2 {
  position: relative;
  margin: 0 0 24px;
  padding: 0 0 12px;
  color: var(--cb-brown) !important;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  text-align: left;
}

.cb-contact__card h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 2px;
  background: var(--cb-orange);
}

.cb-contact__card p {
  margin: 0;
  color: var(--cb-muted-local);
  line-height: 1.7;
}

.cb-contact__row {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cb-border-local);
}

.cb-contact__row:last-child {
  border-bottom: 0;
}

.cb-contact__row span {
  color: var(--cb-muted-local);
}

.cb-contact__row strong,
.cb-contact__row a {
  color: var(--cb-brown);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.cb-contact__row a:hover {
  color: var(--cb-orange);
  text-decoration: underline;
}

.cb-contact__notice {
  margin: 20px 0 0;
  padding: 15px 18px;
  border-left: 3px solid var(--cb-orange);
  background: var(--cb-cream-local);
  color: var(--cb-muted-local);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .cb-contact {
    padding-bottom: 40px;
  }
  .cb-contact__intro {
    margin-bottom: 25px;
  }
  .cb-contact__intro p {
    font-size: 16px;
  }
  .cb-contact__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .cb-contact__card {
    padding: 24px 20px;
  }
  .cb-contact__row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* =========================================================
   3. KONKURENČNÍ VÝHODY – OBNOVENÝ PŮVODNÍ VZHLED
   ========================================================= */

.benefitBanner.position--benefitHomepage.container {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 1170px !important;
  margin: 32px auto 55px !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}

.benefitBanner.position--benefitHomepage.container::before,
.benefitBanner.position--benefitHomepage.container::after {
  content: none !important;
  display: none !important;
}

.benefitBanner.position--benefitHomepage.container > .benefitBanner__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 155px !important;
  margin: 0 !important;
  padding: 24px 15px !important;
  float: none !important;
  border: 1px solid #e7ddd5 !important;
  border-radius: 4px !important;
  background: #f7f1eb !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.benefitBanner.position--benefitHomepage.container > .benefitBanner__item > .benefitBanner__picture {
  display: flex !important;
  flex: 0 0 64px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  margin: 0 auto 16px !important;
  padding: 8px !important;
  border-radius: 50% !important;
  background: #f7f1eb !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.benefitBanner.position--benefitHomepage.container > .benefitBanner__item > .benefitBanner__picture > .benefitBanner__img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
}

.benefitBanner.position--benefitHomepage .benefitBanner__content {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.benefitBanner.position--benefitHomepage .benefitBanner__title {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #2d1b14 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

@media (hover: hover) {
  .benefitBanner.position--benefitHomepage.container > .benefitBanner__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(45,27,20,.08);
  }
}

@media (max-width: 991px) {
  .benefitBanner.position--benefitHomepage.container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-top: 26px !important;
    margin-bottom: 44px !important;
  }
}

@media (max-width: 600px) {
  .benefitBanner.position--benefitHomepage.container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 20px !important;
    margin-bottom: 34px !important;
    padding: 0 10px !important;
  }
  .benefitBanner.position--benefitHomepage.container > .benefitBanner__item {
    min-height: 128px !important;
    padding: 17px 8px !important;
  }
  .benefitBanner.position--benefitHomepage.container > .benefitBanner__item > .benefitBanner__picture {
    flex-basis: 52px !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    margin-bottom: 11px !important;
    padding: 7px !important;
  }
  .benefitBanner.position--benefitHomepage .benefitBanner__title {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
}

/* =========================================================
   4. KAVÁRNA
   ========================================================= */

.cb-cafe-page {
  --cb-cafe-accent: #a6422a;
  --cb-cafe-accent-hover: #923722;
  --cb-cafe-dark: #241b17;
  --cb-cafe-text: #2d2521;
  --cb-cafe-muted: #766b65;
  --cb-cafe-cream: #f6f0ea;
  --cb-cafe-border: #e5dad2;
  width: 100%;
  margin: 0 0 70px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  color: var(--cb-cafe-text);
  font-size: 16px;
  line-height: 1.7;
}

.cb-cafe-page *,
.cb-cafe-page *::before,
.cb-cafe-page *::after {
  box-sizing: border-box;
}

.cb-cafe-page img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.cb-cafe-page h1,
.cb-cafe-page h2,
.cb-cafe-page h3,
.cb-cafe-page p {
  margin-top: 0;
}

.cb-cafe-page h1 {
  margin-bottom: 18px;
  color: var(--cb-cafe-dark) !important;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
}

.cb-cafe-page h2 {
  margin-bottom: 20px;
  color: var(--cb-cafe-dark) !important;
  font-size: clamp(29px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.022em;
}

.cb-cafe-page h3 {
  color: var(--cb-cafe-dark) !important;
}

.cb-cafe-label {
  display: block;
  margin-bottom: 13px;
  color: var(--cb-cafe-accent) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cb-cafe-hero {
  position: relative;
  min-height: 595px;
  margin-bottom: 92px;
  padding: 0 48px 42px;
  overflow: visible;
  background: var(--cb-cafe-dark);
}

.cb-cafe-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 510px;
  object-fit: cover;
  object-position: center;
}

.cb-cafe-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  width: 100%;
  height: 510px;
  background: linear-gradient(180deg, rgba(25,17,14,.02) 38%, rgba(25,17,14,.42) 100%);
  pointer-events: none;
}

.cb-cafe-hero-overlay {
  position: absolute;
  z-index: 2;
  right: 48px;
  bottom: 0;
  left: 48px;
  width: min(650px, calc(100% - 96px));
  padding: 39px 44px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(40,29,24,.16);
}

.cb-cafe-hero-overlay > span {
  display: block;
  margin-bottom: 12px;
  color: var(--cb-cafe-accent) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cb-cafe-hero-overlay p {
  max-width: 530px;
  margin-bottom: 25px;
  color: var(--cb-cafe-muted) !important;
  font-size: 17px;
  line-height: 1.65;
}

.cb-cafe-btn {
  display: inline-flex;
  width: auto;
  min-width: 165px;
  min-height: 50px;
  padding: 12px 25px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cb-cafe-accent);
  border-radius: 0;
  background: var(--cb-cafe-accent);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}

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

.cb-cafe-btn-outline {
  background: transparent;
  color: var(--cb-cafe-accent) !important;
}

.cb-cafe-about {
  display: grid;
  padding: 0 42px 82px;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 64px;
  align-items: center;
}

.cb-cafe-about-text {
  max-width: 500px;
}

.cb-cafe-about-text p {
  margin-bottom: 14px;
  color: var(--cb-cafe-muted) !important;
  font-size: 17px;
  line-height: 1.72;
}

.cb-cafe-about-image {
  height: 440px;
  overflow: hidden;
  background: var(--cb-cafe-cream);
}

.cb-cafe-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cb-cafe-gallery {
  display: grid;
  padding: 0 42px 82px;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.cb-cafe-gallery img,
.cb-cafe-gallery img:first-child {
  width: 100%;
  height: 300px !important;
  object-fit: cover;
}

.cb-cafe-visit {
  display: grid;
  margin: 0 42px;
  padding: 56px;
  grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr);
  gap: 58px;
  align-items: center;
  background: var(--cb-cafe-cream);
}

.cb-cafe-visit-text p {
  max-width: 520px;
  margin-bottom: 20px;
  color: var(--cb-cafe-muted) !important;
  font-size: 17px;
}

.cb-cafe-visit address {
  margin: 23px 0 28px;
  color: var(--cb-cafe-dark);
  font-style: normal;
  font-size: 17px;
  line-height: 1.7;
}

.cb-cafe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.cb-cafe-hours {
  padding: 30px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(43,31,26,.09);
}

.cb-cafe-hours h3 {
  margin: 0 0 18px;
  font-size: 23px;
}

.cb-cafe-hours > div {
  display: flex;
  padding: 14px 0;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--cb-cafe-border);
}

.cb-cafe-hours > div:last-child {
  border-bottom: 0;
}

.cb-cafe-hours span {
  color: var(--cb-cafe-muted);
}

.cb-cafe-hours strong {
  color: var(--cb-cafe-dark);
  white-space: nowrap;
}

@media (max-width: 991px) {
  .cb-cafe-hero {
    min-height: 560px;
    margin-bottom: 75px;
    padding-right: 32px;
    padding-bottom: 34px;
    padding-left: 32px;
  }
  .cb-cafe-hero > img,
  .cb-cafe-hero::before {
    height: 475px;
  }
  .cb-cafe-hero-overlay {
    right: 32px;
    left: 32px;
    width: min(620px, calc(100% - 64px));
    padding: 34px 36px;
  }
  .cb-cafe-about {
    padding: 0 32px 68px;
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .cb-cafe-about-image {
    height: 410px;
  }
  .cb-cafe-gallery {
    padding: 0 32px 68px;
  }
  .cb-cafe-visit {
    margin: 0 32px;
    padding: 44px;
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 650px) {
  .cb-cafe-page h1 { font-size: 34px; }
  .cb-cafe-page h2 { font-size: 29px; }
  .cb-cafe-hero {
    min-height: 0;
    margin-bottom: 58px;
    padding: 0;
    background: #fff;
  }
  .cb-cafe-hero > img {
    position: relative;
    inset: auto;
    height: 300px;
  }
  .cb-cafe-hero::before { display: none; }
  .cb-cafe-hero-overlay {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 24px);
    margin: -36px auto 0;
    padding: 27px 22px;
  }
  .cb-cafe-about {
    padding: 0 12px 56px;
    gap: 28px;
  }
  .cb-cafe-about-image { height: 300px; }
  .cb-cafe-gallery {
    padding: 0 12px 56px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cb-cafe-gallery img,
  .cb-cafe-gallery img:first-child {
    height: 240px !important;
  }
  .cb-cafe-visit {
    margin: 0 12px;
    padding: 31px 21px;
    gap: 29px;
  }
  .cb-cafe-actions { flex-direction: column; }
  .cb-cafe-btn { width: 100%; }
}

/* =========================================================
   5. KATEGORIE KÁVA – ČITELNOST A ŘAZENÍ
   ========================================================= */

body.type-category .category-title,
body.type-category .content-inner > h1 {
  color: var(--cb-dark) !important;
}

body.type-category .products-block .name,
body.type-category .products-block .name a,
body.type-category .product .name,
body.type-category .product .name a {
  color: var(--cb-dark) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.type-category .products-block .price,
body.type-category .product .price,
body.type-category .price-final,
body.type-category .price-final-holder {
  color: var(--cb-dark) !important;
  font-weight: 700 !important;
}

body.type-category .category-header,
body.type-category .category-header input,
body.type-category .category-header select,
body.type-category .category-header label,
body.type-category .category-header a,
body.type-category .category-header span,
body.type-category .category-header strong,
body.type-category .ordering-process,
body.type-category .ordering-process a,
body.type-category .ordering-process span,
body.type-category .ordering-process label,
body.type-category .ordering-process strong,
body.type-category .ordering-process li {
  color: var(--cb-dark) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.type-category .ordering-process,
body.type-category .category-header {
  background: #f7f1eb !important;
  border-color: #e5dad2 !important;
}

body.type-category .ordering-process a:hover,
body.type-category .category-header a:hover,
body.type-category .ordering-process .active,
body.type-category .category-header .active {
  color: var(--cb-accent) !important;
}

body.type-category .btn-filter,
body.type-category .filter-section-button,
body.type-category button[data-testid*="filter"] {
  border-color: var(--cb-accent) !important;
  background: var(--cb-accent) !important;
  color: #fff !important;
}

/* =========================================================
   6. PRODUKTOVÝ DETAIL
   ========================================================= */

body.type-product .link-icons .link-icon.print,
body.type-product .link-icons .link-icon.chat {
  display: none !important;
}

/* =========================================================
   7. BLOK KAVÁRNY NA HOMEPAGE
   ========================================================= */

.cb-home-cafe {
  max-width: 1240px;
  margin: 90px auto;
  padding: 0 30px;
}

.cb-home-cafe-link {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
  background: #f6f1ed;
  color: #28211e !important;
  text-decoration: none !important;
}

.cb-home-cafe-image {
  min-height: 460px;
  overflow: hidden;
}

.cb-home-cafe-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cb-home-cafe-content {
  display: flex;
  padding: 60px;
  flex-direction: column;
  justify-content: center;
}

.cb-home-cafe-content > span {
  margin-bottom: 14px;
  color: var(--cb-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cb-home-cafe-content h2 {
  margin: 0 0 22px;
  color: #28211e !important;
  font-size: clamp(30px,4vw,46px);
  line-height: 1.12;
}

.cb-home-cafe-content p {
  margin: 0 0 28px;
  color: #746a64;
  font-size: 17px;
  line-height: 1.7;
}

.cb-home-cafe-content strong {
  color: var(--cb-accent);
  font-size: 16px;
}

@media (max-width: 800px) {
  .cb-home-cafe-link { grid-template-columns: 1fr; }
  .cb-home-cafe-image { min-height: 340px; }
  .cb-home-cafe-content { padding: 45px 30px; }
}

@media (max-width: 600px) {
  .cb-home-cafe {
    margin: 65px auto;
    padding: 0 18px;
  }
  .cb-home-cafe-image { min-height: 280px; }
  .cb-home-cafe-content { padding: 35px 24px; }
  .cb-home-cafe-content p { font-size: 16px; }
}

/* =========================================================
   8. PATIČKA – SJEDNOCENÉ ŘÁDKOVÁNÍ, MALÝ SHOPTET CREDIT
   ========================================================= */

#footer {
  color: #746a64;
}

#footer .custom-footer,
#footer .footer-row,
#footer .footer-rows {
  align-items: flex-start !important;
}

#footer h4,
#footer h5,
#footer .custom-footer__title,
#footer .footer-title,
#footer .title {
  margin: 0 0 18px !important;
  color: #6f655f !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

#footer ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#footer li,
#footer p,
#footer address {
  margin: 0 0 10px !important;
  color: #787878 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

#footer a,
#footer span,
#footer strong {
  color: #787878 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

#footer a:hover {
  color: var(--cb-accent) !important;
}

#footer .contact-box li,
#footer .contact-box a,
#footer .contact-box span {
  line-height: 1.65 !important;
}

#footer svg,
#footer i,
#footer .icon {
  max-width: 19px !important;
  max-height: 19px !important;
}

/* Spodní řádek a značka Shoptet – zpět malé a nenápadné. */
#footer .footer-bottom,
#footer .copyright,
#footer .footer-bottom a,
#footer .footer-bottom span,
#footer .copyright a,
#footer .copyright span,
#footer a[href*="shoptet.cz"],
#footer a[href*="shoptet.cz"] span,
#footer .shoptet,
#footer .shoptet a {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

#footer a[href*="shoptet.cz"] img,
#footer .shoptet img,
#footer .footer-bottom img {
  width: auto !important;
  max-width: 90px !important;
  max-height: 22px !important;
}

@media (max-width: 767px) {
  #footer h4,
  #footer h5,
  #footer .custom-footer__title,
  #footer .footer-title,
  #footer .title {
    margin-bottom: 12px !important;
    font-size: 15px !important;
  }
  #footer li,
  #footer p,
  #footer address,
  #footer a,
  #footer span,
  #footer strong {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}

/* =========================================================
   9. BĚŽNÉ OBSAHOVÉ STRÁNKY
   ========================================================= */

body.type-page .content-inner,
body.type-post .content-inner {
  color: var(--cb-text);
}

body.type-page .content-inner p,
body.type-page .content-inner li,
body.type-post .content-inner p,
body.type-post .content-inner li {
  color: var(--cb-text);
  font-size: 16px;
  line-height: 1.75;
}

body.type-page .content-inner h2,
body.type-page .content-inner h3,
body.type-post .content-inner h2,
body.type-post .content-inner h3 {
  color: var(--cb-dark);
}

/* ==========================================================
   FOOTER - zarovnání sloupců
   ========================================================== */

#footer .contact-box li,
#footer .footer-links li,
#footer .custom-footer li {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin: 0 !important;
}

#footer .contact-box i,
#footer .contact-box svg,
#footer .contact-box .icon {
    width: 22px !important;
    height: 22px !important;
    font-size: 22px !important;
    flex: 0 0 22px;
    margin-right: 14px !important;
}

#footer .contact-box a,
#footer .contact-box span,
#footer .footer-links a,
#footer .custom-footer a {
    font-size: 15px;
    line-height: 1.3;
}
