.easyoffer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 25px 0;
}

.easyoffer-grid .easyoffer-box {
    margin: 0;
}

.easyoffer-grid-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.easyoffer-grid-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.easyoffer-grid-count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.easyoffer-grid-count-2 .easyoffer-box,
.easyoffer-grid-count-3 .easyoffer-box,
.easyoffer-grid-count-4 .easyoffer-box {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.easyoffer-grid-count-2 .easyoffer-box img,
.easyoffer-grid-count-3 .easyoffer-box img,
.easyoffer-grid-count-4 .easyoffer-box img {
    width: 100%;
    max-width: none;
    border-radius: 8px;
}

.easyoffer-grid-count-2 .easyoffer-content,
.easyoffer-grid-count-3 .easyoffer-content,
.easyoffer-grid-count-4 .easyoffer-content {
    text-align: center;
}

.easyoffer-grid-count-2 .easyoffer-btn,
.easyoffer-grid-count-3 .easyoffer-btn,
.easyoffer-grid-count-4 .easyoffer-btn {
    display: flex;
    justify-content: center;
}

.easyoffer-grid-count-2 .easyoffer-box--classic,
.easyoffer-grid-count-3 .easyoffer-box--classic,
.easyoffer-grid-count-4 .easyoffer-box--classic {
    align-items: center;
}

.easyoffer-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid var(--easyoffer-primary-border, #f1caca);
    padding: 20px;
    border-radius: 10px;
    background: var(--easyoffer-primary-soft, #fff3f3);
    box-shadow: 0 5px 18px rgba(120, 0, 0, 0.08);
    margin: 25px 0;
}

.easyoffer-box > img {
    border-radius: 10px !important;
    margin: 10px 0 !important;
    border: 3px #ff000000 solid !important;
    box-shadow: 0px 0px 0px 2px #D9DCFD !important;
}

.easyoffer-box--modern {
    border-radius: 14px;
}

.easyoffer-box--classic {
    border: 1px solid #d5d7da;
    background: #ffffff;
    box-shadow: none;
    border-radius: 4px;
}

.easyoffer-box--classic img {
    border-radius: 3px;
}

.easyoffer-box--classic .easyoffer-content h3 {
    color: #1f2937;
}

.easyoffer-box--classic .easyoffer-price {
    color: #374151;
}

.easyoffer-box--classic .easyoffer-btn a,
.easyoffer-box--classic .easyoffer-btn button,
.easyoffer-box--classic .easyoffer-request-submit {
    border-radius: 4px;
    box-shadow: none;
}

.easyoffer-box--dark {
    border: 1px solid #2f3441;
    background: #181c23;
    box-shadow: 0 8px 22px rgba(4, 8, 16, 0.38);
}

.easyoffer-box--dark .easyoffer-content h3 {
    color: #f3f4f6;
}

.easyoffer-box--dark .easyoffer-price {
    color: #d1d5db;
}

.easyoffer-box--dark .easyoffer-request-form input {
    border-color: #3f4656;
    background: #11151c;
    color: #f9fafb;
}

.easyoffer-box--dark .easyoffer-request-form input::placeholder {
    color: #9aa4b2;
}

.easyoffer-box--dark .easyoffer-request-notice {
    color: #e5e7eb;
}

.easyoffer-box--minimal {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: none;
    border-radius: 8px;
}

.easyoffer-box--minimal .easyoffer-content h3 {
    font-size: 19px;
    font-weight: 500;
    color: #111827;
}

.easyoffer-box--minimal .easyoffer-price {
    color: #4b5563;
}

.easyoffer-box--minimal .easyoffer-btn a,
.easyoffer-box--minimal .easyoffer-btn button,
.easyoffer-box--minimal .easyoffer-request-submit {
    border-radius: 999px;
}

.easyoffer-box--glass {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.16));
    box-shadow: 0 10px 26px rgba(31, 41, 55, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.easyoffer-box--glass .easyoffer-content h3 {
    color: #111827;
}

.easyoffer-box--glass .easyoffer-price {
    color: #1f2937;
}

.easyoffer-box--glass .easyoffer-request-form input {
    background: rgba(255, 255, 255, 0.72);
}

.easyoffer-box--neomorph {
    border: 0;
    background: #eef1f5;
    border-radius: 14px;
    box-shadow: 9px 9px 18px rgba(163, 177, 198, 0.45), -9px -9px 18px rgba(255, 255, 255, 0.95);
}

.easyoffer-box--neomorph img {
    border-radius: 10px;
}

.easyoffer-box--neomorph .easyoffer-content h3 {
    color: #1e293b;
}

.easyoffer-box--neomorph .easyoffer-price {
    color: #334155;
}

.easyoffer-box--neomorph .easyoffer-btn a,
.easyoffer-box--neomorph .easyoffer-btn button,
.easyoffer-box--neomorph .easyoffer-request-submit {
    box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.easyoffer-box--promo {
    border: 2px solid var(--easyoffer-primary, #d63638);
    background: #ffffff;
    box-shadow: none;
    border-radius: 12px;
}

.easyoffer-box--promo .easyoffer-content h3 {
    color: #333;
    font-weight: 600;
}

.easyoffer-box--promo .easyoffer-price {
    color: #555;
    font-weight: 400;
}

.easyoffer-box--promo .easyoffer-btn a,
.easyoffer-box--promo .easyoffer-btn button,
.easyoffer-box--promo .easyoffer-request-submit {
    box-shadow: none;
    font-weight: 500;
}

.easyoffer-box img {
    width: 236px;
    height: auto;
    border-radius: 6px;
    display: block;
}

.easyoffer-content {
    min-width: 0;
    width: 100%;
}

.easyoffer-content h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.easyoffer-box .easyoffer-content h3,
.easyoffer-box--modern .easyoffer-content h3,
.easyoffer-box--dark .easyoffer-content h3,
.easyoffer-box--classic .easyoffer-content h3,
.easyoffer-box--minimal .easyoffer-content h3,
.easyoffer-box--glass .easyoffer-content h3,
.easyoffer-box--neomorph .easyoffer-content h3,
.easyoffer-box--promo .easyoffer-content h3 {
    font-size: 20px !important;
}

.easyoffer-price {
    margin: 8px 0 15px;
    font-size: 17px;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    line-height: 1.3;
}

.easyoffer-price del {
    font-size: 0.9em;
    text-decoration-color: rgba(151, 138, 252, 0.62);
    opacity: 0.78;
}

.easyoffer-price del .amount,
.easyoffer-price del bdi {
    font-size: inherit;
}

.easyoffer-price ins {
    text-decoration: none !important;
    font-size: 1.16em;
    font-weight: 700;
}

.easyoffer-price ins .amount,
.easyoffer-price ins bdi {
    font-weight: 700;
}

.easyoffer-box--no-price .easyoffer-content h3 {
    margin-bottom: 15px;
}

.easyoffer-btn a,
.easyoffer-btn button,
.easyoffer-request-submit {
    background: var(--easyoffer-primary, #d63638);
    padding: 10px 18px;
    display: inline-block;
    color: var(--easyoffer-button-text, #ffffff);
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: 0.2s;
    border: 0;
    cursor: pointer;
}

.easyoffer-btn a,
.easyoffer-btn button,
.easyoffer-request-submit,
.easyoffer-request-toggle {
    color: var(--easyoffer-button-text, #ffffff) !important;
}

.easyoffer-btn a:hover,
.easyoffer-btn button:hover,
.easyoffer-request-submit:hover {
    background: var(--easyoffer-primary-hover, #b62e30);
}

.easyoffer-request-form {
    display: none;
    margin-top: 16px;
    gap: 10px;
}

.easyoffer-request-form.is-visible {
    display: grid;
}

.easyoffer-request-form input,
.easyoffer-request-form select,
.easyoffer-request-form textarea,
.easyoffer-request-form input[type="date"],
.easyoffer-request-form input[type="email"],
.easyoffer-request-form input[type="number"],
.easyoffer-request-form input[type="password"],
.easyoffer-request-form input[type="search"],
.easyoffer-request-form input[type="tel"],
.easyoffer-request-form input[type="text"],
.easyoffer-request-form input[type="url"] {
    width: 100%;
    padding: 11px 12px;
    box-sizing: border-box;
    transition: all .3s;
    background: #dedbff !important;
    border: unset !important;
    border-radius: 10px !important;
}

.easyoffer-request-form .easyoffer-request-submit {
    background-color: #1fbb9d !important;
    color: #fff !important;
    text-decoration: none;
    border-radius: 10px !important;
    border: none !important;
}

.easyoffer-request-notice {
    margin-top: 12px;
    font-size: 14px;
    color: #555;
}

.easyoffer-request-notice.is-success {
    color: #166534;
}

.easyoffer-request-notice.is-error {
    color: #b42318;
}

@media (max-width: 768px) {
    .easyoffer-grid,
    .easyoffer-grid-count-2,
    .easyoffer-grid-count-3,
    .easyoffer-grid-count-4 {
        grid-template-columns: 1fr;
    }

    .easyoffer-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px;
    }

    .easyoffer-box img {
        width: 100%;
        max-width: 220px;
    }

    .easyoffer-content {
        width: 100%;
    }

    .easyoffer-btn a,
    .easyoffer-btn button,
    .easyoffer-request-submit {
        width: 100%;
        text-align: center;
    }

    .easyoffer-grid-count-1 .easyoffer-box {
        align-items: stretch;
    }

    .easyoffer-grid-count-1 .easyoffer-box img {
        width: 100%;
        max-width: none;
        border-radius: 8px;
    }

    .easyoffer-grid-count-1 .easyoffer-content {
        text-align: center;
    }

    .easyoffer-grid-count-1 .easyoffer-btn {
        display: flex;
        justify-content: center;
    }
}

.easyoffer-button-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.vc_editor .easyoffer-btn a,
.vc_editor .easyoffer-btn button,
.vc_editor .easyoffer-request-submit,
.vc_editor .easyoffer-request-toggle,
.vc_editor .easyoffer-request-form input,
.vc_editor .easyoffer-request-form button {
    pointer-events: none !important;
}

.vc_editor .easyoffer-box * {
    user-select: none;
}

.vc_editor .wpb_easyoffer_vc,
.vc_editor .wpb_easyoffer {
    position: relative;
}

.vc_editor .wpb_easyoffer_vc > .vc_controls,
.vc_editor .wpb_easyoffer > .vc_controls {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1000;
}

.vc_editor .wpb_easyoffer_vc > .wpb_element_wrapper,
.vc_editor .wpb_easyoffer > .wpb_element_wrapper {
    min-height: 38px;
}

.easyoffer-button-content.is-style-text-only .easyoffer-button-icon,
.easyoffer-button-content.is-style-text-only .easyoffer-button-dashicon {
    display: none;
}

.easyoffer-button-content.is-style-icon-only .easyoffer-button-label {
    display: none;
}

.easyoffer-button-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 0;
    flex: 0 0 auto;
}

.easyoffer-button-content.is-icon-right .easyoffer-button-icon {
    order: 2;
}

.easyoffer-button-content.is-icon-right .easyoffer-button-label {
    order: 1;
}

.easyoffer-button-content.is-icon-left .easyoffer-button-icon {
    order: 1;
}

.easyoffer-button-content.is-icon-left .easyoffer-button-label {
    order: 2;
}

.easyoffer-button-dashicon {
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 1;
    flex: 0 0 auto;
}

.easyoffer-button-content.is-icon-right .easyoffer-button-dashicon {
    order: 2;
}

.easyoffer-button-content.is-icon-left .easyoffer-button-dashicon {
    order: 1;
}

[dir="rtl"] .easyoffer-button-content.is-icon-right .easyoffer-button-icon,
body.rtl .easyoffer-button-content.is-icon-right .easyoffer-button-icon {
    order: 1;
}

[dir="rtl"] .easyoffer-button-content.is-icon-right .easyoffer-button-label,
body.rtl .easyoffer-button-content.is-icon-right .easyoffer-button-label {
    order: 2;
}

[dir="rtl"] .easyoffer-button-content.is-icon-left .easyoffer-button-icon,
body.rtl .easyoffer-button-content.is-icon-left .easyoffer-button-icon {
    order: 2;
}

[dir="rtl"] .easyoffer-button-content.is-icon-left .easyoffer-button-label,
body.rtl .easyoffer-button-content.is-icon-left .easyoffer-button-label {
    order: 1;
}

[dir="rtl"] .easyoffer-button-content.is-icon-right .easyoffer-button-dashicon,
body.rtl .easyoffer-button-content.is-icon-right .easyoffer-button-dashicon {
    order: 1;
}

[dir="rtl"] .easyoffer-button-content.is-icon-left .easyoffer-button-dashicon,
body.rtl .easyoffer-button-content.is-icon-left .easyoffer-button-dashicon {
    order: 2;
}

@media (min-width: 769px) {
    .easyoffer-grid-count-1 .easyoffer-box,
    .easyoffer-festival .easyoffer-box {
        align-items: stretch;
    }

    .easyoffer-grid-count-1 .easyoffer-box > img,
    .easyoffer-festival .easyoffer-box > img {
        align-self: flex-start;
    }

    .easyoffer-grid-count-1 .easyoffer-content,
    .easyoffer-festival .easyoffer-content {
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    .easyoffer-grid-count-1 .easyoffer-btn,
    .easyoffer-festival .easyoffer-btn {
        margin-top: auto;
    }
}

/* ==========================================================================
   EasyOffer ACF fields (discount badge, discount tip, specs, gallery)
   ========================================================================== */
.easyoffer-box {
    position: relative;
}

.easyoffer-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--easyoffer-primary, #d63638);
    color: var(--easyoffer-button-text, #ffffff);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: none;
    white-space: nowrap;
}

.easyoffer-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    direction: ltr;
    gap: 6px;
    max-width: calc(100% - 24px);
}

.easyoffer-badges .easyoffer-discount-badge {
    position: static;
    direction: rtl !important;
}

.easyoffer-taxonomy-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
}

.easyoffer-taxonomy-badges--category {
    order: 2;
}

.easyoffer-taxonomy-badges--package {
    order: 3;
}

.easyoffer-taxonomy-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
    background: #ffffff;
    border: 1px solid var(--easyoffer-primary-border, #cfc8ff);
    color: var(--easyoffer-primary, #7563ff);
    direction: rtl;
    white-space: nowrap;
}

.easyoffer-taxonomy-badge--package {
    background: #efebff;
}

.easyoffer-discount-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 14px;
    color: #444;
}

.easyoffer-discount-tip__icon {
    width: 18px;
    height: 18px;
    line-height: 1;
    color: var(--easyoffer-primary, #d63638);
    flex: 0 0 auto;
}

.easyoffer-discount-tip__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.easyoffer-discount-tip__text {
    min-width: 0;
    font-weight: 600;
}

.easyoffer-specs {
    list-style: none;
    margin: 0 0 15px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    text-align: right;
}

.easyoffer-specs__item {
    position: relative;
    padding-inline-start: 18px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    text-align: right;
}

.easyoffer-specs__item::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--easyoffer-primary, #d63638);
}

button.easyoffer-gallery-toggle {
    background: var(--easyoffer-primary-soft, #fbe9e9);
    border: 1px solid var(--easyoffer-primary, #d63638);
    color: var(--easyoffer-primary, #d63638) !important;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

button.easyoffer-gallery-toggle {
    background-color: #dedaff;
    border: dashed 1px #978afc;
    color: #7563ff !important;
}

button.easyoffer-gallery-toggle:hover {
    background: var(--easyoffer-primary-border, #efc1c1);
    color: var(--easyoffer-primary-hover, #b62e30) !important;
}

button.easyoffer-gallery-toggle:active,
button.easyoffer-gallery-toggle:focus-visible {
    background: #dedaff;
    border: dashed 1px #978afc;
    color: #7563ff !important;
    outline: none;
}

.easyoffer-btn .easyoffer-gallery-toggle,
.easyoffer-btn .easyoffer-gallery-toggle:hover,
.easyoffer-btn .easyoffer-gallery-toggle:active,
.easyoffer-btn .easyoffer-gallery-toggle:focus,
.easyoffer-btn .easyoffer-gallery-toggle:focus-visible {
    background-color: #dedaff !important;
    border: dashed 1px #978afc !important;
    color: #7563ff !important;
}

.easyoffer-description-toggle {
    min-width: 130px;
}

.easyoffer-btn {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
}

.easyoffer-btn > a,
.easyoffer-btn > button,
.easyoffer-btn > .easyoffer-request-toggle,
.easyoffer-btn > .easyoffer-gallery-toggle {
    min-width: 0;
    flex: 1 1 0;
    text-align: center;
}

.easyoffer-btn > .easyoffer-gallery-toggle {
    order: 1;
}

.easyoffer-btn > a,
.easyoffer-btn > .easyoffer-request-toggle,
.easyoffer-btn > button:not(.easyoffer-gallery-toggle) {
    order: 2;
}

/* Gallery popup / lightbox */
.easyoffer-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 18, 24, 0.82);
}

.easyoffer-gallery-modal.is-open {
    display: flex;
}

.easyoffer-gallery-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #ffffff !important;
    border-radius: 12px;
    padding: 10px;
}

.easyoffer-gallery-modal__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    border-radius: 10px;
    overflow: hidden;
    min-height: 240px;
    max-height: 70vh;
}

.easyoffer-gallery-modal__image {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

button.easyoffer-gallery-modal__close,
button.easyoffer-gallery-modal__nav {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--easyoffer-primary, #9689fb) !important;
    border-radius: 50%;
    background: #ffffff !important;
    color: var(--easyoffer-primary, #9689fb) !important;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s;
}

button.easyoffer-gallery-modal__close:hover,
button.easyoffer-gallery-modal__nav:hover {
    background: var(--easyoffer-primary-soft, #fbe9e9);
    border-color: var(--easyoffer-primary, #9689fb) !important;
}

.easyoffer-gallery-modal__close {
    top: 10px;
    inset-inline-end: 10px;
}

.easyoffer-gallery-modal__nav {
    top: 50%;
    transform: translateY(-50%);
}

.easyoffer-gallery-modal__nav--prev {
    inset-inline-start: 12px;
}

.easyoffer-gallery-modal__nav--next {
    inset-inline-end: 12px;
}

.easyoffer-gallery-modal__nav[hidden] {
    display: none;
}

.easyoffer-gallery-modal__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    justify-content: center;
    background: #ffffff !important;
    border-radius: 10px;
}

button.easyoffer-gallery-modal__thumb {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    border: 2px solid var(--easyoffer-primary, #9689fb) !important;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff !important;
    padding: 0;
    opacity: 0.65;
    transition: 0.2s;
}

.easyoffer-gallery-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #ffffff !important;
}

.easyoffer-gallery-modal__thumb.is-active,
.easyoffer-gallery-modal__thumb:hover {
    opacity: 1;
    border-color: var(--easyoffer-primary, #9689fb) !important;
}

.easyoffer-gallery-lock {
    overflow: hidden;
}

/* Description popup */
.easyoffer-description-modal {
    position: fixed;
    inset: 0;
    z-index: 999998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 18, 24, 0.72);
}

.easyoffer-description-modal.is-open {
    display: flex;
}

.easyoffer-description-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 80vh;
    overflow: auto;
    background: #ffffff;
    border: 1px solid var(--easyoffer-primary-border, #cfc8ff);
    border-radius: 12px;
    padding: 18px;
}

.easyoffer-description-modal__close {
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--easyoffer-primary, #7563ff) !important;
    border-radius: 50%;
    background: #ffffff !important;
    color: var(--easyoffer-primary, #7563ff) !important;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

button.easyoffer-description-modal__close,
button.easyoffer-description-modal__close:hover,
button.easyoffer-description-modal__close:focus,
button.easyoffer-description-modal__close:focus-visible,
button.easyoffer-description-modal__close:active {
    border-color: var(--easyoffer-primary, #7563ff) !important;
    color: var(--easyoffer-primary, #7563ff) !important;
    background: #ffffff !important;
}

.easyoffer-description-modal__content {
    margin-top: 20px;
    color: #30323a;
    line-height: 1.9;
    font-size: 15px;
}

.easyoffer-description-modal__content p {
    margin: 0 0 10px;
}

@media (max-width: 768px) {
    .easyoffer-badges {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        direction: rtl;
        margin: 8px 0 10px;
    }

    .easyoffer-box .easyoffer-content .easyoffer-taxonomy-badges {
        display: inline-flex;
        flex-wrap: nowrap;
        justify-content: center;
        width: auto;
    }

    .easyoffer-taxonomy-badge {
        white-space: nowrap;
    }

    .easyoffer-taxonomy-badge--package {
        background: #efebff;
    }

    .easyoffer-specs {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .easyoffer-specs__item {
        text-align: right;
    }

    .easyoffer-box .easyoffer-content h3,
    .easyoffer-box.easyoffer-box--minimal .easyoffer-content h3 {
        font-size: 20px !important;
    }

    .easyoffer-price {
        align-items: center;
    }

    .easyoffer-btn {
        flex-direction: column;
        width: 100%;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .easyoffer-btn > .easyoffer-gallery-toggle {
        order: 1;
        width: 100%;
    }

    .easyoffer-btn > a,
    .easyoffer-btn > .easyoffer-request-toggle,
    .easyoffer-btn > button:not(.easyoffer-gallery-toggle) {
        order: 2;
        width: 100%;
    }

    .easyoffer-gallery-modal__close {
        top: 8px;
        inset-inline-end: 8px;
    }

    .easyoffer-description-modal__dialog {
        max-height: 85vh;
        padding: 14px;
    }
}

/* ==========================================================================
   EasyOffer Festival Page
   ========================================================================== */
.easyoffer-festival {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    overflow: visible;
    margin: 24px 0;
}

.easyoffer-festival__sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    border: 1px solid var(--easyoffer-primary-border, #d9d2ff);
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
    z-index: 40;
}

.easyoffer-festival__sidebar-scroll {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.easyoffer-festival__scroll-hint {
    display: none;
}

@media (min-width: 981px) {
    .easyoffer-festival {
        position: relative;
    }

    .easyoffer-festival__sidebar {
        position: fixed !important;
        top: auto !important;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: min(1200px, calc(100vw - 40px));
        max-width: calc(100vw - 40px);
        z-index: 1000;
    }

    .easyoffer-festival__sidebar-scroll {
        display: flex;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
    }

    .easyoffer-festival__main {
        margin-top: 0;
        padding-bottom: 120px;
    }

    .easyoffer-festival__quick-toggle,
    .easyoffer-festival__filter-group {
        position: relative;
        padding-inline-start: 12px;
        margin-inline-start: 2px;
    }

    .easyoffer-festival__quick-toggle::before,
    .easyoffer-festival__filter-group::before {
        content: "";
        position: absolute;
        inset-inline-start: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 24px;
        background: rgba(39, 42, 50, 0.18);
    }
}

.easyoffer-festival__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1f2430;
    white-space: nowrap;
}

.easyoffer-festival__filter-group {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.easyoffer-festival__filter-group h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #272a32;
    white-space: nowrap;
}

.easyoffer-festival__options {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.easyoffer-festival__check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.easyoffer-festival__check input {
    accent-color: var(--easyoffer-primary, #9689fb);
}

.easyoffer-festival__quick-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 400;
    color: #1f2430;
    white-space: nowrap;
}

.easyoffer-festival__quick-toggle input {
    accent-color: var(--easyoffer-primary, #7563ff);
}

.easyoffer-festival__clear {
    width: auto;
    cursor: pointer;
    margin-inline-start: auto;
}

/* Scoped button system for festival filters (prevents theme red styles) */
.easyoffer-festival__sidebar [type="button"],
.easyoffer-festival__sidebar [type="submit"],
.easyoffer-festival__sidebar button,
.easyoffer-festival__mobile-toggle,
.easyoffer-festival__sheet-close {
    background-color: transparent;
    border: 1px solid #978afc;
    border-radius: 3px;
    color: #978afc;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.2rem 1rem;
    text-align: center;
    transition: all .3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.easyoffer-festival__sidebar [type="button"]:hover,
.easyoffer-festival__sidebar [type="submit"]:hover,
.easyoffer-festival__sidebar button:hover,
.easyoffer-festival__mobile-toggle:hover,
.easyoffer-festival__sheet-close:hover,
.easyoffer-festival__sidebar [type="button"]:focus,
.easyoffer-festival__sidebar [type="submit"]:focus,
.easyoffer-festival__sidebar button:focus,
.easyoffer-festival__mobile-toggle:focus,
.easyoffer-festival__sheet-close:focus,
.easyoffer-festival__sidebar [type="button"]:focus-visible,
.easyoffer-festival__sidebar [type="submit"]:focus-visible,
.easyoffer-festival__sidebar button:focus-visible,
.easyoffer-festival__mobile-toggle:focus-visible,
.easyoffer-festival__sheet-close:focus-visible {
    background-color: #978afc !important;
    color: #fff !important;
    text-decoration: none;
    border-color: #978afc !important;
}

.easyoffer-festival__main {
    min-width: 0;
}

.easyoffer-festival__list {
    display: grid;
    gap: 10px;
}

.easyoffer-festival .easyoffer-box {
    margin: 0;
}

.easyoffer-festival__status {
    margin-top: 14px;
    text-align: center;
    color: #5f6470;
    min-height: 20px;
}

.easyoffer-festival__mobile-toggle {
    display: none !important;
}

.easyoffer-festival__sheet {
    display: none;
}

.easyoffer-festival.is-filters-open .easyoffer-festival__mobile-toggle {
    background-color: #978afc !important;
    color: #fff !important;
    border-color: #978afc !important;
}

@media (max-width: 980px) {
    .easyoffer-festival {
        grid-template-columns: 1fr;
    }

    .easyoffer-festival__sidebar {
        display: flex;
        position: fixed;
        top: auto;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        z-index: 1000;
        padding: 0;
        overflow: visible;
    }

    .easyoffer-festival__sidebar-scroll {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding: 12px 34px;
    }

    .easyoffer-festival__scroll-hint {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        border: 1px solid rgba(151, 138, 252, 0.35);
        background: rgba(255, 255, 255, 0.92);
        color: #7f73e8;
        font-size: 15px;
        line-height: 1;
        box-shadow: 0 2px 8px rgba(17, 24, 39, 0.12);
        pointer-events: none;
        z-index: 4;
    }

    .easyoffer-festival__scroll-hint--start {
        inset-inline-start: 8px;
    }

    .easyoffer-festival__scroll-hint--end {
        inset-inline-end: 8px;
    }

    .easyoffer-festival__title {
        display: block;
    }

    .easyoffer-festival__mobile-toggle {
        display: none !important;
    }

    .easyoffer-festival__sheet[hidden] {
        display: none;
    }

    .easyoffer-festival__sheet {
        display: none !important;
    }

    .easyoffer-festival__sheet-backdrop {
        display: none;
    }

    .easyoffer-festival__sheet-panel {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        max-height: none;
        overflow: auto;
        border-radius: 12px;
        background: #fff;
        padding: 12px;
        box-shadow: 0 6px 18px rgba(17, 24, 39, 0.12);
        border: 1px solid var(--easyoffer-primary-border, #d9d2ff);
    }

    .easyoffer-festival__sheet-close {
        position: absolute;
        top: 8px;
        inset-inline-end: 8px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        font-size: 20px;
        line-height: 1;
    }

    .easyoffer-festival__sheet-close:hover,
    .easyoffer-festival__sheet-close:focus {
        border-color: #978afc !important;
        color: #fff !important;
        background: #978afc !important;
    }

    .easyoffer-festival .easyoffer-box img {
        width: 100%;
        max-width: none;
        border-radius: 8px;
    }

    .easyoffer-festival .easyoffer-content {
        text-align: center;
    }

    .easyoffer-festival .easyoffer-btn {
        display: flex;
        justify-content: center;
    }

    .easyoffer-festival__main {
        padding-bottom: 130px;
    }

    .easyoffer-festival__quick-toggle,
    .easyoffer-festival__filter-group,
    .easyoffer-festival__options,
    .easyoffer-festival__check {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .easyoffer-festival__sheet-content .easyoffer-festival__sidebar {
        display: block;
        position: static;
        border: 0;
        box-shadow: none;
        padding: 8px 2px 18px;
    }

    .easyoffer-festival__sheet-content .easyoffer-festival__title {
        margin: 0 0 12px;
        white-space: normal;
    }

    .easyoffer-festival__sheet-content .easyoffer-festival__filter-group {
        display: block;
        margin-bottom: 14px;
    }

    .easyoffer-festival__sheet-content .easyoffer-festival__filter-group h4 {
        margin: 0 0 10px;
    }

    .easyoffer-festival__sheet-content .easyoffer-festival__options {
        display: grid;
    }

    .easyoffer-festival__sheet-content .easyoffer-festival__quick-toggle {
        display: flex;
        margin: 8px 0 14px;
    }

    .easyoffer-festival__sheet-content .easyoffer-festival__clear {
        width: 100%;
        margin-inline-start: 0;
    }

    .easyoffer-festival.is-filters-open .easyoffer-festival__mobile-toggle {
        display: inline-flex !important;
    }
}

/* Product title: same look on every site (matches the main site's Elementor kit h3). */
.easyoffer-box .easyoffer-content h3 {
    color: #46027a;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .easyoffer-box .easyoffer-content h3 {
        line-height: 1.7em;
    }
}
