.eshop-page {

  color: #1f3328;
  min-height: 70vh;
}

.site-header {
  background: rgba(31, 51, 40, .96);
}

.opening-status{
  background: none;
}

.eshop-hero {
  padding: 150px 0 70px;
  background: var(--green);
  color: #fff;
}

.eshop-hero h1 {
  margin: 10px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .95;
}

.eshop-hero p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
}

.eshop-eyebrow {
  color: #d4b46f;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 700;
}

.eshop-section {
  padding: 54px 0 80px;
}

.eshop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.eshop-layout.has-banners-both {
  grid-template-columns: 170px minmax(0, 1fr) 170px;
}

.eshop-layout.has-banner-left {
  grid-template-columns: 170px minmax(0, 1fr);
}

.eshop-layout.has-banner-right {
  grid-template-columns: minmax(0, 1fr) 170px;
}

.eshop-content {
  min-width: 0;
}

.eshop-banner-stack {
  position: sticky;
  top: 95px;
  display: grid;
  gap: 18px;
}

.eshop-side-banner {
  min-height: 280px;
  border-radius: 22px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(31,51,40,.10);
  text-align: center;
}

.eshop-side-banner a {
  color: inherit;
  text-decoration: none;
}

.eshop-side-banner img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
}

.eshop-side-banner strong,
.eshop-side-banner span {
  display: block;
}

.eshop-side-banner strong {
  font-size: 18px;
  margin-bottom: 6px;
}

.eshop-side-banner span {
  color: #657267;
  font-size: 14px;
  line-height: 1.45;
}

.eshop-grid,
.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.eshop-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(31,51,40,.10);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.eshop-card-img {
  height: 218px;
  background: #e9e5dc;
  display: block;
  overflow: hidden;
}

.eshop-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}

.eshop-card:hover .eshop-card-img img {
  transform: scale(1.035);
}

.eshop-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.eshop-card h2,
.eshop-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  line-height: 1.05;
}

.eshop-card a {
  color: inherit;
  text-decoration: none;
}

.eshop-card p {
  margin: 0;
  color: #657267;
  line-height: 1.55;
  font-size: 14px;
  flex: 1;
}

.eshop-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.eshop-card-bottom strong,
.product-price {
  font-size: 25px;
  color: #1f3328;
  font-weight: 800;
}

.eshop-card button,
.eshop-btn,
.product-buy-form button,
.cart-actions button,
.eshop-mini-btn {
  border: 0;
  border-radius: 999px;
  background: #4d9825;
  color: #fff;
  padding: 11px 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.eshop-card button:disabled,
.product-buy-form button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.eshop-mini-btn {
  padding: 9px 15px;
  font-size: 14px;
}

.eshop-alert,
.eshop-empty,
.thank-you {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(31,51,40,.08);
}

.eshop-alert-error {
  background: #fff0f0;
  color: #8a1f1f;
  margin-bottom: 20px;
}

.product-detail {
  padding: 150px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 46px;
  align-items: center;
}

.product-detail-img {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(31,51,40,.12);
  background: #fff;
}

.product-detail-img img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.product-detail-info {

  padding: 4px;

}

.product-detail-info h1 {
  padding-top: 28px;
}

.product-detail-info h1,
.cart-page h1,
.checkout-page h1,
.thank-you h1 {
  margin: 0 0 18px;
}

.eshop-back {
  color: #60725f;
  font-weight: 700;
  text-decoration: none;
}

.product-stock {
  color: #657267;
}

.product-buy-form,
.checkout-form,
.checkout-summary {
  display: grid;
  gap: 16px;
}

.product-buy-form input,
.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.cart-row input {
  width: 100%;
  border: 1px solid rgba(31,51,40,.16);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.cart-page,
.checkout-page,
.thank-you {
  padding-top: 150px;
  padding-bottom: 80px;
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr 95px 120px auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  padding: 18px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(31,51,40,.07);
}

.cart-row span {
  display: block;
  color: #657267;
  margin-top: 4px;
}

.link-button {
  border: 0;
  background: transparent;
  color: #8a1f1f;
  font-weight: 700;
  cursor: pointer;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
}

.cart-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.checkout-form,
.checkout-summary {
  background: #fff;
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(31,51,40,.09);
}

.checkout-form h2,
.checkout-summary h2 {
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
}

.checkout-address {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.method-list {
  display: grid;
  gap: 10px;
}

.method-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(31,51,40,.13);
  border-radius: 18px;
  padding: 14px;
}

.method-item small {
  display: block;
  color: #657267;
}

.terms {
  display: flex;
  gap: 10px;
  align-items: center;
}

.terms input {
  width: auto;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(31,51,40,.10);
  padding: 11px 0;
}

.summary-total {
  font-size: 20px;
  border-bottom: 0;
}

.summary-note {
  color: #657267;
  font-size: 14px;
}

.home-eshop-preview {
  padding: 40px 0px 80px;
 
}

.home-product-grid {
  margin-top: 30px;
}

.home-product-card .eshop-card-img {
  height: 210px;
}

.section-center {
  text-align: center;
  margin-top: 34px;
}

@media (max-width: 1320px) {
  .eshop-layout,
  .eshop-layout.has-banners-both,
  .eshop-layout.has-banner-left,
  .eshop-layout.has-banner-right,
  .eshop-layout.has-no-banners {
    grid-template-columns: minmax(0, 1fr);
  }

  .eshop-banner-stack {
    position: static;
    display: none;
  }
}

@media (max-width: 1120px) {
  .eshop-grid,
  .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .checkout-grid,
  .product-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .eshop-grid,
  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-address,
  .cart-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .eshop-grid,
  .home-product-grid {
    grid-template-columns: 1fr;
  }

  .eshop-hero,
  .cart-page,
  .checkout-page,
  .thank-you,
  .product-detail {
    padding-top: 120px;
  }
}

.eshop-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.eshop-category-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: #1f3328;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(31, 51, 40, .08);
}

.eshop-category-nav a.is-active {
  background: #1f3328;
  color: #fff;
}

.eshop-category-nav .eshop-cart-link {
  margin-left: auto;
  background: #d4b46f;
  color: #1f3328;
}

.eshop-product-category {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f0eadf;
  color: #60725f;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .eshop-category-nav .eshop-cart-link {
    margin-left: 0;
  }
}

/* V4: profi košík, pokračování v nákupu, náhledy produktů */
.eshop-alert-success {
  background: #f0fbf1;
  color: #1f5f2d;
  margin-bottom: 20px;
  border: 1px solid rgba(31, 95, 45, .13);
}

.eshop-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}


.js-cart-feedback {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.js-cart-feedback:empty {
  display: none;
  margin-bottom: 0;
}

.eshop-cart-success {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, #f6faf7 100%);
  color: #17231b;
  border: 1px solid rgba(31, 51, 40, .10);
}

.eshop-cart-success-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.eshop-cart-success-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  color: #1f3328;
  border: 1px solid rgba(31, 51, 40, .10);
  box-shadow: 0 14px 32px rgba(31, 51, 40, .10);
}

.eshop-cart-success-icon svg {
  width: 24px;
  height: 24px;
}

.eshop-cart-success-text {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.eshop-cart-success-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ed;
  color: #1f3328;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eshop-cart-success-text strong {
  font-size: 19px;
  line-height: 1.35;
  color: #17231b;
}

.eshop-cart-success-text p {
  margin: 0;
  color: #60725f;
  font-size: 14px;
  line-height: 1.5;
}

.eshop-alert-actions .eshop-mini-btn {
  min-height: 44px;
  padding: 10px 18px;
  background: #1f3328;
  color: #fff;
  font-weight: 800;
}

.eshop-alert-actions .eshop-mini-btn:hover {
  transform: translateY(-1px);
}

.eshop-alert-actions .eshop-mini-btn-light {
  background: #f2f0ea;
  color: #1f3328;
  border: 1px solid rgba(31, 51, 40, .12);
}


.eshop-mini-btn-light,
.eshop-btn-light {
  background: #fff;
  color: #1f3328;
  border: 1px solid rgba(31, 51, 40, .16);
}

.cart-row {
  grid-template-columns: minmax(0, 1fr) 142px 120px 42px;
}

.cart-product {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.cart-thumb,
.summary-thumb {
  display: block;
  overflow: hidden;
  background: #e9e5dc;
}

.cart-thumb {
  width: 74px;
  height: 74px;
  border-radius: 16px;
}

.cart-thumb img,
.summary-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  min-height: 42px;
  border: 1px solid rgba(31, 51, 40, .14);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.cart-qty-control input {
  width: 58px;
  height: 42px;
  border: 0;
  border-left: 1px solid rgba(31, 51, 40, .10);
  border-right: 1px solid rgba(31, 51, 40, .10);
  border-radius: 0;
  background: transparent;
  color: #17231b;
  font-weight: 900;
  text-align: center;
}

.cart-qty-control input:focus {
  outline: none;
  background: #fbfaf7;
}

.cart-qty-btn,
.cart-remove-button {
  border: 0;
  color: #1f3328;
  font-weight: 900;
  cursor: pointer;
}

.cart-qty-btn {
  width: 42px;
  height: 42px;
  background: transparent;
  font-size: 21px;
  line-height: 1;
}

.cart-remove-button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f2f0ea;
  display: inline-grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}

.cart-qty-btn:hover,
.cart-remove-button:hover {
  background: #e9e5dc;
}

.summary-product > span {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.summary-thumb {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

@media (max-width: 820px) {
  .cart-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cart-product {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .cart-thumb {
    width: 66px;
    height: 66px;
  }

  .cart-qty-control {
    width: 100%;
    max-width: 190px;
    justify-self: start;
  }

  .cart-remove-button {
    justify-self: start;
  }
}

/* V5: AJAX košík bez reloadu */
.eshop-cart-toast {
  position: fixed;
  right: 104px;
  bottom: 28px;
  z-index: 9300;
  width: min(360px, calc(100vw - 156px));
  max-width: calc(100vw - 156px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .18s ease, transform .18s ease;
}

.eshop-cart-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.eshop-cart-toast .eshop-alert {
  margin: 0;
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(31, 51, 40, .18);
}

@media (max-width: 900px) {
  .eshop-cart-toast {
    right: 16px;
    bottom: 104px;
    width: min(360px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 620px) {
  .eshop-cart-toast {
    right: 16px;
    bottom: 96px;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 640px) {
  .eshop-cart-success-head {
    gap: 12px;
  }

  .eshop-cart-success-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 16px;
  }

  .eshop-cart-success-text strong {
    font-size: 17px;
  }
}

.eshop-alert-info {
  background: #eef7f0;
  border: 1px solid rgba(31, 59, 45, .16);
  color: #1f3b2d;
}

/* V23: e-shop vizuál ve stylu klasické produktové mřížky, header/footer zůstávají původní */


.eshop-hero {
  padding: 76px 0 28px;
  background: none;
  color: #1f3328;
}

.eshop-hero .container {
  width: min(1180px, calc(100% - 32px));
}

.eshop-hero h1 {
  color: #b12d3a;
  font-family: Arial, sans-serif;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 6px 0 10px;
}

.eshop-hero p {
  max-width: 760px;
  color: #4b5b50;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.eshop-eyebrow {
  color: #1f3328;
  opacity: .72;
}

.eshop-section {
  padding: 17px 0 84px;
}

.eshop-category-nav {
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
}

.eshop-category-nav a {
  min-height: 38px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid rgba(31, 51, 40, .09);
  box-shadow: 0 8px 18px rgba(31, 51, 40, .06);
  font-size: 14px;
}

.eshop-category-nav a.is-active {
  background: #1f3328;
  border-color: #1f3328;
}

.eshop-category-nav .eshop-cart-link {
  background: #d4b46f;
  border-color: #d4b46f;
  font-weight: 900;
}

.eshop-layout.has-banners-both {
  grid-template-columns: 168px minmax(0, 1fr) 168px;
}

.eshop-layout.has-banner-left {
  grid-template-columns: 168px minmax(0, 1fr);
}

.eshop-layout.has-banner-right {
  grid-template-columns: minmax(0, 1fr) 168px;
}

.eshop-side-banner {
  min-height: 260px;
  border-radius: 4px;
  box-shadow: none;
  border: 1px solid #e3dfd5;
}

.eshop-side-banner img {
  border-radius: 3px;
}

.eshop-grid,
.home-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.eshop-card-pro,
.home-product-card {
  border-radius: 0;
  /* border: 1px solid #ddd8cf; */
  box-shadow: 0 14px 35px rgba(31, 51, 40, 0.10);
  transition: transform .2s ease, box-shadow .2s ease;
  background: #fff;
  min-height: 100%;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.eshop-card-pro:hover,
.home-product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 51, 40, .22);
  box-shadow: 0 16px 30px rgba(31, 51, 40, .10);
}

.eshop-card-pro .eshop-card-img,
.home-product-card .eshop-card-img {
  position: relative;
  height: 255px;
  background: #fff;
  border-radius: 0;
  padding: 12px;
}

.eshop-card-pro .eshop-card-img img,
.home-product-card .eshop-card-img img {
  object-fit: contain;
  background: #fff;
}

.eshop-card-pro .eshop-card-body,
.home-product-card .eshop-card-body {
  padding: 14px 16px 16px;
  gap: 9px;
}

.eshop-card-pro h2,
.home-product-card h3,
.eshop-card-pro h3 {
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 900;
  min-height: 46px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eshop-card-pro p,
.home-product-card p {
  font-size: 13px;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eshop-product-category {
  border-radius: 3px;
  background: #f2eee7;
  color: #1f3328;
}

.eshop-card-tags-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.eshop-badge-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.eshop-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 4px;
  color: #fff;
  border: 0;
  box-shadow: none;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.eshop-badge-sale {
  background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
}

.eshop-badge-tip {
  background: linear-gradient(135deg, #7c2d12 0%, #be123c 100%);
}

.eshop-badge-new {
  background: linear-gradient(135deg, #1d4ed8 0%, #06b6d4 100%);
}

.eshop-badge-limited {
  background: linear-gradient(135deg, #7c2d12 0%, #ca8a04 100%);
}

.eshop-stock-line {
  margin-top: auto;
  font-size: 15px;
  font-weight: 900;
}

.eshop-stock-line.is-available {
  color: #4d9825;
}

.eshop-stock-line.is-unavailable {
  color: #9b2530;
}

.eshop-card-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 2px;
}

.eshop-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.eshop-card-bottom strong,
.product-price {
  font-size: 24px;
  font-weight: 900;
  color: #000;
}

.eshop-old-price {
  color: #6f716c;
  text-decoration: line-through;
  font-size: 16px;
  font-weight: 700;
}

.eshop-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}

.eshop-card-actions form {
  display: grid;
}

.eshop-detail-btn,
.eshop-card button {
  min-height: 42px;
  border-radius: 0;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 900;
}

.eshop-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(32, 31, 31);
  color: #fff !important;
  text-decoration: none;
}

.eshop-card button {
  background: #4d9825;
}

.eshop-image-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f4f0e7, #e5ded0);
  color: #1f3328;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.checkout-summary em {
  color: #657267;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}

.summary-loading {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f4f0e7;
  border-radius: 12px;
  color: #1f3328;
  font-weight: 800;
}

.checkout-address.is-optional::before,
.checkout-address.is-required::before {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 800;
  color: #60725f;
}

.checkout-address.is-optional::before {
  content: "Adresa není potřeba pro vybraný způsob dopravy.";
}

.checkout-address.is-required::before {
  content: "Pro vybraný rozvoz je adresa povinná.";
  color: #8a1f1f;
}

@media (max-width: 1480px) {
  .eshop-layout.has-banners-both .eshop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1320px) {
  .eshop-layout,
  .eshop-layout.has-banners-both,
  .eshop-layout.has-banner-left,
  .eshop-layout.has-banner-right,
  .eshop-layout.has-no-banners {
    grid-template-columns: minmax(0, 1fr);
  }

  .eshop-banner-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .eshop-grid,
  .home-product-grid,
  .eshop-layout.has-banners-both .eshop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .eshop-grid,
  .home-product-grid,
  .eshop-layout.has-banners-both .eshop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eshop-card-pro .eshop-card-img,
  .home-product-card .eshop-card-img {
    height: 230px;
  }
}

@media (max-width: 560px) {
  .eshop-grid,
  .home-product-grid,
  .eshop-layout.has-banners-both .eshop-grid,
  .eshop-banner-stack {
    grid-template-columns: 1fr;
  }

  .eshop-card-actions {
    grid-template-columns: 1fr;
  }
}

/* E-shop vypnutý */
.eshop-closed-alert {
  border: 1px solid rgba(120, 54, 16, .18);
  background: #fff7e8;
  color: #4a2c14;
  margin-bottom: 26px
}
.eshop-closed-alert p {
  margin: 6px 0 0;
  color: #6b4a25;
  font-weight: 700;
}
.eshop-btn.is-disabled,
.eshop-card-actions button:disabled,
.product-buy-form button:disabled,
.checkout-form button:disabled {
  opacity: .62;
  cursor: not-allowed;
  filter: grayscale(.15);
}
.eshop-btn.is-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: #899080;
  color: #fff;
}

/* V27: horní marketingové bannery + profesionálnější filtr produktů */
.eshop-top-banners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 26px;
  
}

.eshop-top-banner {
  min-height: 138px;
  border-radius: 0;
  overflow: hidden;
  background-color: var(--banner-bg, #efe8dc);
  background-image: var(--banner-image, none);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(31, 51, 40, .10);
  box-shadow: 0 18px 45px rgba(31, 51, 40, .08);
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
}

.eshop-top-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 51, 40, 0) 30%, rgba(31, 51, 40, .58) 100%);
  opacity: 0;
  transition: opacity .2s ease;
  z-index: -1;
}

.eshop-top-banner span {
  display: grid;
  gap: 4px;
  padding: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.eshop-top-banner strong {
  font-size: 20px;
  line-height: 1.1;
}

.eshop-top-banner em {
  font-style: normal;
  font-size: 14px;
}

.eshop-top-banner:has(span)::before {
  opacity: 1;
}

.eshop-filter-box {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(31, 51, 40, .08);
  box-shadow: 0 18px 45px rgba(31, 51, 40, .07);
  backdrop-filter: blur(10px);
}

.eshop-search-form {
  display: grid;
  gap: 8px;
}

.eshop-search-form label {
  font-size: 13px;
  font-weight: 900;
  color: #60725f;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.eshop-search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.eshop-search-control input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(31, 51, 40, .14);
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  background: #fff;
  color: #1f3328;
  outline: none;
}

.eshop-search-control input:focus {
  border-color: rgba(31, 51, 40, .42);
  box-shadow: 0 0 0 4px rgba(31, 51, 40, .08);
}

.eshop-search-control button,
.eshop-search-reset {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.eshop-search-control button {
  background: #1f3328;
  color: #fff;
  cursor: pointer;
}

.eshop-search-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0eadf;
  color: #1f3328;
}

.eshop-filter-box .eshop-category-nav {
  margin-bottom: 0;
  align-items: center;
}

.eshop-filter-box .eshop-category-nav a {
  box-shadow: none;
  border: 1px solid rgba(31, 51, 40, .08);
}

.eshop-filter-box .eshop-category-nav .eshop-cart-link {
  border-color: rgba(212, 180, 111, .45);
}

.eshop-layout.has-no-banners {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 980px) {
  .eshop-top-banners {
    grid-template-columns: 1fr;
  }

  .eshop-top-banner {
    min-height: 150px;
  }
}

@media (max-width: 640px) {
  .eshop-filter-box {
    padding: 14px;
  }

  .eshop-search-control {
    grid-template-columns: 1fr;
  }

  .eshop-search-control button,
  .eshop-search-reset {
    width: 100%;
  }
}

/* V28: odstranění vyhledávacího pole, stylové kategorie a košík v headeru */
.eshop-filter-box-categories {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
  padding: 17px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(31, 51, 40, .08);
  box-shadow: 0 18px 45px rgba(31, 51, 40, .07);
  backdrop-filter: blur(10px);
}

.eshop-filter-head {
  display: grid;
  gap: 4px;
  min-width: 180px;
  padding-right: 18px;
  border-right: 1px solid rgba(31, 51, 40, .10);
}

.eshop-filter-head span {
  color: #758071;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eshop-filter-head strong {
  color: #1f3328;
  font-size: 18px;
  line-height: 1.15;
}

.eshop-filter-box-categories .eshop-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  align-items: center;
}

.eshop-filter-box-categories .eshop-category-nav a {
  min-height: 43px;
  padding: 11px 20px;
  border: 1px solid rgba(31, 51, 40, .10);
  border-radius: 999px;
  background: #fff;
  color: #1f3328;
  box-shadow: 0 8px 18px rgba(31, 51, 40, .05);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.eshop-filter-box-categories .eshop-category-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 51, 40, .24);
  box-shadow: 0 12px 26px rgba(31, 51, 40, .09);
}

.eshop-filter-box-categories .eshop-category-nav a.is-active {
  background: #1f3328;
  border-color: #1f3328;
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 51, 40, .18);
}

.eshop-filter-box-categories .eshop-category-nav a.is-active::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #d4b46f;
  box-shadow: 0 0 0 4px rgba(212, 180, 111, .18);
}

@media (max-width: 820px) {
  .eshop-filter-box-categories {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .eshop-filter-head {
    min-width: 0;
    padding-right: 0;
    padding-bottom: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(31, 51, 40, .10);
  }

  .eshop-filter-box-categories .eshop-category-nav a {
    min-height: 40px;
    padding: 10px 15px;
  }
}


/* V31: druhá sada marketingových bannerů pod druhou řadou produktů */
.eshop-marketing-banners {
  display: grid;
  gap: 18px;
}

.eshop-top-banners.eshop-marketing-banners {
  margin: 0 0 26px;
}

.eshop-middle-banners.eshop-marketing-banners {
  grid-column: 1 / -1;
  width: 100%;
  margin: 28px 0 34px;
}

.eshop-marketing-banners.has-count-1 {
  grid-template-columns: minmax(260px, 440px);
  justify-content: center;
}

.eshop-marketing-banners.has-count-2 {
  grid-template-columns: repeat(2, minmax(260px, 440px));
  justify-content: center;
}

.eshop-marketing-banners.has-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eshop-middle-banners .eshop-top-banner {
  min-height: 132px;
}

@media (max-width: 980px) {
  .eshop-marketing-banners.has-count-1,
  .eshop-marketing-banners.has-count-2,
  .eshop-marketing-banners.has-count-3 {
    grid-template-columns: 1fr;
  }

  .eshop-middle-banners.eshop-marketing-banners {
    margin: 22px 0 28px;
  }
}

/* V32: jednodušší filtr kategorií bez velkého boxu */
.eshop-category-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 22px 0 26px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.eshop-category-filter-label {
  color: #6f7a70;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.eshop-category-filter .eshop-category-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.eshop-category-filter .eshop-category-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 9px 18px;
  border: 1px solid rgba(31, 51, 40, .12);
  border-radius: 999px;
  background: #fff;
  color: #1f3328;
  box-shadow: none;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.eshop-category-filter .eshop-category-nav a:hover {
  border-color: rgba(31, 51, 40, .32);
  background: #f7f4ed;
}

.eshop-category-filter .eshop-category-nav a.is-active {
  border-color: #1f3328;
  background: #1f3328;
  color: #fff;
}

.eshop-category-filter .eshop-category-nav a.is-active::before,
.eshop-filter-box-categories .eshop-category-nav a.is-active::before {
  display: none;
  content: none;
}

.eshop-category-select-form {
  width: min(360px, 100%);
  margin: 0;
}

.eshop-category-select-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 42px 0 16px;
  border: 1px solid rgba(31, 51, 40, .18);
  border-radius: 999px;
  background: #fff;
  color: #1f3328;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .eshop-category-filter {
    display: block;
    margin: 18px 0 22px;
  }

  .eshop-category-filter-label {
    display: block;
    margin-bottom: 10px;
  }

  .eshop-category-filter .eshop-category-nav {
    gap: 8px;
  }

  .eshop-category-filter .eshop-category-nav a {
    min-height: 34px;
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* V37: štítky produktu vedle sebe dole */

@media (max-width: 560px) {
  .eshop-card-tags-row,
  .eshop-badge-row {
    gap: 6px;
  }

  .eshop-badge {
    min-height: 22px;
    padding: 4px 8px;
    font-size: 10px;
  }
}


/* V38: doplňkové zboží v detailu produktu a košíku */
.eshop-addon-section {
  margin-top: -28px;
  padding-bottom: 80px;
}

.eshop-addon-section-cart {
  margin-top: 34px;
  padding-bottom: 0;
}

.eshop-addon-head {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.eshop-addon-head span {
  color: #7c2d12;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eshop-addon-head h2 {
  margin: 0;
  color: #1f3328;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.eshop-addon-head p {
  margin: 0;
  color: #657267;
  line-height: 1.55;
}

.eshop-addon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.eshop-addon-card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(31, 51, 40, .10);
  box-shadow: 0 12px 32px rgba(31, 51, 40, .07);
}

.eshop-addon-image {
  width: 94px;
  height: 94px;
  display: block;
  overflow: hidden;
  background: #f2eee7;
}

.eshop-addon-image img,
.eshop-addon-image span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  object-fit: cover;
  color: #657267;
  font-size: 12px;
  font-weight: 800;
}

.eshop-addon-body {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.eshop-addon-body strong {
  color: #1f3328;
  font-size: 15px;
  line-height: 1.25;
}

.eshop-addon-body > span {
  color: #17231b;
  font-size: 15px;
  font-weight: 900;
}

.eshop-addon-body form {
  margin: 0;
}

.eshop-addon-body button {
  width: 100%;
  min-height: 38px;
  border: 0;
  background: #5f9f2e;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.eshop-addon-body button:disabled {
  background: #7b827b;
  cursor: not-allowed;
}

@media (max-width: 1180px) {
  .eshop-addon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .eshop-addon-section {
    margin-top: -14px;
    padding-bottom: 58px;
  }

  .eshop-addon-section-cart {
    margin-top: 26px;
    padding-bottom: 0;
  }

  .eshop-addon-grid {
    grid-template-columns: 1fr;
  }

  .eshop-addon-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .eshop-addon-image {
    width: 82px;
    height: 82px;
  }
}


/* V39: funkční zobrazení produktových informací */
.product-info-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 18px;
}

.product-info-flags span,
.cart-product-flags small,
.summary-product-flags {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f3efe6;
  color: #5b4a35;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.cart-product-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.summary-product-flags {
  margin-top: 5px;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .product-info-flags,
  .cart-product-flags {
    gap: 6px;
  }

  .product-info-flags span,
  .cart-product-flags small,
  .summary-product-flags {
    font-size: 10px;
    padding: 4px 8px;
  }
}


/* V328: košík bez ručního přepočítání + posuvný náhled produktů na úvodu */
.js-cart-page-form.is-updating {
  opacity: .72;
  pointer-events: none;
}

.cart-auto-error {
  margin-bottom: 16px;
}

.home-product-slider-wrap {
  position: relative;
  margin-top: 6px;
}

.home-product-slider {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 22px;
  scrollbar-width: none;
}

.home-product-slider::-webkit-scrollbar {
  display: none;
}

.home-product-slider .home-product-card {
  flex: 0 0 calc((100% - 66px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}

.home-product-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(31, 51, 40, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #1f3328;
  box-shadow: 0 14px 34px rgba(31, 51, 40, .16);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.home-product-arrow:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 18px 42px rgba(31, 51, 40, .22);
  background: #fff;
}

.home-product-arrow-left {
  left: -23px;
}

.home-product-arrow-right {
  right: -23px;
}

.home-product-slider .eshop-card-actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.home-product-slider .eshop-card-actions form {
  display: contents;
}

@media (max-width: 1180px) {
  .home-product-slider .home-product-card {
    flex-basis: calc((100% - 44px) / 3);
  }
}

@media (max-width: 820px) {
  .home-product-slider .home-product-card {
    flex-basis: calc((100% - 22px) / 2);
  }

  .home-product-arrow-left {
    left: -10px;
  }

  .home-product-arrow-right {
    right: -10px;
  }
}

@media (max-width: 560px) {
  .home-product-slider {
    gap: 16px;
    padding-inline: 0;
  }

  .home-product-slider .home-product-card {
    flex-basis: 82%;
  }

  .home-product-arrow {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .home-product-arrow-left {
    left: -4px;
  }

  .home-product-arrow-right {
    right: -4px;
  }
}


/* V329: pevné doplňkové zboží v košíku */
.cart-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.cart-page-main {
  min-width: 0;
}

.cart-addon-sticky {
  position: sticky;
  top: 110px;
  align-self: start;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding-right: 4px;
}

.cart-addon-sticky .eshop-addon-section-cart {
  margin-top: 0;
  padding-bottom: 0;
}

.cart-addon-sticky .eshop-addon-head {
  position: sticky;
  top: 0;
  z-index: 2;
  margin-bottom: 14px;
  padding: 18px 18px 14px;
  background: #fffaf1;
  border: 1px solid rgba(124, 45, 18, .14);
  box-shadow: 0 12px 30px rgba(31, 51, 40, .06);
}

.cart-addon-sticky .eshop-addon-head h2 {
  font-family: inherit;
  font-size: 22px;
  line-height: 1.15;
}

.eshop-addon-grid-cart-fixed {
  grid-template-columns: 1fr;
  gap: 12px;
}

.eshop-addon-grid-cart-fixed .eshop-addon-card {
  grid-template-columns: 78px minmax(0, 1fr);
  padding: 12px;
}

.eshop-addon-grid-cart-fixed .eshop-addon-image {
  width: 78px;
  height: 78px;
}

.eshop-addon-grid-cart-fixed .eshop-addon-body {
  gap: 6px;
}

.eshop-addon-grid-cart-fixed .eshop-addon-body strong {
  font-size: 14px;
}

.eshop-addon-grid-cart-fixed .eshop-addon-body > span {
  font-size: 14px;
}

.eshop-addon-grid-cart-fixed .eshop-addon-body button {
  min-height: 34px;
}

@media (max-width: 1180px) {
  .cart-page-layout {
    grid-template-columns: 1fr;
  }

  .cart-addon-sticky {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .cart-addon-sticky .eshop-addon-head {
    position: static;
  }

  .eshop-addon-grid-cart-fixed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cart-page-layout {
    gap: 22px;
  }

  .cart-addon-sticky .eshop-addon-head {
    padding: 16px;
  }

  .eshop-addon-grid-cart-fixed {
    grid-template-columns: 1fr;
  }
}

/* V330: pevné doplňkové zboží v detailu produktu */
.product-detail-page {
  padding: 150px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.product-detail-main {
  min-width: 0;
}

.product-detail-inline {
  width: 100%;
  padding: 0;
  grid-template-columns: minmax(260px, .9fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.product-detail-inline .product-detail-img img {
  min-height: 100%;
  height: 100%;
}

.product-addon-sticky {
  position: sticky;
  top: 110px;
  align-self: start;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding-right: 4px;
}

.product-addon-sticky .eshop-addon-section-product-fixed {
  margin-top: 0;
  padding-bottom: 0;
}

.product-addon-sticky .eshop-addon-head {
  position: sticky;
  top: 0;
  z-index: 2;
  margin-bottom: 14px;
  padding: 18px 18px 14px;
  background: white;
  border: 1px solid rgba(124, 45, 18, .14);
  box-shadow: 0 12px 30px rgba(31, 51, 40, .06);
}

.product-addon-sticky .eshop-addon-head h2 {
  font-family: inherit;
  font-size: 22px;
  line-height: 1.15;
}

.eshop-addon-grid-product-fixed {
  grid-template-columns: 1fr;
  gap: 12px;
}

.eshop-addon-grid-product-fixed .eshop-addon-card {
  grid-template-columns: 78px minmax(0, 1fr);
  padding: 12px;
}

.eshop-addon-grid-product-fixed .eshop-addon-image {
  width: 78px;
  height: 78px;
}

.eshop-addon-grid-product-fixed .eshop-addon-body {
  gap: 6px;
}

.eshop-addon-grid-product-fixed .eshop-addon-body strong,
.eshop-addon-grid-product-fixed .eshop-addon-body > span {
  font-size: 14px;
}

.eshop-addon-grid-product-fixed .eshop-addon-body button {
  min-height: 34px;
}

@media (max-width: 1180px) {
  .product-detail-page {
    grid-template-columns: 1fr;
  }

  .product-addon-sticky {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .product-addon-sticky .eshop-addon-head {
    position: static;
  }

  .eshop-addon-grid-product-fixed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .product-detail-inline {
    grid-template-columns: 1fr;
  }

  .product-detail-inline .product-detail-img img {
    min-height: 360px;
    height: auto;
  }
}

@media (max-width: 640px) {
  .product-detail-page {
    padding-top: 120px;
    padding-bottom: 58px;
    gap: 22px;
  }

  .product-detail-inline .product-detail-img img {
    min-height: 280px;
  }

  .product-addon-sticky .eshop-addon-head {
    padding: 16px;
  }

  .eshop-addon-grid-product-fixed {
    grid-template-columns: 1fr;
  }
}


/* V331: čisté bílé sekce a sjednocené posuvníky */
.home-eshop-preview {
  background: #fff;
}

.eshop-product-category {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid rgba(31, 51, 40, .12);
  color: #1f3328;
  font-size: 11px;
  font-weight: 800;
}

.home-product-arrow,
.gallery-arrow,
.ready-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(31, 51, 40, .14);
  border-radius: 999px;
  background: #fff;
  color: #1f3328;
  box-shadow: 0 14px 34px rgba(31, 51, 40, .12);
  font-size: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.home-product-arrow::before,
.gallery-arrow::before,
.ready-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.home-product-arrow-left,
.gallery-arrow-left,
.ready-arrow-left {
  left: -26px;
}

.home-product-arrow-right,
.gallery-arrow-right,
.ready-arrow-right {
  right: -26px;
}

.home-product-arrow-left::before,
.gallery-arrow-left::before,
.ready-arrow-left::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.home-product-arrow-right::before,
.gallery-arrow-right::before,
.ready-arrow-right::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.home-product-arrow:hover,
.gallery-arrow:hover,
.ready-arrow:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 18px 42px rgba(31, 51, 40, .18);
  background: #1f3328;
  color: #fff;
}

@media (max-width: 1200px) {
  .home-product-arrow-left,
  .gallery-arrow-left,
  .ready-arrow-left {
    left: -18px;
  }

  .home-product-arrow-right,
  .gallery-arrow-right,
  .ready-arrow-right {
    right: -18px;
  }
}

@media (max-width: 640px) {
  .home-product-arrow,
  .gallery-arrow,
  .ready-arrow {
    display: none;
  }
}


/* V332: pevně bílé pozadí slideru homepage */
.home-eshop-preview,
.home-eshop-preview .container,
.home-product-slider-wrap,
.home-product-slider {
  background: #fff !important;
}


/* V333: odstranění světlých pruhů u homepage e-shop slideru */
.home-eshop-preview,
.home-eshop-preview .container,
.home-product-slider-wrap,
.home-product-slider,
.home-product-slider .home-product-card,
.home-product-slider .eshop-card-img,
.home-product-slider .eshop-card-body,
.home-product-slider .product-card,
.home-product-slider .product-tile,
.home-product-slider .swiper-slide {
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.home-eshop-preview {
  background: #fff !important;
}

.home-product-slider .eshop-card-img img,
.home-product-slider .home-product-card img,
.home-product-slider .product-card img,
.home-product-slider .product-tile img,
.home-product-slider .swiper-slide img {
  display: block;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.home-product-slider {
  gap: 22px;
}


/* V334: lehký shadow po odstranění pruhů */
.home-product-slider .home-product-card {
  background: #fff !important;
  border: 1px solid rgba(31, 51, 40, .06) !important;
  box-shadow: 0 8px 20px rgba(31, 51, 40, .05) !important;
}

.home-product-slider .home-product-card:hover {
  box-shadow: 0 12px 24px rgba(31, 51, 40, .08) !important;
}

.home-product-slider .eshop-card-img,
.home-product-slider .eshop-card-body {
  background: #fff !important;
}


/* V335: shadow jen mezi položkami slideru, bez spodního stínu */
.home-product-slider .home-product-card {
  box-shadow:
    12px 0 18px -18px rgba(31, 51, 40, .22),
    -12px 0 18px -18px rgba(31, 51, 40, .22) !important;
}

.home-product-slider .home-product-card:hover {
  box-shadow:
    14px 0 22px -18px rgba(31, 51, 40, .26),
    -14px 0 22px -18px rgba(31, 51, 40, .26) !important;
}


/* V336: filtry nabídky a řazení produktů */
.eshop-category-filter {
  display: grid;
  gap: 12px;
  margin: 26px 0 26px;
}

.eshop-filter-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.eshop-filter-row-secondary {
  margin-top: -2px;
}

.eshop-filter-row .eshop-category-filter-label {
  min-width: 88px;
  margin: 0;
}

.eshop-category-nav {
  margin-bottom: 0;
}

.eshop-category-nav-compact a {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 13px;
  box-shadow: none;
  border: 1px solid rgba(31, 51, 40, .12);
}

.eshop-category-nav-compact a:not(.is-active):hover,
.eshop-category-nav a:not(.is-active):hover {
  border-color: rgba(31, 51, 40, .22);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .eshop-filter-row {
    align-items: flex-start;
  }

  .eshop-filter-row .eshop-category-filter-label {
    width: 100%;
    min-width: 0;
  }

  .eshop-category-nav,
  .eshop-category-nav-compact {
    width: 100%;
    gap: 8px;
  }

  .eshop-category-nav a,
  .eshop-category-nav-compact a {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }
}


/* V337: řazení jako hlavní prvek, ostatní filtry rozbalovací */
.eshop-filter-compact {
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 51, 40, .08);
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 51, 40, .045);
}

.eshop-filter-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.eshop-filter-main-title {
  display: grid;
  gap: 4px;
  min-width: 130px;
}

.eshop-filter-main-title strong {
  color: #1f3328;
  font-size: 14px;
  font-weight: 900;
}

.eshop-sort-nav {
  margin-left: auto;
  justify-content: flex-end;
}

.eshop-more-filters {
  border-top: 1px solid rgba(31, 51, 40, .08);
  padding-top: 12px;
}

.eshop-more-filters summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 0;
  color: #1f3328;
  cursor: pointer;
  user-select: none;
}

.eshop-more-filters summary::-webkit-details-marker {
  display: none;
}

.eshop-more-filters summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eshop-more-filters summary span::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #1f3328;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.eshop-more-filters[open] summary span::before {
  content: "−";
}

.eshop-more-filters summary em {
  color: #6f766f;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

.eshop-more-filters-body {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

@media (max-width: 900px) {
  .eshop-filter-main-row {
    align-items: flex-start;
  }

  .eshop-sort-nav {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .eshop-filter-compact {
    padding: 16px 14px;
  }

  .eshop-more-filters summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .eshop-more-filters summary em {
    text-align: left;
  }
}


/* V338: filtry bez parametrů v URL */
.eshop-filter-form {
  margin: 0;
}

.eshop-category-nav button,
.eshop-filter-reset-form button,
.eshop-empty-reset button {
  font: inherit;
}

.eshop-category-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1f3328;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(31, 51, 40, .08);
  cursor: pointer;
}

.eshop-category-nav button.is-active {
  background: #1f3328;
  color: #fff;
}

.eshop-category-nav button:hover {
  transform: translateY(-1px);
}

.eshop-filter-reset-form {
  margin: 14px 0 0;
}

.eshop-filter-reset-form button {
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid rgba(31, 51, 40, .14);
  border-radius: 999px;
  background: #fff;
  color: #5f2c2c;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.eshop-empty-reset {
  margin: 0;
}

.eshop-empty-reset .eshop-btn {
  border: 0;
  cursor: pointer;
}


/* V339: tlačítka v náhledu produktů na hlavní straně stejně jako v e-shopu */
.home-product-slider .eshop-card-actions,
.home-product-card .eshop-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  align-items: stretch !important;
}

.home-product-slider .eshop-card-actions form,
.home-product-card .eshop-card-actions form {
  display: grid !important;
  min-width: 0 !important;
}

.home-product-slider .eshop-detail-btn,
.home-product-slider .eshop-card button,
.home-product-card .eshop-detail-btn,
.home-product-card .eshop-card button {
  width: 100% !important;
  min-height: 42px !important;
  border-radius: 0 !important;
  padding: 10px 12px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.home-product-slider .eshop-detail-btn,
.home-product-card .eshop-detail-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.home-product-slider .eshop-card button,
.home-product-card .eshop-card button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background: #4d9825 !important;
  color: #fff !important;
  cursor: pointer !important;
}

.home-product-slider .eshop-card button:disabled,
.home-product-card .eshop-card button:disabled {
  opacity: .62 !important;
  cursor: not-allowed !important;
  filter: grayscale(.15) !important;
}

@media (max-width: 560px) {
  .home-product-slider .eshop-card-actions,
  .home-product-card .eshop-card-actions {
    grid-template-columns: 1fr !important;
  }
}


/* V340: doplňky v detailu produktu - prázdný stav a jisté zobrazení panelu */
.eshop-addon-empty {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(31, 51, 40, .18);
  border-radius: 18px;
  background: #fffaf0;
  color: #1f3328;
}

.eshop-addon-empty strong {
  font-size: 16px;
}

.eshop-addon-empty p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.eshop-addon-empty em {
  font-style: normal;
  font-weight: 900;
}


/* V341: homepage e-shop slider - pokud jsou méně než 4 produkty, karty jsou uprostřed a šipky se neschovávají v layoutu */
.home-product-slider-wrap.is-static {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.home-product-slider-wrap.is-static .home-product-arrow {
  display: none !important;
}

.home-product-slider.is-static {
  justify-content: center !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home-product-slider.is-static .home-product-card {
  flex: 0 1 286px !important;
  width: 286px !important;
  max-width: 100% !important;
  scroll-snap-align: unset !important;
}

@media (max-width: 980px) {
  .home-product-slider.is-static .home-product-card {
    flex-basis: min(286px, calc(50% - 11px)) !important;
    width: min(286px, calc(50% - 11px)) !important;
  }
}

@media (max-width: 560px) {
  .home-product-slider.is-static {
    justify-content: stretch !important;
  }

  .home-product-slider.is-static .home-product-card {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
}


/* =========================================================
   V342: sjednocení výšky produktových karet v e-shopu i na homepage
   - stejná výška obrázku
   - stejná výška štítků/názvu/popisu/skladu
   - cena a tlačítka vždy dole
========================================================= */
.eshop-grid {
  align-items: stretch;
}

.eshop-card-pro,
.home-product-card {
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
}

.eshop-card-pro .eshop-card-img,
.home-product-card .eshop-card-img {
  flex: 0 0 255px;
  height: 255px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

.eshop-card-pro .eshop-card-img img,
.home-product-card .eshop-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.eshop-card-pro .eshop-card-body,
.home-product-card .eshop-card-body {
  flex: 1 1 auto !important;
  display: grid !important;
  grid-template-rows: 34px 48px 50px 26px minmax(0, 1fr) auto !important;
  gap: 9px !important;
  min-height: 0;
}

.eshop-card-tags-row {
  min-height: 34px;
  margin-bottom: 0 !important;
  align-content: start;
}

.eshop-card-tags-row.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.eshop-card-pro h2,
.eshop-card-pro h3,
.home-product-card h3 {
  min-height: 0 !important;
  height: 48px !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.eshop-card-pro p,
.home-product-card p {
  min-height: 0 !important;
  height: 50px !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.eshop-stock-line {
  min-height: 26px;
  margin-top: 0 !important;
  display: flex;
  align-items: center;
}

.eshop-card-bottom {
  align-self: stretch;
  margin-top: auto !important;
}

.eshop-price-wrap {
  min-height: 31px;
}

.eshop-card-actions {
  min-height: 42px;
}

.eshop-detail-btn,
.eshop-card-actions button {
  width: 100%;
  height: 100%;
  min-height: 42px;
  line-height: 1.15;
}

.eshop-card-actions form {
  min-width: 0;
}

@media (max-width: 820px) {
  .eshop-card-pro .eshop-card-img,
  .home-product-card .eshop-card-img {
    flex-basis: 230px;
    height: 230px !important;
  }
}

@media (max-width: 560px) {
  .eshop-card-pro .eshop-card-body,
  .home-product-card .eshop-card-body {
    grid-template-rows: 34px auto auto 26px minmax(0, 1fr) auto !important;
  }

  .eshop-card-pro h2,
  .eshop-card-pro h3,
  .home-product-card h3,
  .eshop-card-pro p,
  .home-product-card p {
    height: auto !important;
    min-height: 0 !important;
  }
}


/* =========================================================
   V343: pevná spodní část karet i pro produkty "Není skladem"
   Tlačítko se nesmí zalomením zvětšit a rozhodit výšku karty.
========================================================= */
.eshop-card-pro .eshop-card-bottom,
.home-product-card .eshop-card-bottom {
  display: grid !important;
  grid-template-rows: 31px 44px !important;
  gap: 10px !important;
  align-self: stretch !important;
  margin-top: auto !important;
}

.eshop-card-pro .eshop-price-wrap,
.home-product-card .eshop-price-wrap {
  min-height: 31px !important;
  height: 31px !important;
  display: flex !important;
  align-items: baseline !important;
}

.eshop-card-pro .eshop-card-actions,
.home-product-card .eshop-card-actions {
  min-height: 44px !important;
  height: 44px !important;
  display: grid !important;
  grid-template-columns: 86px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: stretch !important;
}

.eshop-card-pro .eshop-card-actions form,
.home-product-card .eshop-card-actions form {
  display: grid !important;
  min-height: 0 !important;
  height: 44px !important;
}

.eshop-card-pro .eshop-detail-btn,
.eshop-card-pro .eshop-card-actions button,
.home-product-card .eshop-detail-btn,
.home-product-card .eshop-card-actions button {
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 10px !important;
  overflow: hidden !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.eshop-card-pro .eshop-card-actions button,
.home-product-card .eshop-card-actions button {
  font-size: 14px !important;
  padding-inline: 8px !important;
}

.eshop-card-pro .eshop-card-actions button:disabled,
.home-product-card .eshop-card-actions button:disabled {
  font-size: 13px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

@media (max-width: 560px) {
  .eshop-card-pro .eshop-card-bottom,
  .home-product-card .eshop-card-bottom {
    grid-template-rows: 31px auto !important;
  }

  .eshop-card-pro .eshop-card-actions,
  .home-product-card .eshop-card-actions {
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .eshop-card-pro .eshop-card-actions form,
  .home-product-card .eshop-card-actions form {
    height: 44px !important;
  }
}


/* =========================================================
   V344: poradenský banner přímo v e-shopu
========================================================= */
.eshop-advice-banner {
  padding: 34px 0 92px;
  background: #fff;
}

.eshop-advice-card {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: clamp(34px, 6vw, 70px) 24px;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(212, 180, 111, .16), transparent 34%),
    linear-gradient(135deg, #1f3328 0%, #314637 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 70px rgba(31, 51, 40, .15);
}

.eshop-advice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.07), transparent 25%, rgba(255,255,255,.05) 78%, transparent),
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.10), transparent 30%);
  pointer-events: none;
}

.eshop-advice-card::after {
  content: "✿";
  position: absolute;
  right: clamp(18px, 5vw, 68px);
  bottom: -38px;
  color: rgba(255, 255, 255, .06);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(110px, 16vw, 220px);
  line-height: 1;
  pointer-events: none;
}

.eshop-advice-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 12px;
  color: #d4b46f;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eshop-advice-card h2 {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 5.5vw, 74px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.035em;
}

.eshop-advice-card p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.75;
}

.eshop-advice-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.eshop-advice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.eshop-advice-btn:hover {
  transform: translateY(-2px);
}

.eshop-advice-btn.is-primary {
  border-color: #d4b46f;
  background: rgba(212, 180, 111, .10);
}

.eshop-advice-btn.is-secondary {
  background: rgba(255, 255, 255, .06);
}

@media (max-width: 760px) {
  .eshop-advice-banner {
    padding: 22px 0 64px;
  }

  .eshop-advice-card {
    min-height: auto;
    padding: 34px 18px;
  }

  .eshop-advice-card h2 {
    font-size: 42px;
  }

  .eshop-advice-card p {
    font-size: 14px;
  }

  .eshop-advice-actions {
    display: grid;
    width: 100%;
    max-width: 320px;
  }

  .eshop-advice-btn {
    width: 100%;
  }
}

/* =========================================================
   V345: e-shop CTA stejný styl jako ostatní stránky
   Nahrazuje předchozí vlastní poradenský banner.
========================================================= */
.eshop-cta-home {
  padding: 95px 0;
  background: var(--green);
  color: var(--white);
  text-align: center;
}

.eshop-cta-home .container {
  max-width: 980px;
}

.eshop-cta-home h2 {
  margin: 10px 0 22px;
  color: var(--white);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: .95;
}

.eshop-cta-home p {
  max-width: 560px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.8;
}

.eshop-cta-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.eshop-cta-home .btn {
  color: var(--white);
  text-decoration: none;
}

.eshop-cta-home .btn-primary {
  border-color: var(--gold);
}

.eshop-cta-home .btn-outline {
  border-color: rgba(255, 255, 255, .56);
}

.eshop-cta-home .btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Původní vlastní e-shop advice banner je vypnutý, kdyby někde zůstal v cache/šabloně. */
.eshop-advice-banner {
  display: none;
}

@media (max-width: 640px) {
  .eshop-cta-home {
    padding: 72px 0;
  }

  .eshop-cta-home h2 {
    font-size: 42px;
  }

  .eshop-cta-home .hero-actions {
    display: grid;
    max-width: 320px;
    margin: 0 auto;
  }

  .eshop-cta-home .btn {
    width: 100%;
  }
}


/* =========================================================
   V346: stránkování e-shopu po 20 produktech
========================================================= */
.eshop-pagination {
  display: grid;
  gap: 16px;
  justify-items: center;
  margin: 42px 0 0;
  padding: 24px;
  border: 1px solid rgba(31, 51, 40, .08);
  background: #fff;
  box-shadow: 0 14px 35px rgba(31, 51, 40, .07);
}

.eshop-pagination p {
  margin: 0;
  color: #657267;
  font-size: 14px;
  font-weight: 800;
}

.eshop-pagination-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.eshop-pagination-links a,
.eshop-pagination-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(31, 51, 40, .12);
  background: #fff;
  color: #1f3328;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.eshop-pagination-links a:hover,
.eshop-pagination-links .is-active {
  border-color: #1f3328;
  background: #1f3328;
  color: #fff;
}

.eshop-pagination-links .is-disabled {
  opacity: .38;
  cursor: not-allowed;
}

@media (max-width: 560px) {
  .eshop-pagination {
    padding: 18px 12px;
  }

  .eshop-pagination-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .eshop-pagination-links a,
  .eshop-pagination-links span {
    width: 100%;
    padding-inline: 8px;
  }
}


/* =========================================================
   V347: mobilní homepage náhled e-shopu více na střed
   - karta je na telefonu centrovaná
   - další karta zbytečně nevykukuje do pohledu
========================================================= */
@media (max-width: 560px) {
  .home-product-slider-wrap {
    overflow: hidden !important;
  }

  .home-product-slider {
    --home-mobile-card-width: min(330px, calc(100vw - 64px));
    justify-content: flex-start !important;
    gap: 16px !important;
    padding-left: max(18px, calc((100% - var(--home-mobile-card-width)) / 2)) !important;
    padding-right: max(18px, calc((100% - var(--home-mobile-card-width)) / 2)) !important;
    scroll-padding-left: max(18px, calc((100% - var(--home-mobile-card-width)) / 2)) !important;
    scroll-padding-right: max(18px, calc((100% - var(--home-mobile-card-width)) / 2)) !important;
  }

  .home-product-slider .home-product-card {
    flex: 0 0 var(--home-mobile-card-width) !important;
    width: var(--home-mobile-card-width) !important;
    max-width: var(--home-mobile-card-width) !important;
    scroll-snap-align: center !important;
  }

  .home-product-slider.is-static {
    display: grid !important;
    grid-template-columns: minmax(0, var(--home-mobile-card-width)) !important;
    justify-content: center !important;
    overflow: visible !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .home-product-slider.is-static .home-product-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: initial !important;
  }

  .home-product-slider .eshop-card-img {
    height: 220px !important;
    flex-basis: 220px !important;
  }
}

@media (max-width: 390px) {
  .home-product-slider {
    --home-mobile-card-width: calc(100vw - 54px);
  }
}


/* =========================================================
   V348: mobilní produktové fotky bez deformace
   Pouze produktové karty e-shopu a homepage náhledu.
   Hero, galerie a bannery zůstávají na cover.
========================================================= */
@media (max-width: 560px) {
  .eshop-card-pro .eshop-card-img,
  .home-product-card .eshop-card-img,
  .home-product-slider .home-product-card .eshop-card-img {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    display: grid !important;
    place-items: center !important;
    padding: 12px !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .eshop-card-pro .eshop-card-img img,
  .home-product-card .eshop-card-img img,
  .home-product-slider .home-product-card .eshop-card-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }

  .eshop-card-pro:hover .eshop-card-img img,
  .home-product-card:hover .eshop-card-img img,
  .home-product-slider .home-product-card:hover .eshop-card-img img {
    transform: none !important;
  }

  .eshop-image-placeholder {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }
}

@media (max-width: 390px) {
  .eshop-card-pro .eshop-card-img,
  .home-product-card .eshop-card-img,
  .home-product-slider .home-product-card .eshop-card-img {
    padding: 10px !important;
  }
}


/* =========================================================
   V349: učesaný mobilní filtr v e-shopu
   Čistší řazení, přehlednější další filtry a menší mezery.
========================================================= */
@media (max-width: 640px) {
  .eshop-category-filter.eshop-filter-compact {
    position: relative;
    gap: 12px !important;
    margin: 18px 0 24px !important;
    padding: 14px !important;
    border: 1px solid rgba(31, 51, 40, .08) !important;
    border-radius: 18px !important;
    background:
      linear-gradient(180deg, #fff 0%, #fbfaf7 100%) !important;
    box-shadow: 0 12px 32px rgba(31, 51, 40, .07) !important;
  }

  .eshop-filter-main-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  .eshop-filter-main-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-width: 0 !important;
    padding: 0 2px 2px !important;
  }

  .eshop-filter-main-title .eshop-category-filter-label {
    margin: 0 !important;
    color: #9a7a2f !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    letter-spacing: .11em !important;
  }

  .eshop-filter-main-title strong {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: #f5f3ee !important;
    color: #1f3328 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  .eshop-sort-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    justify-content: stretch !important;
  }

  .eshop-sort-nav button {
    width: 100% !important;
    min-height: 42px !important;
    padding: 9px 10px !important;
    border: 1px solid rgba(31, 51, 40, .08) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #1f3328 !important;
    box-shadow: 0 8px 18px rgba(31, 51, 40, .045) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  .eshop-sort-nav button.is-active {
    border-color: #1f3328 !important;
    background: #1f3328 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(31, 51, 40, .16) !important;
  }

  .eshop-more-filters {
    margin-top: 4px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(31, 51, 40, .08) !important;
  }

  .eshop-more-filters summary {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 9px 10px !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: #f7f5ef !important;
  }

  .eshop-more-filters summary span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #1f3328 !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    letter-spacing: .08em !important;
  }

  .eshop-more-filters summary span::before {
    width: 22px !important;
    height: 22px !important;
    background: #1f3328 !important;
    color: #fff !important;
    font-size: 15px !important;
  }

  .eshop-more-filters summary em {
    display: block !important;
    grid-column: 1 / -1 !important;
    margin-left: 31px !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }

  .eshop-more-filters[open] summary {
    background: #fff8e6 !important;
    box-shadow: inset 0 0 0 1px rgba(212, 180, 111, .20) !important;
  }

  .eshop-more-filters-body {
    gap: 14px !important;
    padding-top: 14px !important;
  }

  .eshop-more-filters-body .eshop-filter-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .eshop-more-filters-body .eshop-category-filter-label {
    min-width: 0 !important;
    margin: 0 !important;
    color: #9a7a2f !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
  }

  .eshop-more-filters-body .eshop-category-nav,
  .eshop-more-filters-body .eshop-filter-form {
    width: 100% !important;
  }

  .eshop-more-filters-body .eshop-category-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 2px 1px 8px !important;
    margin: 0 !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .eshop-more-filters-body .eshop-category-nav::-webkit-scrollbar {
    display: none !important;
  }

  .eshop-more-filters-body .eshop-category-nav button,
  .eshop-more-filters-body .eshop-category-nav a {
    flex: 0 0 auto !important;
    min-height: 38px !important;
    padding: 8px 13px !important;
    border: 1px solid rgba(31, 51, 40, .08) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #1f3328 !important;
    box-shadow: 0 8px 18px rgba(31, 51, 40, .045) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  .eshop-more-filters-body .eshop-category-nav button.is-active,
  .eshop-more-filters-body .eshop-category-nav a.is-active {
    background: #1f3328 !important;
    color: #fff !important;
  }

  .eshop-category-select-form select,
  .eshop-search-form input {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
  }

  .eshop-filter-reset-form {
    margin: 0 !important;
  }

  .eshop-filter-reset-form button {
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #7c2d12 !important;
  }
}

@media (max-width: 390px) {
  .eshop-sort-nav {
    gap: 7px !important;
  }

  .eshop-sort-nav button {
    padding-inline: 8px !important;
    font-size: 12px !important;
  }
}


/* =========================================================
   V350: kategorie přímo viditelné v mobilním filtru e-shopu
   Kategorie už nejsou schované až pod "Další filtry".
========================================================= */
.eshop-visible-categories {
  display: grid;
  gap: 9px;
  padding-top: 2px;
}

.eshop-visible-categories-label {
  color: #9a7a2f;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eshop-visible-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.eshop-visible-category-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(31, 51, 40, .10);
  border-radius: 999px;
  background: #fff;
  color: #1f3328;
  box-shadow: 0 8px 18px rgba(31, 51, 40, .045);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  white-space: nowrap;
}

.eshop-visible-category-nav button.is-active {
  border-color: #1f3328;
  background: #1f3328;
  color: #fff;
}

.eshop-visible-category-nav button:hover {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .eshop-category-filter.eshop-filter-compact {
    padding: 13px !important;
  }

  .eshop-sort-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .eshop-sort-nav button {
    min-height: 38px !important;
    padding: 8px 6px !important;
    font-size: 11px !important;
    letter-spacing: -.02em !important;
  }

  .eshop-visible-categories {
    gap: 8px !important;
    padding: 10px 0 3px !important;
    border-top: 1px solid rgba(31, 51, 40, .07) !important;
  }

  .eshop-visible-category-nav {
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 1px 1px 9px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .eshop-visible-category-nav::-webkit-scrollbar {
    display: none !important;
  }

  .eshop-visible-category-nav button {
    flex: 0 0 auto !important;
    min-height: 38px !important;
    padding: 8px 13px !important;
    font-size: 12px !important;
  }

  .eshop-visible-category-nav button.is-active {
    box-shadow: 0 10px 22px rgba(31, 51, 40, .16) !important;
  }

  .eshop-more-filters {
    margin-top: 2px !important;
  }

  .eshop-more-filters summary {
    min-height: 42px !important;
    padding: 9px 11px !important;
  }

  .eshop-more-filters-body {
    padding-top: 12px !important;
  }
}

@media (max-width: 390px) {
  .eshop-sort-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .eshop-sort-nav button {
    font-size: 12px !important;
  }
}


/* =========================================================
   V351: kategorie viditelné i na PC verzi filtru
   Kategorie jsou samostatný přehledný řádek pod řazením.
========================================================= */
@media (min-width: 641px) {
  .eshop-visible-categories {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 0 2px !important;
    border-top: 1px solid rgba(31, 51, 40, .08) !important;
  }

  .eshop-visible-categories-label {
    min-width: 88px !important;
    color: #9a7a2f !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }

  .eshop-visible-category-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
  }

  .eshop-visible-category-nav button {
    min-height: 38px !important;
    padding: 8px 15px !important;
    border: 1px solid rgba(31, 51, 40, .10) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #1f3328 !important;
    box-shadow: 0 8px 18px rgba(31, 51, 40, .045) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  .eshop-visible-category-nav button.is-active {
    border-color: #1f3328 !important;
    background: #1f3328 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(31, 51, 40, .14) !important;
  }

  .eshop-visible-category-nav button:hover {
    transform: translateY(-1px);
  }

  .eshop-more-filters {
    margin-top: 2px !important;
  }

  .eshop-more-filters summary em {
    text-align: right !important;
  }
}

@media (min-width: 901px) {
  .eshop-filter-main-row {
    flex-wrap: nowrap !important;
  }

  .eshop-sort-nav {
    flex-wrap: wrap !important;
  }
}


/* =========================================================
   V352: viditelný filtr ceny v e-shopu
   Cena je přímo ve filtru vedle kategorií.
========================================================= */
.eshop-visible-prices {
  display: grid;
  gap: 9px;
  padding-top: 2px;
}

.eshop-visible-prices-label {
  color: #9a7a2f;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eshop-visible-price-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.eshop-visible-price-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(31, 51, 40, .10);
  border-radius: 999px;
  background: #fff;
  color: #1f3328;
  box-shadow: 0 8px 18px rgba(31, 51, 40, .045);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  white-space: nowrap;
}

.eshop-visible-price-nav button.is-active {
  border-color: #1f3328;
  background: #1f3328;
  color: #fff;
}

.eshop-visible-price-nav button:hover {
  transform: translateY(-1px);
}

@media (min-width: 641px) {
  .eshop-visible-prices {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 0 2px !important;
    border-top: 1px solid rgba(31, 51, 40, .08) !important;
  }

  .eshop-visible-prices-label {
    min-width: 88px !important;
    color: #9a7a2f !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }

  .eshop-visible-price-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
  }

  .eshop-visible-price-nav button {
    min-height: 38px !important;
    padding: 8px 15px !important;
    border: 1px solid rgba(31, 51, 40, .10) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #1f3328 !important;
    box-shadow: 0 8px 18px rgba(31, 51, 40, .045) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  .eshop-visible-price-nav button.is-active {
    border-color: #1f3328 !important;
    background: #1f3328 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(31, 51, 40, .14) !important;
  }
}

@media (max-width: 640px) {
  .eshop-visible-prices {
    gap: 8px !important;
    padding: 10px 0 3px !important;
    border-top: 1px solid rgba(31, 51, 40, .07) !important;
  }

  .eshop-visible-price-nav {
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 1px 1px 9px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .eshop-visible-price-nav::-webkit-scrollbar {
    display: none !important;
  }

  .eshop-visible-price-nav button {
    flex: 0 0 auto !important;
    min-height: 38px !important;
    padding: 8px 13px !important;
    font-size: 12px !important;
  }

  .eshop-visible-price-nav button.is-active {
    box-shadow: 0 10px 22px rgba(31, 51, 40, .16) !important;
  }
}


/* =========================================================
   V353: cenový filtr jako rozpětí včetně dražších produktů
========================================================= */
.eshop-visible-price-nav button {
  min-width: 0;
}

@media (min-width: 641px) {
  .eshop-visible-price-nav button {
    padding-inline: 13px !important;
  }
}

@media (max-width: 640px) {
  .eshop-visible-price-nav button {
    padding-inline: 12px !important;
  }
}


/* =========================================================
   V354: přeskupení filtru + kotva po výběru filtru
   - Nabídka je viditelně před kategoriemi
   - Cena je v rozbalovacích dalších filtrech
   - #eshop-filtr má odsazení pro návrat po reloadu
========================================================= */
#eshop-filtr {
  scroll-margin-top: 110px;
}

.eshop-visible-offers,
.eshop-advanced-prices {
  display: grid;
  gap: 9px;
  padding-top: 2px;
}

.eshop-visible-offers-label,
.eshop-advanced-prices-label {
  color: #9a7a2f;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eshop-visible-offer-nav,
.eshop-advanced-price-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.eshop-visible-offer-nav button,
.eshop-advanced-price-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(31, 51, 40, .10);
  border-radius: 999px;
  background: #fff;
  color: #1f3328;
  box-shadow: 0 8px 18px rgba(31, 51, 40, .045);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  white-space: nowrap;
}

.eshop-visible-offer-nav button.is-active,
.eshop-advanced-price-nav button.is-active {
  border-color: #1f3328;
  background: #1f3328;
  color: #fff;
}

.eshop-visible-offer-nav button:hover,
.eshop-advanced-price-nav button:hover {
  transform: translateY(-1px);
}

@media (min-width: 641px) {
  .eshop-visible-offers,
  .eshop-advanced-prices {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 0 2px !important;
    border-top: 1px solid rgba(31, 51, 40, .08) !important;
  }

  .eshop-visible-offers-label,
  .eshop-advanced-prices-label {
    min-width: 88px !important;
    font-size: 12px !important;
  }

  .eshop-visible-offer-nav,
  .eshop-advanced-price-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
  }

  .eshop-visible-offer-nav button,
  .eshop-advanced-price-nav button {
    min-height: 38px !important;
    padding: 8px 15px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 640px) {
  #eshop-filtr {
    scroll-margin-top: 78px;
  }

  .eshop-visible-offers {
    gap: 8px !important;
    padding: 10px 0 3px !important;
    border-top: 1px solid rgba(31, 51, 40, .07) !important;
  }

  .eshop-visible-offer-nav,
  .eshop-advanced-price-nav {
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 1px 1px 9px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .eshop-visible-offer-nav::-webkit-scrollbar,
  .eshop-advanced-price-nav::-webkit-scrollbar {
    display: none !important;
  }

  .eshop-visible-offer-nav button,
  .eshop-advanced-price-nav button {
    flex: 0 0 auto !important;
    min-height: 38px !important;
    padding: 8px 13px !important;
    font-size: 12px !important;
  }

  .eshop-visible-offer-nav button.is-active,
  .eshop-advanced-price-nav button.is-active {
    box-shadow: 0 10px 22px rgba(31, 51, 40, .16) !important;
  }

  .eshop-advanced-prices {
    gap: 8px !important;
    padding: 0 0 2px !important;
  }

  .eshop-advanced-prices-label {
    color: #9a7a2f !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
  }
}

/* Po přesunu ceny do dalších filtrů nenecháváme starý viditelný cenový řádek aktivní. */
.eshop-visible-prices {
  display: none !important;
}


/* V355: bezpečné odkazy bannerů na URL filtry - bez zásahu do layoutu bannerů */


/* =========================================================
   V356: bannery na hlavní straně u náhledu e-shopu
   Stejný styl jako e-shopové bannery, ale vlastní jedna řada.
========================================================= */
.home-eshop-banners {
  margin: 20px auto 26px !important;
}

.home-eshop-banners .eshop-top-banner {
  min-height: 122px;
}

@media (max-width: 780px) {
  .home-eshop-banners {
    margin: 16px auto 22px !important;
  }

  .home-eshop-banners .eshop-top-banner {
    min-height: 112px;
  }
}


/* =========================================================
   V359: filtr e-shopu jako jedna řada + rozbalovací panel
   Aktivní volby mají fajfku, reset je tlačítko Výchozí.
========================================================= */
.eshop-filter-dropdown {
  display: block !important;
  padding: 0 !important;
  margin: 22px 0 26px !important;
  border: 1px solid rgba(31, 51, 40, .10) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 18px 50px rgba(31, 51, 40, .055) !important;
}

.eshop-filter-details {
  display: block;
}

.eshop-filter-details summary {
  list-style: none;
}

.eshop-filter-details summary::-webkit-details-marker {
  display: none;
}

.eshop-filter-summary {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 66px !important;
  padding: 14px 18px !important;
  cursor: pointer !important;
  user-select: none !important;
}

.eshop-filter-summary-left {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 230px !important;
}

.eshop-filter-summary-icon {
  display: inline-grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 10px !important;
  background: #1f3328 !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  transition: transform .18s ease !important;
}

.eshop-filter-details[open] .eshop-filter-summary-icon {
  transform: rotate(45deg) !important;
}

.eshop-filter-summary-left strong {
  color: #1f3328 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.eshop-filter-summary-left em {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 4px 9px !important;
  border-radius: 999px !important;
  background: #f5f3ee !important;
  color: #7b6a4b !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

.eshop-filter-summary-current {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  color: #5f665f !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  text-align: right !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.eshop-filter-dropdown-panel {
  border-top: 1px solid rgba(31, 51, 40, .09) !important;
  padding: 18px !important;
  background:
    linear-gradient(180deg, #fff 0%, #fbfaf7 100%) !important;
}

.eshop-filter-dropdown-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.eshop-filter-group {
  min-width: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(31, 51, 40, .08) !important;
  border-radius: 16px !important;
  background: #fff !important;
}

.eshop-filter-group-wide {
  grid-column: span 2 !important;
}

.eshop-filter-group h3 {
  margin: 0 0 10px !important;
  color: #9a7a2f !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.eshop-filter-options {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
}

.eshop-filter-options-scroll {
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  padding-bottom: 4px !important;
  scrollbar-width: thin !important;
  -webkit-overflow-scrolling: touch !important;
}

.eshop-filter-option {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 38px !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(31, 51, 40, .10) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #1f3328 !important;
  box-shadow: 0 8px 18px rgba(31, 51, 40, .045) !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.eshop-filter-option::before {
  content: "✓" !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 17px !important;
  height: 17px !important;
  border-radius: 999px !important;
  background: rgba(31, 51, 40, .08) !important;
  color: transparent !important;
  font-size: 11px !important;
  font-weight: 950 !important;
}

.eshop-filter-option.is-active {
  border-color: #1f3328 !important;
  background: #1f3328 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(31, 51, 40, .16) !important;
}

.eshop-filter-option.is-active::before {
  background: #fff !important;
  color: #1f3328 !important;
}

.eshop-filter-dropdown-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(31, 51, 40, .08) !important;
}

.eshop-filter-default-button {
  min-height: 40px !important;
  padding: 9px 18px !important;
  border: 1px solid rgba(31, 51, 40, .16) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #1f3328 !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

.eshop-filter-default-button:hover {
  background: #1f3328 !important;
  color: #fff !important;
}

@media (max-width: 760px) {
  .eshop-filter-summary {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    min-height: 64px !important;
    padding: 13px 14px !important;
  }

  .eshop-filter-summary-left {
    min-width: 0 !important;
    width: 100% !important;
  }

  .eshop-filter-summary-current {
    text-align: left !important;
    font-size: 11px !important;
  }

  .eshop-filter-dropdown-panel {
    padding: 14px !important;
  }

  .eshop-filter-dropdown-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .eshop-filter-group,
  .eshop-filter-group-wide {
    grid-column: auto !important;
  }

  .eshop-filter-options,
  .eshop-filter-options-scroll {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 7px !important;
    scrollbar-width: none !important;
  }

  .eshop-filter-options::-webkit-scrollbar,
  .eshop-filter-options-scroll::-webkit-scrollbar {
    display: none !important;
  }

  .eshop-filter-option {
    flex: 0 0 auto !important;
  }

  .eshop-filter-dropdown-actions {
    justify-content: stretch !important;
  }

  .eshop-filter-dropdown-actions form,
  .eshop-filter-default-button {
    width: 100% !important;
  }
}


/* =========================================================
   V360: Individuální doladění produktových fotek z administrace
========================================================= */
.eshop-card-img,
.product-detail-img {
  background: var(--product-image-bg, #fff) !important;
  padding: var(--product-image-padding, 0px) !important;
}

.eshop-card-img img,
.product-detail-img img {
  object-fit: var(--product-image-fit, contain) !important;
  object-position: var(--product-image-position, 50% 50%) !important;
  transform: translate(var(--product-image-offset-x, 0%), var(--product-image-offset-y, 0%)) scale(var(--product-image-scale, 1)) !important;
  transform-origin: center center !important;
}

.eshop-card-pro:hover .eshop-card-img img,
.home-product-card:hover .eshop-card-img img {
  transform: translate(var(--product-image-offset-x, 0%), var(--product-image-offset-y, 0%)) scale(var(--product-image-scale, 1)) !important;
}


/* V361: marketingové posunutí produktové fotky z administrace */
.eshop-card-img img,
.product-detail-img img {
  transform: translate(var(--product-image-offset-x, 0%), var(--product-image-offset-y, 0%)) scale(var(--product-image-scale, 1)) !important;
}

.eshop-card-pro:hover .eshop-card-img img,
.home-product-card:hover .eshop-card-img img {
  transform: translate(var(--product-image-offset-x, 0%), var(--product-image-offset-y, 0%)) scale(var(--product-image-scale, 1)) !important;
}


/* =========================================================
   V362: Mobil používá vlastní hodnoty doladění produktové fotky
========================================================= */
@media (max-width: 760px) {
  .eshop-card-img,
  .product-detail-img {
    background: var(--product-image-mobile-bg, var(--product-image-bg, #fff)) !important;
    padding: var(--product-image-mobile-padding, var(--product-image-padding, 0px)) !important;
  }

  .eshop-card-img img,
  .product-detail-img img,
  .eshop-card-pro:hover .eshop-card-img img,
  .home-product-card:hover .eshop-card-img img {
    object-fit: var(--product-image-mobile-fit, var(--product-image-fit, cover)) !important;
    object-position: var(--product-image-mobile-position, var(--product-image-position, 50% 50%)) !important;
    transform: translate(var(--product-image-mobile-offset-x, var(--product-image-offset-x, 0%)), var(--product-image-mobile-offset-y, var(--product-image-offset-y, 0%))) scale(var(--product-image-mobile-scale, var(--product-image-scale, 1))) !important;
  }
}

/* =========================================================
   V364: související produkty v detailu – větší a responzivní
========================================================= */
.product-related-section {
  margin-top: 22px;
  padding: 46px 0 76px;
  border-top: 1px solid rgba(31, 51, 40, .09);
  border-bottom: 1px solid rgba(31, 51, 40, .08);
  background: #f7f7f3;
}

.product-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.product-related-head > div {
  display: grid;
  gap: 5px;
}

.product-related-head span {
  color: #9a7a2f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.product-related-head h2 {
  margin: 0;
  color: #1f3328;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1.04;
}

.product-related-head > a {
  color: #1f3328;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.product-related-head > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-related-slider-wrap {
  position: relative;
}

.product-related-slider {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-padding-inline: 1px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 3px 2px 12px;
}

.product-related-slider::-webkit-scrollbar {
  display: none;
}

.product-related-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  min-height: 158px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(31, 51, 40, .12);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(31, 51, 40, .07);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-related-card:hover {
  border-color: rgba(31, 51, 40, .22);
  box-shadow: 0 18px 38px rgba(31, 51, 40, .11);
  transform: translateY(-2px);
}

.product-related-image {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--product-image-bg, #fff);
  padding: var(--product-image-padding, 0px);
}

.product-related-image img,
.product-related-image > span {
  width: 100%;
  height: 100%;
  min-height: 158px;
  display: grid;
  place-items: center;
}

.product-related-image img {
  object-fit: var(--product-image-fit, cover);
  object-position: var(--product-image-position, 50% 50%);
  transform: translate(var(--product-image-offset-x, 0%), var(--product-image-offset-y, 0%)) scale(var(--product-image-scale, 1));
  transform-origin: center center;
}

.product-related-image > span {
  color: #758071;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}

.product-related-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 16px 14px;
}

.product-related-category {
  overflow: hidden;
  color: #9a7a2f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-related-body h3 {
  min-height: 2.35em;
  margin: 6px 0 10px;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.17;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-related-body h3 a {
  color: #1f3328;
  text-decoration: none;
}

.product-related-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.product-related-meta strong {
  color: #1f3328;
  font-size: 16px;
}

.product-related-meta em {
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.product-related-meta em.is-available {
  color: #6d9f2e;
}

.product-related-meta em.is-unavailable {
  color: #9a5b52;
}

.product-related-detail {
  width: fit-content;
  margin-top: 10px;
  color: #1f3328;
  font-size: 11px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-related-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 51, 40, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .97);
  color: #1f3328;
  box-shadow: 0 11px 28px rgba(31, 51, 40, .15);
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.product-related-arrow-left {
  left: -22px;
}

.product-related-arrow-right {
  right: -22px;
}

.product-related-arrow:disabled {
  opacity: .32;
  cursor: default;
}

.product-related-slider-wrap.is-static .product-related-arrow {
  display: none;
}

/* Méně než čtyři produkty zůstávají zarovnané od levého okraje. */
.product-related-slider.is-static {
  justify-content: flex-start;
  overflow: visible;
  scroll-snap-type: none;
}

.product-related-slider.is-static .product-related-card {
  flex: 0 0 calc((100% - 60px) / 4);
  width: calc((100% - 60px) / 4);
}

@media (max-width: 1160px) {
  .product-related-card,
  .product-related-slider.is-static .product-related-card {
    flex-basis: calc((100% - 40px) / 3);
    width: calc((100% - 40px) / 3);
  }

  .product-related-slider.is-static {
    flex-wrap: wrap;
  }

  .product-related-arrow-left {
    left: 6px;
  }

  .product-related-arrow-right {
    right: 6px;
  }
}

@media (max-width: 860px) {
  .product-related-section {
    margin-top: 14px;
    padding: 40px 0 62px;
  }

  .product-related-card,
  .product-related-slider.is-static .product-related-card {
    grid-template-columns: 124px minmax(0, 1fr);
    flex-basis: calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    min-height: 148px;
  }

  .product-related-image img,
  .product-related-image > span {
    min-height: 148px;
  }
}

@media (max-width: 620px) {
  .product-related-section {
    margin-top: 8px;
    padding: 34px 0 48px;
  }

  .product-related-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 19px;
  }

  .product-related-head h2 {
    font-size: clamp(29px, 9vw, 36px);
  }

  .product-related-head > a {
    white-space: normal;
  }

  .product-related-slider,
  .product-related-slider.is-static {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-right: 8vw;
  }

  .product-related-card,
  .product-related-slider.is-static .product-related-card {
    grid-template-columns: 112px minmax(0, 1fr);
    flex: 0 0 min(88vw, 390px);
    width: min(88vw, 390px);
    min-height: 136px;
    border-radius: 15px;
  }

  .product-related-image img,
  .product-related-image > span {
    min-height: 136px;
  }

  .product-related-image {
    background: var(--product-image-mobile-bg, var(--product-image-bg, #fff));
    padding: var(--product-image-mobile-padding, var(--product-image-padding, 0px));
  }

  .product-related-image img {
    object-fit: var(--product-image-mobile-fit, var(--product-image-fit, cover));
    object-position: var(--product-image-mobile-position, var(--product-image-position, 50% 50%));
    transform: translate(var(--product-image-mobile-offset-x, var(--product-image-offset-x, 0%)), var(--product-image-mobile-offset-y, var(--product-image-offset-y, 0%))) scale(var(--product-image-mobile-scale, var(--product-image-scale, 1)));
  }

  .product-related-body {
    padding: 13px 13px 12px;
  }

  .product-related-body h3 {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .product-related-arrow {
    display: none;
  }
}

@media (max-width: 410px) {
  .product-related-card,
  .product-related-slider.is-static .product-related-card {
    grid-template-columns: 102px minmax(0, 1fr);
    flex-basis: 92vw;
    width: 92vw;
  }
}

/* =========================================================
   V365: rychlý návrat na výchozí filtr + přehled aktivních voleb
========================================================= */
.eshop-filter-dropdown {
  position: relative !important;
}

.eshop-filter-summary {
  padding-right: 130px !important;
}

.eshop-filter-summary-current {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  white-space: normal !important;
}

.eshop-filter-summary-chip {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 5px 10px !important;
  border: 1px solid rgba(31, 51, 40, .10) !important;
  border-radius: 999px !important;
  background: #f7f5ef !important;
  color: #1f3328 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

.eshop-filter-quick-reset {
  position: absolute !important;
  top: 13px !important;
  right: 18px !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.eshop-filter-quick-reset button,
.eshop-filter-quick-reset.is-current {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 9px 17px !important;
  border: 1px solid rgba(31, 51, 40, .16) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #1f3328 !important;
  font: inherit !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .06em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.eshop-filter-quick-reset button {
  cursor: pointer !important;
  transition: background .18s ease, color .18s ease, border-color .18s ease !important;
}

.eshop-filter-quick-reset button:hover {
  border-color: #1f3328 !important;
  background: #1f3328 !important;
  color: #fff !important;
}

.eshop-filter-quick-reset.is-current {
  background: #f5f3ee !important;
  color: #7b6a4b !important;
}

@media (max-width: 760px) {
  .eshop-filter-summary {
    padding-right: 112px !important;
  }

  .eshop-filter-summary-current {
    justify-content: flex-start !important;
  }

  .eshop-filter-summary-chip {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .eshop-filter-quick-reset {
    top: 12px !important;
    right: 14px !important;
  }

  .eshop-filter-quick-reset button,
  .eshop-filter-quick-reset.is-current {
    min-height: 38px !important;
    padding: 8px 13px !important;
    font-size: 10px !important;
  }
}

/* V365: objednání na datum a barevné varianty produktů */
.eshop-badge-variant {
  background: linear-gradient(135deg, #315b42 0%, #6f8b62 100%);
}

.eshop-availability-note {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  padding: 9px 11px;
  border: 1px solid rgba(94, 74, 40, .14);
  border-radius: 9px;
  background: #fbf7ed;
  color: #5d4829;
  font-size: 11px;
  line-height: 1.35;
}

.eshop-availability-note strong {
  font-size: 11px;
}

.eshop-availability-note span {
  color: #766447;
}

.product-availability-box {
  display: grid;
  gap: 5px;
  margin: 2px 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(94, 74, 40, .16);
  border-radius: 12px;
  background: #fbf7ed;
  color: #5d4829;
}

.product-availability-box strong,
.product-availability-box p {
  margin: 0;
}

.product-availability-box p {
  font-size: 13px;
  line-height: 1.5;
}

.product-variant-picker {
  display: grid;
  gap: 10px;
  margin: 2px 0 20px;
  padding: 15px;
  border: 1px solid rgba(31, 51, 40, .12);
  border-radius: 14px;
  background: #fafbf8;
}

.product-variant-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-variant-picker-head strong {
  color: #1f3328;
  font-size: 14px;
}

.product-variant-picker-head span {
  color: #667269;
  font-size: 13px;
  font-weight: 700;
}

.product-variant-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-variant-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(31, 51, 40, .14);
  border-radius: 10px;
  background: #fff;
  color: #1f3328;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.product-variant-option:hover,
.product-variant-option.is-active {
  border-color: #315b42;
  background: #f2f7f2;
  box-shadow: 0 0 0 2px rgba(49, 91, 66, .08);
}

.product-variant-option.is-unavailable {
  opacity: .58;
}

.product-variant-swatch {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid rgba(31, 51, 40, .20);
  border-radius: 50%;
  background: var(--variant-color, #fff);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55);
}

.product-variant-option > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.product-variant-option strong,
.product-variant-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-variant-option strong {
  font-size: 13px;
}

.product-variant-option small {
  color: #6d786f;
  font-size: 11px;
}

.eshop-delivery-date-alert {
  margin-bottom: 18px;
}

.cart-product-variant,
.cart-product-availability,
.summary-product-variant,
.summary-product-availability {
  display: block;
  margin-top: 5px;
  color: #665b47;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.cart-product-availability,
.summary-product-availability {
  color: #745623;
}

.checkout-address label small {
  display: block;
  margin-top: 5px;
  color: #745623;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .product-variant-options {
    grid-template-columns: 1fr;
  }

  .product-variant-picker {
    padding: 12px;
  }

  .eshop-availability-note {
    font-size: 10px;
  }
}

.eshop-variant-select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 7px;
  background: #315b42;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.eshop-variant-select-btn:hover {
  background: #244735;
  color: #fff;
}

/* =========================================================
   V366: produkční sjednocení velikostí karet
   Rezervuje stejné místo pro štítky, text, dostupnost a akce.
========================================================= */
.eshop-grid,
.eshop-addon-grid {
  align-items: stretch;
}

.eshop-card-pro,
.home-product-card {
  height: 100% !important;
}

.eshop-card-pro .eshop-card-body,
.home-product-card .eshop-card-body {
  grid-template-rows: 34px 48px 50px 26px 58px auto !important;
}

.eshop-card-pro .eshop-availability-note,
.home-product-card .eshop-availability-note {
  box-sizing: border-box;
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  margin-top: 0;
  overflow: hidden;
  align-content: center;
}

.eshop-card-pro .eshop-availability-note.is-placeholder,
.home-product-card .eshop-availability-note.is-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.eshop-card-pro .eshop-card-actions,
.home-product-card .eshop-card-actions {
  align-self: end;
}

.eshop-card-pro .eshop-variant-select-btn,
.home-product-card .eshop-variant-select-btn {
  box-sizing: border-box;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 10px !important;
}

.eshop-addon-card {
  height: 100%;
  box-sizing: border-box;
}

.eshop-addon-body {
  height: 100%;
  grid-template-rows: minmax(38px, auto) auto auto;
  align-content: center;
}

.eshop-addon-body strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-related-card {
  height: 158px;
  min-height: 158px;
  max-height: 158px;
}

@media (max-width: 860px) {
  .product-related-card,
  .product-related-slider.is-static .product-related-card {
    height: 148px;
    min-height: 148px;
    max-height: 148px;
  }
}

@media (max-width: 620px) {
  .product-related-card,
  .product-related-slider.is-static .product-related-card {
    height: 136px;
    min-height: 136px;
    max-height: 136px;
  }
}

@media (max-width: 560px) {
  .eshop-card-pro .eshop-card-body,
  .home-product-card .eshop-card-body {
    grid-template-rows: 34px 44px 44px 26px 54px auto !important;
  }

  .eshop-card-pro h2,
  .eshop-card-pro h3,
  .home-product-card h3 {
    height: 44px !important;
    min-height: 44px !important;
  }

  .eshop-card-pro p,
  .home-product-card p {
    height: 44px !important;
    min-height: 44px !important;
  }

  .eshop-card-pro .eshop-availability-note,
  .home-product-card .eshop-availability-note {
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    padding: 7px 9px;
  }
}

/* =========================================================
   V368: jednotný standard produktových fotografií 1:1
   Zachovává individuální fit / pozici / zoom z administrace.
========================================================= */
.eshop-card-img,
.eshop-card-pro .eshop-card-img,
.home-product-card .eshop-card-img,
.home-product-slider .home-product-card .eshop-card-img {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex-basis: auto !important;
}

.eshop-card-img img,
.eshop-card-pro .eshop-card-img img,
.home-product-card .eshop-card-img img,
.home-product-slider .home-product-card .eshop-card-img img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.product-detail-img,
.product-detail-inline .product-detail-img {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
}

.product-detail-img img,
.product-detail-inline .product-detail-img img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.product-related-image {
  aspect-ratio: 1 / 1 !important;
  align-self: start;
}

.product-related-image img,
.product-related-image > span {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.eshop-addon-image,
.summary-thumb,
.cart-item-image,
.floating-cart-thumb {
  aspect-ratio: 1 / 1;
}

/* Detail produktu zůstává skutečně 1:1 i v řádku s vyšším textovým panelem. */
.product-detail-img,
.product-detail-inline .product-detail-img {
  align-self: start !important;
  width: 100%;
}


/* =========================================================
   V369: čitelné stejně vysoké karty bez mačkání textu a CTA
========================================================= */
.eshop-card-pro .eshop-card-body,
.home-product-card .eshop-card-body {
  grid-template-rows: 34px 48px 54px 28px 76px auto !important;
  gap: 10px !important;
}

.eshop-card-pro p,
.home-product-card p {
  height: 54px !important;
  min-height: 54px !important;
  line-height: 1.45 !important;
}

.eshop-card-pro .eshop-stock-line,
.home-product-card .eshop-stock-line {
  min-height: 28px !important;
  line-height: 1.3 !important;
}

.eshop-card-pro .eshop-availability-note,
.home-product-card .eshop-availability-note {
  box-sizing: border-box !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  align-content: center !important;
  gap: 3px !important;
  padding: 9px 11px !important;
  overflow: hidden !important;
  line-height: 1.3 !important;
}

.eshop-card-pro .eshop-availability-note strong,
.home-product-card .eshop-availability-note strong,
.eshop-card-pro .eshop-availability-note span,
.home-product-card .eshop-availability-note span {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
}

.eshop-card-pro .eshop-availability-note strong,
.home-product-card .eshop-availability-note strong {
  -webkit-line-clamp: 2 !important;
}

.eshop-card-pro .eshop-availability-note span,
.home-product-card .eshop-availability-note span {
  -webkit-line-clamp: 2 !important;
}

.eshop-card-pro .eshop-card-bottom,
.home-product-card .eshop-card-bottom {
  grid-template-rows: 31px 54px !important;
  gap: 10px !important;
}

.eshop-card-pro .eshop-card-actions,
.home-product-card .eshop-card-actions,
.home-product-slider .eshop-card-actions {
  grid-template-columns: 76px minmax(0, 1fr) !important;
  min-height: 54px !important;
  height: 54px !important;
  gap: 8px !important;
}

.eshop-card-pro .eshop-card-actions form,
.home-product-card .eshop-card-actions form,
.home-product-slider .eshop-card-actions form {
  height: 54px !important;
  min-height: 54px !important;
}

.eshop-card-pro .eshop-detail-btn,
.home-product-card .eshop-detail-btn,
.home-product-slider .eshop-detail-btn,
.eshop-card-pro .eshop-card-actions button,
.home-product-card .eshop-card-actions button,
.home-product-slider .eshop-card-actions button,
.eshop-card-pro .eshop-variant-select-btn,
.home-product-card .eshop-variant-select-btn {
  box-sizing: border-box !important;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
}

.eshop-card-pro .eshop-card-actions button,
.home-product-card .eshop-card-actions button,
.home-product-slider .eshop-card-actions button,
.eshop-card-pro .eshop-variant-select-btn,
.home-product-card .eshop-variant-select-btn {
  padding: 6px 9px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-align: center !important;
}

.eshop-card-pro .eshop-detail-btn,
.home-product-card .eshop-detail-btn,
.home-product-slider .eshop-detail-btn {
  padding: 0 8px !important;
  font-size: 14px !important;
  white-space: nowrap !important;
}

@media (max-width: 560px) {
  .eshop-card-pro .eshop-card-body,
  .home-product-card .eshop-card-body {
    grid-template-rows: 34px 44px 54px 28px 72px auto !important;
  }

  .eshop-card-pro .eshop-availability-note,
  .home-product-card .eshop-availability-note {
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
  }

  .eshop-card-pro .eshop-card-bottom,
  .home-product-card .eshop-card-bottom {
    grid-template-rows: 31px auto !important;
  }

  .eshop-card-pro .eshop-card-actions,
  .home-product-card .eshop-card-actions,
  .home-product-slider .eshop-card-actions {
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .eshop-card-pro .eshop-card-actions form,
  .home-product-card .eshop-card-actions form,
  .home-product-slider .eshop-card-actions form,
  .eshop-card-pro .eshop-detail-btn,
  .home-product-card .eshop-detail-btn,
  .home-product-slider .eshop-detail-btn,
  .eshop-card-pro .eshop-card-actions button,
  .home-product-card .eshop-card-actions button,
  .home-product-slider .eshop-card-actions button,
  .eshop-card-pro .eshop-variant-select-btn,
  .home-product-card .eshop-variant-select-btn {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
  }
}

/* V369: disabled CTA musí mít stejné rozměry a smí se zalomit stejně jako aktivní CTA. */
.eshop-card-pro .eshop-card-actions button:disabled,
.home-product-card .eshop-card-actions button:disabled,
.home-product-slider .eshop-card button:disabled {
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  padding: 6px 9px !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 560px) {
  .eshop-card-pro .eshop-card-actions button:disabled,
  .home-product-card .eshop-card-actions button:disabled,
  .home-product-slider .eshop-card button:disabled {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
  }
}

/* =========================================================
   V370: Mobilní hlavička filtru bez duplicitního výchozího stavu
========================================================= */
@media (max-width: 760px) {
  .eshop-filter-summary-left em {
    display: none !important;
  }

  .eshop-filter-summary-left strong {
    white-space: nowrap !important;
  }

  .eshop-filter-summary-current:empty {
    display: none !important;
  }

  .eshop-filter-quick-reset {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}

/* =========================================================
   V374: Mobilní filtr - malé Výchozí se při otevření schová
========================================================= */
@media (max-width: 760px) {
  .eshop-filter-details[open] + .eshop-filter-quick-reset {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .eshop-filter-details[open] .eshop-filter-summary {
    padding-right: 14px !important;
  }
}

/* =========================================================
   V375: mobilní tap na produktovou kartu bez poskakování
   Hover animace zůstávají pouze pro zařízení s myší.
========================================================= */
@media (hover: none), (pointer: coarse) {
  .eshop-card-pro,
  .home-product-card,
  .eshop-card-pro:hover,
  .home-product-card:hover,
  .eshop-card-pro:active,
  .home-product-card:active {
    transform: none !important;
  }

  .eshop-card-img,
  .eshop-card-img:active {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .eshop-card-img img,
  .eshop-card-pro .eshop-card-img img,
  .home-product-card .eshop-card-img img,
  .eshop-card-pro:hover .eshop-card-img img,
  .home-product-card:hover .eshop-card-img img,
  .eshop-card-pro:active .eshop-card-img img,
  .home-product-card:active .eshop-card-img img {
    transition: none !important;
  }
}

/* =========================================================
   V376: mobilní produktová fotka je při tapnutí úplně statická
   - bez hover/active/focus posunu
   - bez změny zoomu
   - zachovává mobilní nastavení fotky z administrace
========================================================= */
@media (max-width: 760px) {
  .eshop-card,
  .eshop-card-pro,
  .home-product-card,
  .eshop-card:hover,
  .eshop-card-pro:hover,
  .home-product-card:hover,
  .eshop-card:active,
  .eshop-card-pro:active,
  .home-product-card:active {
    transform: none !important;
    transition: none !important;
  }

  .eshop-card-img,
  .eshop-card-img:hover,
  .eshop-card-img:active,
  .eshop-card-img:focus,
  .eshop-card-img:focus-visible {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
  }

  .eshop-card-img img,
  .eshop-card:hover .eshop-card-img img,
  .eshop-card-pro:hover .eshop-card-img img,
  .home-product-card:hover .eshop-card-img img,
  .eshop-card:active .eshop-card-img img,
  .eshop-card-pro:active .eshop-card-img img,
  .home-product-card:active .eshop-card-img img,
  .eshop-card-img:hover img,
  .eshop-card-img:active img,
  .eshop-card-img:focus img,
  .eshop-card-img:focus-visible img {
    width: 100% !important;
    height: 100% !important;
    object-fit: var(--product-image-mobile-fit, var(--product-image-fit, cover)) !important;
    object-position: var(--product-image-mobile-position, var(--product-image-position, 50% 50%)) !important;
    transform:
      translate(
        var(--product-image-mobile-offset-x, var(--product-image-offset-x, 0%)),
        var(--product-image-mobile-offset-y, var(--product-image-offset-y, 0%))
      )
      scale(var(--product-image-mobile-scale, var(--product-image-scale, 1))) !important;
    transform-origin: center center !important;
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   V377: mobilní produktová fotka - pevný 1:1 box bez změny po tapnutí
========================================================= */
@media (max-width: 760px) {
  .eshop-grid .eshop-card-pro > .eshop-card-img,
  .eshop-grid .eshop-card-pro > .eshop-card-img:hover,
  .eshop-grid .eshop-card-pro > .eshop-card-img:active,
  .eshop-grid .eshop-card-pro > .eshop-card-img:focus,
  .eshop-grid .eshop-card-pro > .eshop-card-img:focus-visible {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
    flex: none !important;
    padding: 12px !important;
    overflow: hidden !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .eshop-grid .eshop-card-pro > .eshop-card-img > img,
  .eshop-grid .eshop-card-pro:hover > .eshop-card-img > img,
  .eshop-grid .eshop-card-pro:active > .eshop-card-img > img,
  .eshop-grid .eshop-card-pro > .eshop-card-img:hover > img,
  .eshop-grid .eshop-card-pro > .eshop-card-img:active > img,
  .eshop-grid .eshop-card-pro > .eshop-card-img:focus > img,
  .eshop-grid .eshop-card-pro > .eshop-card-img:focus-visible > img {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: var(--product-image-mobile-position, var(--product-image-position, 50% 50%)) !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
  }
}

/* =========================================================
   V378: ostré produktové fotografie na desktopu
   Výchozí scale 1.00 + offset 0/0 nepoužívá CSS transform.
   Individuální zoom/posun z administrace zůstává zachovaný.
========================================================= */
@media (min-width: 761px) {
  .eshop-card-img[style*="--product-image-scale:1.00"][style*="--product-image-offset-x:0%"][style*="--product-image-offset-y:0%"] img,
  .product-detail-img[style*="--product-image-scale:1.00"][style*="--product-image-offset-x:0%"][style*="--product-image-offset-y:0%"] img {
    transform: none !important;
    image-rendering: auto !important;
  }

  .eshop-card-pro:hover > .eshop-card-img[style*="--product-image-scale:1.00"][style*="--product-image-offset-x:0%"][style*="--product-image-offset-y:0%"] img,
  .home-product-card:hover > .eshop-card-img[style*="--product-image-scale:1.00"][style*="--product-image-offset-x:0%"][style*="--product-image-offset-y:0%"] img {
    transform: none !important;
  }
}


/* =========================================================
   V379: mobilní objednávka bez horizontálního rozjíždění
   - souhlas je jeden textový blok vedle checkboxu
   - doprava/platba drží radio | text | cenu
   - souhrn a formulář nemohou roztáhnout viewport
========================================================= */
.terms {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.terms input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  padding: 0;
}

.terms-text {
  min-width: 0;
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: normal;
}

.terms-text a {
  display: inline;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .checkout-page,
  .checkout-grid,
  .checkout-form,
  .checkout-summary,
  .method-list,
  .method-item,
  .checkout-address,
  .summary-row {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .checkout-grid {
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  .checkout-form,
  .checkout-summary {
    width: 100% !important;
    padding: 18px !important;
    border-radius: 20px !important;
  }

  .checkout-form > label,
  .checkout-address > label {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .checkout-form input:not([type="radio"]):not([type="checkbox"]),
  .checkout-form textarea,
  .checkout-form select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .checkout-form textarea {
    resize: vertical;
  }

  .method-item {
    width: 100% !important;
    grid-template-columns: 22px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    padding: 14px 12px !important;
  }

  .method-item > input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .method-item > span {
    min-width: 0 !important;
  }

  .method-item strong,
  .method-item small {
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .method-item > b {
    white-space: nowrap !important;
    align-self: center;
  }

  .terms {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
  }

  .terms-text {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .summary-row {
    width: 100% !important;
    gap: 12px !important;
  }

  .summary-row > span {
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .summary-row > strong {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  .summary-product > span:first-child {
    min-width: 0 !important;
  }
}

/* =========================================================
   V380: homepage náhled e-shopu - mobilní fotka bez změny po tapnutí
   Stejný pevný 1:1 režim jako na hlavní stránce /eshop.
========================================================= */
@media (max-width: 760px) {
  .home-product-slider .home-product-card > .eshop-card-img,
  .home-product-slider .home-product-card > .eshop-card-img:hover,
  .home-product-slider .home-product-card > .eshop-card-img:active,
  .home-product-slider .home-product-card > .eshop-card-img:focus,
  .home-product-slider .home-product-card > .eshop-card-img:focus-visible {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
    flex: none !important;
    flex-basis: auto !important;
    padding: 12px !important;
    overflow: hidden !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .home-product-slider .home-product-card > .eshop-card-img > img,
  .home-product-slider .home-product-card:hover > .eshop-card-img > img,
  .home-product-slider .home-product-card:active > .eshop-card-img > img,
  .home-product-slider .home-product-card > .eshop-card-img:hover > img,
  .home-product-slider .home-product-card > .eshop-card-img:active > img,
  .home-product-slider .home-product-card > .eshop-card-img:focus > img,
  .home-product-slider .home-product-card > .eshop-card-img:focus-visible > img {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: var(--product-image-mobile-position, var(--product-image-position, 50% 50%)) !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
  }
}

/* =========================================================
   V381: kompaktní produktové karty + náhledové foto 1:1
   - foto 1:1 na PC i mobilu
   - mobil bez krátkého popisu
   - při pozastaveném e-shopu pouze tlačítko Detail
========================================================= */

/* Náhled produktu je vždy skutečný čtverec 1:1. */
.eshop-grid .eshop-card-pro > .eshop-card-img,
.home-product-slider .home-product-card > .eshop-card-img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.eshop-grid .eshop-card-pro > .eshop-card-img > img,
.home-product-slider .home-product-card > .eshop-card-img > img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: var(--product-image-position, 50% 50%) !important;
}

/* Pozastavený e-shop: na kartě zůstane jen Detail. */
.is-shop-paused .eshop-card-actions form,
.is-shop-paused .eshop-variant-select-btn {
  display: none !important;
}

.is-shop-paused .eshop-card-actions {
  grid-template-columns: 1fr !important;
}

.is-shop-paused .eshop-detail-btn {
  width: 100% !important;
  max-width: none !important;
}

/* Mobilní karta je kompaktnější. */
@media (max-width: 760px) {
  .eshop-grid .eshop-card-pro > .eshop-card-img > img,
  .home-product-slider .home-product-card > .eshop-card-img > img {
    object-fit: cover !important;
    object-position: var(--product-image-mobile-position, var(--product-image-position, 50% 50%)) !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    pointer-events: none !important;
  }

  /* Krátký popis patří až na detail produktu. */
  .eshop-card-pro .eshop-card-body > p,
  .home-product-card .eshop-card-body > p {
    display: none !important;
  }

  .eshop-card-pro .eshop-card-body,
  .home-product-card .eshop-card-body {
    padding-top: 14px !important;
    gap: 10px !important;
  }

  .eshop-card-pro .eshop-card-tags-row,
  .home-product-card .eshop-card-tags-row {
    margin-bottom: 0 !important;
  }

  .eshop-card-pro h2,
  .eshop-card-pro h3,
  .home-product-card h3 {
    margin: 0 !important;
  }

  .eshop-card-pro .eshop-stock-line,
  .home-product-card .eshop-stock-line {
    margin-top: 4px !important;
  }

  .eshop-card-pro .eshop-card-bottom,
  .home-product-card .eshop-card-bottom {
    margin-top: 8px !important;
  }
}

/* =========================================================
   V382: mobilní karta bez pevných řádků a bez překrytí ceny
========================================================= */
@media (max-width: 760px) {
  .eshop-card-pro,
  .home-product-card {
    height: auto !important;
    min-height: 0 !important;
  }

  .eshop-card-pro .eshop-card-body,
  .home-product-card .eshop-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 14px 14px 14px !important;
    gap: 12px !important;
  }

  .eshop-card-pro .eshop-card-body > p,
  .home-product-card .eshop-card-body > p {
    display: none !important;
  }

  .eshop-card-pro .eshop-card-tags-row,
  .home-product-card .eshop-card-tags-row,
  .eshop-card-pro h2,
  .eshop-card-pro h3,
  .home-product-card h3,
  .eshop-card-pro .eshop-stock-line,
  .home-product-card .eshop-stock-line {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  .eshop-card-pro .eshop-availability-note.is-placeholder,
  .home-product-card .eshop-availability-note.is-placeholder {
    display: none !important;
  }

  .eshop-card-pro .eshop-availability-note:not(.is-placeholder),
  .home-product-card .eshop-availability-note:not(.is-placeholder) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
  }

  .eshop-card-pro .eshop-card-bottom,
  .home-product-card .eshop-card-bottom {
    display: grid !important;
    grid-template-rows: auto auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 6px !important;
    gap: 10px !important;
  }

  .eshop-card-pro .eshop-price-wrap,
  .home-product-card .eshop-price-wrap {
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  .eshop-card-pro .eshop-card-actions,
  .home-product-card .eshop-card-actions,
  .home-product-slider .eshop-card-actions {
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }
}

/* =========================================================
   V383: produktová fotka se při tapnutí nesmí změnit
   Přepisuje starší active/hover pravidla s paddingem a contain.
========================================================= */
@media (max-width: 760px) {
  .eshop-grid .eshop-card-pro > .eshop-card-img,
  .eshop-grid .eshop-card-pro:hover > .eshop-card-img,
  .eshop-grid .eshop-card-pro:active > .eshop-card-img,
  .eshop-grid .eshop-card-pro:focus-within > .eshop-card-img,
  .eshop-grid .eshop-card-pro > .eshop-card-img:hover,
  .eshop-grid .eshop-card-pro > .eshop-card-img:active,
  .eshop-grid .eshop-card-pro > .eshop-card-img:focus,
  .eshop-grid .eshop-card-pro > .eshop-card-img:focus-visible,
  .home-product-slider .home-product-card > .eshop-card-img,
  .home-product-slider .home-product-card:hover > .eshop-card-img,
  .home-product-slider .home-product-card:active > .eshop-card-img,
  .home-product-slider .home-product-card:focus-within > .eshop-card-img,
  .home-product-slider .home-product-card > .eshop-card-img:hover,
  .home-product-slider .home-product-card > .eshop-card-img:active,
  .home-product-slider .home-product-card > .eshop-card-img:focus,
  .home-product-slider .home-product-card > .eshop-card-img:focus-visible {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .eshop-grid .eshop-card-pro > .eshop-card-img > img,
  .eshop-grid .eshop-card-pro:hover > .eshop-card-img > img,
  .eshop-grid .eshop-card-pro:active > .eshop-card-img > img,
  .eshop-grid .eshop-card-pro:focus-within > .eshop-card-img > img,
  .eshop-grid .eshop-card-pro > .eshop-card-img:hover > img,
  .eshop-grid .eshop-card-pro > .eshop-card-img:active > img,
  .eshop-grid .eshop-card-pro > .eshop-card-img:focus > img,
  .eshop-grid .eshop-card-pro > .eshop-card-img:focus-visible > img,
  .home-product-slider .home-product-card > .eshop-card-img > img,
  .home-product-slider .home-product-card:hover > .eshop-card-img > img,
  .home-product-slider .home-product-card:active > .eshop-card-img > img,
  .home-product-slider .home-product-card:focus-within > .eshop-card-img > img,
  .home-product-slider .home-product-card > .eshop-card-img:hover > img,
  .home-product-slider .home-product-card > .eshop-card-img:active > img,
  .home-product-slider .home-product-card > .eshop-card-img:focus > img,
  .home-product-slider .home-product-card > .eshop-card-img:focus-visible > img {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: var(--product-image-mobile-position, var(--product-image-position, 50% 50%)) !important;
    transform: none !important;
    transform-origin: center center !important;
    transition: none !important;
    animation: none !important;
    pointer-events: none !important;
  }
}

/* =========================================================
   V384: mobilní horní bannery v e-shopu stejně vysoké jako na homepage
========================================================= */
@media (max-width: 780px) {
  .eshop-top-banners:not(.home-eshop-banners) .eshop-top-banner {
    min-height: 112px !important;
  }
}

/* =========================================================
   V385: horní bannery v e-shopu menší i na desktopu
   Desktop/tablet 122 px, mobil 112 px. Homepage beze změny.
========================================================= */
.eshop-top-banners:not(.home-eshop-banners) .eshop-top-banner {
  min-height: 122px !important;
}

@media (max-width: 780px) {
  .eshop-top-banners:not(.home-eshop-banners) .eshop-top-banner {
    min-height: 112px !important;
  }
}

/* =========================================================
   V386: kompaktní produktové karty také na desktopu
   Detailní popis zůstává až na detailu produktu.
========================================================= */
@media (min-width: 761px) {
  .eshop-card-pro,
  .home-product-card {
    height: auto !important;
    min-height: 0 !important;
  }

  .eshop-card-pro .eshop-card-body,
  .home-product-card .eshop-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px !important;
    gap: 11px !important;
  }

  /* Krátký popis produktu patří až na detail. */
  .eshop-card-pro .eshop-card-body > p,
  .home-product-card .eshop-card-body > p {
    display: none !important;
  }

  .eshop-card-pro .eshop-card-tags-row,
  .home-product-card .eshop-card-tags-row,
  .eshop-card-pro h2,
  .eshop-card-pro h3,
  .home-product-card h3,
  .eshop-card-pro .eshop-stock-line,
  .home-product-card .eshop-stock-line {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  /* Pokud není informační box potřeba, nerezervuje se pro něj místo. */
  .eshop-card-pro .eshop-availability-note.is-placeholder,
  .home-product-card .eshop-availability-note.is-placeholder {
    display: none !important;
  }

  .eshop-card-pro .eshop-availability-note:not(.is-placeholder),
  .home-product-card .eshop-availability-note:not(.is-placeholder) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 1px 0 0 !important;
  }

  .eshop-card-pro .eshop-card-bottom,
  .home-product-card .eshop-card-bottom {
    display: grid !important;
    grid-template-rows: auto auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 7px !important;
    gap: 9px !important;
  }

  .eshop-card-pro .eshop-price-wrap,
  .home-product-card .eshop-price-wrap {
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  .eshop-card-pro .eshop-card-actions,
  .home-product-card .eshop-card-actions,
  .home-product-slider .eshop-card-actions {
    position: static !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
  }

  .eshop-card-pro .eshop-card-actions form,
  .home-product-card .eshop-card-actions form,
  .home-product-slider .eshop-card-actions form,
  .eshop-card-pro .eshop-detail-btn,
  .home-product-card .eshop-detail-btn,
  .home-product-slider .eshop-detail-btn,
  .eshop-card-pro .eshop-card-actions button,
  .home-product-card .eshop-card-actions button,
  .home-product-slider .eshop-card-actions button,
  .eshop-card-pro .eshop-variant-select-btn,
  .home-product-card .eshop-variant-select-btn {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }
}

/* =========================================================
   V387: homepage - jedna produktová karta na mobilu přes celou šířku
   Stejná šířka jako produktová karta na /eshop.
========================================================= */
@media (max-width: 560px) {
  .home-product-slider.is-static {
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: stretch !important;
  }

  .home-product-slider.is-static .home-product-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
  }
}

/* =========================================================
   V388: vzdušnější mobilní filtr
   - řazení a nabídka se zalamují
   - kategorie a cena zůstávají horizontálně posuvné
   - méně zbytečného vnitřního odsazení
========================================================= */
@media (max-width: 760px) {
  .eshop-filter-dropdown-panel {
    padding: 12px 9px 15px !important;
  }

  .eshop-filter-dropdown-grid {
    gap: 12px !important;
  }

  .eshop-filter-group,
  .eshop-filter-group-wide {
    width: 100% !important;
    min-width: 0 !important;
    padding: 15px 12px !important;
    box-sizing: border-box !important;
  }

  /* Řazení + Nabídka: žádné ořezávání, volby se normálně zalomí. */
  .eshop-filter-group .eshop-filter-options:not(.eshop-filter-options-scroll) {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    gap: 9px !important;
    padding-bottom: 0 !important;
  }

  .eshop-filter-group .eshop-filter-options:not(.eshop-filter-options-scroll) .eshop-filter-option {
    flex: 0 0 auto !important;
  }

  /* Kategorie + Cena: pohodlné vodorovné rolování bez zmenšování tlačítek. */
  .eshop-filter-options-scroll {
    width: 100% !important;
    max-width: 100% !important;
    gap: 9px !important;
    padding: 1px 2px 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-padding-inline: 2px !important;
  }

  .eshop-filter-option {
    min-height: 40px !important;
    padding: 9px 14px !important;
    font-size: 12px !important;
  }

  .eshop-filter-group h3 {
    margin-bottom: 11px !important;
  }
}

/* =========================================================
   V391: homepage slider - čisté mobilní šipky přes fotografii
   - jedna karta na šířku
   - žádný náhled sousední karty
   - šipky jsou ukotvené ke čtvercové fotografii
========================================================= */
.home-product-arrow-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.home-product-arrow-layer .home-product-arrow {
  pointer-events: auto;
  forced-color-adjust: none;
}

@media (max-width: 640px) {
  .home-product-slider-wrap.is-slider {
    overflow: hidden !important;
  }

  .home-product-slider-wrap.is-slider .home-product-slider {
    gap: 0 !important;
    padding: 6px 0 22px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  .home-product-slider-wrap.is-slider .home-product-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }

  /* Overlay má přesně výšku 1:1 fotografie produktu. */
  .home-product-slider-wrap.is-slider .home-product-arrow-layer {
    inset: auto 0 auto 0 !important;
    top: 6px !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    z-index: 8 !important;
  }

  .home-product-slider-wrap.is-slider .home-product-arrow {
    display: grid !important;
    place-items: center !important;
    top: 50% !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid rgba(255, 255, 255, .62) !important;
    border-radius: 999px !important;
    background: rgba(31, 51, 40, .72) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .20) !important;
    opacity: .94 !important;
    transform: translateY(-50%) !important;
    transition:
      transform .14s ease,
      background .14s ease,
      opacity .14s ease !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }

  .home-product-slider-wrap.is-slider .home-product-arrow-left {
    left: 10px !important;
  }

  .home-product-slider-wrap.is-slider .home-product-arrow-right {
    right: 10px !important;
  }

  .home-product-slider-wrap.is-slider .home-product-arrow::before {
    width: 9px !important;
    height: 9px !important;
    border-top: 2px solid currentColor !important;
    border-right: 2px solid currentColor !important;
  }

  .home-product-slider-wrap.is-slider .home-product-arrow:active {
    transform: translateY(-50%) scale(.92) !important;
    background: rgba(31, 51, 40, .88) !important;
  }
}

@media (max-width: 640px) and (prefers-color-scheme: dark) {
  .home-product-slider-wrap.is-slider .home-product-arrow {
    background: rgba(20, 42, 30, .88) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .70) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .38) !important;
  }
}

@media (max-width: 640px) and (hover: none), (max-width: 640px) and (pointer: coarse) {
  .home-product-slider-wrap.is-slider .home-product-arrow:hover {
    transform: translateY(-50%) !important;
    background: rgba(31, 51, 40, .72) !important;
  }
}

/* =========================================================
   V392: homepage slider - mobilní karta samostatně a na středu
   - 12px prostor po stranách
   - skutečná mezera mezi kartami
   - žádný náhled sousední karty
   - šipky jsou zarovnané k samotné fotografii
========================================================= */
@media (max-width: 640px) {
  .home-product-slider-wrap.is-slider {
    overflow: hidden !important;
  }

  .home-product-slider-wrap.is-slider .home-product-slider {
    gap: 18px !important;
    padding: 6px 12px 22px !important;
    scroll-padding-inline: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  .home-product-slider-wrap.is-slider .home-product-card {
    flex: 0 0 calc(100% - 24px) !important;
    width: calc(100% - 24px) !important;
    min-width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    margin: 0 !important;
  }

  /*
   * Overlay má stejnou šířku jako karta/fotografie,
   * takže šipky nejsou přilepené k vnějšímu okraji sekce.
   */
  .home-product-slider-wrap.is-slider .home-product-arrow-layer {
    left: 12px !important;
    right: 12px !important;
    top: 6px !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  .home-product-slider-wrap.is-slider .home-product-arrow-left {
    left: 9px !important;
  }

  .home-product-slider-wrap.is-slider .home-product-arrow-right {
    right: 9px !important;
  }
}

/* =========================================================
   V393: detail produktu - doprava/platba + kompaktní doporučení na PC
========================================================= */

/* Doprava a platba pod nákupním formulářem. */
.product-order-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.product-order-info-block {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(31, 51, 40, .12);
  border-radius: 13px;
  background: #fafaf7;
}

.product-order-info-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  color: #1f3328;
  font-size: 13px;
}

.product-order-info-icon {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 999px;
  background: #1f3328;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.product-order-info-block ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-order-info-block li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding-top: 9px;
  border-top: 1px solid rgba(31, 51, 40, .08);
}

.product-order-info-block li:first-child {
  padding-top: 0;
  border-top: 0;
}

.product-order-info-block li > span {
  min-width: 0;
}

.product-order-info-block li strong {
  display: block;
  color: #1f3328;
  font-size: 12px;
  line-height: 1.3;
}

.product-order-info-block li small {
  display: block;
  margin-top: 2px;
  color: #727970;
  font-size: 10px;
  line-height: 1.35;
}

.product-order-info-block li em {
  color: #6d9f2e;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.product-order-info-note {
  margin: 8px 0 0 !important;
  color: #7a7067 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}

/*
 * Desktop: doporučené produkty už netvoří obrovský prázdný pás.
 * Při 1–4 produktech se karty vycentrují a sekce má menší vertikální padding.
 */
@media (min-width: 861px) {
  .product-related-section {
    margin-top: 18px !important;
    padding: 32px 0 42px !important;
  }

  .product-related-head {
    margin-bottom: 18px !important;
  }

  .product-related-head h2 {
    font-size: clamp(30px, 2.35vw, 38px) !important;
  }

  .product-related-slider.is-static {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px)) !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 18px !important;
    overflow: visible !important;
    padding: 3px 0 4px !important;
  }

  .product-related-slider.is-static .product-related-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 300px !important;
    min-height: 142px !important;
    flex: none !important;
    grid-template-columns: 116px minmax(0, 1fr) !important;
    justify-self: center !important;
  }

  .product-related-slider.is-static .product-related-image img,
  .product-related-slider.is-static .product-related-image > span {
    min-height: 142px !important;
  }

  .product-related-slider.is-static .product-related-body {
    padding: 14px 14px 12px !important;
  }

  .product-related-slider.is-static .product-related-body h3 {
    min-height: 0 !important;
    margin: 5px 0 8px !important;
    font-size: 16px !important;
  }

  .product-related-slider.is-static .product-related-detail {
    margin-top: 8px !important;
  }
}

@media (max-width: 860px) {
  .product-order-info {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  .product-order-info-block {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .055);
  }

  .product-order-info-head,
  .product-order-info-block li strong {
    color: #f5f4ef;
  }

  .product-order-info-icon {
    background: #355846;
    color: #fff;
  }

  .product-order-info-block li {
    border-top-color: rgba(255, 255, 255, .11);
  }

  .product-order-info-block li small,
  .product-order-info-note {
    color: #bbbdb9 !important;
  }

  .product-order-info-block li em {
    color: #a8cf7e;
  }
}

