:root {
    --storefront-accent: #111827;
}

body {
    color: #1f2937;
}

.navbar-brand {
    letter-spacing: -.04em;
}

.navbar .nav-link {
    color: #374151;
    font-size: .92rem;
}

.hero {
    background: linear-gradient(135deg, #fff 0%, #f1f3f5 100%);
}

.category-card,
.product-card {
    transition: transform .15s ease, box-shadow .15s ease;
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1) !important;
}

.product-availability {
    color: #15803d;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .025em;
}

.product-image-wrap,
.product-detail-image {
    display: grid;
    place-items: center;
    background: #fff;
}

.product-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    padding: 1rem;
    border-radius: var(--bs-card-border-radius) var(--bs-card-border-radius) 0 0;
    overflow: hidden;
}

.product-image {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .25s ease;
}

.product-image-hover {
    opacity: 0;
}

@media (hover: hover) {
    .product-card:hover .has-hover .product-image-primary {
        opacity: 0;
    }

    .product-card:hover .product-image-hover {
        opacity: 1;
    }
}

.product-color-dot {
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    background: #f3f4f6;
}

.product-color-dot.is-selected {
    outline: 2px solid #6b7280;
    outline-offset: 1px;
}

.product-color-dot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    display: grid;
    min-height: 260px;
    place-items: center;
    color: #9ca3af;
    background: #f3f4f6;
    font-weight: 700;
}

.product-detail-image img {
    max-height: 680px;
    object-fit: contain;
}

.product-info {
    top: 6rem;
}

.color-swatch {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    overflow: hidden;
    background: #fff;
}

.color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-quantity {
    width: 5rem;
}

.cart-item-image {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.cart-item .product-placeholder {
    min-height: 120px;
}

.cart-summary {
    top: 6rem;
}

.cart-availability {
    min-height: 1.5rem;
    font-weight: 600;
}

.category-description,
.product-description {
    max-width: 72ch;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        max-height: 45vh;
        overflow-y: auto;
    }
}

/* Produktový detail – zachováva pracovný tok legacy konfigurátora bez jeho pluginov. */
.product-detail-page {
    max-width: 1320px;
}

.product-detail-title {
    margin: .35rem 0 .9rem;
    color: #303236;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 750;
}

.product-gallery-stage {
    position: relative;
    display: grid;
    min-height: 480px;
    place-items: center;
    overflow: hidden;
    background: #fff;
}

.gallery-slide {
    display: grid;
    width: 100%;
    min-height: 480px;
    place-items: center;
    padding: 1.25rem 3rem;
}

.gallery-slide[hidden] {
    display: none;
}

.gallery-slide img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.gallery-arrow,
.variant-arrow {
    border: 0;
    color: #34373b;
    background: transparent;
    font-size: 3rem;
    line-height: 1;
}

.gallery-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-arrow-prev {
    left: .5rem;
}

.gallery-arrow-next {
    right: .5rem;
}

.product-gallery-thumbs {
    display: flex;
    gap: .6rem;
    margin-top: .75rem;
    overflow-x: auto;
    padding: .1rem;
}

.gallery-thumb {
    display: grid;
    width: 78px;
    min-width: 78px;
    height: 78px;
    place-items: center;
    padding: .35rem;
    border: 1px solid transparent;
    background: #fff;
}

.gallery-thumb.is-active {
    border-color: #1fb269;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-copy h2 {
    margin-bottom: .15rem;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-copy-lead {
    color: #c8322b;
    font-weight: 700;
}

.product-copy p {
    margin-bottom: .65rem;
    color: #42464c;
    font-size: .94rem;
    line-height: 1.55;
}

.product-configurator {
    overflow: hidden;
    border: 1px solid #d8dadd;
    background: #fff;
}

.config-step {
    padding: .65rem 1rem 0;
}

.config-step h2 {
    margin: 0 0 .45rem;
    color: #202226;
    font-size: 1rem;
    font-weight: 750;
}

.config-step h2 > span {
    font-weight: 800;
}

.config-pills,
.variant-filter-row,
.option-row {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.config-pill,
.variant-filter {
    padding: .4rem .65rem;
    border: 1px solid #d7d9dc;
    color: #3f4348;
    background: #fafafa;
    font-size: .9rem;
    text-decoration: none;
}

.config-pill:hover,
.config-pill.is-active,
.variant-filter:hover,
.variant-filter.is-active {
    border-color: #bde9cd;
    color: #183d29;
    background: #dff4e7;
}

.variant-carousel-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    align-items: stretch;
    margin-top: .35rem;
}

.variant-arrow {
    font-size: 2.6rem;
}

.variant-carousel {
    display: grid;
    grid-auto-columns: minmax(130px, 1fr);
    grid-auto-flow: column;
    gap: .4rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: .15rem;
    scrollbar-width: none;
    scroll-snap-type: inline mandatory;
}

.variant-carousel::-webkit-scrollbar {
    display: none;
}

.variant-choice {
    position: relative;
    display: grid;
    min-height: 185px;
    grid-template-rows: 105px auto auto;
    place-items: center;
    padding: .45rem;
    border: 1px solid transparent;
    color: #45484d;
    font-size: .78rem;
    text-align: center;
    text-decoration: none;
    scroll-snap-align: start;
}

.variant-choice[hidden] {
    display: none;
}

.variant-choice:hover,
.variant-choice.is-selected {
    border-color: #22b66d;
}

.variant-choice.is-selected::after {
    position: absolute;
    top: .25rem;
    right: .25rem;
    display: grid;
    width: 1.1rem;
    height: 1.1rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #22b66d;
    content: '✓';
    font-size: .7rem;
}

.variant-choice img {
    width: 100%;
    height: 105px;
    object-fit: contain;
}

.variant-choice-name {
    align-self: start;
    line-height: 1.2;
}

.variant-choice small {
    color: #555a60;
}

.variant-choice-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #9ca3af;
    background: #f4f4f4;
}

.config-heading-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.size-chart-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin: 0 0 .45rem;
    padding: 0;
    border: 0;
    color: #25282c;
    background: transparent;
    font-size: .82rem;
    text-decoration: underline;
}

.size-option input,
.detail-color-option input {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.size-option span {
    display: grid;
    min-width: 40px;
    height: 36px;
    place-items: center;
    padding: 0 .55rem;
    border: 1px solid #e2e4e7;
    background: #fff;
    cursor: pointer;
}

.size-option input:checked + span {
    border-color: #1fac66;
    color: #117944;
    background: #effbf3;
    box-shadow: inset 0 0 0 1px #1fac66;
}

.size-option.is-unavailable span {
    color: #a1a5aa;
    background: linear-gradient(to top right, transparent 48%, #d8dadd 49%, #d8dadd 51%, transparent 52%);
}

.size-option.is-on-order span {
    border-bottom-color: #ef8a32;
}

/* Legacy `theme.css:10395-10412` (`.biggest-size`) – odkaz na 5XL variant za výberom veľkostí. */
.biggest-size {
    display: inline-flex;
    align-items: center;
    height: 36px;
    margin: 0 0 0 .3rem;
    padding: 0 .55rem;
    border: 1px solid #e2e4e7;
    background: #fff;
    color: #25282c;
    font-weight: 600;
    font-size: .82rem;
}

.biggest-size:hover {
    color: #25282c;
    text-decoration: none;
}

.color-options {
    gap: .32rem;
}

.color-availability-groups {
    display: grid;
    gap: .45rem;
}

.color-availability-row {
    display: grid;
    grid-template-columns: minmax(118px, 145px) minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    min-height: 31px;
}

.color-availability-row[data-color-group="all"] {
    grid-template-columns: 1fr;
}

.color-availability-row[hidden] {
    display: none;
}

.color-availability-title,
.icon-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.color-availability-title {
    font-size: .78rem;
    font-weight: 750;
    white-space: nowrap;
}

.color-availability-row.is-stock .color-availability-title {
    color: #16834d;
}

.color-availability-row.is-supplier .color-availability-title {
    color: #c46616;
}

.detail-color-option span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    overflow: hidden;
    padding: 2px;
    border: 1px solid #e1e3e6;
    background: #f4f4f4;
    cursor: pointer;
}

.detail-color-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-color-option input:checked + span {
    border-color: #159b58;
    box-shadow: 0 0 0 2px #bcebd0;
}

.detail-color-option.is-unavailable {
    opacity: .3;
}

.availability-strip {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .7rem;
    padding: .65rem 1rem;
    border-top: 1px solid #eceef0;
    color: #24272b;
    font-size: .8rem;
}

.availability-strip strong,
.availability-strip span {
    display: block;
}

.availability-strip .icon-label {
    display: inline-flex;
}

.availability-strip .cart-availability {
    min-height: 0;
    color: #666b71;
    font-weight: 400;
}

.availability-strip .cart-availability.is-stock {
    color: #16834d;
    font-weight: 700;
}

.availability-strip .cart-availability.is-order {
    color: #c46616;
    font-weight: 700;
}

.delivery-hint {
    text-decoration: underline;
}

.availability-help {
    color: #5f6368;
    font-size: .8rem;
}

.availability-help summary {
    cursor: pointer;
    text-decoration: underline;
}

.availability-help-item {
    display: none;
    margin-top: .55rem;
    padding: .65rem;
    border: 1px solid #e4e6e8;
    border-radius: .35rem;
    background: #fff;
}

.availability-help-item.is-active {
    display: block;
}

.product-note-box {
    display: grid;
    gap: .2rem;
    padding: 1rem;
    border-top: 1px solid #b8dec6;
    background: #def3e5;
}

.product-note-box label {
    font-size: .86rem;
    font-weight: 800;
}

/* Inštrukcia redakcie nad poznámkou – legacy `product-detail-v2.tpl:370-377`. */
.product-note-instructions {
    display: grid;
    gap: .15rem;
}

.product-note-instruction-header {
    font-size: .86rem;
    font-weight: 800;
}

.product-note-instruction-text {
    font-size: .8rem;
}

.product-note-box.is-required small {
    color: #d22c24;
    font-weight: 700;
}

.product-note-box textarea {
    margin-top: .35rem;
    padding: .65rem;
    border: 1px solid #cfd8d2;
    resize: vertical;
}

.product-note-box em {
    justify-self: end;
    font-size: .7rem;
    font-weight: 700;
    text-decoration: underline;
}

.product-buy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1.5fr);
    gap: .7rem;
    align-items: center;
    padding: 1rem;
    border-top: 1px solid #e1e3e6;
}

.detail-price {
    color: #090b0d;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 800;
    white-space: nowrap;
}

.quantity-stepper {
    display: grid;
    grid-template-columns: 34px 42px 34px;
    height: 46px;
}

.quantity-stepper button,
.quantity-stepper input {
    min-width: 0;
    border: 1px solid #d9dcdf;
    background: #fff;
    text-align: center;
}

.quantity-stepper button {
    display: grid;
    place-items: center;
}

.quantity-stepper button + input,
.quantity-stepper input + button {
    border-left: 0;
}

.quantity-stepper input {
    appearance: textfield;
}

.detail-add-button {
    min-height: 48px;
    padding: .7rem 1rem;
    border: 0;
    color: #fff;
    background: #20ad66;
    font-weight: 800;
}

.detail-add-button:disabled {
    background: #a7aaae;
}

.product-benefits {
    display: grid;
    gap: .45rem;
}

.product-benefit {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-height: 52px;
    padding: .65rem .9rem;
    border: 1px solid #e1e4e7;
    background: #fff;
    color: #32363a;
    font-size: .9rem;
    font-weight: 650;
}

.product-benefit-icon {
    display: grid;
    width: 34px;
    min-width: 34px;
    height: 34px;
    place-items: center;
    color: #1da964;
    font-size: 1.45rem;
}

.product-benefit-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.product-meta-links {
    display: grid;
    gap: .7rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e7e9;
    border-bottom: 1px solid #e5e7e9;
}

.product-meta-row {
    display: grid;
    grid-template-columns: minmax(150px, 190px) 1fr;
    gap: .75rem;
    align-items: start;
}

.product-meta-row > div {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.product-meta-row a {
    padding: .28rem .55rem;
    border: 1px solid #dfe3e6;
    border-radius: 999px;
    color: #464b50;
    background: #fff;
    font-size: .78rem;
    text-decoration: none;
}

.product-meta-row a:hover {
    border-color: #1da964;
    color: #117a46;
}

.product-faq-item {
    border: 1px solid #dfe2e5;
    background: #fff;
}

.product-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1rem;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 750;
    list-style: none;
}

.product-faq-item summary::-webkit-details-marker {
    display: none;
}

.product-faq-item summary span {
    color: #1da964;
    font-size: 1.2rem;
    transition: transform .15s ease;
}

.product-faq-item[open] summary span {
    transform: rotate(45deg);
}

.product-faq-item > div {
    padding: 0 1rem .9rem;
    color: #51565b;
    font-size: .88rem;
}

.product-faq-item > div > :last-child {
    margin-bottom: 0;
}

.size-chart-dialog {
    width: min(850px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    padding: 1.25rem;
    border: 0;
    border-radius: .35rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .3);
}

.size-chart-dialog::backdrop {
    background: rgba(20, 24, 28, .65);
}

.size-chart-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.size-chart-header h2 {
    font-size: 1.25rem;
}

.size-chart-header button {
    border: 0;
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
}

@media (min-width: 1200px) {
    .variant-carousel {
        grid-auto-columns: calc((100% - 1.2rem) / 4);
    }
}

@media (max-width: 767.98px) {
    .product-gallery-stage,
    .gallery-slide {
        min-height: 360px;
    }

    .gallery-slide {
        padding: 1rem 2.5rem;
    }

    .product-buy-row {
        grid-template-columns: 1fr 110px;
    }

    .detail-add-button {
        grid-column: 1 / -1;
    }

    .variant-carousel {
        grid-auto-columns: minmax(125px, 48%);
    }

    .product-meta-row {
        grid-template-columns: 1fr;
        gap: .4rem;
    }

    .color-availability-row {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    .availability-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}
.homepage-banner-image {
    object-fit: cover;
    min-height: 180px;
}

.content-page-body img,
.content-page-body iframe {
    max-width: 100%;
}

.content-page-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
.blog-card-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-hero-image {
    max-height: 34rem;
    object-fit: cover;
}
.storefront-search {
    position: relative;
    gap: .5rem;
    min-width: min(100%, 20rem);
}

.storefront-search-results {
    position: absolute;
    z-index: 1100;
    top: calc(100% + .4rem);
    right: 0;
    width: min(34rem, 88vw);
    max-height: min(34rem, 75vh);
    overflow: auto;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    background: #fff;
}

.search-suggestion-links {
    display: grid;
    gap: .25rem;
    padding: .75rem;
    border-bottom: 1px solid #eee;
}

.search-suggestion-links a,
.search-suggestion-product,
.search-suggestion-all {
    color: #212529;
    text-decoration: none;
}

.search-suggestion-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    padding: .75rem;
}

.search-suggestion-product {
    min-width: 0;
    font-size: .78rem;
    line-height: 1.25;
}

.search-suggestion-product img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    margin-bottom: .25rem;
}

.search-suggestion-all {
    display: block;
    padding: .7rem .9rem;
    border-top: 1px solid #eee;
    color: #198754;
    font-weight: 600;
    text-align: center;
}

.cookie-consent[hidden],
.cookie-consent__settings[hidden],
.cookie-consent__actions [hidden] {
    display: none !important;
}

.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    background: rgb(17 24 39 / 35%);
}

.cookie-consent__panel {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 1rem 1.1rem;
    border: 1px solid #dce1e7;
    border-radius: .65rem;
    background: #fff;
    box-shadow: 0 .5rem 2rem rgb(0 0 0 / 18%);
}

.cookie-consent__copy h2 {
    margin: 0 0 .35rem;
    font-size: 1.1rem;
}

.cookie-consent__copy p {
    margin: 0 0 .8rem;
    color: #5c6470;
    font-size: .9rem;
}

.cookie-consent__settings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .55rem;
    margin-bottom: .8rem;
}

.cookie-consent__option {
    display: flex;
    gap: .55rem;
    padding: .65rem;
    border: 1px solid #dce1e7;
    border-radius: .45rem;
    cursor: pointer;
}

.cookie-consent__option input {
    margin-top: .2rem;
}

.cookie-consent__option small {
    display: block;
    margin-top: .15rem;
    color: #6c757d;
    font-size: .76rem;
    line-height: 1.3;
}

.cookie-consent__option.is-disabled {
    background: #f6f7f9;
    cursor: default;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
}

@media (max-width: 767.98px) {
    .cookie-consent__settings {
        grid-template-columns: 1fr;
    }
}

/* Legacy HTML má samostatné desktop/mobile vetvy; obsah sa nemaže ani neduplikuje. */
@media (min-width: 768px) {
    .msh-only-mobile { display: none !important; }
    .msh-only-desktop { display: block !important; }
}
@media (max-width: 767.98px) {
    .msh-only-mobile { display: block !important; }
    .msh-only-desktop { display: none !important; }
}
.product-detail-page > .row > [class*="col-"] { min-width: 0; }
.product-properties-panel { font-size: 14px; }
.product-properties-panel > a { display: inline-block; margin-top: 8px; text-decoration: underline; }
.product-inline-size-chart h3 { font-size: 16px; font-weight: 700; }
.product-inline-size-chart .table { font-size: 12px; }
.product-inline-size-chart .table > :not(caption) > * > * { padding: 6px 3px; }
.product-size-chart-content { display: flex; align-items: start; gap: 20px; }
.product-size-chart-content > .table-responsive { flex: 1; min-width: 0; }
.product-size-chart-content > img { width: 30%; max-width: 240px; height: auto; }
.product-information-nav { display: flex; flex-wrap: wrap; gap: 20px; margin: 28px 0; padding: 14px 0; border-block: 1px solid #ddd; }
.product-information-nav a { font-size: 14px; text-decoration: underline; }
.product-description-section { margin: 30px 0; scroll-margin-top: 110px; }
.product-description-section > h2 { margin-bottom: 20px; font-size: 28px; font-weight: 700; text-transform: uppercase; }
.shirt-description > .msh-only-desktop { width: calc(100% - 80px) !important; margin-inline: auto !important; }
.shirt-description > .msh-only-mobile { width: 100% !important; }
@media (min-width: 768px) and (max-width: 991.98px) {
    .product-buy-row { grid-template-columns: minmax(0, 1fr) 110px; }
    .product-buy-row .detail-add-button { grid-column: 1 / -1; }
    .product-size-chart-content { flex-direction: column; }
    .product-size-chart-content > img { width: 50%; }
}
@media (max-width: 767.98px) {
    .product-detail-title { font-size: 22px; }
    .product-description-section > h2 { font-size: 22px; }
    .product-properties-panel { margin-bottom: 16px; }
    .product-information-nav { gap: 12px; }
    .product-size-chart-content { flex-direction: column; }
    .product-size-chart-content > img { width: 50%; }
}
