/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: (A te neved)
Author URI: https://miglionico.hu/
Template: astra
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@100..900&display=swap');

body,
h1,
h2,
h3,
h4,
h5,
h6,
#offer-cart-wrapper {
    font-family: 'Albert Sans', sans-serif;
}

.home .ast-container {
    display: flex;
    flex-direction: column;
}

.ast-container {
    padding-left: 0px;
    padding-right: 0px;
    max-width: 100%;
}

.ast-article-single {
    width: 100%;
    margin: 0 auto;
    /*padding-left: 3rem;
    padding-right: 3rem;*/
}

@media (max-width: 544px) {
    .ast-separate-container #content .ast-container {
        padding-left: 0;
        padding-right: 0;
    }
}

.home .ast-container>section {
    display: block !important;
}

#content {
    background-color: #f3f3f3;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

.main-header-bar {
    background-color: #f3f3f3;
    max-width: 100%;
}

.ast-desktop .ast-primary-header-bar.main-header-bar {
    padding: 15px 3em 0px;
}

.wpcf7-spinner {
    display: none;
}

.hero-slider-wrapper {
    background:
        url('/wp-content/themes/astra-child/uploads/hero-shape.png') bottom center no-repeat,
        #f3f3f300;
    background-size: cover, cover;
    overflow: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    z-index: 1;
    top: 20px;
}

.hero-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
}

.hero-slider .swiper-button-next {
    right: var(--swiper-navigation-sides-offset, 5vw) !important;
    color: #d4d4d4 !important;
}

.hero-slider .swiper-button-prev {
    left: var(--swiper-navigation-sides-offset, 5vw) !important;
    color: #d4d4d4 !important;

}

.hero-slider .swiper-button-prev::after {
    font-size: 40px;
    font-weight: bold;
}

.hero-slider .swiper-button-next::after {
    font-size: 40px;
    font-weight: bold;
}

.hero-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0px 60px 10px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.hero-left,
.hero-right {
    flex: 1;
}

.hero-left img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-right h1 {
    color: #c41e35;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-variation-settings: 'wght' 975;
}

.hero-right p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #000;
    font-weight: 600;
    max-width: 400px;
}

.hero-right .btn-primary {
    background: #0073aa;
    color: #fff;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    display: inline-flex;
    min-width: 300px;
    justify-content: center;
    font-weight: 800;
}

.swiper-button-next,
.swiper-button-prev {
    color: #0073aa;
    z-index: 10;
}

@media (max-width: 768px) {
    .hero-slide {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-left img {
        max-width: 300px;
        margin-bottom: 20px;
    }
}

/* ===== FPS1 FORM ===== */

.fps-section1.full-width-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: url('/wp-content/themes/astra-child/uploads/fps_1_bg.webp') center center no-repeat;
    background-size: cover;
    padding: 50px 0 20px;
    box-sizing: border-box;
    z-index: 0;
}

.fps1-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.fps1-left {
    flex: 3;
    text-align: left;
    color: #fff;
}

.fps1-left h2 {
    color: #fff;
}

.fps1-right {
    flex: 2;
}

.fps1-right img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .fps1-container {
        flex-direction: column;
        text-align: center;
    }

    .fps1-left,
    .fps1-right {
        flex: 1 !important;
    }

    .fps1-right img {
        margin-top: 20px;
    }
}

/* ===== FPS2 SECTION ===== */

.fps2-container {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.fps2-left {
    flex: 2;
}

.fps2-left img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.fps2-right {
    flex: 3;
    text-align: left;
    color: #000;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .fps2-container {
        flex-direction: column;
        text-align: center;
    }

    .fps2-left,
    .fps2-right {
        flex: 1 !important;
    }

    .fps2-left img {
        margin-bottom: 20px;
    }
}

.fps-section2.full-width-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 30%, #ececec 30%, #ececec 100%);
    padding: 30px 0px 10px;
    box-sizing: border-box;
}

/* ===== UPS ===== */

.three-columns-section.full-width-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #3f3f3f;
    padding: 60px 50px 40px;
    box-sizing: border-box;
    background-image: none;
}

.three-columns-section .columns-wrapper {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    gap: 25px;
    justify-content: space-between;
}

.three-columns-section .column {
    flex: 1;
    background: #3f3f3f;
    display: flex;
    gap: 20px;
}

.three-columns-section .column img {
    flex: 0 0 20%;
    width: 5rem;
    height: 5rem;
}

.three-columns-section .column .text {
    flex: 1;
}

.three-columns-section .column .text h3 {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.three-columns-section .column .text p {
    font-size: 0.8rem;
    color: #ffffff;
    line-height: var(--ast-body-line-height, 1.2em);
}

@media (max-width: 768px) {
    .three-columns-section .columns-wrapper {
        flex-direction: column;
    }

    .three-columns-section .column {
        flex-direction: row;
        margin-bottom: 20px;
    }
}

/* ===== CONTACT SECTION ===== */

.contact-section.full-width-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f3f3f3;
    padding: 0px 0px;
    box-sizing: border-box;
    background-image: none;
}

.contact-container {
    display: flex;
    max-width: 1360px;
    margin: 0 auto;
    gap: 20px;
    align-items: flex-start;
    box-sizing: border-box;
}

.contact-left {
    flex: 1;
}

.contact-left img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 20px;
}

.contact-right h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-right p {
    font-size: 1rem;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-left,
    .contact-right {
        flex: 1 !important;
    }

    .contact-left img {
        margin-bottom: 20px;
    }
}

/* ===== CONTACT FORM ===== */

.wpcf7 textarea[name="your-message"] {
    height: 100px;
    resize: vertical;
    padding: 12px;
}

.wpcf7-form-control.wpcf7-acceptance {
    font-size: 0.85rem;
    line-height: 1.4;
}

.wpcf7-form-control.wpcf7-acceptance a {
    color: #0073aa;
    text-decoration: underline;
}

.wpcf7-form-control-wrap .wpcf7-form-control {
    border-radius: 30px;
    background-color: #fff;
}

.wpcf7-form-control.wpcf7-acceptance {
    background-color: #f3f3f3;
}

.wpcf7-form-control.wpcf7-submit {
    background-color: #2484bf;
    border-radius: 30px;
}

/* ------------------------------------ */
/* ===== PARTNERS SECTION STYLES ===== */
/* ------------------------------------ */

.partners-section {
    background: #fff;
}

.partners-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.partners-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 600;
    color: #000000;
    text-align: left;
    margin-left: 80px;
}

.partners-slider-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

.swiper.partners-slider {
    width: 100%;
    overflow: hidden;
}

.partners-slider .swiper-wrapper {
    display: flex !important;
    align-items: center;
}

.partners-slider .swiper-slide {
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 175px;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    transition: opacity 0.2s ease;
    /* opacity: 0.65; */
}

.partner-item:hover {
    opacity: 1;
}

.partner-item img {
    display: block;
    max-width: 160px;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-item img:hover {
    transform: scale(1.05);
}

.partner-name {
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    color: #333;
}

.partners-slider-wrapper .swiper-button-prev,
.partners-slider-wrapper .swiper-button-next {
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.9);
    color: #0073aa;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.partners-slider-wrapper .swiper-button-disabled {
    opacity: 0.3 !important;
    pointer-events: none !important;
    cursor: default;
}

.partners-slider-wrapper .swiper-button-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

.partners-slider-wrapper .swiper-button-prev::after,
.partners-slider-wrapper .swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

.partners-slider-wrapper .swiper-button-prev {
    left: 0px;
}

.partners-slider-wrapper .swiper-button-next {
    right: 0px;
}

.partners-slider-wrapper .swiper-button-prev:not(.swiper-button-disabled):hover,
.partners-slider-wrapper .swiper-button-next:not(.swiper-button-disabled):hover {
    background: #0073aa;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.contact-button-wrapper {
    margin-top: 50px;
    text-align: center;
}

.contact-button {
    display: inline-block;
    width: 250px;
    padding: 5px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #000000;
    background-color: #ffffff;
    border: 2px solid #c41e35;
    border-radius: 9999px;
    /*transition: all 0.3s ease;*/
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
    color: #ffffff;
    background-color: #c41e35;
    box-shadow: 0 6px 10px rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .partners-container {
        padding: 60px 10px;
    }

    .partners-slider-wrapper {
        padding: 0 40px;
    }

    .partner-item img {
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .partners-slider-wrapper {
        padding: 0 30px;
    }

    .partners-slider-wrapper .swiper-button-prev,
    .partners-slider-wrapper .swiper-button-next {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 576px) {
    .partners-container {
        padding: 40px 0;
    }

    .partners-slider-wrapper {
        padding: 0 20px;
    }

    .partners-slider-wrapper .swiper-button-prev,
    .partners-slider-wrapper .swiper-button-next {
        /* display: none; */
    }
}

/* ===== FAQ SECTION ===== */

.faq-section {
    background: #ececec;
    padding: 0px 30px;
}

.faq-container {
    width: 100%;
    max-width: 1200px;
    margin: 80px auto;
    font-family: inherit;
    color: #000;
}

.faq-container p {
    font-weight: 600;
}

.faq-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 3px solid #ccc;
    padding: 10px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    all: unset;
    display: block;
    width: 100%;
    cursor: pointer;
    font-weight: 800;
    font-size: 1.1rem;
}

.faq-question:hover,
.faq-question:focus {
    background: none;
    color: inherit;
    text-decoration: none;
    outline: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 10px;
}

.faq-item.active .faq-answer {
    margin-top: 10px;
}

/* ===== FOOTER ITEMS ===== */

.footer-contact .contact-line {
    padding-bottom: 10px;
}

.footer-contact .contact-line img {
    width: 30px;
    vertical-align: middle;
    margin-right: 15px;
}

.footer-contact .contact-line a {
    color: var(--ast-global-color-3);
}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"] .widget-title {
    color: #c41e35;
    margin-top: 40px;
}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner a {
    color: var(--ast-global-color-3);
    font-weight: 800;
}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"] li:first-child a {
    color: #c41e35;
}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner a:hover {
    color: #000;
}

/* ===== HEADER NAV ===== */

.main-header-bar-navigation .main-header-menu .menu-link {
    color: var(--ast-global-color-3);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    padding-left: 10px;
    padding-right: 10px;
}

.main-header-bar-navigation .main-header-menu .menu-link:hover {
    color: #000;
}

.main-header-bar-navigation .main-header-menu>li:first-child>.menu-link {
    color: #c41e35;
}

.main-header-bar-navigation .main-header-menu>li:first-child>.menu-link:hover {
    color: #c41e35;
}

/* ===========================================
   FEATURED PRODUCTS + SWIPER SLIDER FIXES
   =========================================== */

.featured-products {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.featured-products .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-slider {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.product-slider-wrapper {
    position: relative;
}

.product-slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.product-slider .swiper-slide {
    padding: 0 8px;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .product-slider .swiper-slide {
        width: calc((100% / 2) - 16px);
    }
}

@media (max-width: 576px) {
    .product-slider .swiper-slide {
        width: 100%;
    }

    .featured-products .section-title {
        margin-left: 10px;
    }

    .product-slider-wrapper .swiper-button-prev {
        left: -30px !important;
    }

    .product-slider-wrapper .swiper-button-next {
        right: -30px !important;
    }

}

.featured-products .section-title {
    color: #c41e35;
    font-weight: 600;
    text-align: left;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 0px;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    /* transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12); */
}

.product-thumb img {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

.product-title {
    font-size: 0.9rem;
    margin: 25px 0 15px;
    color: #333;
}

.product-price {
    font-size: 1rem;
    color: #0073aa;
    margin-bottom: 15px;
}

.add-to-cart {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.add-to-cart:hover {
    background: #005c87;
}

/* ===========================================
   PRODUCT SLIDER – HERO SLIDERREL AZONOS NYILAK
   =========================================== */

.product-slider-wrapper .swiper-button-prev,
.product-slider-wrapper .swiper-button-next {
    color: #d4d4d4 !important;
    z-index: 10;
    width: var(--swiper-navigation-size, 44px);
    height: var(--swiper-navigation-size, 44px);
}

.product-slider-wrapper .swiper-button-prev::after,
.product-slider-wrapper .swiper-button-next::after {
    font-size: 40px !important;
    font-weight: bold;
}

.product-slider-wrapper .swiper-button-prev {
    left: var(--swiper-navigation-sides-offset, 0vw) !important;
}

.product-slider-wrapper .swiper-button-next {
    right: var(--swiper-navigation-sides-offset, 0vw) !important;
}

@media (max-width: 992px) {
    .product-slider-wrapper .swiper-button-prev {
        left: 20px !important;
    }

    .product-slider-wrapper .swiper-button-next {
        right: 20px !important;
    }
}

@media (max-width: 576px) {
    .featured-products .section-title {
        margin-left: 10px;
    }

    .product-slider-wrapper .swiper-button-prev {
        left: -30px !important;
    }

    .product-slider-wrapper .swiper-button-next {
        right: -30px !important;
    }
}

.shop-button-wrapper {
    margin-top: 50px;
    text-align: center;
}

.shop-button {
    display: inline-block;
    width: 350px;
    padding: 5px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #000000;
    background-color: #ffffff;
    border: 2px solid #c41e35;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .shop-button {
        width: 300px;
    }
}

.shop-button:hover {
    color: #ffffff;
    background-color: #c41e35;
    box-shadow: 0 6px 10px rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
}

.product-details-button {
    display: inline-block;
    background: #2484bf;
    color: #fff;
    padding: 5px 15px;
    border-radius: 60px;
    text-decoration: none;
    transition: background 0.3s ease;
    margin: 20px 0px 10px;
    font-weight: 600;
    width: 150px;
    text-align: center;
}

.product-details-button:hover {
    background: #005c87;
}

#wapf-grid-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: flex-start;
    background-color: #e8e8e8;
    padding: 0 3rem 1rem;
}

#wafp-options-target,
#wapf-totals-target {
    width: 100%;
}

#wapf-totals-target .wapf-product-totals {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

@media (max-width: 768px) {
    .wapf-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

.wapf-accordion {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.wapf-accordion-header {
    background: #f5f5f5;
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wapf-accordion-content {
    display: none;
    padding: 15px;
}

.wapf-accordion.open .wapf-accordion-content {
    display: block;
}

.wapf-accordion-toggle {
    font-size: 26px;
    line-height: 0;
}

.wapf-accordion.open .wapf-accordion-toggle {
    transform: rotate(45deg);
}

.wapf-field-row-title {
    background: #fff;
    padding: 5px 15px;
    border: 1px solid #ddd;
    font-weight: bold;
    color: rgb(200, 28, 56);
    border-radius: 25px;
}

.wapf-field-row-collapsible.open .wapf-field-row-title {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.wapf-field-row-content {
    background: white;
    border-radius: 0px 0px 25px 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out, padding 0.2s ease-in-out;
    color: black;
}

.wapf-field-row-collapsible.open .wapf-field-row-content {
    max-height: 1000px;
    padding-bottom: 15px;
    border-top: 2px solid rgb(200, 28, 56);
}

.wapf-field-row-collapsible {
    margin-bottom: 10px;
}

.woocommerce-js div.product .product_meta {
    display: grid;
}

.summary.entry-summary .sku_wrapper,
.posted_in {
    color: rgb(200, 28, 56);
}

.summary.entry-summary .sku_wrapper span,
a {
    color: #000;
}

.woocommerce-js div.product .product_meta {
    border-top: none;
    padding-top: 0;
}

.summary.entry-summary {
    line-height: 1.8em;
    padding-right: 3rem;
}

@media (max-width: 922px) {
    .summary.entry-summary {
        line-height: 1.5em;
        padding: 1rem 3rem;
    }

    .woocommerce-product-gallery.woocommerce-product-gallery--with-images {
        padding: 0 3rem;
    }

    #primary {
        margin: 0;
    }
}

#product-extra-list .product-variations-label {
    font-weight: 600;
    color: rgb(200, 28, 56);
}

.variations_form.cart .label {
    color: rgb(200, 28, 56);
}

.woocommerce-js div.product form.cart .variations select {
    border-radius: 25px;
    border-color: rgb(200, 28, 56);
    padding-left: 15px;
    font-style: italic;
}

.woocommerce-variation-add-to-cart {
    display: block;
}

.woocommerce-js div.product form.cart .variations {
    border-bottom: none;
}

.woocommerce-product-details__short-description {
    line-height: 1.5em;
    padding: 10px 0;
}

.wapf-grand-total-container {
    background-color: #c4132d;
    padding: 20px;
    color: white;
    border-radius: 30px 30px 0px 0px;
}

.wapf-grand-total.price {
    color: white !important;
}

#wapf-totals-target .wapf-product-totals {
    padding: 0px;
    border-radius: 30px;
    border: solid 1px #c4132d;
}

.wapf-product-total-container,
.wapf-options-total-container {
    padding: 0px 20px;
}

#wapf-totals-target span {
    font-size: 1.2rem;
}

.wapf-product-totals .wapf--inner {
    max-height: 500px;
    overflow-y: auto;
}

.wapf--inner .selected-options-summary {
    padding-bottom: 20px !important;
}

.wapf-checkable input[type="checkbox"].wapf-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wapf-input-label {
    position: relative;
    display: block;
    padding-left: 30px;
    cursor: pointer;
}

.wapf-input-label .wapf-label-text:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #555;
    background-color: #fff;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.wapf-checkable input[type="checkbox"].wapf-input:checked+.wapf-label-text:before {
    border-color: rgb(200, 28, 56);
    background-color: rgb(200, 28, 56);
}

.wapf-checkable input[type="checkbox"].wapf-input:checked+.wapf-label-text:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-60%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.custom-extra-block {
    padding: 20px;
    background: #f2f2f2;
    margin-bottom: 20px;
}

.custom-extra-block-title {
    padding: 1rem 4rem;
    color: rgb(200, 28, 56);
    background-color: #e8e8e8;
}

.wapf-field-container {
    padding: 0 5px 15px 15px;
}

.woocommerce-product-gallery.woocommerce-product-gallery--with-images {
    padding-left: 3rem;
}

.woocommerce-js div.product .woocommerce-tabs {
    padding: 2em 3em 0em;
    margin-bottom: 4em;
    width: 100%;
}

.woocommerce-js div.product .related.products {
    padding: 2em 3em 0em;
    margin-bottom: 4em;
    width: 100%;
}

/* Alapértelmezett: desktop, 2/3 - 1/3 elrendezés */
#wapf-grid-wrapper {
    display: flex;
    gap: 20px;
    /* távolság a két blokk között */
}

/* Opciók: 2/3, Totals: 1/3 */
#wapf-options-target {
    flex: 2;
    /* 2 rész a 3-ból */
    min-width: 250px;
}

#wapf-totals-target {
    flex: 1;
    /* 1 rész a 3-ból */
    min-width: 150px;
}

/* Mobil: egymás alá */
@media (max-width: 768px) {
    #wapf-grid-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    #wapf-options-target,
    #wapf-totals-target {
        flex: unset;
        /* mobilon nincs arány, teljes szélesség */
    }
}


/* Wrapper */
#offer-cart-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 15px;
}

/* Címsor */
#offer-cart-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* Item lista */
#offer-cart-list {
    display: grid;
    gap: 25px;
}

/* Kártya */
.offer-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.05),
        /* finom alapárnyék */
        0 4px 18px rgba(0, 0, 0, 0.08),
        /* külső diffúz árnyék */
        inset 0 0 12px rgba(0, 0, 0, 0.04);
    /* belső lágy perem */
    transition: 0.25s ease;
}

.offer-item:hover {
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.06),
        0 8px 28px rgba(0, 0, 0, 0.12),
        inset 0 0 16px rgba(0, 0, 0, 0.05);
}


/* Terméknév */
.offer-item h3 {
    margin-top: 0;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #222;
    font-weight: 600;
}

/* Variáció + mennyiség */
.offer-item p {
    margin: 6px 0;
    font-size: 1rem;
}

.offer-item strong {
    font-weight: 600;
    color: #333;
}

/* Extrák */
.offer-item h4 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #3aa6b9;
}

.offer-item ul {
    margin: 0;
    padding-left: 18px;
    color: #555;
    font-size: 0.95rem;
}

/* Törlés gomb */
.offer-item .remove-offer-item {
    margin-top: 20px;
    padding: 6px 30px;
    background: #ff4d4f;
    color: #fff;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 800;
    transition: background 0.3s ease;
    align-items: center;
}

.offer-item .remove-offer-item:hover {
    background: #d9363e;
}

/* Elválasztó */
.offer-item hr {
    margin-top: 25px;
    opacity: 0.3;
}

/* Mobil optimalizálás */
@media (max-width: 600px) {
    #offer-cart-wrapper h2 {
        font-size: 1.6rem;
    }

    .offer-item {
        padding: 18px;
    }

    .offer-item h3 {
        font-size: 1.2rem;
    }
}

.ast-sticky-add-to-cart {
    display: none;
}

body,
#offer-cart-wrapper,
#offer-cart-wrapper * {
    font-family: 'Albert Sans', sans-serif !important;
}
.entry-header  {
  max-width: var(--wp--custom--ast-content-width-size);
    margin: auto;
  }