/* ============================================================
   SHOPTET PRODUCT DETAIL — CSS v15 (OPRAVENÁ VERZIA)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================
   BASE
   ============================================================ */
.p-detail, .p-detail *,
.benefitBanner, .benefitBanner *,
.shp-tabs-wrapper, .shp-tabs-wrapper *,
.breadcrumbs-wrapper, .breadcrumbs-wrapper * {
    font-family: 'Inter', sans-serif !important;
    box-sizing: border-box !important;
}

.type-product .sidebar-left { display: none !important; }

#content.content,
.content.narrow {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs-wrapper.container,
.breadcrumbs-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 12px 128px !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.breadcrumbs {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.breadcrumbs span[itemprop="itemListElement"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
}

.breadcrumbs a,
.breadcrumbs span[itemprop="name"] {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #6B7280 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.breadcrumbs a:hover { color: #CD0E1D !important; }

#navigation-2 span[itemprop="name"] {
    color: #14141F !important;
    font-weight: 500 !important;
    white-space: normal !important;
}

.navigation-bullet {
    color: #9CA3AF !important;
    margin: 0 8px !important;
    font-size: 13px !important;
}

.navigation-home-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6B7280 !important;
    text-decoration: none !important;
}

.navigation-home-icon:hover { color: #CD0E1D !important; }

/* ============================================================
   HLAVNÝ WRAPPER
   ============================================================ */
.p-detail {
    background: #F1F1F6 !important;
    padding-top: 32px !important;
    border: none !important;
    min-height: 540px !important;
    display: block !important;
}

.p-detail-inner {
    background: transparent !important;
    padding: 0 !important;
}

.p-detail-inner-header { display: none !important; }

/* ============================================================
   DVA STĹPCE
   ============================================================ */
#product-detail-form {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

.row.product-top {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 80px !important;
    margin: 0 !important;
    padding: 0 128px !important;
    width: 100% !important;
}

.product-top > .col-xs-12:not(.p-image-wrapper):not(.p-info-wrapper) {
    display: none !important;
}

/* ============================================================
   ĽAVÝ STĹPEC — obrázok
   ============================================================ */
.col-xs-12.col-lg-6.p-image-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    float: none !important;

    width: 756px !important;
    height: 634.96px !important;
}

.p-image {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    border-radius: 24px !important;
    background: #FFFFFF !important;
    overflow: hidden !important;
    position: relative !important;
}

.p-image img,
.p-main-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 48px !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

.p-image:hover img { transform: scale(1.04) !important; }

/* ============================================================
   PRAVÝ STĹPEC — info
   ============================================================ */
.col-xs-12.col-lg-6.p-info-wrapper {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 16px !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    float: none !important;
    padding: 0 !important;
    border: none !important;
}

/* ============================================================
   TITLE
   ============================================================ */
h1.p-info-title {
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    color: #14141F !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================================
   STARS — TU SÚ ZMENY PODĽA FIGMY
   ============================================================ */
.p-detail-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

div.stars-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important; /* MEDZERA MEDZI HVIEZDAMI A TEXTOM */
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: 31.4px !important;
}

span.stars.star-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    white-space: nowrap !important;
}

span.stars.star-list span.star {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 31.4px !important; /* FIGMA ROZMER */
    height: 31.4px !important; /* FIGMA ROZMER */
    font-size: 26px !important; /* VEĽKOSŤ IKONY */
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Farby podľa Figmy */
span.stars.star-list span.star.star-on,
span.stars.star-list span.star.is-active {
    color: #EF1022 !important;
}
span.stars.star-list span.star.star-off {
    color: #E6E6EE !important;
}

span.stars-label {
    display: inline-flex !important;
    align-items: center !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important; /* FIGMA TEXT SIZE */
    font-weight: 400 !important;
    color: #3D3D5C !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    position: relative !important; /* OPRAVA PREKRÝVANIA */
    float: none !important;
}

/* ============================================================
   AVAILABILITY (detail stránka)
   ============================================================ */
.col-xs-12.col-lg-6.p-info-wrapper .availability-value {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.availability-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #009901 !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.availability-label::before {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009901' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat !important;
    border-radius: 0 !important;
}

/* ============================================================
   BIELY PANEL — cena + košík
   ============================================================ */
.p-price-cart-panel {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    padding: 24px 28px !important;
    width: 100% !important;
    background: #FFFFFF !important;
    border-radius: 16px !important;
}

.p-final-price-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.price-before, del.price-before {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #3D3D5C !important;
    text-decoration: line-through !important;
    display: block !important;
}

strong.price-final {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.price-final-holder {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 40px !important;
    color: #14141F !important;
}

.add-to-cart {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* ============================================================
   QUANTITY PILL (len detail produktu – nie košík / iné stránky)
   ============================================================ */
.p-detail span.quantity {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: #D2D2E1 !important;
    border-radius: 999px !important;
    height: 52px !important;
    padding: 2px !important;
    margin: 0 !important;
    border: none !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
}

.p-detail span.quantity button.qty-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    padding: 0 !important;
    border-radius: 999px !important;
    color: #14141F !important;
    transition: background 0.15s ease !important;
    flex-shrink: 0 !important;
}

.p-detail span.quantity button.qty-btn:hover { background: rgba(0,0,0,0.1) !important; }

.p-detail span.quantity span.qty-display {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 48px !important;
    height: 48px !important;
    background: #FFFFFF !important;
    border-radius: 999px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    color: #3D3D5C !important;
    padding: 0 8px !important;
    flex-shrink: 0 !important;
}

.p-detail span.quantity label,
.p-detail span.quantity input.amount,
.p-detail span.quantity .js-increase-tooltip,
.p-detail span.quantity .js-decrease-tooltip,
.p-detail span.quantity .increase-tooltip,
.p-detail span.quantity .decrease-tooltip,
.p-detail span.quantity button.increase,
.p-detail span.quantity button.decrease {
    display: none !important;
}

/* ============================================================
   ADD TO CART BUTTON (detail stránka)
   ============================================================ */
button.add-to-cart-button,
button.btn.add-to-cart-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 32px !important;
    min-width: 128px !important;
    height: 52px !important;
    background: #CD0E1D !important;
    border-radius: 999px !important;
    border: none !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

button.add-to-cart-button:hover {
    background: #a50b17 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 24px rgba(205, 14, 29, 0.35) !important;
}

button.add-to-cart-button:active {
    transform: translateY(0) !important;
    box-shadow: none !important;
}

/* ============================================================
   SCHOVAJ nepotrebné
   ============================================================ */
.p-code,
.social-buttons-wrapper,
.price-measure,
.col-lg-6.p-info-wrapper > table.detail-parameters {
    display: none !important;
}

/* ============================================================
   KRÁTKY POPIS
   ============================================================ */
p.p-info-description {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    color: #14141F !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* ============================================================
   PARAMETRE TABUĽKA (JS generovaná)
   ============================================================ */
table.p-info-params {
    width: 100% !important;
    border-collapse: collapse !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 0 !important;
    display: table !important;
}

table.p-info-params tr:nth-child(odd)  { background: #D2D2E1 !important; }
table.p-info-params tr:nth-child(even) { background: #F1F1F6 !important; }

table.p-info-params th,
table.p-info-params td {
    padding: 8px 16px !important;
    height: 36px !important;
    font-size: 15px !important;
    line-height: 20px !important;
    color: #000 !important;
    border: none !important;
    width: 50% !important;
    vertical-align: middle !important;
}

table.p-info-params th { font-weight: 700 !important; text-align: left !important; }
table.p-info-params td { font-weight: 400 !important; }

/* ============================================================
   BENEFIT BANNER
   ============================================================ */
.benefitBanner.position--benefitProduct {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    padding: 40px 128px !important;
    background: #FFFFFF !important;
    border-top: 1px solid #E6E6EE !important;
    width: 100% !important;
    margin: 0 !important;
    gap: 0 !important;
}

.benefitBanner__item {
    display: flex !important; flex-direction: column !important;
    align-items: center !important; gap: 12px !important;
    flex: 1 !important; padding: 8px 16px !important; text-align: center !important;
}

.benefitBanner__picture { display: flex !important; align-items: center !important; justify-content: center !important; }
.benefitBanner__img     { width: 48px !important; height: 48px !important; object-fit: contain !important; }
.benefitBanner__content { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 4px !important; }
.benefitBanner__title   { font-size: 14px !important; font-weight: 700 !important; color: #14141F !important; }
.benefitBanner__data    { font-size: 12px !important; color: #3D3D5C !important; }

/* ============================================================
   TABS — Figma dizajn
   ============================================================ */
.shp-tabs-wrapper.p-detail-tabs-wrapper {
    background: #FFFFFF !important;
    padding: 0 128px !important;
    margin: 0 !important;
}

.shp-tabs-row.responsive-nav {
    background: transparent !important;
    border-bottom: none !important;
    padding: 0 !important;
}

.shp-tabs-holder { background: transparent !important; }

.shp-tabs-wrapper .row { margin: 0 !important; }
.shp-tabs-wrapper .col-sm-12 { padding: 0 !important; margin: 0 !important; }

.shp-tabs-wrapper.p-detail-tabs-wrapper > .row {
    width: 70% !important;
    margin: 0 auto !important;
}

.col-sm-12.shp-tabs-row.responsive-nav { margin-top: 40px !important; }

.shp-tabs.p-detail-tabs {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 40px !important;
    border: none !important;
    border-bottom: 1px solid rgba(181, 159, 133, 0.38) !important;
    background: transparent !important;
}

.shp-tab {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 0 -1px 0 !important;
    border: none !important;
    background: transparent !important;
}

.shp-tab::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: transparent !important;
    transition: background 0.2s !important;
}

.shp-tab.active::after { background: #EF1022 !important; }

.shp-tab a.shp-tab-link {
    display: flex !important;
    align-items: center !important;
    padding: 0 0 2px 0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
    text-transform: uppercase !important;
    color: #3D3D5C !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    transition: color 0.2s !important;
    white-space: nowrap !important;
    outline: none !important;
}

.shp-tab a.shp-tab-link:hover,
.shp-tab a.shp-tab-link:focus {
    color: #14141F !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.shp-tab.active a.shp-tab-link {
    color: #14141F !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

#tab-content.tab-content {
    background: #FFFFFF !important;
    padding: 32px 1px !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

#description .description-inner {
    display: flex !important;
    flex-direction: row !important;
    gap: 64px !important;
    align-items: flex-start !important;
}

.basic-description  { flex: 1 !important; min-width: 0 !important; }
.extended-description { flex: 1 !important; min-width: 0 !important; }
.basic-description h3, .extended-description h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #14141F !important;
    margin: 0 0 16px 0 !important;
}

.extended-description table.detail-parameters { width: 100% !important; border-collapse: collapse !important; border-radius: 8px !important; overflow: hidden !important; }
.extended-description table.detail-parameters tr:nth-child(odd)  { background: #D2D2E1 !important; }
.extended-description table.detail-parameters tr:nth-child(even) { background: #F1F1F6 !important; }
.extended-description table.detail-parameters th,
.extended-description table.detail-parameters td { padding: 8px 16px !important; height: 36px !important; font-size: 14px !important; color: #000 !important; border: none !important; width: 50% !important; vertical-align: middle !important; }
.extended-description table.detail-parameters th { font-weight: 700 !important; text-align: left !important; }
.extended-description table.detail-parameters td { font-weight: 400 !important; }

#relatedFiles { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column !important; gap: 8px !important; }
#relatedFiles li { display: flex !important; align-items: center !important; gap: 10px !important; padding: 12px 16px !important; border: 1px solid #E6E6EE !important; border-radius: 8px !important; transition: border-color 0.2s !important; }
#relatedFiles li:hover { border-color: #CD0E1D !important; }
#relatedFiles li a { color: #CD0E1D !important; text-decoration: none !important; font-size: 14px !important; font-weight: 500 !important; }

/* ============================================================
   SÚVISIACI TOVAR — nadpis
   ============================================================ */
.products-related-header {
    margin: 30px auto !important;
    text-align: center !important;
    font-family: 'Inter', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 32px !important;
    line-height: 40px !important;
    text-transform: uppercase !important;
    color: #14141F !important;
}

/* ============================================================
   SÚVISIACI TOVAR — zoznam kariet
   ============================================================ */
.products-related {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 0 128px 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    align-items: stretch !important;
    justify-content: center !important;
}

/* Karta — prepísať Shoptet col-sm-6 (width:50%, padding, float) */
.products-related .product {
    width: auto !important;
    float: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 180px !important;
    max-width: 260px !important;
    flex: 1 1 0 !important;
    background: #FFFFFF !important;
    border-radius: 16px !important;
    /* overflow visible — inak border pri border-radius sa oreže zvrchu */
    overflow: visible !important;
    position: relative !important;
    border: 2px solid #F1F1F6 !important;
    transition: border-color 0.2s ease !important;
    box-shadow: none !important;
}

.products-related .product:hover {
    border-color: #EF1022 !important;
    box-shadow: none !important;
}

/* .p wrapper — overflow hidden tu, nie na .product */
.products-related .product .p {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    background: #FFFFFF !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

/* Schovaj kód */
.products-related .product .p-code { display: none !important; }

/* Obrázok */
.products-related .product a.image {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 160px !important;
    padding: 16px !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

.products-related .product a.image img {
    max-width: 100% !important;
    max-height: 128px !important;
    object-fit: contain !important;
    mix-blend-mode: darken !important;
}

/* .p-in */
.products-related .product .p-in {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 12px 16px 16px !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex: 1 !important;
}

/* .p-in-in */
.products-related .product .p-in-in {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    width: 100% !important;
    flex: 1 !important;
}

/* Hviezdičky */
.products-related .product .rc-stars {
    font-size: 16px !important;
    letter-spacing: 2px !important;
    color: #E6E6EE !important;
    text-align: center !important;
    width: 100% !important;
    line-height: 1.2 !important;
}

/* Dostupnosť */
.products-related .product .availability {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    color: #009901 !important;
    text-align: center !important;
    width: 100% !important;
}

.products-related .product .availability span { color: inherit !important; }

/* Názov */
.products-related .product .name,
.products-related .product a.name {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    line-height: 18px !important;
    text-align: center !important;
    color: #14141F !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
}

.products-related .product .name:hover,
.products-related .product a.name:hover { color: #EF1022 !important; }

/* .p-bottom */
.products-related .product .p-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: auto !important;
    flex-shrink: 0 !important;
}

/* Cena */
.products-related .product .prices {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.products-related .product .price-final strong {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #14141F !important;
}

/* p-tools + form — musí byť width 100% aby button bol centrovaný */
.products-related .product .p-tools {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.products-related .product .pr-action,
.products-related .product form.pr-action {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Košík button */
.products-related .product .btn-cart {
    display: inline-flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 20px !important;
    height: 36px !important;
    width: auto !important;
    background: #CD0E1D !important;
    border-radius: 999px !important;
    border: none !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    transition: background 0.2s ease !important;
}

.products-related .product .btn-cart:hover { background: #a50b17 !important; }

/* Label/badge zo Shoptetu */
.products-related .product .labels,
.products-related .product .label {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 2 !important;
}

.products-related .product .label span,
.products-related .product .labels span {
    display: inline-flex !important;
    align-items: center !important;
    padding: 3px 10px !important;
    background: #14141F !important;
    border-radius: 100px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    color: #FFFFFF !important;
}


/* Toto skryje šípku, ak je pridaná ako ::before element */
button.add-to-cart-button::before,
button.btn.add-to-cart-button::before {
    display: none !important;
    content: none !important;
}

/* Toto skryje šípku, ak je pridaná ako samostatný element vo vnútri */
button.add-to-cart-button i.fa,
button.add-to-cart-button i.p-icon,
button.add-to-cart-button span.p-icon {
    display: none !important;
}

/* Vycentrovanie obalu (formy) a samotného tlačidla */
.p-tools,
form.pr-action {
    display: flex !important;
    justify-content: center !important; /* Horizontálne vycentrovanie */
    align-items: center !important;    /* Vertikálne vycentrovanie */
    width: 100% !important;             /* Aby zabral celú šírku a mal sa kde centrovať */
    margin: 0 auto !important;          /* Poistka pre centrovanie celého bloku */
    float: none !important;             /* Zrušenie prípadného plávania */
}

/* Poistka pre samotný button */
.add-to-cart-button {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Vynútenie zobrazenia dostupnosti v súvisiacich produktoch */
.products-related .product .availability,
.products-related .product .p-in-in .availability {
    display: block !important;    /* Aby nebola skrytá */
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    margin: 4px 0 !important;
    font-size: 12px !important;
    color: #009901 !important;    /* Zelená farba pre "Skladom" */
    text-align: center !important;
    width: 100% !important;
}

/* Ak by bola náhodou skrytá cez rodiča */
.products-related .product .p-in-in {
    overflow: visible !important;
}

/* ============================================================
   STARS FIGMA PRECISION - FINAL UNIVERZÁLNY FIX
   ============================================================ */

/* 1. Kontajner podla Figmy */
.p-detail-info .stars-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important; /* Figma Gap */
    width: auto !important;
}

/* 2. Zoznam hviezd - Zabitie Shoptet grafiky */
.p-detail-info .star-list {
    display: flex !important;
    gap: 0px !important;
    background: none !important;
    width: 157px !important; /* 5 x 31.4px */
    height: 31.4px !important;
}

/* 3. Univerzálny selektor pre hviezdu (span aj a) */
.p-detail-info .star-list .star {
    width: 31.4px !important;
    height: 31.4px !important;
    display: inline-block !important;
    background: none !important; /* Odstráni sprite/obrázok */
    position: relative !important;
    text-indent: -9999px !important; /* Schová starý text */
    overflow: hidden !important;
}

/* 4. Vykreslenie SVG tvaru cez ::before */
.p-detail-info .star-list .star::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    text-indent: 0 !important;
}

/* STAV: PRÁZDNA HVIEZDA (star-off) */
.p-detail-info .star-list .star.star-off::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E6E6EE' stroke-width='2.2'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center/contain no-repeat !important;
}

/* STAV: PLNÁ HVIEZDA (star-on / is-active) */
.p-detail-info .star-list .star.star-on::before,
.p-detail-info .star-list .star.is-active::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23EF1022'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center/contain no-repeat !important;
}

/* 5. Text (Rating Count / Neohodnotené) */
.p-detail-info .stars-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #3D3D5C !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* 6. INTERAKTIVITA (Hover) */
.p-detail-info .star-list .star:hover {
    transform: scale(1.1) !important;
    transition: transform 0.2s ease !important;
}

.browse-p {
    display:none !important;
}

/* ============================================================
   ANIMÁCIE
   ============================================================ */
@keyframes figmaFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.col-xs-12.col-lg-6.p-image-wrapper { animation: figmaFadeUp 0.5s ease 0.05s both !important; }
.col-xs-12.col-lg-6.p-info-wrapper  { animation: figmaFadeUp 0.5s ease 0.15s both !important; }

/* ============================================================
   RESPONSIVE — tablet
   ============================================================ */
@media (max-width: 1440px) {
    .breadcrumbs-wrapper.container,
    .breadcrumbs-wrapper { padding-left: 48px !important; padding-right: 48px !important; }
    .row.product-top,
    .shp-tabs-wrapper.p-detail-tabs-wrapper,
    .benefitBanner.position--benefitProduct,
    .products-related { padding-left: 48px !important; padding-right: 48px !important; }
}

/* ============================================================
   RESPONSIVE — mobilná verzia (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {

    /* --- Globálne paddingy --- */
    .breadcrumbs-wrapper.container,
    .breadcrumbs-wrapper,
    .row.product-top,
    .shp-tabs-wrapper.p-detail-tabs-wrapper,
    .benefitBanner.position--benefitProduct,
    .products-related {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* --- Breadcrumbs — skryté na mobile --- */
    .breadcrumbs-wrapper.container,
    .breadcrumbs-wrapper {
        display: none !important;
    }

    /* --- Hlavný wrapper --- */
    .p-detail {
        padding-top: 0 !important;
    }

    /* Odstrániť zelenú plochu nad obrázkom */
    .overall-wrapper {
        padding-top: 0 !important;
    }

    /* --- Dva stĺpce → jeden stĺpec --- */
    .row.product-top {
        flex-direction: column !important;
        gap: 20px !important;
        padding-top: 0 !important;
    }

    /* --- Ľavý stĺpec — obrázok --- */
    .col-xs-12.col-lg-6.p-image-wrapper {
        width: 100% !important;
        height: auto !important;
        flex: none !important;
    }

    .p-image {
        border-radius: 16px !important;
        aspect-ratio: 1 / 1 !important;
    }

    .p-image img,
    .p-main-image img {
        padding: 24px !important;
    }

    /* --- Pravý stĺpec — info --- */
    .col-xs-12.col-lg-6.p-info-wrapper {
        width: 100% !important;
        flex: none !important;
        gap: 12px !important;
    }

    /* --- Nadpis --- */
    h1.p-info-title {
        font-size: 22px !important;
        line-height: 1.25 !important;
    }

    /* --- Hviezdy --- */
    div.stars-wrapper {
        gap: 10px !important;
        height: auto !important;
    }

    span.stars.star-list {
        width: auto !important;
    }

    span.stars.star-list span.star {
        width: 22px !important;
        height: 22px !important;
        font-size: 18px !important;
    }

    .p-detail-info .star-list {
        width: auto !important;
        height: 22px !important;
    }

    .p-detail-info .star-list .star {
        width: 22px !important;
        height: 22px !important;
    }

    span.stars-label,
    .p-detail-info .stars-label {
        font-size: 14px !important;
    }

    /* --- Krátky popis --- */
    p.p-info-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    /* --- Parametre tabuľka --- */
    table.p-info-params th,
    table.p-info-params td {
        font-size: 13px !important;
        padding: 6px 12px !important;
        height: auto !important;
    }

    /* --- Biely panel — cena + košík --- */
    .p-price-cart-panel {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .p-final-price-wrapper {
        align-items: center !important;
    }

    .price-final-holder {
        font-size: 28px !important;
        line-height: 36px !important;
    }

    /* --- Košík sekcia (množstvo + tlačidlo) --- */
    .add-to-cart {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* --- Quantity pill (len detail) --- */
    .p-detail span.quantity {
        height: 48px !important;
    }

    .p-detail span.quantity button.qty-btn {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
    }

    .p-detail span.quantity span.qty-display {
        min-width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
    }

    /* --- Tlačidlo do košíka --- */
    button.add-to-cart-button,
    button.btn.add-to-cart-button {
        flex: 1 !important;
        height: 48px !important;
        font-size: 15px !important;
        padding: 0 20px !important;
    }

    /* --- Benefit banner --- */
    .benefitBanner.position--benefitProduct {
        flex-wrap: wrap !important;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
        gap: 16px !important;
    }

    .benefitBanner__item {
        flex: 1 1 calc(50% - 8px) !important;
        min-width: 120px !important;
        padding: 8px !important;
    }

    .benefitBanner__img {
        width: 36px !important;
        height: 36px !important;
    }

    .benefitBanner__title {
        font-size: 12px !important;
    }

    .benefitBanner__data {
        font-size: 11px !important;
    }

    /* --- Tabs --- */
    .shp-tabs-wrapper.p-detail-tabs-wrapper {
        padding-top: 0 !important;
    }

    .shp-tabs-wrapper.p-detail-tabs-wrapper > .row {
        width: 100% !important;
    }

    .col-sm-12.shp-tabs-row.responsive-nav {
        margin-top: 24px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .shp-tabs.p-detail-tabs {
        gap: 20px !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }

    .shp-tab a.shp-tab-link {
        font-size: 13px !important;
        line-height: 28px !important;
        white-space: nowrap !important;
    }

    #tab-content.tab-content {
        padding: 20px 0 !important;
    }

    #description .description-inner {
        flex-direction: column !important;
        gap: 28px !important;
    }

    /* --- Súvisiaci tovar --- */
    .products-related-header {
        font-size: 22px !important;
        line-height: 30px !important;
        margin: 20px 16px 12px !important;
    }

    .products-related {
        gap: 8px !important;
        padding-bottom: 12px !important;
        justify-content: flex-start !important;
    }

    .products-related .product {
        min-width: 150px !important;
        max-width: 180px !important;
        flex: 0 0 150px !important;
    }

    .products-related .product a.image {
        height: 130px !important;
        padding: 12px !important;
    }

    .products-related .product a.image img {
        max-height: 100px !important;
    }

    .products-related .product .p-in {
        padding: 10px 12px 12px !important;
        gap: 6px !important;
    }

    .products-related .product .name,
    .products-related .product a.name {
        font-size: 12px !important;
        line-height: 16px !important;
    }

    .products-related .product .price-final strong {
        font-size: 14px !important;
    }

    .products-related .product .btn-cart {
        height: 32px !important;
        font-size: 11px !important;
        padding: 6px 14px !important;
    }

    /* --- Animácie na mobile — skrátiť --- */
    .col-xs-12.col-lg-6.p-image-wrapper { animation-duration: 0.3s !important; }
    .col-xs-12.col-lg-6.p-info-wrapper  { animation-duration: 0.3s !important; }
}