/* ============================================================
   CUKRÁRNA MLSÁRNIČKA – Hlavní stylesheet
   Mobile-first, 8px grid spacing system
   ============================================================ */

/* ------------------------------------------------------------
   FONTY – self-hosted (Dancing Script, Montserrat)
   Staženo z Google Fonts, servírováno z vlastní domény,
   aby web nekontaktoval Google servery bez souhlasu.
   ------------------------------------------------------------ */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/dancing-script-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/dancing-script-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/dancing-script-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/dancing-script-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/montserrat-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/montserrat-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  --pink: #e4bbc3;
  --cream: #f3eee8;
  --btn-red: #cf7b7b;
  --btn-brown: #a87f57;
  --text: #333333;
  --text-muted: #666666;
  --white: #ffffff;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  /* 8px grid */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
}

/* ------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* ------------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------------ */
h1,
h2,
h3,
h4 {
  font-family: 'Dancing Script', cursive;
  line-height: 1.2;
  color: var(--text);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

p {
  line-height: 1.75;
}

/* ------------------------------------------------------------
   CONTAINER
   ------------------------------------------------------------ */
.container {
  width: 90%;
  max-width: 1360px;
  margin: 0 auto;
}

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  opacity: 0.93;
}

.btn--red {
  background: var(--btn-red);
  color: var(--white);
}

.btn--brown {
  background: var(--btn-brown);
  color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  border: 1.5px solid #a87f57;
  color: #a87f57;
  padding: 12px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
}

.btn--outline-dark:hover {
  background: #a87f57;
  color: var(--white);
}

/* ------------------------------------------------------------
   TOP BAR (secondary nav)
   ------------------------------------------------------------ */
.topbar {
  background: var(--pink);
  padding: 7px 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.3px;
}

.topbar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: nowrap;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.topbar__item i {
  font-size: 0.7rem;
  color: var(--btn-red);
}

.topbar__item a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.topbar__item a:hover {
  color: var(--btn-red);
}

.topbar__sep {
  color: rgba(51, 51, 51, 0.35);
  font-size: 0.65rem;
}

/* Full hours – desktop; short hours – hidden on desktop, shown on mobile */
.topbar__hours-full {
  display: inline;
}

.topbar__hours-short {
  display: none;
}

/* ------------------------------------------------------------
   SITE HEADER / PRIMARY NAV
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cream);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  box-shadow: 0 4px 28px rgba(228, 187, 195, 0.38);
}

.nav-wrap {
  position: relative;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--sp-2) 0;
  gap: var(--sp-3);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav__menu--left {
  justify-content: flex-end;
}

.nav__menu--right {
  justify-content: flex-start;
}

.nav__logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav__logo img {
  height: 60px;
  width: auto;
  transition: opacity 0.2s;
}

.nav__logo:hover img {
  opacity: 0.85;
}

.nav__link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 4px 2px;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--btn-red);
  transform: scaleX(0);
  transition: transform 0.22s ease;
  transform-origin: center;
}

.nav__link:hover {
  color: var(--btn-red);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  background: var(--btn-red);
  color: var(--white);
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(207, 123, 123, 0.45);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: var(--sp-1);
  background: none;
  border: none;
  z-index: 10;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.28s ease;
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav__mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
  background: var(--cream);
  border-top: 1px solid rgba(228, 187, 195, 0.3);
}

.nav__mobile-menu.is-open {
  display: flex;
}

.nav__mobile-link {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
}

.nav__mobile-link:hover {
  color: var(--btn-red);
}

/* ------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--pink);
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(228, 187, 195, 0.45) 0%,
      rgba(243, 238, 232, 0.18) 50%,
      rgba(228, 187, 195, 0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--sp-10) var(--sp-3) var(--sp-8);
  max-width: 720px;
}

.hero__seo-h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(51, 51, 51, 0.65);
  margin-bottom: var(--sp-2);
  display: block;
}

.hero__claim {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: var(--sp-3);
  text-shadow:
    0 2px 24px rgba(255, 255, 255, 0.6),
    0 1px 8px rgba(255, 255, 255, 0.4);
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------
   SECTION SHARED STYLES
   ------------------------------------------------------------ */
.section {
  padding: var(--sp-12) 0;
}

.section--cream {
  background: var(--cream);
}

.section--pink {
  background: var(--pink);
}

.section__header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.section__title {
  margin-bottom: var(--sp-2);
}

.section__perex {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 auto;
}

/* Decorative line under section headings */
.section__title-deco {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--btn-red);
  margin: var(--sp-2) auto 0;
  border-radius: 2px;
}

/* ------------------------------------------------------------
   NABÍDKA SECTION
   ------------------------------------------------------------ */
.nabidka-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.nabidka-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.nabidka-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.nabidka-card__img-wrap {
  margin: 12px 12px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.nabidka-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.nabidka-card:hover .nabidka-card__img {
  transform: scale(1.05);
}

.nabidka-card__body {
  padding: var(--sp-2) var(--sp-2) var(--sp-2);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nabidka-card__name {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--text);
}

.nabidka-card__desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.nabidka__cta-wrap {
  text-align: center;
}

/* ------------------------------------------------------------
   OBJEDNÁVKY SECTION
   ------------------------------------------------------------ */
.objednavky__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: start;
}

.objednavky__left .section__header {
  text-align: left;
  margin-bottom: 0;
}

.objednavky__left .section__title-deco {
  margin-left: 0;
}

@media (min-width: 769px) {
  .objednavky__left .section__header {
    padding-top: var(--sp-4);
  }
}

.objednavky__left {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-top: var(--sp-1);
}

.objednavky__perex {
  font-size: 1.025rem;
  line-height: 1.8;
  color: var(--text);
}

.objednavky__right {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: background 0.2s ease;
}

.step:hover {
  background: rgba(255, 255, 255, 0.75);
}

.step__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(207, 123, 123, 0.25));
}

.step__title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.step__desc {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.65;
}

/* ------------------------------------------------------------
   O CUKRÁRNĚ SECTION
   ------------------------------------------------------------ */
.o-cukrarne__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.o-cukrarne__photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.o-cukrarne__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.o-cukrarne__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.o-cukrarne__p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-1);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.trust-item__icon {
  width: 18px;
  height: 18px;
  background: var(--pink);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.trust-item__icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* ------------------------------------------------------------
   POSEZENÍ & VÝLETY SECTION
   ------------------------------------------------------------ */
.posezeni__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
  margin-bottom: var(--sp-6);
}

.posezeni__body-left,
.posezeni__body-right {
  min-width: 0;
}

.posezeni__body-left p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: var(--sp-3);
  overflow-wrap: break-word;
}

.posezeni__body-left p:last-child {
  margin-bottom: 0;
}

.posezeni__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.posezeni__photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.posezeni__photo-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.posezeni__photo-card:hover img {
  transform: scale(1.04);
}

.posezeni__caption {
  background: rgba(255, 255, 255, 0.65);
  padding: 10px var(--sp-2);
  font-size: 0.8rem;
  font-style: italic;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

.posezeni__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3) var(--sp-4);
  min-width: 0;
}

.posezeni__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.posezeni__card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.posezeni__card-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
}

.posezeni__card-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.posezeni__card-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  padding-left: calc(22px + 10px);
}

/* ------------------------------------------------------------
   FOTOGALERIE CAROUSEL
   ------------------------------------------------------------ */
.carousel {
  position: relative;
  padding: 0 var(--sp-4);
}

.carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel__track {
  display: flex;
  gap: var(--sp-3);
  transition: transform 0.52s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel__slide {
  flex-shrink: 0;
  /* Width is set dynamically by JS – see main carousel script */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.carousel__slide img {
  width: 100%;
  height: 656px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.carousel__slide:hover img {
  transform: scale(1.03);
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.88);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  z-index: 10;
  color: #cf7b7b;
  font-size: 0.9rem;
}

.carousel__btn:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-50%) scale(1.08);
}

.carousel__btn:disabled {
  opacity: 0.3;
  cursor: default;
  transform: translateY(-50%);
}

.carousel__btn--prev {
  left: -4px;
}

.carousel__btn--next {
  right: -4px;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.site-footer {
  background: var(--pink);
  padding: var(--sp-10) 0 var(--sp-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  align-items: start;
}

.footer__logo {
  height: 52px;
  width: auto;
  margin-bottom: var(--sp-2);
}

.footer__brand {
  font-family: 'Dancing Script', cursive;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-1);
}

.footer__tagline {
  font-size: 0.825rem;
  color: #555;
  line-height: 1.7;
}

.footer__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.footer__hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #444;
  border-bottom: 1px dashed rgba(51, 51, 51, 0.12);
  padding-bottom: 5px;
}

.footer__hours li:last-child {
  border-bottom: none;
}

.footer__hours .day {
  font-weight: 600;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.5;
}

.footer__contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  object-fit: contain;
}

.footer__contact-item a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__contact-item a:hover {
  color: var(--btn-red);
  text-decoration: underline;
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #444;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__social-link i {
  width: 20px;
  text-align: center;
  color: var(--btn-red);
  font-size: 1rem;
  transition: transform 0.2s;
}

.footer__social-link:hover {
  color: var(--btn-red);
}

.footer__social-link:hover i {
  transform: scale(1.15);
}

/* ------------------------------------------------------------
   COPYRIGHT
   ------------------------------------------------------------ */
.copyright {
  background: var(--cream);
  padding: 14px 0;
  text-align: center;
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.4px;
}

.copyright a {
  color: #666;
  text-decoration: underline;
  transition: color 0.2s;
}

.copyright a:hover {
  color: var(--btn-red);
}

/* ------------------------------------------------------------
   COOKIE CONSENT – floating button + panel
   ------------------------------------------------------------ */
.cookie-consent {
  position: fixed;
  right: var(--sp-3);
  bottom: var(--sp-3);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-2);
  pointer-events: none; /* neviditelný kontejner nesmí blokovat kliky v patičce */
}

.cookie-fab {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--btn-brown);
  color: var(--white);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  flex-shrink: 0;
}

.cookie-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.cookie-panel {
  width: min(360px, calc(100vw - 32px));
  background: var(--cream);
  border: 1.5px solid var(--pink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-3);
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-panel[hidden] {
  display: block;
}

.cookie-panel.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cookie-panel__text {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: var(--sp-2);
}

.cookie-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-bottom: var(--sp-1);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.78rem;
}

.cookie-panel__settings-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--btn-brown);
  padding: 4px 2px;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.cookie-panel__settings-link:hover {
  color: var(--btn-red);
}

.cookie-panel__title {
  font-family: 'Dancing Script', cursive;
  font-weight: bold;
  line-height: 1.2;
  font-size: 1.3rem;
  margin-bottom: var(--sp-2);
  color: var(--text);
}

.cookie-category {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(51, 51, 51, 0.12);
}

.cookie-category:last-of-type {
  border-bottom: none;
}

.cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.cookie-category__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.cookie-category__badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--btn-brown);
  background: rgba(168, 127, 87, 0.12);
  padding: 3px 8px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cookie-category__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ------------------------------------------------------------
   RESPONSIVE – TABLET (≤ 1024px)
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .nabidka-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6) var(--sp-4);
  }

  .o-cukrarne__inner {
    gap: var(--sp-6);
  }

  .objednavky__inner {
    gap: var(--sp-6);
  }
}

/* ------------------------------------------------------------
   RESPONSIVE – MOBILE (≤ 768px)
   ------------------------------------------------------------ */
@media (max-width: 768px) {

  /* Topbar: show only phone + compact hours, hide email */
  .topbar__inner {
    gap: var(--sp-2);
    font-size: 0.75rem;
  }

  .topbar__hours-full {
    display: none;
  }

  .topbar__hours-short {
    display: inline;
  }

  .topbar__item.topbar__email,
  .topbar__sep.topbar__email-sep {
    display: none;
  }

  /* Nav: hide menus, show hamburger */
  .nav__menu--left,
  .nav__menu--right {
    display: none;
  }

  .nav {
    grid-template-columns: auto 1fr auto;
    padding: var(--sp-2) 0;
  }

  .nav__logo {
    order: 2;
    justify-content: center;
  }

  .nav__hamburger {
    display: flex;
    order: 3;
  }

  /* Hero */
  .hero {
    min-height: 75vh;
  }

  .hero__content {
    padding: var(--sp-6) var(--sp-2) var(--sp-6);
  }

  /* Nabídka: single column on small screens, 2 on medium mobile */
  .nabidka-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2);
  }

  /* Two-col sections → single column */
  .objednavky__inner,
  .o-cukrarne__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .posezeni__body {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  /* Photos: single column */
  .posezeni__photos {
    grid-template-columns: 1fr;
  }

  .posezeni__points {
    grid-template-columns: 1fr 1fr;
  }

  .carousel {
    padding: 0;
  }

  .carousel__btn--prev {
    left: var(--sp-2);
  }

  .carousel__btn--next {
    right: var(--sp-2);
  }

  .carousel__slide img {
    height: 480px;
  }

  /* Trust grid: single col */
  .trust-grid {
    grid-template-columns: 1fr;
  }

  /* Section padding */
  .section {
    padding: var(--sp-8) 0;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
}

/* ------------------------------------------------------------
   RESPONSIVE – SMALL MOBILE (≤ 480px)
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  .nabidka-grid {
    grid-template-columns: 1fr;
  }

  .posezeni__points {
    grid-template-columns: 1fr;
  }

  .posezeni__card-desc {
    padding-left: 0;
  }

  .hero__claim {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .cookie-consent {
    right: var(--sp-2);
    bottom: var(--sp-2);
  }

  .cookie-fab {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
}

/* ------------------------------------------------------------
   4K / LARGE SCREENS (≥ 1920px)
   ------------------------------------------------------------ */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }

  .hero {
    min-height: 80vh;
  }
}

/* ============================================================
   KONTAKTNÍ STRÁNKA
   ============================================================ */

/* Kompaktní page-hero (ne full-screen) */
.page-hero {
  background: var(--pink);
  padding: var(--sp-10) 0 var(--sp-12);
  text-align: center;
}

.page-hero__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.page-hero__intro {
  font-size: 1rem;
  color: var(--text);
  max-width: 55ch;
  margin: 0 auto;
  line-height: 1.8;
}

/* Info sekce – 3 sloupce */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.contact-block__heading {
  font-family: 'Dancing Script', cursive;
  font-size: 1.65rem;
  color: var(--text);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-1);
  border-bottom: 2px solid rgba(207,123,123,0.25);
}

/* Kontaktní detaily */
.contact-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

.contact-detail-item i {
  width: 16px;
  text-align: center;
  color: var(--btn-red);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.contact-detail-item a {
  color: var(--text);
  transition: color 0.2s;
}

.contact-detail-item a:hover {
  color: var(--btn-red);
  text-decoration: underline;
}

/* Otevírací doba tabulka */
.opening-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.opening-hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px dashed rgba(51,51,51,0.12);
  padding-bottom: 7px;
}

.opening-hours-list li:last-child {
  border-bottom: none;
}

.opening-hours-list .day {
  font-weight: 700;
}

.opening-hours-list .closed {
  color: var(--btn-red);
  font-weight: 500;
}

.opening-hours-notice {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: var(--sp-3);
  padding-top: var(--sp-2);
  border-top: 1px dashed rgba(51,51,51,0.12);
}

.opening-hours-notice li {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}

.contact-block__note {
  font-size: 0.825rem;
  color: #777;
  margin-top: var(--sp-2);
  font-style: italic;
  line-height: 1.6;
}

/* Mapa sekce */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.map-embed iframe {
  width: 100%;
  height: 440px;
  border: none;
  display: block;
}

/* Sociální sítě (kontaktní stránka) */
.social-icons-list {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 50px;
  border: 1.5px solid rgba(207,123,123,0.4);
  background: rgba(255,255,255,0.45);
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}

.social-icon-link i {
  font-size: 1rem;
  color: var(--btn-red);
  transition: color 0.22s;
}

.social-icon-link:hover {
  background: var(--btn-red);
  color: var(--white);
  border-color: var(--btn-red);
}

.social-icon-link:hover i {
  color: var(--white);
}

/* Fakturační údaje */
.billing-card {
  background: rgba(255,255,255,0.55);
  border-radius: var(--radius);
  padding: var(--sp-4);
  border: 1px solid rgba(228,187,195,0.5);
}

.billing-card__title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.billing-table {
  width: 100%;
  border-collapse: collapse;
}

.billing-table tr {
  border-bottom: 1px dashed rgba(51,51,51,0.1);
}

.billing-table tr:last-child {
  border-bottom: none;
}

.billing-table td {
  padding: 7px 0;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}

.billing-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
  padding-right: var(--sp-3);
  color: #555;
  width: 40%;
}

/* Kontaktní formulář */
.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.form-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.65rem;
  color: var(--text);
  margin-bottom: var(--sp-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--sp-2);
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.form-label .req {
  color: var(--btn-red);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(228,187,195,0.7);
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--btn-red);
  box-shadow: 0 0 0 3px rgba(207,123,123,0.14);
}

.form-control::placeholder {
  color: #bbb;
  font-size: 0.85rem;
}

textarea.form-control {
  min-height: 152px;
  resize: vertical;
  line-height: 1.65;
}

/* Honeypot – musí být neviditelný pro lidi, ale viditelný pro boty */
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.form-success {
  display: none;
  background: rgba(168,127,87,0.1);
  border: 1.5px solid var(--btn-brown);
  border-radius: var(--radius-sm);
  padding: var(--sp-3);
  color: var(--btn-brown);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--sp-3);
}

.form-success.is-visible {
  display: block;
}

/* ============================================================
   404 STRÁNKA
   ============================================================ */
.error-page {
  background: var(--cream);
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-12) var(--sp-3);
}

.error-page__inner {
  max-width: 480px;
}

.error-page__icon {
  font-size: 5.5rem;
  color: var(--btn-red);
  margin-bottom: var(--sp-4);
  opacity: 0.55;
  line-height: 1;
}

.error-page__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.error-page__text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}

/* ============================================================
   RESPONZIVITA – KONTAKTNÍ STRÁNKA
   ============================================================ */
@media (max-width: 1024px) {
  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
  }

  .contact-form-wrap {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .map-embed iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .social-icons-list {
    flex-direction: column;
    align-items: flex-start;
  }
}