/* ==========================================================================
   PROM-IN SWIPER PRODUCT CARDS
   cíleně pro slider / swiper produkty podle struktury ze screenu
   inspirace referenčním PROM-IN card stylem
   ========================================================================== */

:root {
  --promin-green: #57c24e;
  --promin-green-2: #74df68;
  --promin-green-dark: #43ae3b;
  --promin-green-deep: #2f7e2d;

  --promin-white: #ffffff;
  --promin-text: rgba(255,255,255,0.86);
  --promin-text-soft: rgba(255,255,255,0.72);
  --promin-text-muted: rgba(255,255,255,0.56);

  --promin-border: rgba(255,255,255,0.08);
  --promin-border-green: rgba(87,194,78,0.18);

  --promin-radius-card: 28px;
  --promin-radius-inner: 22px;
  --promin-radius-pill: 999px;

  --promin-card-bg:
    radial-gradient(circle at 18% 16%, rgba(87,194,78,0.14) 0%, rgba(87,194,78,0.05) 22%, rgba(0,0,0,0) 42%),
    radial-gradient(circle at 82% 72%, rgba(87,194,78,0.10) 0%, rgba(87,194,78,0.02) 18%, rgba(0,0,0,0) 38%),
    linear-gradient(145deg, #060606 0%, #0a0a0b 45%, #101511 100%);

  --promin-card-shadow:
    0 18px 45px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.04);

  --promin-card-shadow-hover:
    0 24px 55px rgba(0,0,0,0.30),
    0 0 0 1px rgba(87,194,78,0.08),
    inset 0 1px 0 rgba(255,255,255,0.05);

  --promin-btn-bg: linear-gradient(90deg, #57c24e 0%, #43ae3b 100%);
}

/* ==========================================================================
   SWIPER WRAPPER / SPACING
   ========================================================================== */

.swiper.my-swiper,
.my-swiper.swiper-container-initialized,
.my-swiper.swiper-container-horizontal,
.my-swiper.swiper-container-pointer-events {
  overflow: visible;
  padding: 8px 0 18px;
}

.swiper.my-swiper .swiper-wrapper,
.my-swiper .swiper-wrapper {
  align-items: stretch;
}

.swiper.my-swiper .product.swiper-slide,
.my-swiper .product.swiper-slide {
  height: auto;
  display: flex;
}

/* ==========================================================================
   KARTA
   ========================================================================== */

.swiper.my-swiper .product .p,
.my-swiper .product .p {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--promin-radius-card);
  background: var(--promin-card-bg);
  border: 1px solid var(--promin-border);
  box-shadow: var(--promin-card-shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    filter 0.25s ease;
}

.swiper.my-swiper .product .p::before,
.my-swiper .product .p::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
    radial-gradient(circle at top right, rgba(116,223,104,0.10), transparent 28%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   IMAGE
   ========================================================================== */

.swiper.my-swiper .product .p-image,
.swiper.my-swiper .product .image,
.my-swiper .product .p-image,
.my-swiper .product .image {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  padding: 28px 24px 12px;
  background: transparent !important;
  text-decoration: none !important;
}

.swiper.my-swiper .product .p-image::after,
.swiper.my-swiper .product .image::after,
.my-swiper .product .p-image::after,
.my-swiper .product .image::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.08), rgba(255,255,255,0));
}

.swiper.my-swiper .product .p-image img,
.swiper.my-swiper .product .image img,
.my-swiper .product .p-image img,
.my-swiper .product .image img {
  max-width: 100%;
  max-height: 260px;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 28px rgba(0,0,0,0.36));
  transition: transform 0.25s ease, filter 0.25s ease;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   FLAGS
   ========================================================================== */

.swiper.my-swiper .product .flags,
.swiper.my-swiper .product .flags-default,
.my-swiper .product .flags,
.my-swiper .product .flags-default {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.swiper.my-swiper .product .flag,
.swiper.my-swiper .product .flags span,
.my-swiper .product .flag,
.my-swiper .product .flags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 7px 12px;
  border-radius: var(--promin-radius-pill);
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  color: #000000 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.swiper.my-swiper .product .flag.flag-discount,
.swiper.my-swiper .product .flag.flag-sale,
.swiper.my-swiper .product .flag.flag-xy-discount,
.my-swiper .product .flag.flag-discount,
.my-swiper .product .flag.flag-sale,
.my-swiper .product .flag.flag-xy-discount {
  background: var(--promin-green) !important;
  border-color: var(--promin-green) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   VNITŘEK KARTY
   ========================================================================== */

.swiper.my-swiper .product .p-in,
.my-swiper .product .p-in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0 22px 22px;
  background: transparent !important;
}

.swiper.my-swiper .product .p-in-in,
.my-swiper .product .p-in-in {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 14px;
}

/* ==========================================================================
   NÁZEV
   ========================================================================== */

.swiper.my-swiper .product .name,
.my-swiper .product .name {
  display: block;
  margin: 0;
  color: #ffffff !important;
  text-decoration: none !important;
}

.swiper.my-swiper .product .name span,
.my-swiper .product .name span {
  display: block;
  margin: 0;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   RATING / SKLADEM
   ========================================================================== */

.swiper.my-swiper .product .ratings-wrapper,
.my-swiper .product .ratings-wrapper {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.swiper.my-swiper .product .availability,
.my-swiper .product .availability {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: var(--promin-radius-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
}

.swiper.my-swiper .product .availability span[style*="#009901"],
.swiper.my-swiper .product .availability span[style*="#090"],
.swiper.my-swiper .product .availability span[style*="rgb(0,153,1)"],
.my-swiper .product .availability span[style*="#009901"],
.my-swiper .product .availability span[style*="#090"],
.my-swiper .product .availability span[style*="rgb(0,153,1)"] {
  color: #7ee26d !important;
}

.swiper.my-swiper .product .availability-amount,
.my-swiper .product .availability-amount {
  color: var(--promin-text-muted) !important;
  font-size: 12px;
}

/* ==========================================================================
   CENA + SPODEK
   ========================================================================== */

.swiper.my-swiper .product .p-bottom,
.my-swiper .product .p-bottom {
  margin-top: auto;
  background: transparent !important;
}

.swiper.my-swiper .product .prices,
.my-swiper .product .prices {
  margin-bottom: 16px;
  background: transparent !important;
}

.swiper.my-swiper .product .price,
.swiper.my-swiper .product .price-final,
.my-swiper .product .price,
.my-swiper .product .price-final {
  color: #ffffff !important;
}

.swiper.my-swiper .product .price strong,
.swiper.my-swiper .product .price-final strong,
.my-swiper .product .price strong,
.my-swiper .product .price-final strong {
  font-size: 31px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff !important;
}

.swiper.my-swiper .product .price strong small,
.swiper.my-swiper .product .price-final strong small,
.my-swiper .product .price strong small,
.my-swiper .product .price-final strong small {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.68);
  margin-right: 6px;
}

/* ==========================================================================
   TOOLS / BUTTON
   ========================================================================== */

.swiper.my-swiper .product .p-tools,
.swiper.my-swiper .product .p-tools form,
.my-swiper .product .p-tools,
.my-swiper .product .p-tools form {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  float: none;
  background: transparent !important;
}

.swiper.my-swiper .product .btn,
.swiper.my-swiper .product .btn.btn-primary,
.swiper.my-swiper .product .btn.btn-cart,
.swiper.my-swiper .product a.btn,
.swiper.my-swiper .product a.btn.btn-primary,
.swiper.my-swiper .product a.btn.btn-cart,
.my-swiper .product .btn,
.my-swiper .product .btn.btn-primary,
.my-swiper .product .btn.btn-cart,
.my-swiper .product a.btn,
.my-swiper .product a.btn.btn-primary,
.my-swiper .product a.btn.btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 50px;
  min-height: 50px;
  padding: 0 24px;
  border: 0 !important;
  border-radius: var(--promin-radius-pill);
  background: var(--promin-btn-bg) !important;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(87,194,78,0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.swiper.my-swiper .product .btn span,
.my-swiper .product .btn span {
  color: inherit !important;
  text-decoration: none !important;
}

/* ==========================================================================
   QUANTITY
   ========================================================================== */

.swiper.my-swiper .product .quantity,
.my-swiper .product .quantity {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 116px;
  width: 116px;
  min-width: 116px;
  height: 50px;
  margin: 0;
  padding: 0;
  border-radius: var(--promin-radius-pill);
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 20px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.swiper.my-swiper .product .quantity label,
.my-swiper .product .quantity label {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper.my-swiper .product .quantity .amount,
.my-swiper .product .quantity .amount {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 50px;
  padding: 0 32px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 50px !important;
  appearance: textfield;
  -moz-appearance: textfield;
  margin: 0;
}

.swiper.my-swiper .product .quantity .amount::-webkit-outer-spin-button,
.swiper.my-swiper .product .quantity .amount::-webkit-inner-spin-button,
.my-swiper .product .quantity .amount::-webkit-outer-spin-button,
.my-swiper .product .quantity .amount::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.swiper.my-swiper .product .quantity .increase::before,
.swiper.my-swiper .product .quantity .increase::after,
.swiper.my-swiper .product .quantity .decrease::before,
.swiper.my-swiper .product .quantity .decrease::after,
.my-swiper .product .quantity .increase::before,
.my-swiper .product .quantity .increase::after,
.my-swiper .product .quantity .decrease::before,
.my-swiper .product .quantity .decrease::after {
  content: none !important;
  display: none !important;
}

.swiper.my-swiper .product .quantity .increase,
.swiper.my-swiper .product .quantity .decrease,
.my-swiper .product .quantity .increase,
.my-swiper .product .quantity .decrease {
  position: absolute;
  top: 0;
  bottom: 0;
  transform: none !important;
  width: 32px;
  height: 50px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 0;
  line-height: 50px;
  text-align: center;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 3;
  appearance: none;
  -webkit-appearance: none;
}

.swiper.my-swiper .product .quantity .decrease,
.my-swiper .product .quantity .decrease {
  left: 6px;
}

.swiper.my-swiper .product .quantity .increase,
.my-swiper .product .quantity .increase {
  right: 6px;
}

.swiper.my-swiper .product .quantity .increase__sign,
.swiper.my-swiper .product .quantity .decrease__sign,
.my-swiper .product .quantity .increase__sign,
.my-swiper .product .quantity .decrease__sign {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: #ffffff !important;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

/* ==========================================================================
   SCHOVAT KÓD PRODUKTU
   ========================================================================== */

.swiper.my-swiper .product .p-code,
.my-swiper .product .p-code {
  display: none !important;
}

/* ==========================================================================
   UJISTĚNÍ ŽE VNITŘNÍ BLOKY NEMAJÍ RUŠIVÉ BACKGROUNDY
   ========================================================================== */

.swiper.my-swiper .product,
.swiper.my-swiper .product .p-bottom,
.swiper.my-swiper .product .prices,
.swiper.my-swiper .product .p-tools,
.my-swiper .product,
.my-swiper .product .p-bottom,
.my-swiper .product .prices,
.my-swiper .product .p-tools {
  background: transparent !important;
}

/* ==========================================================================
   DESKTOP HOVER
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  .swiper.my-swiper .product .p:hover,
  .my-swiper .product .p:hover {
    transform: translateY(-4px);
    border-color: rgba(87,194,78,0.24);
    box-shadow: var(--promin-card-shadow-hover);
  }

  .swiper.my-swiper .product .p:hover .p-image img,
  .swiper.my-swiper .product .p:hover .image img,
  .my-swiper .product .p:hover .p-image img,
  .my-swiper .product .p:hover .image img {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 26px 34px rgba(0,0,0,0.42));
  }

  .swiper.my-swiper .product .name:hover span,
  .my-swiper .product .name:hover span {
    color: #dff8dc !important;
  }

  .swiper.my-swiper .product .quantity .increase:hover,
  .swiper.my-swiper .product .quantity .decrease:hover,
  .my-swiper .product .quantity .increase:hover,
  .my-swiper .product .quantity .decrease:hover {
    background: rgba(255,255,255,0.08) !important;
    color: var(--promin-green) !important;
  }

  .swiper.my-swiper .product .quantity .increase:hover .increase__sign,
  .swiper.my-swiper .product .quantity .decrease:hover .decrease__sign,
  .my-swiper .product .quantity .increase:hover .increase__sign,
  .my-swiper .product .quantity .decrease:hover .decrease__sign {
    color: var(--promin-green) !important;
  }

  .swiper.my-swiper .product .btn:hover,
  .swiper.my-swiper .product .btn.btn-primary:hover,
  .swiper.my-swiper .product .btn.btn-cart:hover,
  .swiper.my-swiper .product a.btn:hover,
  .swiper.my-swiper .product a.btn.btn-primary:hover,
  .swiper.my-swiper .product a.btn.btn-cart:hover,
  .my-swiper .product .btn:hover,
  .my-swiper .product .btn.btn-primary:hover,
  .my-swiper .product .btn.btn-cart:hover,
  .my-swiper .product a.btn:hover,
  .my-swiper .product a.btn.btn-primary:hover,
  .my-swiper .product a.btn.btn-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(87,194,78,0.30);
    filter: brightness(1.03);
    color: #ffffff !important;
    text-decoration: none !important;
  }
}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 991px) {
  .swiper.my-swiper,
  .my-swiper {
    padding: 6px 0 14px;
  }

  .swiper.my-swiper .product .p,
  .my-swiper .product .p {
    border-radius: 24px;
  }

  .swiper.my-swiper .product .p-image,
  .swiper.my-swiper .product .image,
  .my-swiper .product .p-image,
  .my-swiper .product .image {
    min-height: 240px;
    padding: 22px 18px 8px;
  }

  .swiper.my-swiper .product .p-image img,
  .swiper.my-swiper .product .image img,
  .my-swiper .product .p-image img,
  .my-swiper .product .image img {
    max-height: 210px;
  }

  .swiper.my-swiper .product .p-in,
  .my-swiper .product .p-in {
    padding: 0 16px 16px;
  }

  .swiper.my-swiper .product .name span,
  .my-swiper .product .name span {
    font-size: 20px;
    line-height: 1.14;
  }

  .swiper.my-swiper .product .price strong,
  .swiper.my-swiper .product .price-final strong,
  .my-swiper .product .price strong,
  .my-swiper .product .price-final strong {
    font-size: 26px;
  }
}

/* ==========================================================================
   MOBIL
   ========================================================================== */

@media (max-width: 768px) {
  .swiper.my-swiper,
  .my-swiper {
    padding: 4px 0 10px;
  }

  .swiper.my-swiper .product .p,
  .my-swiper .product .p {
    border-radius: 22px;
  }

  .swiper.my-swiper .product .p-image,
  .swiper.my-swiper .product .image,
  .my-swiper .product .p-image,
  .my-swiper .product .image {
    min-height: 220px;
    padding: 20px 16px 6px;
  }

  .swiper.my-swiper .product .p-image img,
  .swiper.my-swiper .product .image img,
  .my-swiper .product .p-image img,
  .my-swiper .product .image img {
    max-height: 190px;
  }

  .swiper.my-swiper .product .p-in,
  .my-swiper .product .p-in {
    padding: 0 14px 14px;
  }

  .swiper.my-swiper .product .p-in-in,
  .my-swiper .product .p-in-in {
    gap: 10px;
    margin-bottom: 12px;
  }

  .swiper.my-swiper .product .name,
  .my-swiper .product .name {
    margin-bottom: 2px;
  }

  .swiper.my-swiper .product .name span,
  .my-swiper .product .name span {
    font-size: 18px;
    line-height: 1.22;
    min-height: 44px;
    padding-bottom: 2px;
  }

  .swiper.my-swiper .product .ratings-wrapper,
  .my-swiper .product .ratings-wrapper {
    gap: 8px;
    margin-top: 2px;
  }

  .swiper.my-swiper .product .availability,
  .my-swiper .product .availability {
    margin-top: 0;
    padding: 6px 10px;
    font-size: 12px;
  }

  .swiper.my-swiper .product .availability-amount,
  .my-swiper .product .availability-amount {
    font-size: 11px;
  }

  .swiper.my-swiper .product .prices,
  .my-swiper .product .prices {
    margin-bottom: 12px;
  }

  .swiper.my-swiper .product .price strong,
  .swiper.my-swiper .product .price-final strong,
  .my-swiper .product .price strong,
  .my-swiper .product .price-final strong {
    font-size: 24px;
  }

  .swiper.my-swiper .product .p-tools,
  .swiper.my-swiper .product .p-tools form,
  .my-swiper .product .p-tools,
  .my-swiper .product .p-tools form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .swiper.my-swiper .product .quantity,
  .my-swiper .product .quantity {
    width: 100%;
    min-width: 100%;
    flex: 0 0 auto;
    height: 44px;
  }

  .swiper.my-swiper .product .quantity label,
  .my-swiper .product .quantity label {
    height: 44px;
  }

  .swiper.my-swiper .product .quantity .amount,
  .my-swiper .product .quantity .amount {
    height: 44px;
    line-height: 44px !important;
    font-size: 16px;
    padding: 0 30px;
  }

  .swiper.my-swiper .product .quantity .increase,
  .swiper.my-swiper .product .quantity .decrease,
  .my-swiper .product .quantity .increase,
  .my-swiper .product .quantity .decrease {
    height: 44px;
    width: 30px;
  }

  .swiper.my-swiper .product .quantity .increase__sign,
  .swiper.my-swiper .product .quantity .decrease__sign,
  .my-swiper .product .quantity .increase__sign,
  .my-swiper .product .quantity .decrease__sign {
    font-size: 23px;
  }

  .swiper.my-swiper .product .btn,
  .swiper.my-swiper .product .btn.btn-primary,
  .swiper.my-swiper .product .btn.btn-cart,
  .swiper.my-swiper .product a.btn,
  .swiper.my-swiper .product a.btn.btn-primary,
  .swiper.my-swiper .product a.btn.btn-cart,
  .my-swiper .product .btn,
  .my-swiper .product .btn.btn-primary,
  .my-swiper .product .btn.btn-cart,
  .my-swiper .product a.btn,
  .my-swiper .product a.btn.btn-primary,
  .my-swiper .product a.btn.btn-cart {
    width: 100%;
    min-width: 100%;
    flex: 0 0 auto;
    height: 44px;
    min-height: 44px;
    font-size: 15px;
    padding: 0 18px;
  }
}

/* ==========================================================================
   EXTRA SMALL
   ========================================================================== */

@media (max-width: 430px) {
  .swiper.my-swiper .product .p-in,
  .my-swiper .product .p-in {
    padding: 0 12px 12px;
  }

  .swiper.my-swiper .product .name span,
  .my-swiper .product .name span {
    font-size: 17px;
    line-height: 1.24;
    min-height: 42px;
  }

  .swiper.my-swiper .product .availability,
  .my-swiper .product .availability {
    padding: 5px 9px;
    font-size: 11px;
  }

  .swiper.my-swiper .product .price strong,
  .swiper.my-swiper .product .price-final strong,
  .my-swiper .product .price strong,
  .my-swiper .product .price-final strong {
    font-size: 22px;
  }

  .swiper.my-swiper .product .quantity,
  .my-swiper .product .quantity,
  .swiper.my-swiper .product .btn,
  .swiper.my-swiper .product .btn.btn-primary,
  .swiper.my-swiper .product .btn.btn-cart,
  .swiper.my-swiper .product a.btn,
  .swiper.my-swiper .product a.btn.btn-primary,
  .swiper.my-swiper .product a.btn.btn-cart,
  .my-swiper .product .btn,
  .my-swiper .product .btn.btn-primary,
  .my-swiper .product .btn.btn-cart,
  .my-swiper .product a.btn,
  .my-swiper .product a.btn.btn-primary,
  .my-swiper .product a.btn.btn-cart {
    height: 42px;
    min-height: 42px;
  }

  .swiper.my-swiper .product .quantity .amount,
  .my-swiper .product .quantity .amount {
    height: 42px;
    line-height: 42px !important;
    font-size: 15px;
  }

  .swiper.my-swiper .product .quantity .increase,
  .swiper.my-swiper .product .quantity .decrease,
  .my-swiper .product .quantity .increase,
  .my-swiper .product .quantity .decrease {
    height: 42px;
  }

  .swiper.my-swiper .product .quantity .increase__sign,
  .swiper.my-swiper .product .quantity .decrease__sign,
  .my-swiper .product .quantity .increase__sign,
  .my-swiper .product .quantity .decrease__sign {
    font-size: 21px;
  }

  .swiper.my-swiper .product .btn,
  .swiper.my-swiper .product .btn.btn-primary,
  .swiper.my-swiper .product .btn.btn-cart,
  .swiper.my-swiper .product a.btn,
  .swiper.my-swiper .product a.btn.btn-primary,
  .swiper.my-swiper .product a.btn.btn-cart,
  .my-swiper .product .btn,
  .my-swiper .product .btn.btn-primary,
  .my-swiper .product .btn.btn-cart,
  .my-swiper .product a.btn,
  .my-swiper .product a.btn.btn-primary,
  .my-swiper .product a.btn.btn-cart {
    font-size: 14px;
    padding: 0 16px;
  }
}

/* ==========================================================================
   PROM-IN SWIPER FIX
   1) bullets níž
   2) schovat okolní slide mimo viewport
   3) držet jen viditelnou oblast slideru
   ========================================================================== */

/* hlavní obal slideru */
.swiper.my-swiper,
.my-swiper.swiper,
.my-swiper.swiper-container,
.my-swiper.swiper-container-initialized,
.my-swiper.swiper-container-horizontal,
.my-swiper.swiper-container-pointer-events {
  position: relative !important;
  overflow: hidden !important;
  padding-bottom: 56px !important; /* místo pro pagination dole */
  border-radius: 28px !important;
}

/* wrapper uvnitř */
.swiper.my-swiper .swiper-wrapper,
.my-swiper .swiper-wrapper {
  align-items: stretch !important;
}

/* jednotlivé slidy */
.swiper.my-swiper .swiper-slide,
.my-swiper .swiper-slide,
.swiper.my-swiper .product.swiper-slide,
.my-swiper .product.swiper-slide {
  height: auto !important;
  box-sizing: border-box !important;
}

/* pagination jako celek */
.swiper.my-swiper .swiper-pagination,
.my-swiper .swiper-pagination,
div.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 16px !important; /* POSUN NÍŽ */
  top: auto !important;
  z-index: 8 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  pointer-events: auto !important;
}

/* bullet tečky */
.swiper.my-swiper .swiper-pagination-bullet,
.my-swiper .swiper-pagination-bullet,
div.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets .swiper-pagination-bullet {
  width: 7px !important;
  height: 7px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.28) !important;
  opacity: 1 !important;
  transition:
    transform 0.22s ease,
    width 0.22s ease,
    background 0.22s ease,
    opacity 0.22s ease !important;
}

.swiper.my-swiper .swiper-pagination-bullet-active,
.my-swiper .swiper-pagination-bullet-active,
div.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets .swiper-pagination-bullet-active {
  width: 22px !important;
  background: linear-gradient(90deg, #57c24e 0%, #43ae3b 100%) !important;
  box-shadow: 0 0 0 1px rgba(87,194,78,0.18), 0 4px 12px rgba(87,194,78,0.28) !important;
}

/* šipky držet uvnitř slideru */
.swiper.my-swiper .swiper-button-prev,
.swiper.my-swiper .swiper-button-next,
.my-swiper .swiper-button-prev,
.my-swiper .swiper-button-next {
  z-index: 9 !important;
}

/* důležité: produktová karta nesmí přetékat ven mimo viewport */
.swiper.my-swiper .product,
.swiper.my-swiper .product .p,
.my-swiper .product,
.my-swiper .product .p {
  max-width: 100% !important;
}

/* pokud někde dřív bylo overflow: visible, tímhle to přebijeme */
.swiper.my-swiper,
.my-swiper,
.swiper.my-swiper .swiper-wrapper,
.my-swiper .swiper-wrapper {
  overflow: visible !important;
}

.swiper.my-swiper,
.my-swiper {
  overflow: hidden !important;
}

/* desktop – chceme vizuálně 5 kusů v okně */
@media (min-width: 1200px) {
  .swiper.my-swiper .swiper-slide,
  .my-swiper .swiper-slide {
    width: calc((100% - 80px) / 5) !important;
    flex: 0 0 calc((100% - 80px) / 5) !important;
    max-width: calc((100% - 80px) / 5) !important;
  }
}

/* menší notebook / tablet landscape – 3 kusy */
@media (min-width: 768px) and (max-width: 1199px) {
  .swiper.my-swiper,
  .my-swiper {
    padding-bottom: 52px !important;
  }

  .swiper.my-swiper .swiper-slide,
  .my-swiper .swiper-slide {
    width: calc((100% - 32px) / 3) !important;
    flex: 0 0 calc((100% - 32px) / 3) !important;
    max-width: calc((100% - 32px) / 3) !important;
  }

  .swiper.my-swiper .swiper-pagination,
  .my-swiper .swiper-pagination,
  div.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets {
    bottom: 14px !important;
  }
}

/* mobil – 1 až 2 podle layoutu, ale hlavně nic nesmí lézt ven */
@media (max-width: 767px) {
  .swiper.my-swiper,
  .my-swiper {
    overflow: hidden !important;
    padding-bottom: 46px !important;
    border-radius: 22px !important;
  }

  .swiper.my-swiper .swiper-pagination,
  .my-swiper .swiper-pagination,
  div.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets {
    bottom: 10px !important;
    gap: 6px !important;
  }

  .swiper.my-swiper .swiper-pagination-bullet,
  .my-swiper .swiper-pagination-bullet,
  div.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
  }

  .swiper.my-swiper .swiper-pagination-bullet-active,
  .my-swiper .swiper-pagination-bullet-active,
  div.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets .swiper-pagination-bullet-active {
    width: 18px !important;
  }
}

/* extra jistota – cokoli mimo viewport slideru nebude vidět */
.swiper.my-swiper::before,
.swiper.my-swiper::after,
.my-swiper::before,
.my-swiper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   PROM-IN SWIPER DESKTOP ALIGN FIX
   1) vrátit 5 produktů na desktopu
   2) držet přesnou šířku slidů
   3) zabránit polovičnímu / 3/4 posunu
   ========================================================================== */

.swiper.my-swiper .swiper-wrapper,
.my-swiper .swiper-wrapper {
  box-sizing: border-box !important;
  will-change: transform;
}

.swiper.my-swiper .swiper-slide,
.my-swiper .swiper-slide {
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.swiper.my-swiper .swiper-slide-active,
.my-swiper .swiper-slide-active,
.swiper.my-swiper .swiper-slide-next,
.my-swiper .swiper-slide-next,
.swiper.my-swiper .swiper-slide-prev,
.my-swiper .swiper-slide-prev {
  scroll-snap-align: start;
}

.swiper.my-swiper .swiper-wrapper,
.my-swiper .swiper-wrapper {
  scroll-snap-type: x mandatory;
}

/* vypnout případné centrování přes CSS vrstvu */
.swiper.my-swiper,
.my-swiper {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* jistota proti ručnímu roztažení slidů */
.swiper.my-swiper .swiper-slide[style],
.my-swiper .swiper-slide[style] {
  min-width: 0;
}
