/* Modern product cards for the copied category pages (.lgafp-* markup). */

body .lgafp-card-wrap .lgafp-card {
    border-radius: 26px !important;
    border-color: #efe6d8 !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffcf7 100%) !important;
    box-shadow: 0 22px 50px -36px rgba(21, 27, 43, 0.5) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

body .lgafp-card-wrap .lgafp-card:hover {
    transform: translateY(-6px);
    border-color: #d9ece4 !important;
    box-shadow: 0 34px 60px -38px rgba(21, 27, 43, 0.55) !important;
}

body .lgafp-card-wrap .lgafp-image-area {
    padding: 28px 22px 16px !important;
    background: radial-gradient(120% 120% at 50% 0%, #ffffff 0%, #f8f4ec 55%, #efe8db 100%) !important;
}

body .lgafp-card-wrap .lgafp-eyebrow {
    background: linear-gradient(135deg, #ff5a60 0%, #ed171f 55%, #c90e16 100%) !important;
    box-shadow: 0 10px 22px -10px rgba(237, 23, 31, 0.65) !important;
}

body .lgafp-card-wrap .lgafp-content {
    padding: 20px 22px 22px !important;
}

body .lgafp-card-wrap .lgafp-model {
    color: #4e9082 !important;
    letter-spacing: 1.4px !important;
}

body .lgafp-card-wrap .lgafp-name {
    font-size: 20px !important;
    letter-spacing: -0.04em !important;
}

body .lgafp-card-wrap .lgafp-price-list {
    gap: 8px !important;
}

body .lgafp-card-wrap .lgafp-price-row {
    padding: 14px 16px !important;
    border: 1px solid #f0e8dc !important;
    border-radius: 16px !important;
    background: #faf7f1 !important;
}

body .lgafp-card-wrap .lgafp-price-row .lgafp-promo-label {
    padding: 2px 8px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #ed171f !important;
}

body .lgafp-card-wrap .lgafp-price-row .lgafp-promo-price strong {
    color: #ed171f !important;
}

body .lgafp-card-wrap .lgafp-buttons {
    gap: 10px !important;
    margin-top: 18px !important;
}

body .lgafp-card-wrap .lgafp-btn {
    min-height: 46px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

body .lgafp-card-wrap .lgafp-btn-interest {
    background: #ed171f !important;
    border-color: #ed171f !important;
    box-shadow: 0 14px 26px -16px rgba(237, 23, 31, 0.65) !important;
}

body .lgafp-card-wrap .lgafp-btn-interest:hover {
    background: #c90e16 !important;
    border-color: #c90e16 !important;
    transform: translateY(-2px);
}

body .lgafp-card-wrap .lgafp-btn-info {
    background: #ffffff !important;
    border: 1px solid #e6ddce !important;
    color: #1f2430 !important;
    box-shadow: none !important;
}

body .lgafp-card-wrap .lgafp-btn-info:hover {
    background: #f4faf7 !important;
    border-color: #4e9082 !important;
    color: #2f6f61 !important;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    body .lgafp-card-wrap .lgafp-content {
        padding: 16px 16px 18px !important;
    }

    body .lgafp-card-wrap .lgafp-name {
        font-size: 18px !important;
    }

    body .lgafp-card-wrap .lgafp-price-row {
        padding: 12px 13px !important;
        border-radius: 14px !important;
    }

    body .lgafp-card-wrap .lgafp-buttons {
        gap: 8px !important;
        margin-top: 14px !important;
    }

    body .lgafp-card-wrap .lgafp-btn {
        min-height: 44px !important;
        font-size: 12px !important;
    }
}

/* Blend product photos that come with a white background into the cream card area. */
body .lgafp-card-wrap .lgafp-product-image {
    mix-blend-mode: multiply;
}

/* Compact + cheerful category cards. */
body .lgafp-card-wrap .lgafp-image-area {
    padding: 18px 18px 10px !important;
}

body .lgafp-card-wrap .lgafp-image-canvas {
    width: 240px !important;
    height: 240px !important;
}

body .lgafp-card-wrap .lgafp-content {
    padding: 14px 16px 16px !important;
}

body .lgafp-card-wrap .lgafp-model {
    margin-bottom: 3px !important;
    font-size: 11px !important;
}

body .lgafp-card-wrap .lgafp-name {
    font-size: 18px !important;
    letter-spacing: -0.03em !important;
}

body .lgafp-card-wrap .lgafp-variant {
    margin-top: 3px !important;
    font-size: 10.5px !important;
}

body .lgafp-card-wrap .lgafp-price-list {
    gap: 6px !important;
    margin-top: 12px !important;
}

body .lgafp-card-wrap .lgafp-price-row {
    padding: 10px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    background: #fdf6ef !important;
    row-gap: 2px !important;
}

body .lgafp-card-wrap .lgafp-price-row:nth-child(2) {
    background: #eef7f2 !important;
}

body .lgafp-card-wrap .lgafp-price-row .lgafp-promo-label {
    padding: 2px 7px !important;
    background: #ffe6e6 !important;
    color: #d4141c !important;
    font-size: 9px !important;
    font-weight: 800 !important;
}

body .lgafp-card-wrap .lgafp-buttons {
    margin-top: 12px !important;
    gap: 8px !important;
}

body .lgafp-card-wrap .lgafp-btn {
    min-height: 42px !important;
    font-size: 12.5px !important;
}

body .lgafp-card-wrap .lgafp-btn-interest {
    background: linear-gradient(135deg, #ff4e55 0%, #ed171f 60%, #d10f17 100%) !important;
    border-color: #e0141c !important;
}

body .lgafp-card-wrap .lgafp-btn-info {
    background: #eef7f3 !important;
    border: 1px solid #cfe8dd !important;
    color: #2f6f61 !important;
}

body .lgafp-card-wrap .lgafp-btn-info:hover {
    background: #e2f3eb !important;
    border-color: #4e9082 !important;
    color: #235a4d !important;
}

@media (max-width: 767px) {
    body .lgafp-card-wrap .lgafp-image-canvas {
        width: 200px !important;
        height: 200px !important;
    }

    body .lgafp-card-wrap .lgafp-image-area {
        padding: 14px 12px 8px !important;
    }

    body .lgafp-card-wrap .lgafp-content {
        padding: 12px 13px 14px !important;
    }

    body .lgafp-card-wrap .lgafp-name {
        font-size: 17px !important;
    }

    body .lgafp-card-wrap .lgafp-price-row {
        padding: 9px 10px !important;
        border-radius: 12px !important;
    }

    body .lgafp-card-wrap .lgafp-btn {
        min-height: 40px !important;
        font-size: 11.5px !important;
    }
}

/* Truly transparent image area: let the card background show through. */
body .lgafp-card-wrap .lgafp-image-area {
    background: transparent !important;
}

body .lgafp-card-wrap .lgafp-product-image {
    mix-blend-mode: multiply !important;
}

/* Align the plan boxes and buttons across cards in the same row. */
body .lgafp-card-wrap {
    display: flex;
    height: 100%;
}

body .lgafp-card-wrap .lgafp-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100% !important;
}

body .lgafp-card-wrap .lgafp-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

body .lgafp-card-wrap .lgafp-price-list {
    margin-top: auto !important;
}

body .lgafp-card-wrap .lgafp-buttons {
    margin-top: 12px !important;
}

/* Standard product gallery (312l-top-freezer format). */
.lgp-gallery {
    width: 100%;
    max-width: 560px;
    margin: 26px 0 10px;
}

.lgp-gallery__main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 24px;
    border: 1px solid #e7e1d7;
    border-radius: 24px;
    background: #ffffff;
}

.lgp-gallery__main img {
    display: block;
    max-width: 100%;
    max-height: 440px;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.lgp-gallery__thumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.lgp-gallery__arrow {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e7e1d7;
    border-radius: 50%;
    background: #ffffff;
    color: #151b2b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lgp-gallery__arrow:hover {
    border-color: #4e9082;
    color: #2f6f61;
    background: #f4faf7;
}

.lgp-gallery__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
}

.lgp-gallery__track::-webkit-scrollbar {
    display: none;
}

.lgp-gallery__thumb {
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid #e7e1d7;
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lgp-gallery__thumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.lgp-gallery__thumb.is-active {
    border-color: #151b2b;
    box-shadow: 0 6px 16px -10px rgba(21, 27, 43, 0.6);
}

@media (max-width: 767px) {
    .lgp-gallery {
        margin-top: 18px;
        max-width: 100%;
    }

    .lgp-gallery__main {
        min-height: 270px;
        padding: 16px;
        border-radius: 20px;
    }

    .lgp-gallery__main img {
        max-height: 300px;
    }

    .lgp-gallery__thumb {
        width: 66px;
        height: 66px;
        padding: 6px;
        border-radius: 13px;
    }

    .lgp-gallery__arrow {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

/* Keep every copied page's text on the site font (some Elementor blocks default to Manrope). */
body .elementor-widget-container :where(
    h1, h2, h3, h4, h5, h6,
    p, li,
    .elementor-heading-title,
    .elementor-icon-list-text,
    .elementor-image-box-title,
    .elementor-image-box-description,
    .elementor-testimonial-content,
    .elementor-testimonial-name,
    .elementor-testimonial-job,
    .elementor-counter-number,
    .elementor-counter-title,
    .elementor-button-text
) {
    font-family: "Plus Jakarta Sans", "Segoe UI", ui-sans-serif, system-ui, sans-serif !important;
}

/* Force the site font on every Elementor text node (keep icon fonts intact). */
body .elementor-widget-container,
body .elementor-widget-container :not(i):not(svg):not(svg *):not([class*="fa-"]):not([class*="eicon"]):not([class*="elementor-icon"]) {
    font-family: "Plus Jakarta Sans", "Segoe UI", ui-sans-serif, system-ui, sans-serif !important;
}


/* Elementor slides widget backgrounds (missing from the copied base CSS). */
body .swiper-slide-bg {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

body .elementor-slides-wrapper .swiper-slide {
    position: relative;
    overflow: hidden;
}
