/* Doplňky nad clean-blog – jen to, co původní šablona neřešila.
   Záměrně drží stejné písmo a barvy, aby nebyl vidět šev. */

.nav-lang {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.flash-area {
  margin-top: 2rem;
}

/* --- mřížka vín --------------------------------------------------------- */
.wine-grid {
  margin-top: 1.5rem;
}

.wine-card {
  margin-bottom: 2.5rem;
  text-align: center;
}

.wine-card-image {
  display: block;
  margin-bottom: 1rem;
}

.wine-card-image img {
  max-width: 100%;
  height: 260px;
  object-fit: contain;
}

.wine-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  background-color: #f7f7f7;
  color: #cccccc;
  font-size: 4rem;
}

.wine-card-title {
  font-family: 'Lora', 'Times New Roman', serif;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.wine-card-title a {
  color: #212529;
}

.wine-card-title a:hover {
  color: #0085a1;
  text-decoration: none;
}

.wine-card-meta {
  color: #868e96;
  font-style: italic;
  margin-bottom: 0.25rem;
}

.wine-card-price {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.wine-card-soldout {
  color: #868e96;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* --- detail vína -------------------------------------------------------- */
.wine-photo {
  max-height: 480px;
  object-fit: contain;
  width: 100%;
}

.wine-params th {
  width: 40%;
  font-weight: 600;
  border-top: none;
}

.wine-params td {
  border-top: none;
}

.wine-description {
  font-family: 'Lora', 'Times New Roman', serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- košík a objednávka ------------------------------------------------- */
.cart-qty {
  width: 5rem;
  display: inline-block;
}

.cart-summary th,
.cart-summary td {
  border-top: none;
  padding: 0.35rem 0;
}

.cart-total th,
.cart-total td {
  border-top: 1px solid #dddddd;
  font-size: 1.15rem;
  font-weight: 700;
  padding-top: 0.6rem;
}

.section-heading {
  margin-top: 2rem;
}

.qr-code {
  border: 1px solid #eeeeee;
  padding: 6px;
  background: #ffffff;
}

/* --- ztmavení fotky v záhlaví ------------------------------------------- */
/* Původní clean-blog na .masthead žádné `position` nemá. Bez něj se overlay
   ukotví k celé stránce místo k záhlaví a ztmaví text pod ním – proto to
   `position: relative` níž, je to nutná součást, ne kosmetika. */
header.masthead {
  position: relative;
}

header.masthead .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #212529;
  opacity: 0.4;
  pointer-events: none;
}

/* Nadpis musí zůstat nad ztmavením. */
header.masthead .container {
  position: relative;
  z-index: 1;
}
