/**
* Template Name: Tacchino
* Template URL: http://tacchino.cz
* Updated: 16.3.2026
* Author: Fresh Mill studio, tvoba webovych stranek
* License: https://freshmill.cz
*/

:root {
  --red: #cc2028;
  --gold: #e0a030;
  --dark: #1a1a1a;
  --cream: #f0ebe0;
  --white: #fff;
  --gray: #6b6b6b;
  --green: #2a9d3f;
  --border: #e8e3d8;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Barlow', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  margin: 0;
}

/* â”€â”€ Hero â”€â”€ */
.page-hero {
  min-height: 200px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 100%),
    url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&w=1800&q=80') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  font-weight: 700;
  padding-bottom: 32px;
  text-align: center;
  width: 100%;
  margin: 0;
}

/* â”€â”€ Breadcrumb â”€â”€ */
.breadcrumb-bar {
  background: var(--cream);
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: .8rem;
}

.breadcrumb-bar a {
  color: var(--dark);
  text-decoration: none;
}

.breadcrumb-bar a:hover {
  color: var(--gold);
}

.sep {
  color: #bbb;
  margin: 0 7px;
}

.bc-current {
  color: var(--gray);
}

.back-link {
  color: var(--gray);
  text-decoration: none;
  font-size: .8rem;
}

.back-link:hover {
  color: var(--dark);
}

/* â”€â”€ KrokovÃ½ indikÃ¡tor â”€â”€ */
.steps-bar {
  background: #fff;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

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

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #bbb;
}

.step.active {
  color: var(--dark);
}

.step.done {
  color: var(--green);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .75rem;
  border: 2px solid #ddd;
  background: #fff;
  flex-shrink: 0;
  transition: all .3s;
  margin-bottom: 0;
}

.step.active .step-num {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.step.done .step-num {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.step-line {
  width: 48px;
  height: 2px;
  background: #eee;
  margin: 0 6px;
}

@media(max-width:576px) {
  .step-label {
    display: none;
  }

  .step-line {
    width: 24px;
  }
}

/* â•â•â•â• KOÅ ÃK â•â•â•â• */
#cart-section {
  padding: 32px 0 72px;
}

.cart-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
  overflow: hidden;
}

/* Desktop tabulka */
.cart-thead {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 40px;
  padding: 12px 20px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray);
}

.cart-row-desktop {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 40px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 10px;
  transition: background .2s;
}

.cart-row-desktop:last-child {
  border-bottom: none;
}

.cart-row-desktop:hover {
  background: #fafaf8;
}

/* Mobil karta */
.cart-row-mobile {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.cart-row-mobile:last-child {
  border-bottom: none;
}

/* Produkt info */
.cart-product {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-product-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--cream);
  flex-shrink: 0;
}

.cart-product-img-sm {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--cream);
  flex-shrink: 0;
}

.cart-product-name {
  font-weight: 700;
  font-size: .87rem;
  margin-bottom: 2px;
  line-height: 1.3;
}

.cart-product-meta {
  font-size: .72rem;
  color: var(--gray);
}

.btn-remove-text {
  background: none;
  border: none;
  padding: 0;
  font-size: .75rem;
  color: #bbb;
  cursor: pointer;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  transition: color .2s;
}

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

.cart-unit-price {
  font-weight: 600;
  font-size: .87rem;
  color: var(--gray);
}

.cart-subtotal {
  font-weight: 800;
  font-size: .95rem;
}

/* Cena bez DPH pod mezisouÄtem Å™Ã¡dku (bod C) */
.cart-subtotal-exvat {
  font-size: .68rem;
  font-weight: 500;
  color: var(--gray);
  margin-top: 2px;
  white-space: nowrap;
}

/* Cena bez DPH v souhrnu objednÃ¡vky (body E, F) */
.val-exvat {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  color: var(--gray);
  margin-top: 2px;
}

/* â”€â”€ VÃ¡hovÃ½ stepper v koÅ¡Ã­ku (poloÅ¾ky prodÃ¡vanÃ© na vÃ¡hu, 0,05 kg krok) â”€â”€
   PouÅ¾Ã­vÃ¡ stejnÃ© tÅ™Ã­dy jako formulÃ¡Å™ na detailu produktu (weight-stepper,
   weight-input, weight-unit, weight-btns, weight-btn). Pokud uÅ¾ tyto tÅ™Ã­dy
   majÃ­ styl z globÃ¡lnÃ­ho CSS detailu produktu, tato pravidla slouÅ¾Ã­ jako
   rozumnÃ½ vÃ½chozÃ­ vzhled uvnitÅ™ Å™Ã¡dku koÅ¡Ã­ku (viz .weight-stepper-cart). */
.weight-stepper-cart {display: inline-flex;align-items: center;flex-wrap: wrap;}

.weight-stepper-cart .weight-input {
  width: 80px;
  height: 30px;
  border: none;
  border-radius: 8px;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  background: #fff;
  color: var(--dark);
  outline: none;
}

.weight-stepper-cart .weight-unit {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray);
}

.weight-stepper-cart .weight-btns {
  display: flex;
  background: #fafafa;
  flex-direction: row;
  gap: 4px;
  width: 100%;
  border-top: 1px solid #eeeeee;
}

.weight-stepper-cart .weight-btn {
  background: none;
  border: none;
  font-size: .70rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: background .2s;
}

.weight-stepper-cart .weight-btn:hover {
  background: #f5f0e8;
}

/* Qty stepper */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  width: 30px;
  height: 34px;
  font-size: .95rem;
  cursor: pointer;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.qty-btn:hover {
  background: #f5f0e8;
}

.qty-val {
  width: 40px;
  height: 34px;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  background: #fff;
  color: var(--dark);
  outline: none;
  -moz-appearance: textfield;
}

.qty-val::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Odebrat X */
.btn-remove-x {
  background: none;
  border: none;
  color: #ccc;
  font-size: .95rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}

.btn-remove-x:hover {
  color: var(--red);
  background: #fff0f0;
}

/* KupÃ³novÃ½ Å™Ã¡dek */
.coupon-row {
  padding: 16px 20px;
  background: var(--cream);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.coupon-input {
  border: 1.5px solid #ddd;
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: .52rem .9rem;
  font-family: var(--font-body);
  font-size: .84rem;
  background: #fff;
  outline: none;
  transition: border-color .2s;
  width: 170px;
}

.coupon-input:focus {
  border-color: var(--gold);
}

.coupon-input::placeholder {
  color: #bbb;
}

.btn-coupon {
  background: var(--dark);
  color: #fff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .72rem;
  padding: .58rem 1.2rem;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}

.btn-coupon:hover {
  background: #333;
}

.coupon-msg {
  font-size: .8rem;
  font-weight: 600;
}

.coupon-msg.ok {
  color: var(--green);
}

.coupon-msg.err {
  color: var(--red);
}

.coupon-tag {
  background: #e8f5e9;
  color: var(--green);
  font-size: .78rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.coupon-tag button {
  background: none;
  border: none;
  color: var(--green);
  cursor: pointer;
  padding: 0;
  font-size: .9rem;
  line-height: 1;
}

/* PokraÄovat v nÃ¡kupu */
.btn-continue {
  background: transparent;
  border: 1.5px solid var(--dark);
  color: var(--dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .78rem;
  padding: .6rem 1.4rem;
  border-radius: 8px;
  transition: all .2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.btn-continue:hover {
  background: var(--dark);
  color: #fff;
}

/* PrÃ¡zdnÃ½ koÅ¡Ã­k */
#emptyCart {
  text-align: center;
  padding: 72px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
}

#emptyCart .empty-icon {
  font-size: 3.5rem;
  color: #ddd;
  display: block;
  margin-bottom: 16px;
}

#emptyCart h3 {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

#emptyCart p {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: .9rem;
}

.btn-shop {
  background: var(--red);
  color: #fff !important;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  padding: .85rem 2.4rem;
  border-radius: 8px;
  font-size: .85rem;
  transition: background .2s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-shop:hover {
  background: #a81820;
}

/* â•â•â•â• SOUHRN â•â•â•â• */
.summary-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
  padding: 24px;
}

@media(min-width:992px) {
  .summary-card {
    position: sticky;
    top: 80px;
  }
}

.summary-title {
  font-weight: 800;
  font-size: .88rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f5f0e8;
  font-size: .87rem;
}

.summary-row:last-of-type {
  border-bottom: none;
}

.summary-row .lbl {
  color: var(--gray);
}

.summary-row .val {
  font-weight: 600;
  text-align: right;
}

.summary-row.discount .val {
  color: var(--green);
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 4px;
  border-top: 2px solid var(--dark);
  margin-top: 6px;
}

.summary-total-row .lbl {
  font-weight: 700;
  font-size: .9rem;
}

.summary-total-row .val {
  font-weight: 900;
  font-size: 1.35rem;
}

.summary-vat {
  font-size: .73rem;
  color: var(--gray);
  text-align: right;
  margin-bottom: 2px;
}

.btn-checkout-main {
  display: block;
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .87rem;
  padding: 1rem;
  border-radius: 10px;
  transition: background .2s, transform .2s;
  cursor: pointer;
  margin-top: 18px;
  text-align: center;
  text-decoration: none;
}

.btn-checkout-main:hover {
  background: #a81820;
  color: #fff;
  transform: translateY(-2px);
}

.btn-checkout-main[disabled] {
  opacity: .4;
  cursor: default;
  transform: none;
}

.pay-icons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: center;
}

.pay-icon {
  background: var(--cream);
  border-radius: 6px;
  padding: 4px 9px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 4px;
}

.delivery-badge {
  background: #f0faf4;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: .78rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

/* Loading overlay */
.cart-loading {
  position: relative;
  pointer-events: none;
}

.cart-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .7);
  border-radius: 16px;
  z-index: 10;
}

/* â•â•â•â• UPSELL â•â•â•â• */
#upsell {
  background: var(--cream);
  padding: 48px 0 68px;
}

.upsell-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 2px;
}

.upsell-title {
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0;
}


.product-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 18px;
  padding: 54px 16px 18px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
  transition: bottom .32s cubic-bezier(.4, 0, .2, 1), box-shadow .3s;
}

.pc-wrap:hover .product-card {
  bottom: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .12);
}

.card-img-wrap {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.card-img-wrap img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--cream);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
}

.product-card h5 {
  font-weight: 800;
  font-size: .76rem;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card p {
  font-size: .78rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0 0 12px;
}

.product-price {
  color: var(--red);
  font-weight: 700;
  font-size: .93rem;
}

.btn-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: #fff;
  font-size: .87rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  cursor: pointer;
}

.btn-add:hover {
  background: var(--gold);
  transform: scale(1.1);
}

.btn-add.in-cart {
  background: var(--green);
}

.btn-add:disabled {
  opacity: .6;
  cursor: default;
  transform: none;
}

/* Overlays â€” VyhledÃ¡vÃ¡nÃ­ */
#searchOverlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

#searchOverlay.open {
  opacity: 1;
  pointer-events: all;
}

.search-inner {
  width: min(660px, 90vw);
}

.search-bar-wrap {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
  gap: 14px;
}

.search-bar-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.8rem;
  font-family: var(--font-body);
  font-weight: 300;
  width: 100%;
}

.search-bar-wrap input::placeholder {
  color: rgba(255, 255, 255, .3);
}

.search-bar-wrap>i {
  color: var(--gold);
  font-size: 1.4rem;
}

.search-reset {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .5);
  font-size: 1.3rem;
  cursor: pointer;
}

.search-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, .5);
  font-size: 1.6rem;
  cursor: pointer;
}

.search-hint {
  color: rgba(255, 255, 255, .35);
  font-size: .82rem;
  margin-top: 18px;
}

.search-results {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 52vh;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .06);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background .2s;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, .12);
}

.search-result-item img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.search-result-item h6 {
  color: #fff;
  font-weight: 700;
  font-size: .87rem;
  margin: 0 0 2px;
}

.search-result-item span {
  color: var(--red);
  font-weight: 700;
  font-size: .85rem;
}

.btn-cart-sm {
  margin-left: auto;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: #fff;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  cursor: pointer;
  text-decoration: none;
}

.btn-cart-sm:hover {
  background: var(--gold);
}

.search-no-results {
  color: rgba(255, 255, 255, .35);
  text-align: center;
  margin-top: 40px;
  font-size: .95rem;
}