/* ============================================
   PremioveSeno.sk – Custom CSS
   Kopie stylu z premioveseno.cz
   ============================================ */

/* --- CSS Premenné (farby, fonty) --- */
:root {
    --color-primary: #ffffff;
    --color-primary-hover: #E4EDDC;
    --color-secondary: #1A6C3E;
    --color-secondary-hover: #258850;
    --color-tertiary: #ffffff;
    --color-tertiary-hover: #422D1F;
    --color-header-background: #FFFFFF;
    --template-font: "Open Sans";
    --template-headings-font: "Ubuntu";
}

/* --- Hodnotenie obchodu --- */
#hodnoceniobchodu .vote-wrap:not(.admin-response .vote-wrap),
.id--51 #content #ratingWrapper + .votes-wrap .vote-wrap:not(.admin-response .vote-wrap),
.template-14.id--51 .rate-wrapper:not(.admin-response .vote-wrap) {
    background-color: #E4EDDC;
}

.rate-average,
.stars .star.is-active:hover,
.stars .star.star-half:before,
.stars .star.star-on:before {
    color: #F8B816;
}

/* --- Texty --- */
.text {
    max-width: 100% !important;
}

/* --- Skryť social buttons na detaile produktu --- */
#content > div > div.p-detail-inner > div.p-data-wrapper > div.buttons-wrapper.social-buttons-wrapper {
    display: none;
}

/* --- Produktové karty --- */
.product {
    border: 1px solid #dfdfdf;
    border-radius: 12px;
}

.products-block > div .p .p-in .p-in-in .name {
    font-size: 22px;
}

.products-block > div .p .p-in .p-bottom > div .prices .price-final strong {
    font-weight: 700;
    font-size: 20px;
}

/* --- Tabs a diskusia --- */
.p-detail-full-width #tab-content,
.shp-tabs-row .shp-tabs-holder ul.shp-tabs li.shp-tab.active a,
.content-inner .discussion-form,
.p-detail .discussion-form {
    background-color: #E4EDDC;
}

/* --- Footer pozadie --- */
#footer {
    background-image: url('/user/documents/upload/verze1-2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
}

.footer-bottom,
.footer-bottom-full-width {
    background-color: #ffffff4a;
}

/* --- Newsletter sekcia --- */
body > div.overall-wrapper > div.full-width.footer-newsletter-full-width {
    background-color: #e4eddcab;
}

/* --- Footer hodnotenia --- */
.footer-rows .rate-wrapper .star:before,
.footer-rows .vote-admin-response,
.footer-rows .vote-rating {
    color: #F8B816;
}

#footer h4 > span:after {
    border-color: #f8b816;
}

/* --- Kategória header --- */
.category-header {
    justify-content: center;
}

/* --- Benefit banner texty --- */
.benefitBanner .benefitBanner__data {
    color: #422D1F;
}

/* --- Bannery padding --- */
.banner, .banner a,
.banner-category, .banner-category a,
.banner-wrapper, .banner-wrapper a,
.carousel-inner, .carousel-inner a {
    padding: 0px 4px 0px 0px;
}

/* --- Bannery vedľa karuselu --- */
@media (min-width: 992px) {
    .next-to-carousel-banners {
        margin-top: -20px;
        padding: 0px 10px 10px 10px;
    }
}

/* --- Nadpisy skupín produktov s podčiarknutím --- */
.homepage-group-title.h4 {
    position: relative;
    padding-bottom: 15px;
}

.homepage-group-title.h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 3px;
    background-color: #422D1F;
    display: block;
}

/* --- Tlačidlá a flagy --- */
.btn, a.btn, .flag {
    border-radius: 16px 0px 16px 16px;
}

/* --- Welcome sekcia --- */
.welcome-wrapper {
    background-color: #E4EDDC;
    border-radius: 15px;
    padding-bottom: 0px;
}

.content-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
}

.text-welcome {
    max-width: 60%;
}

.image img {
    max-width: 100%;
    height: auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .text-welcome,
    .image {
        max-width: 100%;
    }

    .welcome-wrapper {
        padding: 25px 25px 0px 25px;
    }
}

/* --- Kontaktný formulár --- */
#formContact {
    width: 60%;
    background-color: #19191919;
    margin: 0 auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 10%);
}

@media screen and (max-width: 600px) {
    #formContact {
        width: 100%;
    }
}

/* --- Kontaktný kontajner --- */
.contact-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
}

.contact-table {
    border-collapse: collapse;
    width: 100%;
}

.contact-table img {
    width: 24px;
    height: 24px;
}

.contact-table td {
    border: 1px solid #dddddd;
    padding: 8px;
    text-align: left;
}

.contact-table .contact-cell {
    font-size: 18px;
}

.contact-table p {
    margin: 0;
}

.contact-text-container {
    max-width: 100%;
    padding: 25px;
    margin-bottom: 20px;
}

@media only screen and (min-width: 600px) {
    .contact-container {
        flex-direction: row;
    }

    .contact-text-container {
        max-width: 60%;
        margin-bottom: 0;
    }
}

/* ============================================
   Cookie lišta – tlačidlá vedľa seba
   ============================================ */

/* Desktop: Text vľavo, tlačidlá vedľa seba vpravo */
@media (min-width: 768px) {
    .siteCookies__form {
        display: grid !important;
        grid-template-columns: 1fr auto auto !important;
        gap: 15px !important;
        align-items: center !important;
    }

    .siteCookies__content {
        display: contents !important;
    }

    .siteCookies__links {
        margin: 0 !important;
    }
}

/* Mobil: Text hore, tlačidlá pod ním vedľa seba */
@media (max-width: 767px) {
    .siteCookies__form {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .siteCookies__content {
        display: contents !important;
    }

    .siteCookies__text {
        grid-column: 1 / -1 !important;
        margin-bottom: 5px !important;
    }

    .siteCookies__links {
        margin: 0 !important;
    }

    .siteCookies__link,
    .siteCookies__button {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
}

/* ============================================
   Leadhub / zelený pruh pred komentármi
   ============================================ */
#leadhub-custom-position {
    width: 100%;
    max-width: 800px;
}
