.pezi-imported-legacy-content {
    width: min(920px, calc(100% - 32px));
    max-width: 920px !important;
    margin: 0 auto !important;
    padding: 62px 0 88px !important;
    color: var(--pezi-muted, #68625e);
    overflow-wrap: anywhere;
}

.pezi-imported-legacy-content,
.pezi-imported-legacy-content * {
    box-sizing: border-box;
    max-width: 100%;
}

.pezi-imported-legacy-content .elementor,
.pezi-imported-legacy-content .elementor-section,
.pezi-imported-legacy-content .elementor-container,
.pezi-imported-legacy-content .elementor-widget-wrap,
.pezi-imported-legacy-content .elementor-element,
.pezi-imported-legacy-content .elementor-widget-container,
.pezi-imported-legacy-content .e-con,
.pezi-imported-legacy-content .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.pezi-imported-legacy-content h2,
.pezi-imported-legacy-content h3 {
    color: var(--pezi-text, #151515) !important;
    text-align: left !important;
    text-transform: none !important;
    font-family: Manrope, Arial, sans-serif !important;
    line-height: 1.18 !important;
}

.pezi-imported-legacy-content h2 {
    margin: 38px 0 18px !important;
    font-size: clamp(24px, 4vw, 36px) !important;
}

.pezi-imported-legacy-content p,
.pezi-imported-legacy-content li {
    color: var(--pezi-muted, #68625e) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

.pezi-imported-legacy-content svg,
.pezi-imported-legacy-content .e-n-accordion-item-title-icon svg {
    display: block !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
}

.pezi-imported-legacy-content .e-n-accordion-item-title-icon,
.pezi-imported-legacy-content summary .e-n-accordion-item-title-icon,
.pezi-imported-legacy-content .e-opened,
.pezi-imported-legacy-content .e-closed,
.pezi-imported-legacy-content .elementor-accordion-icon,
.pezi-imported-legacy-content .elementor-toggle-icon,
.pezi-imported-legacy-content summary > svg,
.pezi-imported-legacy-content summary > i,
.pezi-imported-legacy-content summary > [class*="icon"] {
    display: none !important;
}

.pezi-imported-legacy-content .e-n-accordion-item-title,
.pezi-imported-legacy-content summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    min-height: 64px !important;
    padding: 18px 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--pezi-border, #ece7e3) !important;
    color: var(--pezi-text, #151515) !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    list-style: none !important;
}

.pezi-imported-legacy-content .e-n-accordion-item-title::before,
.pezi-imported-legacy-content summary::before {
    content: none !important;
    display: none !important;
}

.pezi-imported-legacy-content summary::-webkit-details-marker {
    display: none !important;
}

.pezi-imported-legacy-content summary::marker {
    content: "";
}

.pezi-imported-legacy-content .e-n-accordion-item-title::after,
.pezi-imported-legacy-content summary::after {
    content: "+" !important;
    display: inline-flex !important;
    flex: 0 0 28px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    color: var(--pezi-primary, #c45824) !important;
    font: 500 24px/1 Arial, sans-serif !important;
}

.pezi-imported-legacy-content details[open] > .e-n-accordion-item-title::after,
.pezi-imported-legacy-content details[open] > summary::after {
    content: "−" !important;
}

.pezi-native-faq h2 { margin-top: 48px !important; }
.pezi-native-faq h2:first-child { margin-top: 0 !important; }
.pezi-native-faq details { border-top: 1px solid var(--pezi-border, #ece7e3) !important; }
.pezi-native-faq details:last-child { border-bottom: 1px solid var(--pezi-border, #ece7e3) !important; }
.pezi-native-faq summary { cursor: pointer; list-style: none; }
.pezi-native-faq summary::-webkit-details-marker { display: none; }
.pezi-native-faq .pezi-faq-answer { max-width: 760px; padding: 0 0 24px; }

.pezi-imported-legacy-content .e-n-accordion-item > [role="region"] {
    width: 100% !important;
    padding: 0 0 24px !important;
}

@media (max-width: 767px) {
    body.pezi-legal .pezi-legal-hero {
        padding-top: 146px !important;
    }
    body.admin-bar.pezi-legal .pezi-legal-hero {
        padding-top: 184px !important;
    }
    .pezi-editable-legal-document {
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: anywhere;
    }
    .pezi-editable-legal-document table {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .pezi-imported-legacy-content {
        width: min(100% - 40px, 560px);
        padding: 42px 0 64px !important;
    }
    .pezi-imported-legacy-content .e-n-accordion-item-title,
    .pezi-imported-legacy-content summary {
        gap: 12px !important;
        font-size: 14px !important;
    }
    .pezi-imported-legacy-content p,
    .pezi-imported-legacy-content li {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
}

@media (max-width: 767px) {
    body.pezi-shop,
    body.pezi-shop .wrapper,
    body.pezi-shop .wrapper_inner,
    body.pezi-shop .content,
    body.pezi-shop .content_inner,
    body.pezi-shop .container,
    body.pezi-shop .container_inner,
    body.pezi-shop .full_width,
    body.pezi-shop .full_width_inner,
    body.pezi-shop #pezi-shop {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: clip !important;
    }
    body.pezi-shop .title_outer,
    body.pezi-shop .title,
    body.pezi-shop .breadcrumbs,
    body.pezi-shop .woocommerce-breadcrumb {
        display: none !important;
    }
    body.pezi-shop .pezi-shop-header {
        width: 100vw !important;
        max-width: none !important;
        min-height: 520px;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        overflow: hidden !important;
    }
    body.pezi-shop .pezi-shop-header__media,
    body.pezi-shop .pezi-shop-header__overlay {
        width: 100% !important;
        max-width: none !important;
        inset: 0 !important;
    }
    body.pezi-shop .pezi-shop-header__inner {
        width: min(100% - 40px, 560px) !important;
        min-height: 520px;
        padding-top: 142px !important;
        padding-bottom: 48px !important;
    }
    body.admin-bar.pezi-shop .pezi-shop-header__inner {
        padding-top: 180px !important;
    }
    body.pezi-shop .pezi-shop-header__content,
    body.pezi-shop .pezi-shop-header__content p,
    body.pezi-shop .pezi-shop-header__content h1 {
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: anywhere;
    }
    body.pezi-shop .pezi-shop-block,
    body.pezi-shop .pezi-shop-section,
    body.pezi-shop .pezi-shop-catalog,
    body.pezi-shop .pezi-shop-catalog > div {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    body.pezi-shop .pezi-shop-section .pezi-home-container,
    body.pezi-shop .pezi-reassurance .pezi-home-container {
        width: min(100% - 40px, 560px) !important;
        max-width: min(100% - 40px, 560px) !important;
    }
    body.pezi-shop .pezi-shop-catalog {
        grid-template-columns: minmax(0,1fr) !important;
        gap: 28px !important;
    }
    body.pezi-shop .pezi-shop-filters {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    body.pezi-shop .pezi-shop-count {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
    }
    body.pezi-shop .pezi-shop-products {
        grid-template-columns: minmax(0,1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    body.pezi-shop .pezi-reassurance {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }
}

.comment-form-pezi-photo {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}
.comment-form-pezi-photo label {
    color: var(--pezi-text, #151515);
    font-weight: 700;
}
.comment-form-pezi-photo input[type="file"] {
    width: 100%;
    min-height: 46px;
    padding: 8px;
    border: 1px solid var(--pezi-border, #ece7e3);
    border-radius: 8px;
    background: #fff;
}
.comment-form-pezi-photo input[type="hidden"] { display: none; }
.comment-form-pezi-photo small { color: var(--pezi-muted, #68625e); line-height: 1.5; }
.pezi-review-photo { width: min(100%, 420px); margin: 16px 0 0 !important; }
.pezi-review-photo a { display: block; border-radius: 10px; overflow: hidden; }
.pezi-review-photo img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: 420px;
    object-fit: cover;
}
@media (max-width: 767px) {
    .pezi-review-photo { width: min(100%, 320px); }
    .pezi-review-photo img { max-height: 320px; }
}
