/*
 * =========================================================
 * PremiumStore.sk – PRODUCT DETAIL
 * FINAL STABLE VERSION
 * 2026-09-21
 *
 * Desktop / Tablet / Mobile
 *
 * Zachovava:
 * - Shoptet galeriu a zoom
 * - kosik a mnozstvo
 * - dostupnost a cenu
 * - rich produktove popisy
 * - parametre
 * - podobne produkty
 *
 * FINAL baseline pred systematickou lokalizaciou produktov.
 * =========================================================
 */

:root {
  --ps-pdp-green: #24b47e;
  --ps-pdp-green-hover: #1d996a;
  --ps-pdp-green-soft: #eefaf5;
  --ps-pdp-text: #172033;
  --ps-pdp-muted: #637083;
  --ps-pdp-border: #e4eaf0;
  --ps-pdp-surface: #ffffff;
  --ps-pdp-soft: #f7f9fb;
  --ps-pdp-shadow: 0 10px 32px rgba(15, 23, 42, .065);
}


/* =========================================================
   PRODUCT LAYOUT – DESKTOP
   ========================================================= */

body.type-detail.ps-pdp-v1 .p-detail-inner {
  display: grid !important;
  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(370px, .92fr);
  gap: 38px !important;
  align-items: start !important;
}

body.type-detail.ps-pdp-v1 .p-image-wrapper,
body.type-detail.ps-pdp-v1 .p-data-wrapper {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* =========================================================
   PRODUCT GALLERY
   Zoom a Shoptet spravanie ostavaju nedotknute.
   ========================================================= */

body.type-detail.ps-pdp-v1 .p-image-wrapper .p-image {
  background: #fff !important;
}

body.type-detail.ps-pdp-v1 .p-image-wrapper .p-image img {
  border-radius: 16px;
}

body.type-detail.ps-pdp-v1 .p-image-wrapper .row {
  margin-top: 14px !important;
}

body.type-detail.ps-pdp-v1 .p-image-wrapper img {
  image-rendering: auto;
}


/* =========================================================
   TITLE
   ========================================================= */

body.type-detail.ps-pdp-v1
.p-detail-inner-header h1,

body.type-detail.ps-pdp-v1
.p-detail-inner-header .h1,

body.type-detail.ps-pdp-v1
.p-detail-inner-header-mobile h1,

body.type-detail.ps-pdp-v1
.p-detail-inner-header-mobile .h1 {
  margin-top: 0 !important;
  margin-bottom: 8px !important;

  color: var(--ps-pdp-text) !important;

  font-size: clamp(27px, 2.15vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em !important;
}


/* =========================================================
   BRAND LOGO
   Vklada ho premiumstore-pdp-v1.js.
   ========================================================= */

body.type-detail.ps-pdp-v1 .ps-brand-logo {
  display: flex;
  align-items: center;

  width: fit-content;
  min-height: 28px;

  margin: 8px 0 14px;
}

body.type-detail.ps-pdp-v1 .ps-brand-logo img {
  display: block;

  width: auto;
  height: auto;

  max-width: 120px;
  max-height: 28px;

  object-fit: contain;
  object-position: left center;
}


/* =========================================================
   BUYING AREA
   ========================================================= */

body.type-detail.ps-pdp-v1 #product-detail-form {
  margin-top: 16px !important;

  padding: 21px 22px !important;

  border: 1px solid var(--ps-pdp-border) !important;
  border-radius: 18px !important;

  background: var(--ps-pdp-surface) !important;

  box-shadow: var(--ps-pdp-shadow) !important;
}


/* =========================================================
   AVAILABILITY / DELIVERY
   ========================================================= */

body.type-detail.ps-pdp-v1
#product-detail-form .availability-label,

body.type-detail.ps-pdp-v1
#product-detail-form .availability-amount,

body.type-detail.ps-pdp-v1
#product-detail-form .availability-value,

body.type-detail.ps-pdp-v1
#product-detail-form .p-availability {
  color: #168a62 !important;
}

body.type-detail.ps-pdp-v1
#product-detail-form .availability-label,

body.type-detail.ps-pdp-v1
#product-detail-form .availability-amount,

body.type-detail.ps-pdp-v1
#product-detail-form .availability-value {
  font-weight: 700 !important;
}


/* =========================================================
   PRICE
   ========================================================= */

body.type-detail.ps-pdp-v1
#product-detail-form .price-final-holder,

body.type-detail.ps-pdp-v1
#product-detail-form .price-final,

body.type-detail.ps-pdp-v1
#product-detail-form .p-final-price-wrapper {
  color: #121923 !important;

  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em !important;
}

body.type-detail.ps-pdp-v1
#product-detail-form .price-standard,

body.type-detail.ps-pdp-v1
#product-detail-form .price-save,

body.type-detail.ps-pdp-v1
#product-detail-form .price-before-discount {
  color: #8792a0 !important;
}


/* =========================================================
   QUANTITY + ADD TO CART
   ========================================================= */

body.type-detail.ps-pdp-v1
#product-detail-form .p-to-cart-block {
  display: flex !important;

  align-items: stretch !important;

  gap: 10px !important;

  width: 100% !important;

  margin-top: 16px !important;
}

body.type-detail.ps-pdp-v1
#product-detail-form .p-to-cart-block .quantity {
  display: flex !important;

  flex: 0 0 112px !important;

  align-items: stretch !important;

  height: 52px !important;

  overflow: hidden !important;

  margin: 0 !important;

  border: 1px solid #d9e0e7 !important;
  border-radius: 12px !important;

  background: #fff !important;
}

body.type-detail.ps-pdp-v1
#product-detail-form .quantity input {
  min-width: 0 !important;
  height: 50px !important;

  border: 0 !important;

  background: transparent !important;

  text-align: center !important;

  font-size: 15px !important;
  font-weight: 700 !important;

  box-shadow: none !important;
}

body.type-detail.ps-pdp-v1
#product-detail-form .quantity .increase,

body.type-detail.ps-pdp-v1
#product-detail-form .quantity .decrease {
  display: flex !important;

  align-items: center !important;
  justify-content: center !important;

  width: 34px !important;
  height: 50px !important;

  border: 0 !important;

  background: transparent !important;

  color: #384454 !important;

  font-size: 18px !important;
}

body.type-detail.ps-pdp-v1
#product-detail-form .p-to-cart-block .btn-cart,

body.type-detail.ps-pdp-v1
#product-detail-form .p-to-cart-block .btn-conversion,

body.type-detail.ps-pdp-v1
#product-detail-form [data-testid="buttonAddToCart"],

body.type-detail.ps-pdp-v1
#product-detail-form .add-to-cart-button {
  flex: 1 1 auto !important;

  min-width: 0 !important;
  min-height: 52px !important;

  margin: 0 !important;

  padding: 0 26px !important;

  border-color: var(--ps-pdp-green) !important;
  border-radius: 12px !important;

  background: var(--ps-pdp-green) !important;

  color: #fff !important;

  font-size: 17px !important;
  font-weight: 700 !important;

  box-shadow: none !important;
}

body.type-detail.ps-pdp-v1
#product-detail-form .p-to-cart-block .btn-cart:hover,

body.type-detail.ps-pdp-v1
#product-detail-form .p-to-cart-block .btn-conversion:hover,

body.type-detail.ps-pdp-v1
#product-detail-form [data-testid="buttonAddToCart"]:hover,

body.type-detail.ps-pdp-v1
#product-detail-form .add-to-cart-button:hover {
  border-color: var(--ps-pdp-green-hover) !important;

  background: var(--ps-pdp-green-hover) !important;
}


/* =========================================================
   SECONDARY ACTIONS
   Tlac / Opytat sa / Strazit / Zdielat
   ========================================================= */

body.type-detail.ps-pdp-v1
.buttons-wrapper.social-buttons-wrapper {
  margin-top: 15px !important;

  color: #748091 !important;

  font-size: 13px !important;
}

body.type-detail.ps-pdp-v1
.buttons-wrapper.social-buttons-wrapper a {
  color: #748091 !important;
}

body.type-detail.ps-pdp-v1
.buttons-wrapper.social-buttons-wrapper a:hover {
  color: var(--ps-pdp-green-hover) !important;
}


/* =========================================================
   BENEFITS
   ========================================================= */

body.type-detail.ps-pdp-v1 .benefitBanner {
  display: grid !important;

  grid-template-columns:
    repeat(4, minmax(0, 1fr)) !important;

  gap: 10px !important;

  width: 100% !important;

  margin: 24px 0 34px !important;

  padding: 16px 18px !important;

  border: 1px solid #e3ede8 !important;
  border-radius: 16px !important;

  background: linear-gradient(
    135deg,
    #f7fcfa 0%,
    #f3f8f6 100%
  ) !important;
}

body.type-detail.ps-pdp-v1 .benefitBanner__item {
  display: grid !important;

  grid-template-columns:
    38px minmax(0, 1fr) !important;

  align-items: center !important;

  gap: 10px !important;

  min-width: 0 !important;

  padding: 4px 8px !important;
}

body.type-detail.ps-pdp-v1 .benefitBanner__picture {
  display: flex !important;

  align-items: center !important;
  justify-content: center !important;

  width: 38px !important;
  height: 38px !important;

  margin: 0 !important;
}

body.type-detail.ps-pdp-v1
.benefitBanner__picture img,

body.type-detail.ps-pdp-v1
.benefitBanner__picture svg {
  width: 28px !important;
  height: 28px !important;

  max-width: 28px !important;
  max-height: 28px !important;
}

body.type-detail.ps-pdp-v1 .benefitBanner__content {
  min-width: 0 !important;

  line-height: 1.25 !important;
}

body.type-detail.ps-pdp-v1 .benefitBanner__title {
  display: block !important;

  margin: 0 !important;

  color: #24303e !important;

  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

body.type-detail.ps-pdp-v1 .benefitBanner__data {
  display: block !important;

  margin-top: 2px !important;

  color: #687586 !important;

  font-size: 12px !important;
  line-height: 1.3 !important;
}


/* =========================================================
   DESCRIPTION / PARAMETERS
   Nezasahujeme do obsahu rich popisov.
   ========================================================= */

body.type-detail.ps-pdp-v1 .p-detail-tabs-wrapper {
  margin-top: 6px !important;
}

body.type-detail.ps-pdp-v1 .p-detail-tabs-wrapper img {
  max-width: 100%;
  height: auto;
}


/* =========================================================
   TABLET LANDSCAPE / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1199px) {

  body.type-detail.ps-pdp-v1 .p-detail-inner {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(340px, .92fr);

    gap: 28px !important;
  }

  body.type-detail.ps-pdp-v1
  .p-detail-inner-header h1,

  body.type-detail.ps-pdp-v1
  .p-detail-inner-header .h1 {
    font-size: 28px !important;
  }

  body.type-detail.ps-pdp-v1 .benefitBanner {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
  }

}


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

@media (min-width: 768px) and (max-width: 991px) {

  body.type-detail.ps-pdp-v1 .p-detail-inner {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(320px, .95fr);

    gap: 22px !important;
  }

  body.type-detail.ps-pdp-v1 #product-detail-form {
    padding: 17px !important;

    border-radius: 16px !important;
  }

  body.type-detail.ps-pdp-v1
  #product-detail-form .price-final-holder,

  body.type-detail.ps-pdp-v1
  #product-detail-form .price-final,

  body.type-detail.ps-pdp-v1
  #product-detail-form .p-final-price-wrapper {
    font-size: 28px !important;
  }

  body.type-detail.ps-pdp-v1
  #product-detail-form .p-to-cart-block {
    gap: 8px !important;
  }

  body.type-detail.ps-pdp-v1
  #product-detail-form .p-to-cart-block .quantity {
    flex-basis: 98px !important;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  body.type-detail.ps-pdp-v1 .p-detail-inner {
    display: flex !important;

    flex-direction: column !important;

    gap: 0 !important;
  }

  body.type-detail.ps-pdp-v1 .p-image-wrapper,
  body.type-detail.ps-pdp-v1 .p-data-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }


  /* Galeria */

  body.type-detail.ps-pdp-v1
  .p-image-wrapper .p-image {
    order: 1 !important;
  }

  body.type-detail.ps-pdp-v1
  .p-image-wrapper .row {
    order: 2 !important;

    margin-top: 10px !important;
  }

  body.type-detail.ps-pdp-v1
  .p-image-wrapper .p-detail-inner-header-mobile {
    order: 3 !important;

    margin-top: 16px !important;
  }


  /* Nazov */

  body.type-detail.ps-pdp-v1
  .p-detail-inner-header-mobile h1,

  body.type-detail.ps-pdp-v1
  .p-detail-inner-header-mobile .h1 {
    margin-bottom: 7px !important;

    font-size: 22px !important;
    line-height: 1.22 !important;
  }


  /* Logo */

  body.type-detail.ps-pdp-v1 .ps-brand-logo {
    min-height: 23px;

    margin: 7px 0 12px;
  }

  body.type-detail.ps-pdp-v1
  .ps-brand-logo img {
    max-width: 102px;
    max-height: 23px;
  }


  /* Nakupny blok */

  body.type-detail.ps-pdp-v1
  #product-detail-form {
    margin-top: 13px !important;

    padding: 16px !important;

    border-radius: 15px !important;

    box-shadow:
      0 7px 22px rgba(15, 23, 42, .055) !important;
  }


  /* Cena */

  body.type-detail.ps-pdp-v1
  #product-detail-form .price-final-holder,

  body.type-detail.ps-pdp-v1
  #product-detail-form .price-final,

  body.type-detail.ps-pdp-v1
  #product-detail-form .p-final-price-wrapper {
    font-size: 28px !important;
  }


  /*
   * premiumstore-main.css povodne quantity na mobile skryval.
   * Tu ho cielene vraciame.
   */

  body.type-detail.ps-pdp-v1
  #product-detail-form .p-to-cart-block .quantity {
    display: flex !important;

    flex: none !important;

    width: 104px !important;
    height: 52px !important;
  }

  body.type-detail.ps-pdp-v1
  #product-detail-form .p-to-cart-block {
    display: grid !important;

    grid-template-columns:
      104px minmax(0, 1fr) !important;

    gap: 9px !important;
  }

  body.type-detail.ps-pdp-v1
  #product-detail-form .p-to-cart-block .btn-cart,

  body.type-detail.ps-pdp-v1
  #product-detail-form .p-to-cart-block .btn-conversion,

  body.type-detail.ps-pdp-v1
  #product-detail-form [data-testid="buttonAddToCart"],

  body.type-detail.ps-pdp-v1
  #product-detail-form .add-to-cart-button {
    width: 100% !important;

    min-height: 52px !important;

    padding: 0 14px !important;

    font-size: 16px !important;
  }


  /* Na mobile sekundarne akcie zbytocne neodvadzaju pozornost */

  body.type-detail.ps-pdp-v1
  .buttons-wrapper.social-buttons-wrapper {
    display: none !important;
  }


  /* Benefity */

  body.type-detail.ps-pdp-v1 .benefitBanner {
    display: grid !important;

    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;

    gap: 8px !important;

    margin: 18px 0 28px !important;

    padding: 13px !important;

    border-radius: 14px !important;
  }

  body.type-detail.ps-pdp-v1
  .benefitBanner__item {
    grid-template-columns:
      30px minmax(0, 1fr) !important;

    gap: 8px !important;

    padding: 4px !important;
  }

  body.type-detail.ps-pdp-v1
  .benefitBanner__picture {
    width: 30px !important;
    height: 30px !important;
  }

  body.type-detail.ps-pdp-v1
  .benefitBanner__picture img,

  body.type-detail.ps-pdp-v1
  .benefitBanner__picture svg {
    width: 23px !important;
    height: 23px !important;

    max-width: 23px !important;
    max-height: 23px !important;
  }

  body.type-detail.ps-pdp-v1
  .benefitBanner__title {
    font-size: 12.5px !important;
  }

  body.type-detail.ps-pdp-v1
  .benefitBanner__data {
    font-size: 11px !important;
  }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

  body.type-detail.ps-pdp-v1
  #product-detail-form {
    padding: 14px !important;
  }

  body.type-detail.ps-pdp-v1
  #product-detail-form .p-to-cart-block {
    grid-template-columns:
      92px minmax(0, 1fr) !important;
  }

  body.type-detail.ps-pdp-v1
  #product-detail-form .p-to-cart-block .quantity {
    width: 92px !important;
  }

  body.type-detail.ps-pdp-v1 .benefitBanner {
    grid-template-columns: 1fr !important;
  }

}


/* =========================================================
   PDP V1.1 HOTFIX
   2026-09-21

   - benefit banner je fyzicky v pravom PDP stlpci,
     preto desktop pouziva 2x2 namiesto 4x1
   - zabranenie lamaniu textu po jednotlivych znakoch
   ========================================================= */

body.type-detail.ps-pdp-v1 .benefitBanner {
  grid-template-columns:
    repeat(2, minmax(0, 1fr)) !important;

  gap: 12px !important;
}

body.type-detail.ps-pdp-v1 .benefitBanner__item {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
}

body.type-detail.ps-pdp-v1 .benefitBanner__content {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
}

body.type-detail.ps-pdp-v1 .benefitBanner__title,
body.type-detail.ps-pdp-v1 .benefitBanner__data {
  width: auto !important;
  max-width: none !important;

  white-space: normal !important;

  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}


/* Tablet */

@media (min-width: 768px) and (max-width: 1199px) {

  body.type-detail.ps-pdp-v1 .benefitBanner {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
  }

}


/* Mobil */

@media (max-width: 767px) {

  body.type-detail.ps-pdp-v1 .benefitBanner {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;

    gap: 8px !important;
  }

}


/* Malé mobily */

@media (max-width: 380px) {

  body.type-detail.ps-pdp-v1 .benefitBanner {
    grid-template-columns: 1fr !important;
  }

}


/* =========================================================
   PDP V1.2 – MOBILE + TABLET REFINEMENT
   2026-09-21
   ========================================================= */


/* ---------------------------------------------------------
   TABLET PORTRAIT
   Na uzsom tablete je jeden stlpec citatelnejsi ako
   natlacena galeria + nakupny blok vedla seba.
   --------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 991px) {

  body.type-detail.ps-pdp-v1 .p-detail-inner {
    display: grid !important;

    grid-template-columns: 1fr !important;

    gap: 26px !important;
  }

  body.type-detail.ps-pdp-v1
  .p-image-wrapper,

  body.type-detail.ps-pdp-v1
  .p-data-wrapper {
    width: 100% !important;

    max-width: 720px !important;

    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.type-detail.ps-pdp-v1
  #product-detail-form {
    padding: 20px !important;
  }

  body.type-detail.ps-pdp-v1
  .benefitBanner {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
  }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {


  /* TITLE */

  body.type-detail.ps-pdp-v1
  .p-detail-inner-header-mobile h1,

  body.type-detail.ps-pdp-v1
  .p-detail-inner-header-mobile .h1 {

    margin-top: 0 !important;
    margin-bottom: 5px !important;

    font-size: 21px !important;
    line-height: 1.2 !important;

    letter-spacing: -.025em !important;
  }


  /* BRAND */

  body.type-detail.ps-pdp-v1
  .ps-brand-logo {

    min-height: 20px !important;

    margin-top: 8px !important;
    margin-bottom: 16px !important;
  }

  body.type-detail.ps-pdp-v1
  .ps-brand-logo img {

    max-width: 92px !important;
    max-height: 21px !important;
  }


  /* BUY CARD */

  body.type-detail.ps-pdp-v1
  #product-detail-form {

    margin-top: 8px !important;

    padding: 15px !important;

    border: 1px solid #e1e7ed !important;
    border-radius: 16px !important;

    background: #fff !important;

    box-shadow:
      0 8px 24px rgba(15,23,42,.055) !important;
  }


  /*
   * Odstranime druhy vnoreny ram.
   * Vonkajsi #product-detail-form uz tvori celu kartu.
   */

  body.type-detail.ps-pdp-v1
  #product-detail-form .detail-parameters {

    width: 100% !important;

    margin: 0 0 13px !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    overflow: visible !important;
  }


  /* PARAMETER ROWS */

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .detail-parameters th,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .detail-parameters td {

    padding-top: 5px !important;
    padding-bottom: 5px !important;

    border: 0 !important;

    font-size: 13px !important;
    line-height: 1.35 !important;

    vertical-align: top !important;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .detail-parameters th {

    width: 52% !important;

    padding-right: 10px !important;

    color: #475467 !important;

    font-weight: 500 !important;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .detail-parameters td {

    width: 48% !important;

    color: #172033 !important;

    text-align: right !important;
  }


  /*
   * Kod produktu je sekundarna informacia.
   * Nesmie vytvarat obrovsky blok.
   */

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .detail-parameters tr:last-child td {

    font-size: 12px !important;

    line-height: 1.3 !important;

    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }


  /* STOCK */

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .availability-label,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .availability-amount,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .availability-value,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .p-availability {

    color: #168a62 !important;

    font-weight: 700 !important;
  }


  /* PRICE */

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .price-final-holder,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .price-final,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .p-final-price-wrapper {

    margin-top: 4px !important;
    margin-bottom: 12px !important;

    color: #121923 !important;

    font-size: 30px !important;
    font-weight: 700 !important;

    line-height: 1.1 !important;
  }


  /*
   * MNOZSTVO + CTA
   *
   * Jediny riadok:
   * [- 1 +]  [       Do kosika       ]
   */

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .p-to-cart-block {

    display: flex !important;

    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: stretch !important;

    width: 100% !important;

    gap: 9px !important;

    margin-top: 10px !important;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .p-to-cart-block .quantity {

    display: flex !important;

    flex: 0 0 104px !important;

    width: 104px !important;
    height: 52px !important;

    margin: 0 !important;

    border: 1px solid #d9e0e7 !important;
    border-radius: 12px !important;

    background: #fff !important;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .p-to-cart-block .btn-cart,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .p-to-cart-block .btn-conversion,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  [data-testid="buttonAddToCart"],

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .add-to-cart-button {

    display: flex !important;

    flex: 1 1 auto !important;

    width: auto !important;
    min-width: 0 !important;

    min-height: 52px !important;

    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;

    padding: 0 16px !important;

    border-radius: 12px !important;

    font-size: 16px !important;
    font-weight: 700 !important;

    white-space: nowrap !important;
  }


  /* SECONDARY ACTIONS */

  body.type-detail.ps-pdp-v1
  .buttons-wrapper.social-buttons-wrapper {

    display: none !important;
  }


  /* BENEFITS */

  body.type-detail.ps-pdp-v1
  .benefitBanner {

    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;

    gap: 8px !important;

    margin-top: 16px !important;
    margin-bottom: 24px !important;

    padding: 12px !important;

    border-radius: 14px !important;
  }


  body.type-detail.ps-pdp-v1
  .benefitBanner__item {

    grid-template-columns:
      28px minmax(0, 1fr) !important;

    gap: 7px !important;

    padding: 4px !important;
  }


  body.type-detail.ps-pdp-v1
  .benefitBanner__picture {

    width: 28px !important;
    height: 28px !important;
  }


  body.type-detail.ps-pdp-v1
  .benefitBanner__picture img,

  body.type-detail.ps-pdp-v1
  .benefitBanner__picture svg {

    width: 22px !important;
    height: 22px !important;

    max-width: 22px !important;
    max-height: 22px !important;
  }


  body.type-detail.ps-pdp-v1
  .benefitBanner__title {

    font-size: 11.5px !important;
    line-height: 1.25 !important;

    font-weight: 700 !important;
  }


  body.type-detail.ps-pdp-v1
  .benefitBanner__data {

    margin-top: 2px !important;

    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 380px) {

  body.type-detail.ps-pdp-v1
  #product-detail-form {

    padding: 13px !important;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .p-to-cart-block .quantity {

    flex-basis: 94px !important;

    width: 94px !important;
  }


  body.type-detail.ps-pdp-v1
  .benefitBanner {

    grid-template-columns: 1fr !important;
  }

}



/* =========================================================
   PDP V1.3 – MOBILE POLISH
   2026-09-21

   - stabilny vlastny benefit blok pre mobil
   - kompaktnejsie mnozstvo
   - menej dominantny kod produktu
   - lepsie zobrazenie moznosti dopravy
   ========================================================= */


/* Vlastny benefit blok je mimo mobilu skryty. */

body.type-detail.ps-pdp-v1
.ps-mobile-benefits {
  display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {


  /* -------------------------------------------------------
     NATIVNE BENEFITY

     Na mobile pouzijeme vlastny stabilny blok.
     Desktop a tablet pouzivaju nadalej povodny Shoptet blok.
     ------------------------------------------------------- */

  body.type-detail.ps-pdp-v1
  .benefitBanner {
    display: none !important;
  }


  /* -------------------------------------------------------
     MOBILE BENEFITS 2 × 2
     ------------------------------------------------------- */

  body.type-detail.ps-pdp-v1
  .ps-mobile-benefits {

    display: grid !important;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 8px;

    width: 100%;

    margin: 14px 0 25px;

    padding: 12px;

    border: 1px solid #e2ece7;
    border-radius: 14px;

    background:
      linear-gradient(
        135deg,
        #f7fcfa 0%,
        #f2f8f5 100%
      );
  }


  body.type-detail.ps-pdp-v1
  .ps-mobile-benefit {

    display: grid;

    grid-template-columns:
      27px minmax(0, 1fr);

    align-items: center;

    gap: 7px;

    min-width: 0;

    padding: 5px 3px;
  }


  body.type-detail.ps-pdp-v1
  .ps-mobile-benefit-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    border: 1px solid #cfdcd6;
    border-radius: 50%;

    background: #fff;

    color: #1d996a;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;
  }


  body.type-detail.ps-pdp-v1
  .ps-mobile-benefit-content {

    min-width: 0;
  }


  body.type-detail.ps-pdp-v1
  .ps-mobile-benefit-title {

    display: block;

    color: #24303e;

    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.25;
  }


  body.type-detail.ps-pdp-v1
  .ps-mobile-benefit-text {

    display: block;

    margin-top: 2px;

    color: #687586;

    font-size: 10px;
    line-height: 1.25;
  }


  /* -------------------------------------------------------
     DETAIL PARAMETERS
     ------------------------------------------------------- */

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .detail-parameters {

    margin-bottom: 10px !important;
  }


  /*
   * Možnosti dorucenia:
   * zarovnat dolava a dat tomu charakter sekundarneho CTA.
   */

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .ps-pdp-row-shipping-options th,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .ps-pdp-row-shipping-options td {

    width: 100% !important;

    padding-top: 6px !important;
    padding-bottom: 9px !important;

    text-align: left !important;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .ps-pdp-row-shipping-options a {

    color: #263240 !important;

    font-size: 12.5px !important;
    font-weight: 600 !important;

    text-decoration: none !important;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .ps-pdp-row-shipping-options a::after {

    content: " →";

    color: #24b47e;

    font-weight: 700;
  }


  /*
   * Produktovy kod:
   * ponechat dostupny, ale vizualne ho potlacit.
   */

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .ps-pdp-row-code td,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .ps-pdp-row-code td a {

    color: #697586 !important;

    font-size: 11.5px !important;
    font-weight: 500 !important;

    line-height: 1.25 !important;

    text-decoration: none !important;

    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .ps-pdp-row-code th {

    color: #697586 !important;

    font-size: 12px !important;
  }


  /* -------------------------------------------------------
     PRICE + QUANTITY + CART
     ------------------------------------------------------- */

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .p-to-cart-block {

    gap: 8px !important;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .p-to-cart-block .quantity {

    flex: 0 0 92px !important;

    width: 92px !important;

    height: 50px !important;

    border-radius: 11px !important;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .quantity input {

    height: 48px !important;

    font-size: 14px !important;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .quantity .increase,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .quantity .decrease {

    width: 29px !important;
    height: 48px !important;

    font-size: 17px !important;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .p-to-cart-block .btn-cart,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .p-to-cart-block .btn-conversion,

  body.type-detail.ps-pdp-v1
  #product-detail-form
  [data-testid="buttonAddToCart"],

  body.type-detail.ps-pdp-v1
  #product-detail-form
  .add-to-cart-button {

    min-height: 50px !important;

    padding-left: 15px !important;
    padding-right: 15px !important;

    border-radius: 11px !important;

    font-size: 16px !important;
  }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

  body.type-detail.ps-pdp-v1
  .ps-mobile-benefits {

    grid-template-columns: 1fr;
  }


  body.type-detail.ps-pdp-v1
  #product-detail-form
  .p-to-cart-block .quantity {

    flex-basis: 86px !important;

    width: 86px !important;
  }

}




/* =========================================================
   PDP V1.4 – MOBILE CLEANUP
   2026-09-21

   - mobil: jednoduche "spat do nadradenej kategorie"
   - mensia medzera pred obsahom Popisu
   - kompaktnejsia sticky nakupna lista
   ========================================================= */


/* Na desktope/tablete mobilny back-link nezobrazujeme. */

body.type-detail.ps-pdp-v1
.ps-mobile-parent-link {
  display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {


  /* -------------------------------------------------------
     BREADCRUMB

     Povodny breadcrumb ostava v DOM kvoli strukture/SEO,
     ale na mobile ho vizualne nahradime jednym jasnym
     odkazom na nadradenu kategoriu.
     ------------------------------------------------------- */

  body.type-detail.ps-pdp-v1
  .breadcrumbs.navigation-home-icon-wrapper {
    display: none !important;
  }


  body.type-detail.ps-pdp-v1
  .ps-mobile-parent-link {
    display: inline-flex !important;

    align-items: center;

    gap: 6px;

    max-width: 100%;

    margin: 2px 0 14px;

    color: #566575 !important;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;

    text-decoration: none !important;
  }


  body.type-detail.ps-pdp-v1
  .ps-mobile-parent-link::before {
    content: "←";

    color: #24b47e;

    font-size: 17px;
    font-weight: 700;
    line-height: 1;
  }


  body.type-detail.ps-pdp-v1
  .ps-mobile-parent-link span {
    display: block;

    min-width: 0;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;
  }


  body.type-detail.ps-pdp-v1
  .ps-mobile-parent-link:hover,
  body.type-detail.ps-pdp-v1
  .ps-mobile-parent-link:focus {
    color: #1d996a !important;
  }



  /* -------------------------------------------------------
     POPIS / PARAMETRE

     Zmensime prazdny priestor medzi nadpisom Popis
     a samotnym obsahom.
     ------------------------------------------------------- */

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }


  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper h2,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper .h2 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;

    padding-bottom: 0 !important;
  }


  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper .tab-content {
    margin-top: 0 !important;
    padding-top: 6px !important;
  }


  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper .tab-pane,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper .detail-description {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }


  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper
  .tab-content > *:first-child,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper
  .tab-pane > *:first-child,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper
  .detail-description > *:first-child {
    margin-top: 0 !important;
  }



  /* -------------------------------------------------------
     STICKY BUY BAR
     ------------------------------------------------------- */

  body.type-detail.ps-pdp-v1
  .ps-sticky-buy {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    min-height: 66px !important;

    padding:
      8px
      12px
      max(8px, env(safe-area-inset-bottom))
      12px !important;

    gap: 9px !important;

    border-top:
      1px solid #e1e7ed !important;

    background:
      rgba(255,255,255,.97) !important;

    box-shadow:
      0 -6px 24px
      rgba(15,23,42,.10) !important;

    backdrop-filter:
      blur(10px);

    -webkit-backdrop-filter:
      blur(10px);
  }


  body.type-detail.ps-pdp-v1
  .ps-sticky-buy .ps-sticky-title {
    flex: 1 1 auto !important;

    min-width: 0 !important;

    margin: 0 !important;

    color: #596576 !important;

    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;

    white-space: nowrap !important;

    overflow: hidden !important;

    text-overflow: ellipsis !important;
  }


  body.type-detail.ps-pdp-v1
  .ps-sticky-buy .ps-sticky-price {
    flex: 0 0 auto !important;

    margin: 0 !important;

    color: #172033 !important;

    font-size: 18px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    white-space: nowrap !important;
  }


  body.type-detail.ps-pdp-v1
  .ps-sticky-buy button {
    display: flex !important;

    flex: 0 0 auto !important;

    align-items: center !important;
    justify-content: center !important;

    min-width: 108px !important;
    min-height: 46px !important;

    margin: 0 !important;

    padding: 0 14px !important;

    border: 0 !important;
    border-radius: 11px !important;

    background: #24b47e !important;

    color: #fff !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    white-space: nowrap !important;

    box-shadow: none !important;
  }


  body.type-detail.ps-pdp-v1
  .ps-sticky-buy button:hover,

  body.type-detail.ps-pdp-v1
  .ps-sticky-buy button:focus {
    background: #1d996a !important;
  }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

  body.type-detail.ps-pdp-v1
  .ps-sticky-buy {
    gap: 7px !important;

    padding-left: 9px !important;
    padding-right: 9px !important;
  }


  body.type-detail.ps-pdp-v1
  .ps-sticky-buy .ps-sticky-title {
    font-size: 11px !important;
  }


  body.type-detail.ps-pdp-v1
  .ps-sticky-buy .ps-sticky-price {
    font-size: 17px !important;
  }


  body.type-detail.ps-pdp-v1
  .ps-sticky-buy button {
    min-width: 98px !important;

    padding-left: 10px !important;
    padding-right: 10px !important;

    font-size: 13px !important;
  }

}




/* =========================================================
   FINAL MOBILE DESCRIPTION SPACING FIX
   ========================================================= */

@media (max-width: 767px) {

  /*
   * Povodne premiumstore-main.css na mobile skryva
   * prvy H2 nadpis popisu.
   *
   * Nasledujuci obsah vsak mohol mat vlastny margin-top,
   * co vytvaralo velku prazdnu plochu pod "Popis".
   */

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper h2:first-of-type,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper .h2:first-of-type {
    margin: 0 !important;
    padding: 0 !important;
  }


  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper h2:first-of-type + *,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper .h2:first-of-type + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }


  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper .tab-content,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper .tab-pane,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper .detail-description,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper .basic-description,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper .extended-description,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper .description-inner {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }


  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper
  .tab-content > *:first-child,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper
  .tab-pane > *:first-child,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper
  .detail-description > *:first-child,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper
  .basic-description > *:first-child,

  body.type-detail.ps-pdp-v1
  .p-detail-tabs-wrapper
  .extended-description > *:first-child {

    margin-top: 0 !important;
    padding-top: 0 !important;
  }

}

