/* ==========================================================================
   Keranika – téma pro OpenCart 3
   Staví na Bootstrapu 3 z jádra OpenCartu, výchozí stylesheet.css se nenačítá.

   Obsah:
   01 Písma            06 Hlavička           11 Detail produktu
   02 Proměnné         07 Navigace           12 Úvodní stránka
   03 Základ           08 Drobečky, výpis    13 Košík, pokladna, účet
   04 Tlačítka         09 Karty produktů     14 Patička
   05 Formuláře        10 Stránkování        15 Mobilní úpravy
   ========================================================================== */

/* 01 Písma (hostovaná lokálně, licence SIL OFL) ---------------------------- */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/newsreader-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/newsreader-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: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/newsreader-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/newsreader-italic-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: 'Jost'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(../fonts/jost-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(../fonts/jost-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; }

/* 02 Proměnné -------------------------------------------------------------- */
:root {
  /* podklady – krémová je přesně barva pozadí loga */
  --cream: #FCF2E5;
  --paper: #FFFBF5;
  --sand: #F6E8D6;
  --line: #E8D8C1;
  --line-strong: #D9C4A6;
  /* značka – karamelová z kresby loga */
  --caramel: #AF906A;
  --caramel-deep: #7C5A36;
  /* text */
  --ink: #3A2F28;
  --ink-soft: #6C5E53;
  /* barvy glazur */
  --green: #2F6B5E;
  --green-deep: #244F46;
  --mint: #DCEDE6;
  --coral: #E38B78;
  --coral-deep: #B4492F;
  --apricot: #F3C48C;
  --blush: #FBE5DD;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 44px -26px rgba(90, 62, 30, .45);
  --shadow-lg: 0 30px 70px -34px rgba(90, 62, 30, .55);

  --i-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8.500h12l1 12H5l1-12z'/%3E%3Cpath d='M9 8.500V7a3 3 0 0 1 6 0v1.500'/%3E%3C/svg%3E");
  --i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.500-4.700-7.500-10.200A4.300 4.300 0 0 1 12 7a4.300 4.300 0 0 1 7.500 2.800C19.500 15.300 12 20 12 20z'/%3E%3C/svg%3E");
}

/* 03 Základ ---------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, legend {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.012em;
}
h1 { font-size: 42px; margin: 0 0 20px; }
h2 { font-size: 32px; margin: 32px 0 16px; }
h3 { font-size: 25px; margin: 28px 0 14px; }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
h6 { font-size: 16px; }
p { margin: 0 0 1em; }
a { color: var(--caramel-deep); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--green); text-decoration: none; }
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--green); outline-offset: 3px;
}
hr { border-top-color: var(--line); }
img { max-width: 100%; }
::selection { background: var(--apricot); color: var(--ink); }
strong, b { font-weight: 500; }
legend { font-size: 23px; padding: 0 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.text-danger { color: var(--coral-deep); }
#content { min-height: 380px; padding-bottom: 24px; }
span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg { display: inline; }

@media (min-width: 1360px) { .container { width: 1280px; } }

.k-eyebrow {
  font: 500 12.5px/1.4 var(--sans);
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--caramel-deep);
  margin: 0 0 16px;
}
.k-link {
  display: inline-block;
  font: 500 13px/1.4 var(--sans);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--caramel);
  transition: color .2s ease, border-color .2s ease;
}
.k-link::after { content: '\2192'; display: inline-block; margin-left: 10px; transition: transform .25s ease; }
.k-link:hover { color: var(--green); border-color: var(--green); }
.k-link:hover::after { transform: translateX(4px); }
.k-section-head { text-align: center; margin: 0 auto 52px; max-width: 640px; }
.k-section-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0; }

/* 04 Tlačítka -------------------------------------------------------------- */
.btn {
  font: 500 13px/1.3 var(--sans);
  letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow: none; text-shadow: none; background-image: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active, .btn.active { box-shadow: none; }
.btn-lg { padding: 17px 34px; font-size: 13.5px; }
.btn-sm { padding: 9px 16px; font-size: 12px; }
.btn-xs { padding: 5px 10px; font-size: 11px; }
.btn-primary, .btn-success, .btn-info {
  background-color: var(--green); border-color: var(--green); color: var(--cream);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary:active:focus,
.btn-success:hover, .btn-success:focus, .btn-success:active,
.btn-info:hover, .btn-info:focus, .btn-info:active,
.btn-primary[disabled], .btn-primary.disabled, .btn-primary[disabled]:hover {
  background-color: var(--green-deep); border-color: var(--green-deep); color: #fff;
}
.btn-default, .btn-warning {
  background-color: transparent; border-color: var(--line-strong); color: var(--ink);
}
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .btn-default:active:focus,
.open > .dropdown-toggle.btn-default,
.btn-warning:hover, .btn-warning:focus {
  background-color: var(--sand); border-color: var(--caramel); color: var(--ink);
}
.btn-danger { background-color: transparent; border-color: var(--coral); color: var(--coral-deep); }
.btn-danger:hover, .btn-danger:focus, .btn-danger:active { background-color: var(--coral-deep); border-color: var(--coral-deep); color: #fff; }
.btn-link { color: var(--caramel-deep); letter-spacing: .06em; border-radius: 0; }
.btn-link:hover, .btn-link:focus { color: var(--green); text-decoration: none; }
.btn-inverse { background-color: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-inverse:hover, .btn-inverse:focus { background-color: #241c17; color: #fff; }
.buttons { margin: 28px 0; }

/* 05 Formuláře ------------------------------------------------------------- */
label, .control-label { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.form-control {
  height: 48px;
  padding: 10px 16px;
  font: 400 16px/1.4 var(--sans);
  color: var(--ink);
  background-color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus { border-color: var(--caramel); box-shadow: 0 0 0 3px rgba(175, 144, 106, .2); }
.form-control::placeholder { color: #A99A8B; }
textarea.form-control { height: auto; min-height: 130px; }
.input-sm, .input-group-sm > .form-control, .input-group-sm > .input-group-btn > .btn { height: 40px; font-size: 14.5px; padding: 6px 14px; border-radius: var(--radius-sm); }
.input-lg { height: 52px; font-size: 16px; }
.input-group-addon { background: var(--sand); border-color: var(--line-strong); color: var(--ink-soft); font-size: 14px; }
.input-group-btn > .btn { height: 48px; padding-top: 0; padding-bottom: 0; }
.has-error .form-control { border-color: var(--coral); }
.has-error .control-label, .has-error .help-block { color: var(--coral-deep); }
div.required .control-label::before { content: '* '; color: var(--coral-deep); font-weight: 500; }
.help-block { color: var(--ink-soft); font-size: 14px; }
.radio label, .checkbox label, .radio-inline, .checkbox-inline { font-size: 16px; font-weight: 400; color: var(--ink); }
input[type="radio"], input[type="checkbox"] { accent-color: var(--green); }
.input-group .form-control[name^=quantity] { min-width: 64px; text-align: center; }

.dropdown-menu {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  font-size: 15px;
}
.dropdown-menu > li > a { padding: 9px 14px; border-radius: 8px; color: var(--ink); }
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { background: var(--sand); color: var(--ink); }
.tooltip-inner { background: var(--ink); border-radius: 8px; font: 400 12.5px/1.3 var(--sans); padding: 6px 10px; }
.tooltip.top .tooltip-arrow { border-top-color: var(--ink); }
.tooltip.bottom .tooltip-arrow { border-bottom-color: var(--ink); }

/* hlášky */
.alert { border: 0; border-radius: 12px; padding: 14px 18px; font-size: 15px; margin: 18px 0; }
.alert-success { background: var(--mint); color: var(--green-deep); }
.alert-danger { background: var(--blush); color: #8E3521; }
.alert-info, .alert-warning { background: var(--sand); color: var(--caramel-deep); }
.alert a { color: inherit; text-decoration: underline; }
.alert > .close { position: relative; top: -1px; color: inherit; opacity: .6; text-shadow: none; }
/* potvrzení (např. vložení do košíku) jako plovoucí lišta nahoře */
.alert-success.alert-dismissible {
  position: fixed; z-index: 1080;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: min(620px, calc(100vw - 28px));
  margin: 0; padding: 15px 48px 15px 20px;
  background: var(--green-deep); color: var(--cream);
  box-shadow: var(--shadow-lg);
  animation: k-toast .35s ease both;
}
.alert-success.alert-dismissible > .close { position: absolute; top: 12px; right: 16px; opacity: .8; }
.alert-success.alert-dismissible .fa { margin-right: 6px; }
@keyframes k-toast { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* 06 Hlavička -------------------------------------------------------------- */
.k-announce { background: var(--green-deep); color: rgba(252, 242, 229, .92); }
/* hesla uprostřed stránky, odkazy na informační stránky vpravo; když je místa málo, hesla se posunou doleva */
.k-announce__bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(max-content, 1fr); align-items: center; column-gap: 24px; }
.k-announce__list {
  grid-column: 2;
  list-style: none; margin: 0; padding: 10px 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0 26px;
  font: 400 12px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
.k-announce__list li + li::before { content: '\00B7'; margin-right: 26px; opacity: .6; }
.k-announce__side { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; }
.k-announce__links { display: flex; gap: 26px; margin-right: -.16em; font: 500 12px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.k-announce__links a { position: relative; padding: 10px 0; color: #fff; transition: color .2s ease; }
.k-announce__links a::after {
  content: ''; position: absolute; left: 0; right: .16em; bottom: 8px; height: 1px;
  background: var(--apricot); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.k-announce__links a:hover, .k-announce__links a:focus, .k-announce__links a.is-current { color: var(--apricot); text-decoration: none; }
.k-announce__links a:hover::after, .k-announce__links a.is-current::after { transform: scaleX(1); }
.k-announce__links a.is-current::after { transition: none; }
.k-announce__switch { display: flex; gap: 6px; }
.k-announce__switch .pull-left { float: none !important; }
.k-announce__switch .btn-link { color: inherit; padding: 2px 6px; font-size: 12px; letter-spacing: .1em; }
.k-announce__switch .btn-link:hover { color: #fff; }

/* jeden řádek: logo vlevo, navigace uprostřed, účet + oblíbené + košík vpravo */
.k-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.k-header__bar {
  display: grid;
  /* krajní sloupce jsou stejně široké, takže menu sedí přesně uprostřed stránky, ale nikdy nejsou užší než jejich obsah */
  grid-template-columns: minmax(max-content, 1fr) minmax(0, auto) minmax(max-content, 1fr);
  grid-template-areas: "logo nav tools";
  align-items: center;
  column-gap: 28px;
  padding: 14px 0;
}
.k-burger { grid-area: burger; display: none; }
.k-header__logo { grid-area: logo; justify-self: start; margin: 0; }
.k-header__logo a { display: block; border-radius: 50%; }
.k-header__logo img { display: block; height: 96px; width: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.k-header__logo a:hover img { transform: scale(1.04) rotate(-2deg); }
.k-header__wordmark { font: 400 34px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--caramel-deep); }
.k-header__tools { grid-area: tools; justify-self: end; display: flex; align-items: center; gap: 6px; }

/* ikony kreslené maskou místo Font Awesome */
#cart .fa-shopping-cart,
.product-thumb .button-group .fa, .k-wish .fa {
  display: inline-block; width: 20px; height: 20px; font-size: 0; vertical-align: middle;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.fa-shopping-cart { --icon: var(--i-bag); }
.fa-heart { --icon: var(--i-heart); }

/* účet, oblíbené */
.k-tool { position: relative; }
.k-tool__btn {
  position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.k-tool__btn:hover, .k-tool__btn:focus, .k-tool.open > .k-tool__btn { background: var(--sand); color: var(--green); }
.k-tool__btn svg, .k-usp svg, .k-product__notes svg {
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.k-tool__btn svg { width: 24px; height: 24px; }
#wishlist-total span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* přihlášený zákazník – zelená tečka u ikony účtu */
.k-tool__btn.is-logged::after {
  content: ''; position: absolute; top: 9px; right: 8px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 2px var(--cream);
}
/* odznak s počtem – u srdíčka (data-count doplňuje šablona a keranika.js) a u košíku */
.k-cart__count, #wishlist-total:not([data-count="0"])::after {
  position: absolute; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--coral-deep); color: #fff; box-shadow: 0 0 0 2px var(--cream);
  font: 600 11px/19px var(--sans); letter-spacing: 0; text-align: center;
}
#wishlist-total:not([data-count="0"])::after { content: attr(data-count); top: 3px; right: 0; }

/* košík v hlavičce: prázdný = nenápadné tlačítko „Košík“, se zbožím = zelené s odznakem počtu a cenou */
#cart { display: inline-block; width: auto; margin: 0 0 0 8px; }
#cart > .btn {
  position: relative; float: none;
  display: inline-flex; align-items: center;
  width: auto; height: 46px; padding: 0 20px 0 16px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--ink);
  font: 500 14.5px/1 var(--sans); letter-spacing: .03em; text-transform: none; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
#cart > .btn:hover, #cart > .btn:focus, #cart.open > .btn { background: var(--sand); border-color: var(--caramel); color: var(--green); box-shadow: none; }
#cart-total { display: inline-flex; align-items: center; gap: 10px; }
#cart-total .fa-shopping-cart { flex: none; width: 22px; height: 22px; }
.k-cart__count { top: 4px; left: 29px; }
.k-cart__count[data-count="0"], .k-cart__count[data-count="0"] ~ .k-cart__sum, .k-cart__count:not([data-count="0"]) ~ .k-cart__label { display: none; }
#cart > .btn:has(.k-cart__count:not([data-count="0"])) { background: var(--green); border-color: var(--green); color: var(--cream); }
#cart > .btn:has(.k-cart__count:not([data-count="0"])):hover,
#cart > .btn:has(.k-cart__count:not([data-count="0"])):focus,
#cart.open > .btn:has(.k-cart__count:not([data-count="0"])) { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
#cart > .btn:has(.k-cart__count:not([data-count="0"])) .k-cart__count { box-shadow: 0 0 0 2px var(--green); }
#cart-total:has(.k-cart__count:not([data-count="0"])) { gap: 17px; }

/* náhled košíku */
#cart .dropdown-menu {
  width: 400px; min-width: 0; margin-top: 12px; padding: 6px 22px 22px;
  max-height: 76vh; overflow-y: auto; overflow-x: hidden; z-index: 1001;
}
#cart .dropdown-menu:has(.k-mini__empty) { width: 270px; }
.k-mini__item {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 28px; align-items: center; column-gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.k-mini__thumb img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: var(--sand); }
.k-mini__info { min-width: 0; }
.k-mini__name { display: block; color: var(--ink); font: 400 18px/1.25 var(--serif); }
a.k-mini__name:hover { color: var(--green); }
.k-mini__info small, .k-mini__qty { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 13.5px; }
.k-mini__price { white-space: nowrap; font-weight: 500; }
.k-mini__remove {
  width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-soft); font-size: 21px; line-height: 26px;
  transition: background-color .2s ease, color .2s ease;
}
.k-mini__remove:hover, .k-mini__remove:focus { background: var(--blush); color: var(--coral-deep); }
.k-mini__foot { padding-top: 16px; }
.k-mini__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.k-mini__total span { font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.k-mini__total strong { font: 400 25px/1.2 var(--serif); }
.k-mini__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.k-mini__actions .btn { padding: 13px 8px; }
.k-mini__empty { padding: 24px 0 4px; text-align: center; color: var(--ink-soft); }
.k-mini__empty svg { display: block; width: 42px; height: 42px; margin: 0 auto 10px; fill: none; stroke: var(--caramel); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.k-mini__empty p { margin: 0; }

/* 07 Navigace -------------------------------------------------------------- */
#menu.k-nav { grid-area: nav; min-width: 0; min-height: 0; margin: 0; border: 0; border-radius: 0; background: transparent; }
#menu .navbar-collapse { padding: 0; border: 0; box-shadow: none; }
#menu .navbar-nav { float: none; margin: 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 2px; }
#menu .navbar-nav::before, #menu .navbar-nav::after { display: none; }
#menu .navbar-nav > li { float: none; }
#menu .nav > li > a {
  position: relative;
  padding: 16px 18px;
  font: 600 15px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: transparent;
}
#menu .nav > li > a::after {
  /* vpravo o prostrkání posledního písmene méně, aby linka končila přesně pod textem */
  content: ''; position: absolute; left: 18px; right: calc(18px + .14em); bottom: 9px; height: 2px; border-radius: 1px;
  background: var(--caramel); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
#menu .nav > li > a:hover, #menu .nav > li > a:focus, #menu .nav > li.open > a, #menu .nav > li.is-current > a { color: var(--caramel-deep); background: transparent; }
#menu .nav > li > a:hover::after, #menu .nav > li.open > a::after, #menu .nav > li.is-current > a::after { transform: scaleX(1); }
#menu .nav > li.is-current > a::after { transition: none; }
#menu .dropdown-menu { margin-top: 0; padding: 14px; }
#menu .dropdown-inner { display: table; }
#menu .dropdown-inner ul { display: table-cell; }
#menu .dropdown-inner a { display: block; min-width: 170px; padding: 8px 14px; border-radius: 8px; color: var(--ink); font-size: 15px; }
#menu .dropdown-inner a:hover { background: var(--sand); }
#menu .see-all { display: block; margin-top: 8px; padding: 10px 14px 2px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 768px) { #menu .dropdown:hover .dropdown-menu { display: block; } }

/* 08 Drobečky, hlavička stránky, výpis ------------------------------------- */
.breadcrumb { background: transparent; border: 0; border-radius: 0; padding: 22px 0 0; margin: 0 0 18px; font-size: 13.5px; }
.breadcrumb > li > a { color: var(--ink-soft); }
.breadcrumb > li > a:hover { color: var(--green); }
.breadcrumb > li:last-child > a { color: var(--ink); }
.breadcrumb > li + li::before { content: '/'; color: var(--line-strong); padding: 0 9px; }
.breadcrumb .fa { font-size: 15px; }

.k-page-head { text-align: center; max-width: 680px; margin: 14px auto 0; }
.k-page-head h1 { font-size: clamp(36px, 4.2vw, 52px); margin: 0; }
.k-page-head::after { content: ''; display: block; width: 56px; height: 1px; background: var(--caramel); margin: 22px auto 0; }
.k-page-head__desc { margin-top: 18px; color: var(--ink-soft); font-size: 17.5px; }
.k-page-head__desc p:last-child { margin-bottom: 0; }
.k-subcats { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.k-subcats a { display: block; padding: 9px 20px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 14.5px; }
.k-subcats a:hover { background: var(--sand); border-color: var(--caramel); }
.k-empty { text-align: center; color: var(--ink-soft); margin: 48px 0 12px; font-size: 18px; }

.k-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 40px 0 34px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.k-toolbar__view { display: flex; align-items: center; gap: 12px; }
.k-toolbar__sort { display: flex; gap: 22px; margin-left: auto; }
.k-toolbar .input-group { width: auto; display: flex; align-items: center; }
.k-toolbar .input-group-addon { width: auto; background: transparent; border: 0; padding: 0 10px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.k-toolbar .input-group .form-control { width: auto; float: none; height: 40px; border-radius: 999px; padding: 0 16px; font-size: 14.5px; background-color: transparent; }
#list-view, #grid-view { width: 40px; height: 40px; padding: 0; border-radius: 50%; margin-right: 6px; color: var(--ink-soft); }
#list-view.active, #grid-view.active { background: var(--green); border-color: var(--green); color: var(--cream); }
.btn-group > #list-view, .btn-group > #grid-view { border-radius: 50% !important; float: none; margin-left: 0; }
#compare-total { display: none; }

/* 09 Karty produktů -------------------------------------------------------- */
.row:has(> .product-layout), .row.k-related { display: flex; flex-wrap: wrap; }
.row:has(> .product-layout)::before, .row:has(> .product-layout)::after,
.row.k-related::before, .row.k-related::after { display: none; }
.row:has(> .product-layout) > .clearfix, .row.k-related > .clearfix { display: none !important; }

.product-thumb { position: relative; margin-bottom: 44px; background: transparent; border: 0; }
.product-thumb .image { border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 1 / 1; }
.product-thumb .image a { display: block; height: 100%; }
.product-thumb .image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.product-thumb:hover .image img { transform: scale(1.045); }
.product-thumb .caption { padding: 16px 2px 0; min-height: 0; }
.product-thumb h4 { font-size: 21px; line-height: 1.2; margin: 0 0 4px; }
.product-thumb h4 a { color: var(--ink); }
.product-thumb h4 a:hover { color: var(--caramel-deep); }
.product-thumb .caption > p { color: var(--ink-soft); font-size: 15px; margin: 0 0 8px; }
.product-layout:not(.product-list) .product-thumb .caption > p:not(.price),
.k-related .product-thumb .caption > p:not(.price) { display: none; }
.product-thumb .price { font: 500 16.5px/1.4 var(--sans); color: var(--caramel-deep); margin: 0; }
.product-thumb .price-new { color: var(--coral-deep); }
.product-thumb .price-old { color: #A99A8B; font-weight: 400; text-decoration: line-through; margin-left: 8px; }
.product-thumb .price-tax { display: none; }
.rating .fa-stack { font-size: 8px; width: 2.1em; }
.rating .fa-star-o { color: var(--line-strong); font-size: 15px; }
.rating .fa-star { color: var(--apricot); font-size: 15px; }
.rating .fa-star + .fa-star-o { color: var(--caramel); }
.product-thumb .rating { padding: 2px 0 4px; }

/* tlačítka přes fotku: překryv má stejný čtverec jako obrázek */
.product-thumb .button-group { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 1 / 1; pointer-events: none; }
.product-thumb .button-group button {
  position: absolute; pointer-events: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: 999px;
  background: rgba(255, 251, 245, .95); color: var(--ink);
  box-shadow: 0 8px 22px -12px rgba(58, 47, 40, .55);
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background-color .2s ease, color .2s ease;
}
.product-thumb .button-group button:nth-child(1) {
  left: 14px; right: 14px; bottom: 14px; height: 48px;
  font: 500 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
}
.product-thumb .button-group button:nth-child(2) { top: 14px; right: 14px; width: 42px; height: 42px; }
.product-thumb .button-group button:nth-child(3) { display: none; }
.product-thumb:hover .button-group button, .product-thumb:focus-within .button-group button { opacity: 1; transform: none; }
.product-thumb .button-group button:hover { background: var(--green); color: var(--cream); }
.product-thumb .button-group button:nth-child(2):hover { background: var(--coral); color: #fff; }
@media (max-width: 1199px) {
  .product-thumb .button-group button:nth-child(1) { left: auto; width: 46px; height: 46px; }
}
@media (hover: none) {
  .product-thumb .button-group button { opacity: 1; transform: none; }
  .product-thumb .button-group button:nth-child(1) { left: auto; right: 12px; bottom: 12px; width: 44px; height: 44px; }
  .product-thumb .button-group button:nth-child(1) span { display: none !important; }
  .product-thumb .button-group button:nth-child(2) { top: 12px; right: 12px; width: 40px; height: 40px; }
}

/* řádkový výpis */
@media (min-width: 768px) {
  .product-list .product-thumb { display: flex; align-items: center; gap: 32px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
  .product-list .product-thumb .image { flex: 0 0 230px; }
  .product-list .product-thumb > div:last-child { flex: 1; }
  .product-list .product-thumb .caption { padding: 0; }
  .product-list .product-thumb h4 { font-size: 26px; margin-bottom: 8px; }
  .product-list .product-thumb .button-group { position: static; aspect-ratio: auto; pointer-events: auto; display: flex; gap: 10px; margin-top: 18px; }
  .product-list .product-thumb .button-group button { position: static; opacity: 1; transform: none; box-shadow: none; border: 1px solid var(--line-strong); background: transparent; }
  .product-list .product-thumb .button-group button:nth-child(1) { width: auto; padding: 0 24px; background: var(--green); border-color: var(--green); color: var(--cream); }
  .product-list .product-thumb .button-group button:nth-child(1) span { display: inline !important; }
  .product-list .product-thumb .button-group button:nth-child(1):hover { background: var(--green-deep); }
  .product-list .product-thumb .button-group button:nth-child(2) { width: 48px; height: 48px; }
}

/* moduly v postranních sloupcích */
#column-left .product-layout, #column-right .product-layout { width: 100%; }
.list-group { margin-bottom: 32px; }
.list-group a.list-group-item, .list-group-item {
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important;
  padding: 12px 4px; color: var(--ink); font-size: 15.5px;
}
.list-group a.list-group-item:hover, .list-group a.list-group-item.active, .list-group a.list-group-item.active:hover {
  background: transparent; border-color: var(--line); color: var(--caramel-deep);
}
.list-group a.list-group-item.active { font-weight: 500; }

/* zákaznická sekce – menu vlevo a dlaždice na přehledu účtu */
.k-account-nav { margin-bottom: 32px; padding: 10px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); }
.k-account-nav__title { margin: 0; padding: 14px 16px 12px; font: 400 23px/1.2 var(--serif); color: var(--ink); }
.k-account-nav__item { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--radius-sm); color: var(--ink); font-size: 16px; font-weight: 500; }
.k-account-nav__item .fa { flex: 0 0 20px; text-align: center; font-size: 17px; color: var(--caramel); }
.k-account-nav__item:hover, .k-account-nav__item:focus { background: var(--sand); color: var(--ink); text-decoration: none; }
.k-account-nav__item.active, .k-account-nav__item.active:hover { background: var(--green); color: #fff; transition: none; }
.k-account-nav__item.active .fa { color: #fff; }
.k-account-nav__item--logout { margin-top: 8px; padding-top: 15px; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); color: var(--ink-soft); font-weight: 400; }
.k-account-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin: 10px 0 40px; }
.k-account-tile { display: block; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.k-account-tile:hover, .k-account-tile:focus { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); text-decoration: none; }
.k-account-tile .fa { display: block; margin-bottom: 14px; font-size: 22px; color: var(--green); }
.k-account-tile strong { display: block; font: 400 21px/1.25 var(--serif); }
.k-account-tile span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 14.5px; }

/* Kraj se nevyplňuje – země nemají v obchodě žádné kraje, pole má jedinou hodnotu */
.form-group:has(select[name="zone_id"]) { display: none !important; }

/* 10 Stránkování ----------------------------------------------------------- */
.k-pager { margin-top: 8px; color: var(--ink-soft); font-size: 14px; }
.pagination { margin: 0; }
.pagination > li > a, .pagination > li > span {
  min-width: 42px; height: 42px; line-height: 42px; padding: 0 6px; margin: 0 3px; text-align: center;
  border: 0; border-radius: 50% !important; background: transparent; color: var(--ink); font-size: 15px;
}
.pagination > li > a:hover { background: var(--sand); color: var(--ink); }
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover { background: var(--green); color: var(--cream); }

/* 11 Detail produktu ------------------------------------------------------- */
.k-product { margin-top: 6px; }
@media (min-width: 768px) {
  .k-product { display: flex; align-items: flex-start; }
  .k-product::before, .k-product::after { display: none; }
  .k-product__info { position: sticky; top: 24px; }
}
@media (min-width: 992px) { .k-product__info { padding-left: 48px; } }
.thumbnails { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.thumbnails > li { margin: 0; }
.thumbnails > li:first-child { grid-column: 1 / -1; }
.thumbnails a.thumbnail { display: block; margin: 0; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: var(--sand); }
.thumbnails a.thumbnail img { display: block; width: 100%; height: auto; }
.thumbnails .image-additional a.thumbnail { border-radius: 12px; opacity: .88; transition: opacity .2s ease; }
.thumbnails .image-additional a.thumbnail:hover { opacity: 1; }

.k-product__info h1 { font-size: clamp(32px, 3.3vw, 46px); margin: 4px 0 14px; }
.k-product__price { margin: 0 0 18px; color: var(--ink-soft); font-size: 14.5px; }
.k-product__price h2 { font: 500 28px/1.2 var(--sans); letter-spacing: 0; color: var(--caramel-deep); margin: 0 0 2px; }
.k-product__price hr { margin: 10px 0; }
.k-product__meta { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 0 24px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); }
#product > hr { display: none; }
#product > h3 { font-size: 20px; margin: 0 0 14px; }
.k-buy { margin-bottom: 18px; }
.k-buy > .control-label { display: block; margin-bottom: 8px; }
.k-buy__row { display: flex; align-items: center; gap: 12px; }
.k-qty { display: flex; align-items: center; height: 54px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; }
.k-qty__btn { width: 42px; height: 52px; border: 0; background: transparent; color: var(--ink); font-size: 20px; line-height: 1; border-radius: 999px; }
.k-qty__btn:hover { color: var(--green); }
.k-qty .form-control { width: 40px; height: 52px; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; font-weight: 500; }
#button-cart { flex: 1; height: 54px; padding-top: 0; padding-bottom: 0; }
.k-wish { flex: 0 0 54px; width: 54px; height: 54px; padding: 0; border-radius: 50%; }
.k-wish:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.k-product__info .rating p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 6px; }
.k-product__info .rating .fa-stack { font-size: 15px; width: 1.25em; height: 1.4em; line-height: 1.4em; }
.k-product__notes { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.k-product__notes li { display: flex; gap: 12px; align-items: flex-start; }
.k-product__notes li + li { margin-top: 10px; }
.k-product__notes svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; color: var(--caramel); }

.k-product__tabs { max-width: 860px; margin-top: 72px; }
.nav-tabs { border-bottom: 1px solid var(--line); margin-bottom: 0; }
.nav-tabs > li { margin-bottom: -1px; }
.nav-tabs > li > a, .nav-tabs > li > a:hover, .nav-tabs > li > a:focus,
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  margin: 0 34px 0 0; padding: 14px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent;
  font: 500 13px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.nav-tabs > li > a:hover { color: var(--ink); }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { color: var(--ink); border-bottom-color: var(--caramel); }
.tab-content { padding-top: 26px; }
#tab-description { font-size: 17.5px; line-height: 1.75; color: var(--ink); }
#tab-description p { margin-bottom: 1.1em; }
.k-related-title, .k-home-modules #content > h3 { text-align: center; font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 48px; }
.k-related-title { margin-top: 96px; }

/* 12 Úvodní stránka -------------------------------------------------------- */
.k-hero {
  position: relative; overflow: hidden;
  padding: 52px 0 92px;
  background:
    /* záře za fotkou – střed níž, aby u horního okraje vyzněla do ztracena (hlavička pod sebou nemá dělicí linku) */
    radial-gradient(56% 64% at 88% 46%, rgba(243, 196, 140, .42), transparent 62%),
    radial-gradient(42% 52% at 2% 98%, rgba(220, 237, 230, .95), transparent 62%);
}
.k-hero > .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.k-hero > .container::before, .k-hero > .container::after { display: none; }
.k-hero h1 { font-size: clamp(42px, 5.2vw, 78px); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 26px; }
.k-hero h1 em { font-style: italic; color: var(--coral-deep); }
.k-lead { font-size: 19.5px; line-height: 1.65; color: var(--ink-soft); max-width: 29em; margin: 0 0 38px; }
.k-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 30px; }
.k-hero__media { position: relative; padding: 0 0 7% 15%; }
.k-hero__main { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 30px 30px; box-shadow: 0 44px 80px -46px rgba(90, 62, 30, .6); }
.k-hero__side { position: absolute; left: 0; bottom: 0; width: 41%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 10px solid var(--cream); box-shadow: var(--shadow); }
.k-hero__badge {
  position: absolute; right: -6px; top: 7%;
  width: 128px; height: 128px; margin: 0; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--cream); color: var(--caramel-deep);
  border: 1px solid var(--caramel); outline: 1px solid var(--caramel); outline-offset: -8px;
  transform: rotate(10deg);
}
.k-hero__badge span { font: 500 10.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.k-hero__badge strong { font: italic 400 25px/1 var(--serif); margin-top: 3px; }

.k-usp { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 251, 245, .7); }
.k-usp__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.k-usp__list li { display: flex; align-items: center; gap: 16px; padding: 28px 22px; }
.k-usp__list li + li { border-left: 1px solid var(--line); }
.k-usp svg { flex: 0 0 36px; width: 36px; height: 36px; color: var(--caramel); stroke-width: 1.2; }
.k-usp strong { display: block; font: 400 19.5px/1.2 var(--serif); color: var(--ink); }
.k-usp span { display: block; font-size: 14.5px; line-height: 1.4; color: var(--ink-soft); margin-top: 3px; }

.k-cats { padding: 104px 0 24px; }
.k-cats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1060px; margin: 0 auto; }
.k-cat { display: block; text-align: center; color: var(--ink); }
.k-cat:nth-child(2) { margin-top: 52px; }
.k-cat__img { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 999px 999px 24px 24px; background: var(--sand); }
.k-cat__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.k-cat:hover .k-cat__img img { transform: scale(1.05); }
.k-cat__name { display: block; font: 400 31px/1.1 var(--serif); letter-spacing: -.012em; margin-top: 24px; color: var(--ink); }
.k-cat__more { display: inline-block; margin-top: 8px; font: 500 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--caramel-deep); border-bottom: 1px solid transparent; padding-bottom: 3px; transition: border-color .2s ease; }
.k-cat:hover .k-cat__more { border-color: var(--caramel); }

.k-home-modules { padding: 96px 0 8px; }
.k-home-modules #content { min-height: 0; padding-bottom: 0; }
.k-home-modules #content > h3:first-child { display: none; }

.k-story { background: var(--sand); padding: 112px 0 124px; margin-top: 56px; }
.k-story > .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: center; }
.k-story > .container::before, .k-story > .container::after { display: none; }
.k-story__media { position: relative; padding: 0 16% 8% 0; }
.k-story__main { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow-lg); }
.k-story__side { position: absolute; right: 0; bottom: 0; width: 42%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 10px solid var(--sand); }
.k-story__text h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 0 0 24px; }
.k-story__text p { font-size: 18.5px; line-height: 1.7; color: var(--ink-soft); max-width: 28em; }
.k-story__text .k-link { margin-top: 18px; }

.k-gallery { padding: 112px 0 0; }
.k-gallery__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.k-gallery__grid img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; }
.k-gallery__grid img:nth-child(even) { margin-top: 34px; }

/* 13 Košík, pokladna, účet ------------------------------------------------- */
.table { color: var(--ink); }
.table > thead > tr > td, .table > thead > tr > th {
  border-bottom: 1px solid var(--line-strong); font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding: 14px 12px;
}
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td { border-top: 1px solid var(--line); padding: 16px 12px; vertical-align: middle; }
.table-bordered, .table-bordered > thead > tr > td, .table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > td { border-left: 0; border-right: 0; }
.table-bordered { border: 0; }
.table-bordered > thead > tr > td, .table-bordered > thead > tr > th { border-bottom-width: 1px; }
.table-striped > tbody > tr:nth-of-type(odd) { background: transparent; }
.table-hover > tbody > tr:hover { background: rgba(175, 144, 106, .07); }
.table-responsive { border: 0; }
.img-thumbnail { padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.panel-group .panel { border-radius: var(--radius); overflow: hidden; }
.panel-group .panel + .panel { margin-top: 12px; }
.panel-default > .panel-heading { background: transparent; border: 0; padding: 18px 24px; color: var(--ink); }
.panel-title { font: 400 20px/1.25 var(--serif); }
.panel-title > a { display: block; color: var(--ink); }
.panel-title > a:hover { color: var(--caramel-deep); }
.panel-default > .panel-heading + .panel-collapse > .panel-body { border-top: 1px solid var(--line); }
.panel-body { padding: 22px 24px 24px; }
.well { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; padding: 30px; min-height: 0; }
.well h2 { margin-top: 0; }
#checkout-cart h1, #checkout-checkout h1, #account-login h1 { margin-bottom: 28px; }
#checkout-cart .table .input-group { max-width: 210px; }
#checkout-cart .table .input-group .btn { height: 48px; padding-left: 14px; padding-right: 14px; }
#checkout-cart .table .img-thumbnail { width: 84px; }
/* košík: slevový kód vlevo, souhrn ceny vpravo */
.k-cart-summary { margin-top: 16px; }
.k-coupon { max-width: 420px; margin-bottom: 24px; }
.k-coupon .control-label { display: block; margin-bottom: 8px; }
.k-cart-qty { white-space: nowrap; }
.k-qty--sm { display: inline-flex; height: 46px; vertical-align: middle; }
.k-qty--sm .k-qty__btn { width: 36px; height: 44px; }
.k-qty--sm .form-control { width: 38px; height: 44px; }
.k-cart-remove { width: 42px; height: 42px; margin-left: 8px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-soft); font-size: 18px; vertical-align: middle; }
.k-cart-remove:hover, .k-cart-remove:focus { background: var(--blush); color: var(--coral-deep); }
#checkout-cart form.is-updating { opacity: .55; pointer-events: none; transition: opacity .2s; }
/* prázdný košík */
.k-empty { max-width: 560px; margin: 24px auto 40px; text-align: center; }
.k-empty__art { display: flex; align-items: center; justify-content: center; width: 156px; height: 156px; margin: 0 auto 30px; border-radius: 50%; background: var(--sand); color: var(--caramel); }
.k-empty__art svg { width: 84px; height: 68px; }
.k-empty h1 { margin: 0 0 14px; font-size: clamp(32px, 4vw, 44px); }
.k-empty__text { margin: 0 0 30px; color: var(--ink-soft); font-size: 18px; }
.k-empty__actions { margin: 0 0 26px; }
.k-empty__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.k-empty__cats a { display: block; padding: 9px 20px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 15.5px; }
.k-empty__cats a:hover, .k-empty__cats a:focus { border-color: var(--green); color: var(--green); text-decoration: none; }
.k-empty__help { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
#information-information #content, #information-contact #content { max-width: 820px; margin-left: auto; margin-right: auto; float: none; font-size: 17.5px; }
#information-information #content h1 { text-align: center; margin: 14px 0 34px; font-size: clamp(34px, 4.2vw, 50px); }

/* objednávky v zákaznickém účtu – bílý „list“ jako faktura */
.k-sheet { margin-bottom: 26px; padding: 30px 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
#account-order #content > h1 { margin-bottom: 24px; }
.k-sheet h2 { margin: 0 0 8px; font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.k-sheet__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px; margin: 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.k-sheet__meta dt { font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.k-sheet__meta dd { margin: 4px 0 0; font-weight: 500; }
.k-sheet__addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 24px 0 26px; }
.k-sheet__addresses address { margin: 0; font-style: normal; line-height: 1.6; }
.k-sheet .table-responsive { margin: 0; }
.k-sheet .table { margin: 0; }
.k-sheet__items > thead > tr > td:first-child, .k-sheet__items > tbody > tr > td:first-child { padding-left: 0; }
.k-sheet__items > thead > tr > td:last-child, .k-sheet__items > tbody > tr > td:last-child { padding-right: 0; }
.k-sheet__items small { color: var(--ink-soft); }
.k-sheet__actions { white-space: nowrap; width: 1%; }
.k-sheet__actions .btn { width: 38px; height: 38px; min-width: 0; margin-left: 6px; padding: 0; border-radius: 50%; line-height: 36px; }
.k-sheet__totals { width: min(100%, 340px); margin: 18px 0 0 auto; border-top: 1px solid var(--line); }
.k-sheet__totals td { padding: 8px 0 0; }
.k-sheet__totals td:last-child { text-align: right; white-space: nowrap; }
.k-sheet__totals tr.is-total td { padding-top: 12px; font: 400 22px/1.3 var(--serif); }
.k-sheet__note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
/* Kontakt – kontaktní údaje bez rámečku vlevo, formulář vpravo */
#information-contact #content { max-width: 1040px; }
#information-contact #content h1 { margin: 14px 0 12px; font-size: clamp(34px, 4.2vw, 50px); }
.k-contact__lead { max-width: 560px; margin: 0 0 40px; color: var(--ink-soft); }
.k-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.k-contact__way { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--ink); font: 400 23px/1.25 var(--serif); overflow-wrap: anywhere; }
.k-contact__way + .k-contact__way { border-bottom: 1px solid var(--line); }
.k-contact__way:hover, .k-contact__way:focus { color: var(--green); text-decoration: none; }
.k-contact__way .fa { flex: 0 0 48px; height: 48px; line-height: 48px; border-radius: 50%; background: var(--mint); color: var(--green); text-align: center; font-size: 19px; }
.k-contact__way small, .k-contact__operator h2 { display: block; margin: 0 0 4px; font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.k-contact__operator { margin-top: 34px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.k-contact__operator h2 { margin-bottom: 10px; }
.k-contact__operator address { margin: 0; font-style: normal; color: var(--ink); }
.k-contact__operator p { margin: 8px 0 0; }
.k-contact__form h2 { margin: 0 0 22px; font-size: 28px; }
.k-contact__form .form-group { margin: 0 0 18px; }
.k-contact__form .control-label { display: block; float: none; width: auto; padding: 0; margin-bottom: 6px; text-align: left; }
.k-contact__form [class*="col-sm-"] { float: none; width: auto; padding: 0; }
.k-contact__form fieldset { margin: 0; }
.k-contact__form fieldset legend { display: none; }
.k-contact__form #input-captcha { display: inline-block; width: 170px; margin-right: 12px; vertical-align: middle; }
.k-contact__form #input-captcha + img { height: 44px; border-radius: var(--radius-sm); vertical-align: middle; }
.k-contact__form .btn { margin-top: 8px; }
@media (max-width: 991px) { .k-contact { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* 14 Patička --------------------------------------------------------------- */
.k-footer { margin-top: 112px; padding: 78px 0 0; background: var(--green-deep); color: rgba(252, 242, 229, .78); font-size: 15.5px; }
.k-footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 64px; }
.k-footer__brand img { display: block; width: 150px; height: auto; margin-bottom: 22px; }
.k-footer__brand p { max-width: 21em; font: 400 18.5px/1.5 var(--serif); color: rgba(252, 242, 229, .9); margin: 0; }
.k-footer__contact { margin: 0; font-style: normal; line-height: 1.8; }
.k-footer h5 { font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--apricot); margin: 6px 0 18px; }
.k-footer ul { margin: 0; }
.k-footer li + li { margin-top: 9px; }
.k-footer a { color: rgba(252, 242, 229, .86); }
.k-footer a:hover, .k-footer a:focus { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.k-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; padding: 22px 0 26px; border-top: 1px solid rgba(252, 242, 229, .16); font-size: 13.5px; letter-spacing: .04em; }
.k-footer__bottom p { margin: 0; }

/* 15 Mobilní úpravy -------------------------------------------------------- */
@media (max-width: 1199px) {
  .k-hero > .container { gap: 44px; }
  .k-usp__list li { flex-direction: column; text-align: center; gap: 10px; padding: 24px 12px; }
  .k-story > .container { gap: 52px; }
  .k-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .k-footer__brand { grid-column: 1 / -1; }
  #menu .nav > li > a { padding-left: 12px; padding-right: 12px; }
  #menu .nav > li > a::after { left: 12px; right: calc(12px + .14em); }
  /* horní lišta: na vystředění hesel už není místo – hesla vlevo, odkazy vpravo */
  .k-announce__bar { grid-template-columns: minmax(0, 1fr) auto; }
  .k-announce__list { grid-column: 1; justify-content: flex-start; }
  .k-announce__side { grid-column: 2; }
}
@media (max-width: 991px) {
  h1 { font-size: 38px; }
  /* vedle odkazů v horní liště zbývá místo jen na dvě hesla */
  .k-announce__list li:nth-child(2) { display: none; }
  .k-header__bar { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo tools" "nav nav"; padding: 12px 0 0; }
  .k-header__logo img { height: 84px; }
  #menu.k-nav { margin-top: 12px; border-top: 1px solid var(--line); }
  .k-hero { padding: 40px 0 72px; }
  .k-hero > .container { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .k-hero__text { text-align: center; }
  .k-lead { margin-left: auto; margin-right: auto; }
  .k-hero__actions { justify-content: center; }
  .k-hero__media { max-width: 560px; margin: 0 auto; width: 100%; }
  .k-cats { padding-top: 80px; }
  .k-cats__grid { gap: 24px; }
  .k-cat__name { font-size: 26px; }
  .k-story { padding: 80px 0 92px; }
  .k-story > .container { grid-template-columns: minmax(0, 1fr); }
  .k-story__media { max-width: 520px; margin: 0 auto; width: 100%; }
  .k-story__text { text-align: center; }
  .k-story__text p { margin-left: auto; margin-right: auto; }
  .k-gallery { padding-top: 84px; }
  .k-footer { margin-top: 84px; }
}
@media (max-width: 767px) {
  body { font-size: 15.5px; }
  h1 { font-size: 32px; }
  h2 { font-size: 27px; }
  .k-announce__list { justify-content: center; font-size: 10.5px; letter-spacing: .16em; gap: 0 16px; }
  .k-announce__list li + li::before { margin-right: 16px; }
  .k-announce__bar { display: block; }
  .k-announce__side { justify-content: center; }

  .k-header__bar { position: relative; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "logo tools burger" "nav nav nav"; column-gap: 2px; padding: 10px 0; }
  .k-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; justify-self: end; width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 50%; background: transparent; }
  .k-burger span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; }
  .k-header__logo img { height: 64px; }
  #menu.k-nav { margin-top: 0; border-top: 0; }
  #menu .navbar-collapse { margin-top: 10px; border-top: 1px solid var(--line); }
  .k-header__tools { gap: 4px; }
  /* košík jen jako kulatá ikona s odznakem; náhled košíku přes celou šířku hned pod prvním řádkem */
  #cart { margin-left: 4px; position: static; }
  #cart > .btn, #cart > .btn:has(.k-cart__count) { width: 46px; padding: 0; justify-content: center; }
  #cart .k-cart__label, #cart .k-cart__sum { display: none; }
  #cart-total, #cart-total:has(.k-cart__count) { gap: 0; }
  .k-cart__count { top: 3px; left: 25px; }
  #cart .dropdown-menu, #cart .dropdown-menu:has(.k-mini__empty) { top: 80px; left: 0; right: 0; width: auto; margin-top: 0; padding: 4px 16px 18px; }

  #menu .navbar-nav { display: block; padding: 6px 0 0; }
  #menu .nav > li > a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  #menu .nav > li:last-child > a { border-bottom: 0; }
  #menu .nav > li > a::after { display: none; }
  /* O nás a Kontakt (na telefonu jsou v menu, ne v horní liště) odsazené od kategorií */
  #menu .navbar-nav > li.k-nav__sep { margin-top: 16px; }
  #menu .nav > li.k-nav__sep > a { border-top: 1px solid var(--line); }
  #menu .dropdown-menu { position: static; float: none; width: 100%; margin: 0 !important; border: 0; box-shadow: none; background: var(--sand); }
  #menu .dropdown-inner, #menu .dropdown-inner ul { display: block; }

  .k-toolbar { margin: 28px 0 24px; }
  .k-toolbar__sort { width: 100%; justify-content: space-between; gap: 12px; margin-left: 0; }
  .k-toolbar .input-group-addon { display: none; }
  .k-toolbar .input-group .form-control { max-width: 100%; }

  /* dvě karty vedle sebe i na telefonu */
  .row:has(> .product-layout) { margin-left: -8px; margin-right: -8px; }
  .product-layout:not(.product-list), .k-related > div { width: 50%; padding-left: 8px; padding-right: 8px; }
  .product-thumb { margin-bottom: 30px; }
  .product-thumb h4 { font-size: 18px; }
  .product-thumb .price { font-size: 15px; }
  .product-thumb .image { border-radius: 12px; }

  .k-product__info { margin-top: 26px; }
  .k-product__tabs { margin-top: 48px; }
  .nav-tabs > li > a, .nav-tabs > li.active > a { margin-right: 22px; font-size: 12px; letter-spacing: .12em; }
  .thumbnails a.thumbnail { border-radius: 16px; }
  .k-related-title { margin-top: 64px; }

  .k-hero { padding: 30px 0 60px; }
  .k-lead { font-size: 17.5px; }
  .k-hero__badge { width: 104px; height: 104px; right: 0; }
  .k-hero__badge strong { font-size: 20px; }
  .k-hero__side { border-width: 7px; }
  .k-usp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-usp__list li { padding: 20px 10px; }
  .k-usp__list li:nth-child(odd) { border-left: 0; }
  .k-usp__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .k-usp strong { font-size: 17.5px; }
  .k-usp span { font-size: 13.5px; }
  .k-section-head { margin-bottom: 34px; }
  .k-cats { padding-top: 64px; }
  .k-cats__grid, .k-gallery__grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -15px; padding: 0 15px 8px; scrollbar-width: none; }
  .k-cats__grid::-webkit-scrollbar, .k-gallery__grid::-webkit-scrollbar { display: none; }
  .k-cat { flex: 0 0 64%; scroll-snap-align: center; }
  .k-cat:nth-child(2) { margin-top: 0; }
  .k-gallery__grid img { flex: 0 0 58%; width: 58%; scroll-snap-align: center; }
  .k-gallery__grid img:nth-child(even) { margin-top: 0; }
  .k-home-modules { padding-top: 64px; }
  .k-story { padding: 60px 0 72px; margin-top: 36px; }
  .k-story__side { border-width: 7px; }
  .k-story__text p { font-size: 17px; }
  .k-gallery { padding-top: 64px; }

  .k-footer { margin-top: 64px; padding-top: 56px; }
  .k-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; padding-bottom: 44px; }
  .k-footer__brand img { width: 124px; }
  .k-footer__col--operator { grid-column: 1 / -1; }
  .k-account-nav { display: flex; gap: 6px; margin-bottom: 22px; padding: 8px; overflow-x: auto; box-shadow: none; -webkit-overflow-scrolling: touch; }
  .k-account-nav__title { display: none; }
  .k-account-nav__item { flex: 0 0 auto; padding: 10px 14px; font-size: 15px; white-space: nowrap; }
  .k-account-nav__item--logout { margin-top: 0; padding-top: 10px; border-top: 0; border-radius: var(--radius-sm); }
  .k-account-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .k-account-tile { padding: 18px; }
  .k-contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .k-contact__lead { margin-bottom: 28px; }
  .k-contact__way { font-size: 20px; }
  .k-sheet { padding: 20px 18px; }
  /* na telefonu jen to podstatné: bez kódu a ceny za kus (počet kusů je u názvu), v seznamu bez počtu položek a tlačítka – odkazem je číslo objednávky */
  .k-sheet__items--products td:nth-child(2), .k-sheet__items--products td:nth-child(3), .k-sheet__items--products td:nth-child(4),
  .k-sheet__items--orders td:nth-child(4), .k-sheet__items--orders td:nth-child(6) { display: none; }
  /* seznam objednávek jako řádky: číslo + částka, pod tím datum + stav */
  .k-sheet__items--orders, .k-sheet__items--orders tbody { display: block; }
  .k-sheet__items--orders thead { display: none; }
  .k-sheet__items--orders tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
  .k-sheet__items--orders tbody tr:first-child { padding-top: 0; border-top: 0; }
  .k-sheet__items--orders tbody tr:last-child { padding-bottom: 0; }
  .k-sheet .k-sheet__items--orders > tbody > tr > td { display: block; padding: 0; border: 0; white-space: normal; color: var(--ink-soft); }
  .k-sheet .k-sheet__items--orders > tbody > tr > td:nth-child(4), .k-sheet .k-sheet__items--orders > tbody > tr > td:nth-child(6) { display: none; }
  .k-sheet .k-sheet__items--orders > tbody > tr > td:nth-child(1) { font: 400 21px/1.3 var(--serif); }
  .k-sheet .k-sheet__items--orders > tbody > tr > td:nth-child(5) { grid-area: 1 / 2; align-self: center; color: var(--ink); font-weight: 500; }
  .k-sheet .k-sheet__items--orders > tbody > tr > td:nth-child(2) { grid-area: 2 / 1; }
  .k-sheet .k-sheet__items--orders > tbody > tr > td:nth-child(3) { grid-area: 2 / 2; text-align: right; }
  .k-sheet__items--orders a { text-decoration: underline; text-underline-offset: 4px; }
  .k-sheet__items > thead > tr > td, .k-sheet__items > tbody > tr > td { padding-left: 6px; padding-right: 6px; }
  .k-sheet__actions .btn { width: 34px; height: 34px; margin-left: 2px; line-height: 32px; }
  .k-sheet__items--orders .btn { padding: 8px 12px; }
  .k-sheet__addresses { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  /* košík na telefonu: položky jako karty (obrázek, název, počet kusů, cena) místo tabulky, která se musela posouvat do strany */
  #checkout-cart form .table-responsive { overflow: visible; }
  #checkout-cart form .table { display: block; margin-bottom: 8px; }
  #checkout-cart form .table thead { display: none; }
  #checkout-cart form .table tbody { display: block; }
  #checkout-cart form .table tbody tr { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
  #checkout-cart form .table tbody td { display: block; padding: 0; border: 0; text-align: left; }
  #checkout-cart form .table tbody td:nth-child(1) { grid-row: 1 / span 2; }
  #checkout-cart form .table tbody td:nth-child(2) { grid-column: 2 / 4; font-size: 17px; }
  #checkout-cart form .table tbody td:nth-child(3), #checkout-cart form .table tbody td:nth-child(5) { display: none; }
  #checkout-cart form .table tbody td:nth-child(4) { grid-column: 2; }
  #checkout-cart form .table tbody td:nth-child(6) { grid-column: 3; text-align: right; font-weight: 500; white-space: nowrap; }
  #checkout-cart .table .img-thumbnail { width: 76px; }
  .k-cart-remove { margin-left: 2px; }
  .table > thead > tr > td, .table > tbody > tr > td { padding: 12px 8px; }
  .well { padding: 22px; margin-bottom: 18px; }
}
@media (max-width: 420px) {
  .k-header__logo img { height: 58px; }
  .k-hero h1 { font-size: 38px; }
  .k-buy__row { gap: 8px; }
  .k-qty__btn { width: 36px; }
  .k-qty .form-control { width: 34px; }
  #button-cart { min-width: 0; padding-left: 12px; padding-right: 12px; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
