:root {
    --white: #ffffff;
    --black: #000000;
    --gray: #f8f8f8;
    --button-hover: #ffa700;
    --border-controls: #bcbcbc;

    --border-radius-controls: 8px;
    --border-radius-panel: 24px;
}

body {
    zoom: normal;
}

/* Header bar */
.top-navigation-bar {
    font-weight: 300;
}

.top-navigation-bar .container {
    padding-left: 0px;
    padding-right: 0px;
}

/* Search */
#header .search-input {
    border: 2px solid var(--border-controls);
    border-radius: var(--border-radius-controls);
}

/* Support card */
.supportCard {
    display: flex;
    gap: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.supportCard::before,
.supportCard::after {
    content: none;
}

.top-navigation-bar div.supportCard__card {
    flex: 0 1 auto;
}

@media only screen and (min-width: 1200px) {
    .top-navigation-bar div.supportCard__card {
        display: flex;
        gap: 4px;
    }
}

.supportCard p {
    margin: 0px;
}

.supportCard__value {
    font-weight: 600;
}

/* Benefits banner */
.benefitBanner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    background-color: var(--gray);
    border-radius: var(--border-radius-panel);
    padding: 36px;
}

@media only screen and (min-width: 480px) {
    .benefitBanner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 768px) {
    .benefitBanner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (min-width: 1200px) {
    .benefitBanner {
        grid-template-columns: repeat(5, 1fr);
        padding: 48px;
    }
}

.benefitBanner__item {
    display: grid;
    gap: 8px;
    width: auto;
    margin: 0px;
}

.benefitBanner__picture {
    display: block;
    max-width: none;
    margin: 0px;
}

.benefitBanner__img {
    width: 24px;
    max-width: none;
}

.benefitBanner__data {
    line-height: 1.4;
}

/* Product card */
.products-block>div .p {
    border: 2px solid var(--gray);
    border-radius: var(--border-radius-panel);
    overflow: hidden;
}

.products-block>div:hover {
    box-shadow: none;
}

.products-block>div .p .p-in {
    padding: 16px;
}

.products-block>div .p .p-bottom {
    padding: 0px;
}

.products-block>div .p .p-bottom>div .p-tools {
    padding-bottom: 0px;
}

.products-block>div .p .p-bottom>div .prices {
    display: grid;
    justify-content: flex-start;
    text-align: left;
}

.products-block>div .p .p-bottom>div .prices .price-final {
    order: 1;
}

.products-block .p-bottom .price-additional {
    order: 2;
}

.products-block .p-bottom>div .p-tools form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.products-block>div .p .p-bottom>div .p-tools .btn,
.products-block>div .p .p-bottom>div .p-tools .btn.btn-cart {
    min-width: auto;
    width: 100%;
}

.product .quantity {
    border: 1px solid var(--border-controls);
    border-radius: var(--border-radius-controls);
    overflow: hidden;
    font-weight: 600;
    display: flex;
    justify-content: center;
}

.quantity .decrease:before,
.quantity .increase:before {
    font-weight: 600;
}

.btn {
    border-radius: var(--border-radius-controls);
}

.btn.btn-cart.add-to-cart-button {
    background-color: var(--black);
    border: none;
}

.btn.btn-cart.add-to-cart-button:hover {
    background-color: var(--button-hover);
}

/* About banner */
#content .about {
    display: grid;
    grid-template-areas: "logo" "text" "map" "address" "openingHours";
    grid-template-columns: 1fr;
    gap: 36px;
    background-color: var(--gray);
    border-radius: var(--border-radius-panel);
    padding: 36px;
}

@media only screen and (min-width: 768px) {
    #content .about {
        grid-template-areas: "logo logo" "text text" "map map" "address openingHours";
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (min-width: 1200px) {
    #content .about {
        grid-template-areas: "logo text text" "map map map" ". address openingHours";
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 48px;
        padding: 48px;
    }
}

#content .about p {
    margin: 0px;
}

#content .about .about__map {
    margin: 0px;
}

.about__logo {
    grid-area: logo;
    width: 200px;
}

@media only screen and (min-width: 1200px) {
    .about__logo {
        width: 250px;
    }
}

.about__text {
    grid-area: text;
    line-height: 1.4;
}

.about__map {
    grid-area: map;
}

.about__address {
    grid-area: address;
}

.about__openingHours {
    grid-area: openingHours;
}

.about__address strong,
.about__openingHours strong {
    display: grid;
    font-weight: 400;
}

@media only screen and (min-width: 480px) {

    .about__address strong,
    .about__openingHours strong {
        white-space: nowrap;
    }
}

.about__address strong span,
.about__openingHours strong span {
    color: var(--black);
    font-size: 2rem;
    font-weight: 600;
}

/* FAQ section */
.custom-faq-section {
    margin-top: 64px;
}

.custom-faq-section h2 {
    margin: 0px;
}

.custom-faq-section .custom-faq-question {
    border-radius: var(--border-radius-panel);
    background-color: var(--gray);
}

/* Homepage titles */
.homepage-group-title {
    text-align: left;
    margin-bottom: 0px;
    margin-left: 8px;
}

@media only screen and (min-width: 768px) {
    .homepage-group-title {
        margin-left: 0px;
    }
}

/* Product cards group */
.product-slider-holder.has-navigation {
    padding: 0px;
    margin-top: 24px;
    margin-bottom: 80px;
}

/* Navigation */
#navigation {
    border: none;
}

@media only screen and (min-width: 768px) {
    #navigation {
        height: 74px;
    }
}

#header .header-bottom,
.navigation-in ul {
    background-color: #ffffff;
}

.menu-helper {
    height: 74px;
}

#navigation .navigation-in>ul {
    padding: 16px 0px;
    gap: 8px;
}

#navigation .navigation-in>ul>li>a {
    padding: 12px 16px;
    margin: 0px;
    transition: background-color 0.2s ease;
    border-radius: 50px;
}

#navigation .navigation-in>ul>li>a:hover {
    background-color: var(--black);
}

#navigation .navigation-in>ul>li>a:hover b {
    color: var(--white);
}

#navigation .navigation-in ul li a b {
    font-weight: 400;
}

#navigation .navigation-in ul li:hover>a>b {
    text-decoration: none;
}

#navigation .navigation-in>ul>li>a[href*="psi-hospic"] {
    background-color: var(--black);
}

#navigation .navigation-in>ul>li>a[href*="psi-hospic"]>b {
    color: var(--white);
}

#navigation .navigation-in ul li>a[href*="psi-hospic"]:hover {
    background-color: var(--button-hover);
}

#navigation .navigation-in .navigationActions li>a>span {
    padding: 0px;
}

#navigation .navigation-in .navigationActions li:hover>a>span {
    text-decoration: none;
    color: var(--white);
}

@media only screen and (max-width: 767px) {
    #navigation .navigation-in>ul {
        display: grid;
        padding: 16px;
    }

    #navigation .navigation-in>ul>li>a[href*="psi-hospic"] {
        width: fit-content;
    }

    #navigation .navigation-in ul li>a>b {
        text-decoration: none;
        padding: 0px;
    }
}

/* Logo */
@media only screen and (max-width: 767px) {
    #header .site-name {
        transform: none;
    }
}

/* Detail produktu - objednávací formulář */
.p-detail .p-to-cart-block {
    border-radius: var(--border-radius-panel);
    padding: 24px;
}

a.btn.add-to-cart-button {
    border-radius: var(--border-radius-controls);
}

/* Footer */
.custom-footer>div {
    padding-bottom: 36px
}

@media only screen and (min-width: 768px) {
    .custom-footer>div {
        padding-bottom: 24px
    }
}

.custom-footer__contact {
    display: grid;
    gap: 16px;
}

.footerContact {
    display: grid;
    gap: 8px;
}

.footerContact p {
    margin-bottom: 0px;
}

.footerContact__value {
    font-weight: 600;
}

.footerContact__openingHours {
    white-space: nowrap;
}

.custom-footer__articles,
.custom-footer__onlinePayments {
    display: grid;
    gap: 16px;
}

.custom-footer__articles h4,
.custom-footer__onlinePayments h4 {
    margin: 0px;
}