/* =================================================================
   ŠPAJZKA VRAKUŇA — doplnkové štýly nad šablónu Earls
   (chatbot + drobné úpravy). Farby šablóny: #0F1D22 / #C9AB81 / #715B3E
   ================================================================= */

/* Tlačidlo "hore" → ľavý dolný roh */
.scroll-top { left: 24px !important; bottom: 24px !important; top: auto !important; right: auto !important; }
@media (max-width: 768px) { .scroll-top { left: 14px !important; bottom: 14px !important; } }

/* ---------- Chatbot ---------- */
.chatbot {
  position: fixed; right: 26px; bottom: 26px; z-index: 9999;
  font-family: 'Josefin Sans', sans-serif;
}

.chatbot__launcher {
  width: 64px; height: 64px; border-radius: 50%;
  border: none; cursor: pointer;
  background: #C9AB81; color: #0F1D22;
  display: grid; place-items: center;
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.7);
  position: relative;
  transition: all 500ms ease;
}
.chatbot__launcher:hover { transform: translateY(-3px) scale(1.05); background: #ddc6a3; }
.chatbot__ico { width: 30px; height: 30px; position: absolute; transition: all 0.35s ease; }
.chatbot__ico--close { width: 24px; height: 24px; opacity: 0; transform: rotate(-90deg) scale(0.5); }
.chatbot.is-open .chatbot__ico--chat { opacity: 0; transform: rotate(90deg) scale(0.5); }
.chatbot.is-open .chatbot__ico--close { opacity: 1; transform: none; }

.chatbot__badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 21px; height: 21px; padding: 0 5px;
  background: #8aa86a; color: #fff;
  border: 2px solid #0F1D22; border-radius: 50%;
  font-family: 'Oswald', sans-serif; font-size: 0.7rem; font-weight: 600;
  display: grid; place-items: center;
}

.chatbot__teaser {
  position: absolute; bottom: 50%; right: calc(100% + 14px);
  transform: translateY(50%);
  width: 234px;
  background: #f6f3ec; color: #0F1D22;
  font-size: 0.92rem; line-height: 1.5; font-weight: 600;
  padding: 0.85rem 1rem; border-radius: 8px 8px 0 8px;
  box-shadow: 0 20px 50px -16px rgba(0,0,0,0.7);
  cursor: pointer;
}
.chatbot__teaser-x {
  position: absolute; top: 2px; right: 7px;
  background: none; border: none; cursor: pointer;
  font-size: 1.15rem; line-height: 1; color: #715B3E;
}

.chatbot__panel {
  position: absolute; bottom: calc(100% + 14px); right: 0;
  width: 378px; max-width: calc(100vw - 2rem);
  height: min(548px, calc(100vh - 9rem));
  display: flex; flex-direction: column;
  background: #13242a;
  border: 1px solid rgba(201,171,129,0.3);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.9);
  animation: cbIn 0.32s cubic-bezier(0.3,0.7,0.3,1);
}
@keyframes cbIn { from { opacity: 0; transform: translateY(20px) scale(0.94); } to { opacity: 1; transform: none; } }

.chatbot__header {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.95rem 1.1rem;
  background: #0c171b; border-bottom: 1px solid rgba(201,171,129,0.22);
}
.chatbot__avatar {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: #C9AB81; color: #0F1D22;
  display: grid; place-items: center;
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.25rem;
}
.chatbot__head-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.chatbot__head-text strong {
  font-family: 'Oswald', sans-serif; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: #f6f3ec; font-size: 0.95rem;
}
.chatbot__status { font-size: 0.78rem; color: #9a9b96; display: flex; align-items: center; gap: 0.4rem; }
.chatbot__close {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: none; cursor: pointer;
  display: grid; place-items: center; color: #9a9b96;
  transition: all 500ms ease;
}
.chatbot__close:hover { background: rgba(255,255,255,0.06); color: #f6f3ec; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--live { background: #8aa86a; box-shadow: 0 0 0 0 rgba(138,168,106,0.6); animation: cbPulse 2.4s infinite; }
@keyframes cbPulse {
  0% { box-shadow: 0 0 0 0 rgba(138,168,106,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(138,168,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(138,168,106,0); }
}

.chatbot__body {
  flex: 1; overflow-y: auto;
  padding: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem;
}
.chatbot__body::-webkit-scrollbar { width: 6px; }
.chatbot__body::-webkit-scrollbar-thumb { background: rgba(201,171,129,0.3); border-radius: 3px; }

.cb-msg { display: flex; max-width: 88%; animation: cbMsg 0.3s ease; }
@keyframes cbMsg { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cb-msg--bot { align-self: flex-start; }
.cb-msg--user { align-self: flex-end; }
.cb-bubble {
  padding: 0.7rem 0.95rem; font-size: 0.95rem; line-height: 1.55;
  border-radius: 10px 10px 10px 2px;
}
.cb-msg--bot .cb-bubble { background: #1c333a; color: #d4d5d0; border: 1px solid rgba(201,171,129,0.14); }
.cb-msg--user .cb-bubble { background: #C9AB81; color: #0F1D22; font-weight: 600; border-radius: 10px 10px 2px 10px; }
.cb-bubble a { color: #ddc6a3; font-weight: 700; border-bottom: 1px solid rgba(201,171,129,0.4); }
.cb-cta {
  display: inline-block; margin-top: 0.5rem;
  background: #C9AB81; color: #0F1D22 !important;
  padding: 0.5rem 0.9rem; border-radius: 5px;
  border-bottom: none !important; font-weight: 700;
}
.cb-table { margin: 0.5rem 0; display: grid; gap: 0.05rem; }
.cb-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.24rem 0.45rem; border-radius: 3px; font-size: 0.9rem;
}
.cb-row--now { background: rgba(201,171,129,0.16); color: #ddc6a3; font-weight: 700; }

.cb-typing .cb-bubble { display: flex; gap: 4px; }
.cb-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9a9b96; animation: cbBlink 1.3s infinite both; }
.cb-typing span:nth-child(2) { animation-delay: 0.2s; }
.cb-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes cbBlink { 0%,80%,100% { opacity: 0.25; } 40% { opacity: 1; } }

.chatbot__quick { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1.1rem 0.6rem; }
.cb-chip {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  color: #ddc6a3; background: rgba(201,171,129,0.08);
  border: 1px solid rgba(201,171,129,0.3);
  padding: 0.4rem 0.78rem; border-radius: 100px;
  transition: all 500ms ease;
}
.cb-chip:hover { background: #C9AB81; color: #0F1D22; }

.chatbot__input {
  display: flex; gap: 0.5rem; align-items: center;
  padding: 0.75rem 0.85rem;
  border-top: 1px solid rgba(201,171,129,0.22); background: #0c171b;
}
.chatbot__input input {
  flex: 1; min-width: 0;
  font-family: inherit; font-size: 0.95rem;
  background: #0F1D22; color: #f6f3ec;
  border: 1px solid rgba(201,171,129,0.3); border-radius: 100px;
  padding: 0.7rem 1rem;
}
.chatbot__input input:focus { outline: none; border-color: #C9AB81; }
.chatbot__input button {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: none; cursor: pointer;
  background: #C9AB81; color: #0F1D22;
  display: grid; place-items: center;
  transition: all 500ms ease;
}
.chatbot__input button:hover { background: #ddc6a3; transform: scale(1.06); }

@media (max-width: 768px) {
  .chatbot { right: 16px; bottom: 16px; }
  .chatbot__launcher { width: 58px; height: 58px; }
  .chatbot.is-open .chatbot__launcher { opacity: 0; pointer-events: none; }
  .chatbot__panel {
    position: fixed; right: 12px; left: 12px; bottom: 12px;
    width: auto; max-width: none; height: min(78vh, 560px);
  }
  .chatbot__teaser { display: none; }
}
[hidden] { display: none !important; }

/* Všetky tlačidlá zaoblené */
.theme-btn-one, .theme-btn-two,
.theme-btn-one::before, .theme-btn-one::after,
.theme-btn-two::before, .theme-btn-two::after,
button[type="submit"], .order-submit, .order-add,
.menu-tab .tab-btn, .tab-btn-box .tab-btns li {
  border-radius: 8px !important;
}
.theme-btn-one, .theme-btn-two { overflow: hidden; }

/* Logo vľavo hore 2× väčšie */
.main-header .logo img {
  transform: scale(2);
  transform-origin: left center;
}
@media (max-width: 600px) {
  .main-header .logo img { transform: scale(1.6); }
}

/* ===== Neuromarketing — cenová stránka ===== */
/* Bod 2 — cena nie je najnápadnejší prvok, dôraz na názov a popis */
.name__price li:last-child {
  color: #b9bbb5 !important;
  font-weight: 400 !important;
}
.order-item__price {
  color: #b9bbb5 !important;
  font-size: 0.98rem !important;
  font-weight: 500 !important;
}
.order-item__name { font-size: 1.14rem !important; }
.order-item__desc { color: #b4b6b0 !important; }

/* Bod 4 — pokojná priebežná suma, dôraz ostáva na tlačidle "Pridať" */
.order-cart__sumrow { color: #c7c8c4 !important; }
.order-cart__sumrow span:last-child {
  font-size: 1.15rem !important;
  color: #f6f3ec !important;
}

/* Bod 1 — prvá (najdrahšia) položka kategórie = jemná cenová kotva */
.order-items .order-item:first-child {
  border-color: rgba(201, 171, 129, 0.34) !important;
}

/* Fotka jedla pri položke objednávky (dôraz na jedlo) */
.order-item__media {
  flex: none;
  width: 92px; height: 92px;
  border-radius: 10px; overflow: hidden;
}
.order-item__media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 600ms ease;
}
.order-item:hover .order-item__media img { transform: scale(1.07); }
.order-item__info { flex: 1; }
@media (max-width: 480px) {
  .order-item { gap: 12px !important; }
  .order-item__media { width: 66px; height: 66px; }
}

/* Slogan v pätičke */
.footer__copyright { text-align: center; }
.footer__slogan {
  font-family: 'Tangerine', cursive; font-weight: 700;
  font-size: 2.1rem; line-height: 1; color: #C9AB81;
  margin-bottom: 8px;
}

/* Hero — nápis ŠPAJZKA menší, nech sa vojde celý */
.banner__top__text {
  overflow: hidden !important;
  text-align: center !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}
.banner__top__text .ghost-word {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 171, 129, 0.28);
  font-size: clamp(2rem, 6.5vw, 5rem);
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

/* Hero — text pod sloganom: garantovaná čitateľnosť */
.banner-section .content-box {
  position: relative !important;
  z-index: 3 !important;
}
.banner-section .content-box::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -48px; right: -28px; top: -34px; bottom: -34px;
  background: radial-gradient(ellipse at 32% 50%, rgba(7,14,17,0.94) 0%, rgba(7,14,17,0.66) 52%, rgba(7,14,17,0) 86%);
  pointer-events: none;
}
.banner-section .content-box p {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.98), 0 0 22px rgba(0,0,0,0.95) !important;
}
.banner-section .content-box .sub____title span {
  color: #f0d9b3 !important;
  opacity: 1 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.95) !important;
}
.banner-section .content-box h1 {
  text-shadow: 0 3px 14px rgba(0,0,0,0.9) !important;
}

/* Chatbot — objednávanie z menu */
.cb-olist { margin: 8px 0 2px; display: flex; flex-direction: column; gap: 6px; }
.cb-orow {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: #1c333a; border: 1px solid rgba(201,171,129,0.14);
  border-radius: 8px; padding: 7px 10px;
}
.cb-orow__t { font-size: 0.88rem; color: #d4d5d0; line-height: 1.4; }
.cb-orow__t em { font-style: normal; color: #ddc6a3; font-size: 0.7rem; }
.cb-price { color: #ddc6a3; font-weight: 700; white-space: nowrap; }
.cb-add {
  flex: none; cursor: pointer;
  font-family: 'Oswald', sans-serif; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 0.68rem; font-weight: 500;
  background: #C9AB81; color: #0F1D22; border: none;
  border-radius: 5px; padding: 6px 10px; transition: background 400ms ease;
}
.cb-add:hover { background: #ddc6a3; }
.cb-add.is-added { background: #8aa86a; color: #fff; }

/* ---------- Zaoblené obrázky + tieň ---------- */
.boxed_wrapper figure:not(.logo) img,
.gallery-cell img {
  border-radius: 16px;
  box-shadow: 0 22px 48px -20px rgba(0,0,0,0.65);
}
.boxed_wrapper figure.logo img,
.nav-logo img,
.footer__title__icon img { border-radius: 0; box-shadow: none; }
.rotate-me { border-radius: 50% !important; box-shadow: none !important; }

/* ---------- Galéria ---------- */
.gallery-cell { position: relative; display: block; overflow: hidden; border-radius: 16px; }
.gallery-cell img { width: 100%; height: 320px; object-fit: cover; transition: transform 700ms ease; display: block; }
.gallery-cell:hover img { transform: scale(1.06); }
.gallery-cell__plus {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(15,29,34,0.55); color: #C9AB81; font-size: 2.6rem;
  opacity: 0; transition: opacity 400ms ease;
}
.gallery-cell:hover .gallery-cell__plus { opacity: 1; }
.review-stars { color: #C9AB81; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 12px; }

/* ---------- Objednávková stránka ---------- */
.order-cat { margin-bottom: 46px; }
.order-cat__head { margin-bottom: 22px; border-bottom: 1px solid rgba(201,171,129,0.25); padding-bottom: 12px; }
.order-cat__kicker { font-family: 'Tangerine', cursive; font-weight: 700; font-size: 2rem; color: #C9AB81; line-height: 1; display: block; }
.order-cat__title { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; color: #f6f3ec; font-size: 1.7rem; margin: 0; }
.order-item {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 18px; margin-bottom: 12px;
  background: #13242a; border: 1px solid rgba(201,171,129,0.12); border-radius: 14px;
  transition: border-color 400ms ease, transform 400ms ease;
}
.order-item:hover { border-color: rgba(201,171,129,0.35); transform: translateY(-3px); }
.order-item__name { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.03em; color: #f6f3ec; font-size: 1.08rem; margin: 0 0 4px; }
.order-item__tag { font-family: 'Oswald', sans-serif; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; background: rgba(201,171,129,0.16); color: #ddc6a3; border: 1px solid rgba(201,171,129,0.3); padding: 2px 7px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.order-item__desc { color: #9a9b96; font-size: 0.9rem; margin: 0; }
.order-item__buy { text-align: right; flex: none; }
.order-item__price { display: block; font-family: 'Oswald', sans-serif; font-weight: 600; color: #ddc6a3; font-size: 1.12rem; margin-bottom: 8px; white-space: nowrap; }
.order-add {
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.78rem; font-weight: 500; cursor: pointer;
  background: #C9AB81; color: #0F1D22; border: none; border-radius: 6px;
  padding: 9px 16px; transition: all 400ms ease; white-space: nowrap;
}
.order-add:hover { background: #ddc6a3; }
.order-add.is-added { background: #8aa86a; color: #fff; }
.order-add__plus { font-weight: 700; }

.order-cart {
  position: sticky; top: 110px;
  background: #0c171b; border: 1px solid rgba(201,171,129,0.28); border-radius: 16px;
  padding: 24px; box-shadow: 0 24px 50px -22px rgba(0,0,0,0.7);
}
.order-cart__title { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; color: #f6f3ec; font-size: 1.15rem; margin-bottom: 16px; }
.order-cart__empty { color: #9a9b96; text-align: center; padding: 22px 0; line-height: 1.7; }
.order-cart__items { display: flex; flex-direction: column; gap: 10px; }
.cart-row { background: #13242a; border: 1px solid rgba(201,171,129,0.12); border-radius: 10px; padding: 10px 12px; }
.cart-row__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cart-row__name { color: #f6f3ec; font-size: 0.94rem; font-weight: 600; }
.cart-row__del { background: none; border: none; color: #9a9b96; cursor: pointer; font-size: 1.2rem; line-height: 1; }
.cart-row__del:hover { color: #d98a7a; }
.cart-row__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-row__qty { display: flex; align-items: center; gap: 10px; }
.cart-row__qty button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid rgba(201,171,129,0.3); background: #0F1D22; color: #C9AB81; cursor: pointer; font-size: 1rem; line-height: 1; }
.cart-row__qty button:hover { background: #C9AB81; color: #0F1D22; }
.cart-row__price { color: #ddc6a3; font-family: 'Oswald', sans-serif; font-weight: 600; }
.order-cart__sumrow { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; padding-top: 16px; border-top: 1px solid rgba(201,171,129,0.2); font-family: 'Oswald', sans-serif; text-transform: uppercase; color: #f6f3ec; }
.order-cart__sumrow span:last-child { font-size: 1.4rem; color: #ddc6a3; }
.order-form { display: none; }
.order-form__field { margin-bottom: 14px; }
.order-form__field label { display: block; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.72rem; color: #c7c8c4; margin-bottom: 6px; }
.order-form__field input, .order-form__field textarea {
  width: 100%; background: #0F1D22; color: #f6f3ec;
  border: 1px solid rgba(201,171,129,0.28); border-radius: 8px; padding: 10px 12px;
  font-family: 'Josefin Sans', sans-serif; font-size: 0.95rem;
}
.order-form__field input:focus, .order-form__field textarea:focus { outline: none; border-color: #C9AB81; }
.order-form__field textarea { min-height: 68px; resize: vertical; }
.order-form__radios { display: flex; gap: 16px; }
.order-form__radios label { display: flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-family: 'Josefin Sans', sans-serif; font-size: 0.92rem; color: #c7c8c4; margin: 0; cursor: pointer; }
.order-submit { width: 100%; border: none; cursor: pointer; margin-top: 4px; }
.order-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.order-form__note { font-size: 0.76rem; color: #9a9b96; margin-top: 10px; text-align: center; }
.order-success { text-align: center; padding: 20px 0; }
.order-success__icon { width: 60px; height: 60px; border-radius: 50%; background: #8aa86a; color: #fff; font-size: 1.8rem; display: grid; place-items: center; margin: 0 auto 14px; }
.order-success h4 { font-family: 'Oswald', sans-serif; text-transform: uppercase; color: #f6f3ec; margin-bottom: 8px; }
.order-success p { color: #9a9b96; }
@media (max-width: 991px) { .order-cart { position: static; margin-top: 30px; } }
