/* Vásárlási gombok kiemelése: zöld háttér, sötétkék felirat */
.btn.btn-primary.button-add-to-cart,
a.button-add-to-cart,
#add_to_cart {
    background: #77be20 !important;
    background-image: none !important;
    border-color: #77be20 !important;
    color: #003865 !important;
    font-weight: 700;
}
.btn.btn-primary.button-add-to-cart:hover,
.btn.btn-primary.button-add-to-cart:focus,
a.button-add-to-cart:hover,
#add_to_cart:hover {
    background: #63b32d !important;
    border-color: #63b32d !important;
    color: #003865 !important;
}

/* Hírlevél blokk a márka színeiben: zöld háttér, sötétkék szöveg és gomb */
section.footer-top-1-position {
    background: #77be20 !important;
    background-image: none !important;
}
section.footer-top-1-position .newsletter_subscribe-module,
section.footer-top-1-position .newsletter_subscribe-module .module-head,
section.footer-top-1-position .newsletter_subscribe-module .module-head *,
section.footer-top-1-position .newsletter_subscribe-module .module-body,
section.footer-top-1-position .newsletter_subscribe-module label,
section.footer-top-1-position .newsletter_subscribe-module p,
section.footer-top-1-position .newsletter_subscribe-module a:not(.btn) {
    color: #003865 !important;
}
section.footer-top-1-position .newsletter_subscribe-module input.input-text {
    background: #ffffff !important;
    color: #003865 !important;
    border: 1px solid #ffffff !important;
}
section.footer-top-1-position .newsletter_subscribe-module input.input-text::placeholder {
    color: #6b7480 !important;
    opacity: 1;
}
#newsletter-emailsubscribe-btn,
#newsletter-emailsubscribe-btn span {
    background: #003865 !important;
    background-image: none !important;
    border-color: #003865 !important;
    color: #ffffff !important;
}
#newsletter-emailsubscribe-btn span { background: transparent !important; }

/* Olvashatósági javítások: világos háttéren sötét szöveg */
.footer-copyright-text,
.footer-copyright-text a {
    color: #4a5560 !important;
}
label.control-panel {
    color: #4a5560 !important;
}

/* Fejléc: márkakék sáv, a logó fehér lapkán, alul zöld csík */
#logo.logo-module a,
.mobile-logo-link {
    display: inline-flex !important;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 3px 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.mobile-logo-link img {
    max-height: 44px;
    width: auto;
}
header .header-middle,
#mobile-nav {
    border-bottom: 3px solid #77be20;
}
.mobile-headers.hamburger {
    background: transparent !important;
}

/* Kereső kiemelése: nagyobb mező, zöld keret és zöld keresőgomb */
#search .input-group {
    background: #ffffff;
    border: 2px solid #77be20;
    border-radius: 8px;
    overflow: hidden;
}
#search #filter_keyword {
    height: 42px;
    font-size: 16px;
    font-style: normal;
    color: #003865;
}
#search #filter_keyword::placeholder {
    color: #6b7480;
    font-style: normal;
    opacity: 1;
}
#search .input-group-btn,
#search #search_btn {
    background: #77be20 !important;
    background-image: none !important;
    height: 42px;
}
#search #search_btn {
    width: 56px;
    border-radius: 0;
}
#search #search_btn svg path {
    fill: #003865 !important;
}

/* Mini kosár (lenyíló): fehér háttér, olvasható szöveg, zöld Pénztár gomb */
#module_cart .cart-product-list {
    background: #ffffff !important;
    border-top: 3px solid #77be20;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
#module_cart .cart-product-list,
#module_cart .cart-product-list td,
#module_cart .cart-product-list .cart-quantity {
    color: #4a5560 !important;
}
#module_cart .cart-product-list li,
#module_cart .cart-product-list tr,
#module_cart .cart-product-list td,
#module_cart .cart-product-list table {
    border-color: #e3e6e8 !important;
}
#module_cart .cart-product-name-link {
    color: #003865 !important;
    font-weight: 600;
}
#module_cart .cart-total-text,
#module_cart .cart-total-price {
    color: #003865 !important;
    font-weight: 700;
    font-size: 16px;
}
#module_cart .cart_remove_btn {
    color: #c8102e !important;
}
#module_cart .cart-product-list a.btn-primary {
    background: #77be20 !important;
    background-image: none !important;
    border-color: #77be20 !important;
    color: #003865 !important;
    font-weight: 700;
}

/* Népszerű kategóriák: a régi téma kártyái (lekerekített kártya, alul kék sáv fehér névvel) */
#categoryoffer .categoryoffer_list {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
}
#categoryoffer .category-snapshot-col {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#categoryoffer .category_snapshot {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    height: 100%;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(0, 56, 101, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(0, 55, 96, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#categoryoffer .category_snapshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 48, 84, 0.16);
}
#categoryoffer .category_snapshot br {
    display: none;
}
#categoryoffer .category-snapshot-img-link {
    display: block;
    flex: 1 1 auto;
    padding: 14px;
    background: #ffffff;
}
#categoryoffer .category-snapshot-img-link img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: 0;
    padding: 0;
    transition: transform 0.35s ease;
}
#categoryoffer .category_snapshot:hover .category-snapshot-img-link img {
    transform: scale(1.045);
}
#categoryoffer .category-snapshot-name-link {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    min-height: 56px;
    margin: 0 !important;
    padding: 14px 10px;
    background: #003865;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}
@media (max-width: 1199px) {
    #categoryoffer .categoryoffer_list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 575px) {
    #categoryoffer .categoryoffer_list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    #categoryoffer .category-snapshot-name-link {
        min-height: 48px;
        font-size: 14px;
    }
}

/* Terméklista mozaikos (rácsos) elrendezésben: kép felül, adatok alatta */
#snapshot_horizontal.product-snapshot-horizontal {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 !important;
}
#snapshot_horizontal .product-snapshot.list_div_item {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
}
#snapshot_horizontal .product-snapshot.list_div_item > div {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 55, 96, 0.08);
    overflow: hidden;
}
#snapshot_horizontal .snapshot_horizontal_product {
    flex-direction: column !important;
    flex: 1 1 auto;
    width: 100% !important;
    padding: 14px !important;
    gap: 10px;
}
#snapshot_horizontal .snapshot_horizontal_left,
#snapshot_horizontal .snapshot_horizontal_right {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#snapshot_horizontal .snapshot_horizontal_right {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto !important;
}
#snapshot_horizontal .list_picture,
#snapshot_horizontal .img-thumbnail-link {
    width: 100% !important;
    display: block;
}
#snapshot_horizontal .img-thumbnail-link img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 0 auto;
}
#snapshot_horizontal .list_prouctname a {
    display: block;
    min-height: 2.6em;
    font-size: 14px;
    line-height: 1.3;
    color: #003865;
    font-weight: 600;
}
#snapshot_horizontal .list_actions {
    margin-top: auto;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    width: 100% !important;
}
#snapshot_horizontal .list_actions .snapshot-list-item,
#snapshot_horizontal .list_actions .snapshot-list-item a {
    width: 100% !important;
    margin: 0 !important;
}
#snapshot_horizontal .list_actions .clearfix {
    display: none;
}
@media (max-width: 1199px) {
    #snapshot_horizontal.product-snapshot-horizontal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575px) {
    #snapshot_horizontal.product-snapshot-horizontal {
        gap: 10px;
    }
    #snapshot_horizontal .snapshot_horizontal_product {
        padding: 10px !important;
    }
    #snapshot_horizontal .list_prouctname a {
        font-size: 13px;
    }
}

/* racz-footer-seo */
.footer-seo h1 { font-size: 24px; line-height: 1.25; margin: 0 0 12px; }
.footer-seo h2 { font-size: 18px; line-height: 1.3; margin: 18px 0 8px; }
.footer-seo ul { padding-left: 20px; margin: 0 0 12px; }
@media (min-width: 992px) {
    .footer-seo h1 { font-size: 28px; }
    .footer-seo h2 { font-size: 20px; }
}