/* ========================================================
   ceskebalicky.cz – styl v4 (warm cream + burgundy + hearts)
   ======================================================== */

:root {
  --cream:   #f7efe1;
  --cream-2: #efe4cf;
  --cream-3: #fbf5e9;
  --paper:   #fffaf1;
  --ink:     #2a1e17;
  --ink-2:   #52413a;
  --muted:   #8a7a6d;
  --line:    #ead9be;
  --line-2:  #d9c39e;
  --wine:    #b93a3f;   /* z loga – červená */
  --wine-2:  #a12d34;
  --wine-3:  #7d1f26;
  --wine-4:  #ffe6e2;
  --kraft:   #b2896a;   /* z loga – karton */
  --leaf:    #4b6b3a;
  --ok:      #2f7d4a;
  --err:     #b3261e;
  --radius:  14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(60,30,10,.05), 0 2px 8px rgba(60,30,10,.05);
  --shadow:    0 6px 18px rgba(60,30,10,.07), 0 18px 40px rgba(60,30,10,.08);
  --shadow-lg: 0 20px 60px rgba(60,30,10,.16);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(1200px 700px at 100% -10%, #fce9d8 0%, transparent 55%),
    radial-gradient(900px 500px at -10% 20%, #fbe0dc 0%, transparent 55%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247,239,225,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(217,195,158,.5);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  padding: 12px 22px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo {
  height: 56px; width: auto; display: block;
  transition: transform .2s ease;
}
.brand:hover .brand-logo { transform: rotate(-2deg) scale(1.03); }

.main-nav { margin-left: auto; display: flex; gap: 6px; }
.main-nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 14.5px;
  padding: 8px 14px; border-radius: 999px; transition: .15s;
}
.main-nav a:hover { color: var(--wine); background: rgba(185,58,63,.08); }

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--cream); text-decoration: none;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow-sm); transition: .18s;
}
.cart-btn:hover { background: var(--wine); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(185,58,63,.28); }
.cart-count {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--wine-4); color: var(--wine-3);
  border-radius: 999px; font-size: 12px; font-weight: 700;
}

/* ---------- Flash ---------- */
.flash {
  padding: 14px 18px; border-radius: 14px; margin: 18px 0;
  border: 1px solid transparent; font-size: 14.5px;
}
.flash-ok  { background: #e8f5ec; color: #1f5a34; border-color: #cbe7d3; }
.flash-err { background: #fbe9e7; color: #8a1f14; border-color: #f2c9c2; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(500px 300px at 90% 20%, rgba(185,58,63,.10), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(178,137,106,.15), transparent 60%),
    linear-gradient(160deg, #fffaf1 0%, #f9ecd7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 72px 60px 68px;
  margin: 30px 0 44px;
  box-shadow: var(--shadow-sm);
}
.hero::before {
  content: '♥'; position: absolute; top: 30px; right: 60px;
  font-size: 26px; color: var(--wine); opacity: .5;
}
.hero::after {
  content: '♥'; position: absolute; bottom: 40px; left: 42%;
  font-size: 14px; color: var(--wine); opacity: .4;
}
.hero-inner { max-width: 720px; position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--wine); background: var(--wine-4);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.02em;
  margin: 0 0 18px; color: var(--ink);
}
.hero h1 em {
  font-family: 'Caveat', cursive; font-style: normal;
  color: var(--wine); font-weight: 700;
  font-size: 1.05em; line-height: 1;
}
.hero p {
  font-size: 18px; color: var(--ink-2); margin: 0 0 28px; max-width: 560px;
}
.hero .search {
  display: flex; gap: 6px; max-width: 480px;
  background: #fff; padding: 6px; border-radius: 999px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero .search input {
  flex: 1; border: 0; background: transparent; padding: 12px 18px;
  font: inherit; outline: none; color: var(--ink);
}
.hero .search input::placeholder { color: var(--muted); }
.hero .search button {
  border: 0; background: linear-gradient(180deg, var(--wine), var(--wine-2));
  color: #fff;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; cursor: pointer;
  transition: .15s; font: inherit;
}
.hero .search button:hover { background: linear-gradient(180deg, var(--wine-2), var(--wine-3)); }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px;
  font-size: 13.5px; color: var(--ink-2); font-weight: 500;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Products ---------- */
.products-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin: 8px 0 18px;
}
.products h2, .products-head h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: 30px; margin: 0; letter-spacing: -.01em;
  position: relative; padding-left: 18px;
}
.products h2::before, .products-head h2::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 4px; border-radius: 4px; background: var(--wine);
}
.products-count {
  font-size: 13.5px; color: var(--muted); font-weight: 600;
  background: var(--cream-2); padding: 5px 13px; border-radius: 999px;
}

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 14px 18px;
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.filter-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; text-decoration: none;
  color: var(--ink-2); background: var(--cream-2);
  border: 1px solid transparent;
  transition: .18s;
}
.filter-pill:hover { background: var(--wine-4); color: var(--wine-3); }
.filter-pill.active {
  background: linear-gradient(180deg, var(--wine), var(--wine-2));
  color: #fff; box-shadow: 0 6px 16px rgba(185,58,63,.28);
}
.filter-sort {
  display: flex; align-items: center; gap: 10px; margin: 0;
  flex-shrink: 0;
}
.filter-sort label {
  margin: 0; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
}
.filter-sort select {
  width: auto; margin: 0; padding: 10px 34px 10px 14px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  border-radius: 999px; border: 1px solid var(--line-2);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2352413a' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 14px center;
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.filter-sort select:hover { border-color: var(--wine-2); }
.small-btn { padding: 9px 16px; font-size: 13px; border-radius: 999px; }
@media (max-width: 640px) {
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-sort { justify-content: space-between; }
  .filter-sort select { flex: 1; }
}
.grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.card {
  background: var(--paper); border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-img { display: block; aspect-ratio: 4/3; background: var(--cream-2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img .placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-size: 56px; color: var(--wine); opacity: .55;
  background: linear-gradient(135deg, var(--cream-3), var(--cream-2));
}
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: 20px; margin: 0; letter-spacing: -.01em;
}
.card-body .muted { font-size: 14px; margin: 0; }
.card-body .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price { font-weight: 700; font-size: 22px; color: var(--wine); font-family: 'Fraunces', serif; }
.stock { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.stock.in  { background: #e8f5ec; color: #1f5a34; }
.stock.out { background: #f5e5e2; color: #8a1f14; }
.card-body form button {
  width: 100%; border: 0;
  background: var(--ink); color: var(--cream);
  padding: 12px; border-radius: 12px; font-weight: 600; cursor: pointer;
  transition: .18s; font: inherit; margin-top: 4px;
}
.card-body form button:hover:not(:disabled) { background: var(--wine); transform: translateY(-1px); }
.card-body form button:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Page title ---------- */
.page-title, h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.015em;
  margin: 30px 0 22px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; padding: 12px 22px; border-radius: 12px; cursor: pointer;
  font: inherit; font-weight: 600; text-decoration: none;
  transition: .18s; background: #fff; color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn:hover { border-color: var(--ink); }
.btn.primary {
  background: linear-gradient(180deg, var(--wine), var(--wine-2));
  color: #fff; border: 0;
  box-shadow: 0 10px 26px rgba(185,58,63,.30);
}
.btn.primary:hover { background: linear-gradient(180deg, var(--wine-2), var(--wine-3)); transform: translateY(-1px); box-shadow: 0 14px 32px rgba(185,58,63,.36); }
.btn.ghost { background: transparent; }
.big-btn { padding: 17px 26px; font-size: 16px; border-radius: 14px; width: 100%; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.actions .btn { flex: 0 0 auto; }

/* ---------- Forms ---------- */
label { display: block; margin: 12px 0; font-size: 14px; font-weight: 500; color: var(--ink-2); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], input:not([type]), textarea, select {
  width: 100%; padding: 13px 15px; margin-top: 6px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--wine); box-shadow: 0 0 0 4px rgba(185,58,63,.14);
}
label.check { display: flex; align-items: center; gap: 10px; }
label.check input { width: auto; margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Panels ---------- */
.card-panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 28px;
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.card-panel h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: 22px; margin: 0 0 14px; letter-spacing: -.01em;
}

/* ---------- Checkout ---------- */
.checkout {
  display: grid; grid-template-columns: 1fr 380px; gap: 26px;
  align-items: start;
}
.summary {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 28px;
  box-shadow: var(--shadow-sm); position: sticky; top: 96px;
}
.summary h2 {
  font-family: 'Fraunces', serif; font-size: 22px; margin: 0 0 14px;
}
.summary ul { list-style: none; padding: 0; margin: 0 0 14px; }
.summary li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px;
}
.sum-line { display: flex; justify-content: space-between; margin: 8px 0; font-size: 15px; }
.sum-line.total {
  margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--ink);
  font-size: 20px; font-family: 'Fraunces', serif; color: var(--wine);
}
.summary-note {
  display: flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 12px 14px; background: var(--cream-3); border-radius: 12px;
  color: var(--ink-2); border: 1px solid var(--line);
}

/* Delivery methods */
.delivery-methods { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 18px; }
.method {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border: 1.5px solid var(--line);
  border-radius: 14px; cursor: pointer; background: #fff;
  transition: .18s;
}
.method:hover { border-color: var(--line-2); }
.method input[type=radio] { margin: 0; accent-color: var(--wine); width: 18px; height: 18px; }
.method-body { flex: 1; }
.method-title { font-weight: 600; color: var(--ink); }
.method-desc  { margin-top: 2px; }
.method-price { font-weight: 700; color: var(--wine); font-family: 'Fraunces', serif; font-size: 17px; }
.method.is-selected {
  border-color: var(--wine); background: linear-gradient(180deg, #fff, #fdf3ee);
  box-shadow: 0 0 0 4px rgba(185,58,63,.10);
}

.pickup-box {
  border: 1px dashed var(--line-2); background: var(--cream-3);
  border-radius: 14px; padding: 18px; margin-top: 10px;
}
.pickup-header {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 10px;
}
.pickup-selected { padding: 12px 14px; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.pickup-selected-name { font-weight: 600; }

/* ---------- Pay page ---------- */
.pay { max-width: 900px; margin: 0 auto; }
.pay-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pay-status { margin: 0; color: var(--muted); }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: var(--cream-2); color: var(--ink-2);
}
.badge-pending   { background: #fff3d6; color: #8a5a00; }
.badge-paid      { background: #e0f2e6; color: #1f5a34; }
.badge-cancelled { background: #f5e5e2; color: #8a1f14; }
.badge-shipped   { background: #e5eef7; color: #1f4a7a; }

.countdown {
  background: #fff8e6; border: 1px solid #f2dfa4; color: #6d4a00;
  padding: 12px 16px; border-radius: 12px; margin: 16px 0;
  font-size: 15px;
}

.gopay-panel {
  background: linear-gradient(160deg, #fff 0%, #fdf3ee 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; margin: 20px 0 28px; box-shadow: var(--shadow);
  text-align: center;
}
.gopay-panel h2 {
  font-family: 'Fraunces', serif; font-size: 24px; margin: 10px 0 6px;
}
.gopay-panel p { color: var(--ink-2); margin: 0 auto 22px; max-width: 480px; }
.gopay-panel .big-btn { max-width: 380px; margin: 0 auto; }
.gopay-logo { display: flex; align-items: center; justify-content: center; gap: 10px; }
.gopay-badge {
  display: inline-block; background: #2b8bd8; color: #fff;
  padding: 6px 14px; border-radius: 8px; font-weight: 800; letter-spacing: .04em;
  font-size: 14px;
}
.pay-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.pay-badge {
  padding: 6px 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; font-size: 12px; color: var(--ink-2); font-weight: 600;
}

.pay-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.lines { list-style: none; padding: 0; margin: 0 0 10px; }
.lines li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px;
}

/* ---------- Cart table ---------- */
.cart-table {
  width: 100%; border-collapse: collapse; background: var(--paper);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.cart-table th, .cart-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.cart-table th { background: var(--cream-2); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cart-table input[type=number] { width: 70px; }
.inline { display: inline; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 90px; padding: 56px 0 26px;
  background: #1c1410; color: #d8cfbf;
}
.footer-logo { height: 68px; width: auto; margin-bottom: 12px; filter: brightness(1.05); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px;
}
.footer-col strong {
  display: block; color: #fff; margin-bottom: 10px;
  font-family: 'Fraunces', serif; font-size: 18px;
}
.footer-col .muted { color: #a89f8f; }
.footer-col a { color: var(--wine-4); }
.site-footer .pay-badges { justify-content: flex-start; margin-top: 14px; }
.site-footer .pay-badge { background: #2a1e18; border-color: #3a2b23; color: #d8cfbf; }
.copyright {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid #2a1e18;
  font-size: 13px; color: #8a8172; text-align: center;
}

/* ---------- Helpers ---------- */
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }

/* ---------- Admin ---------- */
.admin-body { background: var(--cream); }
.admin-header {
  background: var(--ink); color: var(--cream);
  border-bottom: 1px solid #000;
}
.admin-header .brand { gap: 10px; }
.admin-header .brand-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--wine); color: #fff; font-weight: 800; font-size: 13px;
  font-family: 'Fraunces', serif;
}
.admin-header .brand-name { color: var(--cream); font-weight: 600; }
.admin-header .main-nav a { color: #d8cfbf; }
.admin-header .main-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.admin-header .main-nav a.ext { color: var(--wine-4); }
.admin-header .cart-btn { background: var(--wine); color: #fff; }
.admin-header .cart-btn:hover { background: var(--wine-2); }
main.admin { padding-top: 28px; padding-bottom: 60px; }

.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-head h1 { margin: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; }
.stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 13.5px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.stat-num { font-weight: 800; color: var(--wine); font-family: 'Fraunces', serif; font-size: 15px; }

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.admin-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.admin-form h2 { margin-top: 0; font-family: 'Fraunces', serif; }
.admin-form.inline-form { display: flex; gap: 10px; align-items: flex-end; padding: 20px 22px; }
.admin-form.inline-form input { margin-top: 0; }
.admin-info { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 0 0 20px; }
.admin-info dt { color: var(--muted); font-size: 14px; }
.admin-info dd { margin: 0; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--paper); min-width: 640px; }
.admin-table th, .admin-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.admin-table th { background: var(--cream-2); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table select { width: auto; padding: 8px 10px; margin: 0; }
.admin-table .inline { display: inline-block; }
.admin-table details { margin-top: 6px; }
.admin-table details summary { cursor: pointer; color: var(--wine); font-size: 13px; font-weight: 600; }
.admin-table details ul { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--cream-2); color: var(--ink-2); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
}
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: capitalize; }

button.link, .link {
  background: none; border: 0; padding: 0; color: var(--wine); font: inherit;
  cursor: pointer; text-decoration: underline; font-size: 13.5px;
}
button.link.danger, .link.danger { color: var(--err); }
button.link:hover, .link:hover { opacity: .8; }

.empty { text-align: center; padding: 70px 20px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty-emoji { font-size: 44px; margin-bottom: 10px; }
.empty h2 { font-family: 'Fraunces', serif; margin: 0 0 6px; }

.login-box {
  max-width: 380px; width: 100%; margin: 90px auto; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 32px;
  box-shadow: var(--shadow);
}
.login-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 18px; color: var(--ink-2); }
.login-box h1 { font-family: 'Fraunces', serif; font-size: 24px; margin: 0 0 14px; }
.btn.block { width: 100%; }
body.center { display: flex; min-height: 100vh; background: var(--cream); background-image: radial-gradient(1200px 700px at 100% -10%, #fce9d8 0%, transparent 55%); }

/* ---------- Legal / content pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding-bottom: 50px; }
.legal h1 { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 13.5px; margin: 0 0 30px; }
.legal h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 21px;
  margin: 34px 0 12px; color: var(--ink);
}
.legal h3 { font-size: 16px; margin: 20px 0 8px; color: var(--ink-2); }
.legal p, .legal li { font-size: 15px; color: var(--ink-2); line-height: 1.75; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--wine); }
.legal .note {
  background: var(--cream-3); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; font-size: 14px; color: var(--ink-2); margin: 22px 0;
}
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.legal table th, .legal table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; font-size: 14px; }
.legal table th { background: var(--cream-2); }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 22px 0 10px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.toc a:hover { color: var(--wine); }

/* ---------- Footer legal links ---------- */
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #d8cfbf; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 100;
  max-width: 620px; margin: 0 auto;
  background: var(--ink); color: var(--cream);
  border-radius: 18px; padding: 20px 22px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  animation: cookieUp .35s ease;
}
@keyframes cookieUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner p { margin: 0; font-size: 13.5px; color: #d8cfbf; flex: 1 1 260px; }
.cookie-banner a { color: var(--wine-4); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions button {
  border: 0; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 13.5px;
  cursor: pointer; font-family: inherit;
}
.cookie-actions .cookie-accept { background: var(--wine); color: #fff; }
.cookie-actions .cookie-accept:hover { background: var(--wine-2); }
.cookie-actions .cookie-reject { background: transparent; color: #d8cfbf; border: 1px solid #46392f; }
.cookie-actions .cookie-reject:hover { border-color: #6a5a4a; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .pay-details { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .admin-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 28px; }
  .two { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .brand-logo { height: 46px; }
}

/* Bankovní převod – panel */
.bank-panel .bank-badge{ background:#2b2b2b; color:#fff; }
.bank-grid{
  display:grid; grid-template-columns: 1fr auto; gap:24px; align-items:start;
  margin: 16px 0 8px;
}
.bank-info{ margin:0; display:grid; gap:10px; }
.bank-info > div{
  display:grid; grid-template-columns: 180px 1fr; gap:8px 16px;
  padding:10px 12px; background:#faf7f2; border:1px solid #eadfce; border-radius:10px;
}
.bank-info dt{ color:#7a6a56; font-size:14px; }
.bank-info dd{ margin:0; font-size:15px; word-break:break-all; }
.bank-info dd .vs, .bank-info dd strong{ font-size:16px; letter-spacing:.5px; }
.bank-qr{
  padding:12px; background:#fff; border:1px solid #eadfce; border-radius:14px;
  text-align:center; box-shadow:0 6px 20px rgba(0,0,0,.05);
}
.bank-qr img{ display:block; width:240px; height:240px; }
@media (max-width: 720px){
  .bank-grid{ grid-template-columns: 1fr; }
  .bank-info > div{ grid-template-columns: 1fr; }
  .bank-qr{ justify-self:center; }
}

/* checkout payment radio – shared with delivery-methods look, ensure hover */
.checkout .delivery-methods .method{ cursor:pointer; }

/* ========================================================
   Refresh v5 – jemné vylepšení vzhledu (2026)
   ======================================================== */

/* Plynulý fade-in prvků */
@keyframes cbFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero, .products-head, .filter-bar, .grid, .card-panel, .summary, .gopay-panel {
  animation: cbFadeUp .55s ease both;
}
.grid .card { animation: cbFadeUp .55s ease both; }
.grid .card:nth-child(2) { animation-delay: .05s; }
.grid .card:nth-child(3) { animation-delay: .10s; }
.grid .card:nth-child(4) { animation-delay: .15s; }
.grid .card:nth-child(5) { animation-delay: .20s; }
.grid .card:nth-child(6) { animation-delay: .25s; }

/* Bohatší hero – jemný ornament + gradient text */
.hero {
  border: 1px solid rgba(217,195,158,.55);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.6);
  background:
    radial-gradient(600px 340px at 90% 0%, rgba(255,214,205,.55), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(255,232,215,.55), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--cream-3));
}
.hero h1 {
  background: linear-gradient(180deg, var(--ink) 40%, var(--wine-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
}
.hero h1 em {
  background: linear-gradient(180deg, var(--wine), var(--wine-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(185,58,63,.10); color: var(--wine-3);
  font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(185,58,63,.18);
}

/* Karty produktů – jemný lesk a hlubší hover */
.card {
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .2s ease;
  background:
    linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0) 40%),
    var(--paper);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(60,30,10,.14), 0 4px 12px rgba(60,30,10,.06);
  border-color: rgba(185,58,63,.28);
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  opacity: 0; transition: opacity .35s ease;
}
.card { position: relative; }
.card:hover::after { opacity: 1; }

.price {
  background: linear-gradient(180deg, var(--wine), var(--wine-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Filter pills – přesnější, s jemným stínem u aktivní */
.filter-pill {
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-pill:hover { transform: translateY(-1px); }
.filter-pill.active {
  box-shadow: 0 10px 24px rgba(185,58,63,.25);
}

/* Primary button – prémiový gradient + glow */
.btn.primary {
  background: linear-gradient(180deg, var(--wine), var(--wine-2));
  box-shadow: 0 10px 24px rgba(185,58,63,.28), inset 0 1px 0 rgba(255,255,255,.18);
  border: 1px solid rgba(125,31,38,.4);
}
.btn.primary:hover {
  box-shadow: 0 18px 40px rgba(185,58,63,.42), inset 0 1px 0 rgba(255,255,255,.22);
}
.big-btn { padding: 16px 28px; font-size: 16px; border-radius: 16px; }

/* Method card – zvýrazněná vybraná volba */
.method {
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.method:hover { transform: translateY(-1px); }
.method.is-selected,
.method:has(input:checked) {
  border-color: var(--wine);
  background: linear-gradient(180deg, #fff, var(--wine-4));
  box-shadow: 0 8px 20px rgba(185,58,63,.14);
}

/* Panely – jemný lesk nahoře */
.card-panel, .summary, .gopay-panel {
  background: linear-gradient(180deg, #fff, var(--paper));
}
.card-panel { box-shadow: var(--shadow-sm); }

/* Nadpisy – decentnější tracking */
.page-title, h1, h2 { letter-spacing: -0.01em; }

/* Cart button – jemný glow */
.cart-btn:hover { box-shadow: 0 14px 30px rgba(185,58,63,.34); }

/* Footer – trochu vzdušnější */
.site-footer { border-top: 1px solid rgba(217,195,158,.55); }

/* Focus stavy pro přístupnost */
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Drobnost – hezčí scrollbar */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--kraft); }
}
