/* =========================================================
   BEROVIO — SINGLE LISTING
   ========================================================= */

/* Extend only the detail background and top banner to the viewport edges.
   Keep the gallery, seller card and all inner columns at their current width. */
.berovio-single-listing {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    padding: 0 0 90px;
    background: #f8fafc;
    color: #111111;
}

.berovio-single-listing::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 92px;
    background: #203a54;
}

.berovio-single-listing::after {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #0064f8 0 68%, #009468 68% 100%);
}

.berovio-single-listing *,
.berovio-single-listing *::before,
.berovio-single-listing *::after {
    box-sizing: border-box;
}

.berovio-single-listing-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.berovio-single-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
    color: #858b93;
    font-size: 12px;
}

.berovio-single-breadcrumbs a {
    color: #0064f8;
    font-weight: 700;
    text-decoration: none;
}

.berovio-single-breadcrumbs a:hover {
    text-decoration: underline;
}

.berovio-contact-notice {
    margin-bottom: 18px;
    padding: 13px 16px;
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.berovio-contact-notice.is-success {
    border-color: #b9dfc5;
    background: #f4fbf6;
    color: #216b36;
}

.berovio-contact-notice.is-error {
    border-color: #f0c5c5;
    background: #fff7f7;
    color: #a12a2a;
}

/* =========================================================
   TOP LAYOUT
   ========================================================= */

.berovio-single-top {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, .85fr);
    gap: 24px;
    align-items: start;
}

/* =========================================================
   GALLERY
   ========================================================= */

.berovio-single-gallery {
    min-width: 0;
}

.berovio-single-main-image {
    position: relative;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid #e1e5ea;
    border-radius: 16px;
    background: #eef1f4;
}

.berovio-gallery-main-button {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.berovio-gallery-main-button img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: contain;
    background: #f0f2f4;
}

.berovio-single-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 520px;
    color: #a0a6ad;
    font-size: 14px;
    font-weight: 600;
}

.berovio-single-no-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f7f9fc;
}

.berovio-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
    margin-top: 10px;
}

.berovio-gallery-thumb {
    height: 78px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 9px;
    background: #ffffff;
    cursor: pointer;
    opacity: .72;
    transition: border-color .18s ease, opacity .18s ease, transform .18s ease;
}

.berovio-gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.berovio-gallery-thumb.is-active {
    border-color: #0064f8;
    opacity: 1;
}

.berovio-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   SUMMARY
   ========================================================= */

.berovio-single-summary {
    position: sticky;
    top: 24px;
    padding: 26px;
    border: 1px solid #e1e5ea;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(0,0,0,.045);
}

.berovio-single-date {
    margin: -4px 0 10px;
    color: #858b93;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
}

.berovio-single-type {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    margin-bottom: 12px;
    padding: 5px 9px;
    border-radius: 7px;
    background: #f3f7ff;
    color: #0064f8;
    font-size: 11px;
    font-weight: 800;
}

.berovio-single-summary h1 {
    margin: 0 0 12px;
    color: #111111;
    font-size: 30px;
    line-height: 1.18;
    letter-spacing: -.55px;
    font-weight: 750;
}

.berovio-single-price {
    margin-bottom: 22px;
    color: #0064f8;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
}

.berovio-single-facts {
    display: grid;
    gap: 0;
    border-top: 1px solid #edf0f3;
    border-bottom: 1px solid #edf0f3;
}

.berovio-single-fact {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f3;
}

.berovio-single-fact:last-child {
    border-bottom: 0;
}

.berovio-single-fact span {
    color: #858b93;
    font-size: 12px;
}

.berovio-single-fact strong {
    color: #222222;
    font-size: 13px;
    text-align: right;
}

.berovio-single-vehicle,
.berovio-single-part {
    margin-top: 22px;
    padding: 17px;
    border: 1px solid #e7ebef;
    border-radius: 11px;
    background: #f8fafc;
}

.berovio-single-vehicle h2,
.berovio-single-part h2 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 750;
}

.berovio-single-vehicle-list,
.berovio-single-part-list {
    display: grid;
    gap: 9px;
}

.berovio-single-vehicle-list > div,
.berovio-single-part-list > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.berovio-single-vehicle-list span,
.berovio-single-part-list span {
    color: #858b93;
    font-size: 12px;
}

.berovio-single-vehicle-list strong,
.berovio-single-part-list strong {
    max-width: 65%;
    color: #222;
    font-size: 12px;
    text-align: right;
}

.berovio-single-contact {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #edf0f3;
}

.berovio-single-contact-person {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.berovio-single-contact-person span {
    color: #858b93;
    font-size: 12px;
}

.berovio-single-contact-person strong {
    font-size: 13px;
}

.berovio-single-phone,
.berovio-single-contact-button,
.berovio-single-contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.berovio-single-phone {
    margin-bottom: 9px;
    border: 1px solid #dfe4ea;
    background: #ffffff;
    color: #222222;
}

.berovio-single-phone:hover {
    border-color: #cbd3dc;
    background: #fafafa;
}

.berovio-single-phone span:first-child {
    margin-right: 8px;
    color: #0064f8;
}

.berovio-single-contact-button {
    padding: 0 15px;
    border: 1px solid #0064f8;
    background: #0064f8;
    color: #ffffff;
}

.berovio-single-contact-button:hover {
    border-color: #0058dc;
    background: #0058dc;
}

.berovio-contact-form-wrap {
    margin-top: 12px;
    padding: 15px;
    border: 1px solid #e4e8ed;
    border-radius: 10px;
    background: #f8fafc;
}

.berovio-contact-form {
    display: grid;
    gap: 12px;
    margin: 0;
}

.berovio-contact-field label {
    display: block;
    margin-bottom: 6px;
    color: #333333;
    font-size: 11px;
    font-weight: 700;
}

.berovio-contact-field input,
.berovio-contact-field textarea {
    display: block;
    width: 100%;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    background: #ffffff;
    color: #222222;
    font: inherit;
    font-size: 13px;
    outline: none;
}

.berovio-contact-field textarea {
    min-height: 105px;
    resize: vertical;
}

.berovio-contact-field input:focus,
.berovio-contact-field textarea:focus {
    border-color: #0064f8;
    box-shadow: 0 0 0 3px rgba(0,100,248,.08);
}

.berovio-single-contact-submit {
    min-height: 44px;
    padding: 0 15px;
    border: 0;
    background: #111111;
    color: #ffffff;
}

.berovio-single-contact-submit:hover {
    background: #000000;
}

.berovio-single-contact-submit.is-sent:disabled,
.berovio-single-contact-submit.is-sent:disabled:hover {
    width: 100%;
    background: #087e57;
    color: #ffffff;
    opacity: 1;
    cursor: default;
    pointer-events: none;
}

.berovio-contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* =========================================================
   DESCRIPTION / DETAILS
   ========================================================= */

.berovio-single-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr);
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.berovio-single-description,
.berovio-single-details-card {
    padding: 26px;
    border: 1px solid #e1e5ea;
    border-radius: 16px;
    background: #ffffff;
}

.berovio-single-section-heading {
    margin-bottom: 18px;
}

.berovio-single-section-heading > span {
    display: block;
    margin-bottom: 6px;
    color: #0064f8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.berovio-single-section-heading h2 {
    margin: 0;
    color: #111111;
    font-size: 20px;
    line-height: 1.25;
}

.berovio-single-description-content {
    color: #555d66;
    font-size: 14px;
    line-height: 1.75;
}

.berovio-single-description-content p {
    margin: 0 0 15px;
}

.berovio-single-description-content p:last-child {
    margin-bottom: 0;
}

.berovio-single-details-card dl {
    margin: 0;
}

.berovio-single-details-card dl > div {
    display: grid;
    grid-template-columns: 90px minmax(0,1fr);
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid #edf0f3;
}

.berovio-single-details-card dl > div:last-child {
    border-bottom: 0;
}

.berovio-single-details-card dt {
    color: #858b93;
    font-size: 12px;
}

.berovio-single-details-card dd {
    margin: 0;
    color: #222222;
    font-size: 12px;
    font-weight: 650;
    text-align: right;
}

/* =========================================================
   LIGHTBOX
   ========================================================= */

html.berovio-lightbox-open,
body.berovio-lightbox-open {
    overflow: hidden !important;
}

.berovio-gallery-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100dvh;
    padding: 0;
    margin: 0;
    background: rgba(5, 8, 13, .96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    isolation: isolate;
    overscroll-behavior: contain;
    touch-action: none;
}

.berovio-gallery-lightbox[hidden] {
    display: none !important;
}

.berovio-lightbox-stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100dvh;
    padding: 56px 90px;
    cursor: zoom-out;
    touch-action: pan-y;
}

.berovio-lightbox-stage img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(92vw, 1500px);
    max-height: 88dvh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
    user-select: none;
    -webkit-user-drag: none;
    cursor: default;
}

.berovio-lightbox-close,
.berovio-lightbox-nav {
    position: fixed;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.20);
    background: rgba(20,25,33,.72);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        background .18s ease,
        transform .18s ease,
        border-color .18s ease,
        opacity .18s ease;
    -webkit-tap-highlight-color: transparent;
}

.berovio-lightbox-close {
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
}

.berovio-lightbox-nav {
    top: 50%;
    width: 52px;
    height: 52px;
    padding: 0;
    margin-top: -26px;
    border-radius: 50%;
    font-size: 38px;
    line-height: 1;
}

.berovio-lightbox-nav.is-prev {
    left: 20px;
}

.berovio-lightbox-nav.is-next {
    right: 20px;
}

.berovio-lightbox-close:hover,
.berovio-lightbox-nav:hover {
    border-color: rgba(255,255,255,.38);
    background: rgba(45,52,63,.90);
}

.berovio-lightbox-close:hover {
    transform: scale(1.05);
}

.berovio-lightbox-nav:hover {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .berovio-gallery-lightbox {
        background: rgba(4,7,12,.98);
    }

    .berovio-lightbox-stage {
        width: 100vw;
        height: 100dvh;
        padding: 48px 18px 42px;
    }

    .berovio-lightbox-stage img {
        max-width: 94vw;
        max-height: 82dvh;
        border-radius: 7px;
    }

    .berovio-lightbox-close {
        top: max(10px, env(safe-area-inset-top));
        right: 10px;
        width: 42px;
        height: 42px;
        font-size: 27px;
    }

    .berovio-lightbox-nav {
        width: 42px;
        height: 42px;
        margin-top: -21px;
        font-size: 31px;
    }

    .berovio-lightbox-nav.is-prev {
        left: 8px;
    }

    .berovio-lightbox-nav.is-next {
        right: 8px;
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
    .berovio-single-top,
    .berovio-single-bottom {
        grid-template-columns: 1fr;
    }

    .berovio-single-summary {
        position: static;
    }

    .berovio-single-main-image,
    .berovio-gallery-main-button {
        min-height: 480px;
    }

    .berovio-gallery-main-button img {
        height: 480px;
    }
}

@media (max-width: 600px) {
    .berovio-single-listing {
        padding: 0 0 60px;
    }

    .berovio-single-listing::before {
        height: 70px;
    }

    .berovio-single-listing-container {
        padding: 0 15px;
    }

    .berovio-single-top {
        gap: 14px;
    }

    .berovio-single-main-image,
    .berovio-gallery-main-button {
        min-height: 300px;
    }

    .berovio-gallery-main-button img {
        height: 300px;
    }

    .berovio-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0,1fr));
        gap: 7px;
    }

    .berovio-gallery-thumb {
        height: 64px;
    }

    .berovio-single-summary,
    .berovio-single-description,
    .berovio-single-details-card {
        padding: 19px;
        border-radius: 13px;
    }

    .berovio-single-summary h1 {
        font-size: 24px;
    }

    .berovio-single-price {
        font-size: 25px;
    }

    .berovio-single-bottom {
        gap: 14px;
        margin-top: 14px;
    }

}


/* =========================================================
   BEROVIO — FINAL DETAIL LAYOUT OVERRIDES
   ========================================================= */

/* Type badge + date share one clean top row. */
.berovio-single-summary-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.berovio-single-summary-meta .berovio-single-type {
    margin-bottom: 0;
}

.berovio-single-summary-meta .berovio-single-date {
    margin: 0 0 0 auto;
    flex: 0 0 auto;
    color: #858b93;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
    text-align: right;
}

/* Listing number belongs to the upper facts block, not a second card. */
.berovio-single-listing-number {
    margin-top: 0;
}

/* When the contact form grows, only the right summary card scrolls. */
@media (min-width: 981px) {
    .berovio-single-summary {
        max-height: calc(100vh - 48px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #d7dce2 transparent;
        scroll-padding-bottom: 24px;
    }

    .berovio-single-summary::-webkit-scrollbar {
        width: 6px;
    }

    .berovio-single-summary::-webkit-scrollbar-track {
        background: transparent;
    }

    .berovio-single-summary::-webkit-scrollbar-thumb {
        background: #d7dce2;
        border-radius: 20px;
    }
}

/* =========================================================
   ACTIONS CARD — replaces the old "Prehľad" card
   ========================================================= */

.berovio-single-actions-card {
    padding: 18px;
    border: 1px solid #e1e5ea;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(0,0,0,.035);
}

.berovio-single-action-list {
    display: grid;
    gap: 8px;
}

.berovio-single-action-button {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr) 20px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 66px;
    padding: 10px 11px;
    border: 1px solid #e7ebef;
    border-radius: 11px;
    background: #ffffff;
    color: #111111;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.berovio-single-action-button:hover {
    border-color: #cfd8e2;
    background: #f8fbff;
    box-shadow: 0 5px 16px rgba(0,0,0,.045);
    transform: translateY(-1px);
}

.berovio-single-action-button:focus-visible,
.berovio-single-report-button:focus-visible {
    outline: none;
    border-color: #0064f8;
    box-shadow: 0 0 0 3px rgba(0,100,248,.10);
}

.berovio-single-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #f3f7ff;
    color: #0064f8;
    font-size: 18px;
    font-weight: 700;
}

.berovio-single-action-button > span:nth-child(2) {
    min-width: 0;
}

.berovio-single-action-button strong {
    display: block;
    margin-bottom: 2px;
    color: #17191c;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 750;
}

.berovio-single-action-button small {
    display: block;
    color: #858b93;
    font-size: 11px;
    line-height: 1.4;
}

.berovio-single-action-arrow {
    color: #9aa2ab;
    font-size: 22px;
    line-height: 1;
    text-align: center;
}

.berovio-single-report {
    margin-top: 28px;
    padding-top: 17px;
    border-top: 1px solid #edf0f3;
    text-align: center;
}

.berovio-single-report-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #8a9097;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: color .18s ease;
}

.berovio-single-report-button:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* =========================================================
   TRUE FULLSCREEN LIGHTBOX
   The JS moves the lightbox directly under <body>.
   ========================================================= */

.berovio-gallery-lightbox {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    z-index: 2147483647 !important;
}

.berovio-lightbox-stage {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 74px 92px !important;
    box-sizing: border-box !important;
}

.berovio-lightbox-stage img {
    max-width: calc(100vw - 184px) !important;
    max-height: calc(100dvh - 148px) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.berovio-lightbox-close {
    position: fixed !important;
    top: max(18px, env(safe-area-inset-top)) !important;
    right: max(18px, env(safe-area-inset-right)) !important;
    z-index: 2147483649 !important;
}

.berovio-lightbox-nav {
    position: fixed !important;
    z-index: 2147483649 !important;
}

@media (max-width: 980px) {
    .berovio-single-summary {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 600px) {
    .berovio-single-summary-meta {
        align-items: flex-start;
        gap: 10px;
    }

    .berovio-single-summary-meta .berovio-single-date {
        font-size: 10px;
        white-space: nowrap;
    }

    .berovio-single-actions-card {
        padding: 14px;
        border-radius: 13px;
    }

    .berovio-single-action-button {
        min-height: 62px;
        grid-template-columns: 36px minmax(0,1fr) 18px;
        gap: 10px;
        padding: 9px;
    }

    .berovio-single-action-icon {
        width: 36px;
        height: 36px;
    }

    .berovio-single-report {
        margin-top: 22px;
        padding-top: 15px;
    }

    .berovio-lightbox-stage {
        padding: 62px 16px 62px !important;
    }

    .berovio-lightbox-stage img {
        max-width: calc(100vw - 32px) !important;
        max-height: calc(100dvh - 124px) !important;
        border-radius: 8px;
    }

    .berovio-lightbox-close {
        top: max(10px, env(safe-area-inset-top)) !important;
        right: max(10px, env(safe-area-inset-right)) !important;
    }
}


/* =========================================================
   CONTACT / RIGHT COLUMN — FINAL LAYOUT FIX
   ========================================================= */

/*
 * The right column must never create a scrollable container of its own.
 * Contact form expansion is allowed to grow naturally inside the right
 * column, while the left description/media column remains untouched.
 */
.berovio-listing-single-layout,
.berovio-listing-single-main,
.berovio-listing-single-columns {
    align-items: start;
}

.berovio-listing-single-right,
.berovio-listing-single-sidebar,
.berovio-listing-single-side {
    align-self: start;
    min-height: 0;
    overflow: visible !important;
    max-height: none !important;
}

/*
 * Do not reserve artificial height/spacing for the contact form.
 * This prevents the description below the gallery from being pushed
 * down when the form opens.
 */
.berovio-contact-form,
.berovio-listing-contact-form,
.berovio-contact-panel {
    max-height: none !important;
    overflow: visible !important;
}

/*
 * The actions below the seller/contact section remain in normal flow
 * of the right column only.
 */
.berovio-listing-actions,
.berovio-listing-action-panel {
    margin-top: 18px;
}


/* =========================================================
   BEROVIO — FINAL COLUMN LAYOUT
   Gallery + description are one independent left column.
   Seller + actions are one independent right column.
   This prevents contact-form expansion from pushing the
   description down or creating an inner scrollbar.
   ========================================================= */

.berovio-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, .85fr);
    gap: 24px;
    align-items: start;
}

.berovio-single-left,
.berovio-single-right {
    min-width: 0;
    align-self: start;
}

.berovio-single-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.berovio-single-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Never turn the seller card into its own scroll area. */
.berovio-single-right .berovio-single-summary {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
    scrollbar-width: auto !important;
}

/* Contact expansion stays entirely inside the right column. */
.berovio-single-right .berovio-contact-form-wrap {
    max-height: none !important;
    overflow: visible !important;
}

/* The actions are naturally below the seller card. */
.berovio-single-right .berovio-single-actions-card {
    margin-top: 0;
}

/* Seller actions — fixed order: Topovať → Upraviť → Vymazať. */
.berovio-single-action-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.berovio-single-action-button[data-listing-action="top"] {
    order: 1 !important;
}

.berovio-single-action-button[data-listing-action="edit"] {
    order: 2 !important;
}

.berovio-single-action-button[data-listing-action="delete"] {
    order: 3 !important;
}

/* Keep the report visually separated and smaller. */
.berovio-single-report {
    margin-top: 28px;
}

/* Mobile: return to one natural vertical column. */
@media (max-width: 980px) {
    .berovio-single-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .berovio-single-left,
    .berovio-single-right {
        gap: 16px;
    }

    .berovio-single-right .berovio-single-summary {
        position: static !important;
    }
}


/* =========================================================
   SELLER PROFILE — STATUS / RATING / LISTINGS
   ========================================================= */

.berovio-single-seller-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.berovio-single-seller-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.berovio-seller-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 4px 8px;
    box-sizing: border-box;
    border: 1px solid #e3e8ee;
    border-radius: 999px;
    background: #f8fafc;
    color: #4d5661;
    font-size: 10px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: .1px;
}

.berovio-seller-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #0064f8;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.berovio-seller-badge.is-verified {
    border-color: #d7e6ff;
    background: #f3f7ff;
    color: #0058dc;
}

.berovio-seller-badge.is-pro {
    border-color: #dfe4ea;
    background: #111827;
    color: #ffffff;
    letter-spacing: .5px;
}

.berovio-seller-badge.is-partner {
    min-height: 32px;
    padding: 5px 11px;
    border-color: #b9e4d7;
    background: #eefaf7;
    color: #007b5d;
    font-size: var(--berovio-identity-badge-size, 13px);
}

.berovio-single-seller-meta {
    display: grid;
    gap: 9px;
    margin-top: 10px;
}

.berovio-single-seller-rating {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    width: fit-content;
    color: #626a73;
    font-size: 11px;
    line-height: 1.3;
    text-decoration: none;
}

.berovio-single-seller-rating:hover {
    color: #222222;
}

.berovio-single-seller-rating strong {
    color: #111111;
    font-size: 12px;
    font-weight: 750;
}

.berovio-single-seller-rating.is-empty {
    color: #858b93;
}

.berovio-seller-stars {
    color: #f2a900;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1;
}

.berovio-single-seller-listings {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    box-sizing: border-box;
    border: 1px solid #e6eaf0;
    border-radius: 9px;
    background: #f8fafc;
    color: #0064f8;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        transform .18s ease;
}

.berovio-single-seller-listings span:first-child {
    flex: 1;
    min-width: 0;
}

.berovio-single-seller-listings strong {
    color: #111111;
    font-size: 11px;
}

.berovio-single-seller-listings > span:last-child {
    flex: 0 0 auto;
    color: #9aa2ab;
    font-size: 18px;
    line-height: 1;
}

.berovio-single-seller-listings:hover {
    border-color: #cbd8e8;
    background: #f3f7ff;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .berovio-single-seller-badges {
        gap: 5px;
    }

    .berovio-seller-badge {
        font-size: 9px;
        min-height: 23px;
    }
}


/* =========================================================
   SELLER — FINAL VISUAL REFINEMENT
   ========================================================= */

.berovio-single-seller-head {
    display: block;
    margin-bottom: 0;
}

.berovio-single-seller-title {
    margin-bottom: 6px;
    color: #858b93;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
}

.berovio-single-seller-name {
    margin-bottom: 10px;
    color: #111111;
    font-size: var(--berovio-identity-single-name-size, 20px);
    line-height: 1.35;
}

.berovio-single-seller-name strong {
    font-weight: 750;
}

.berovio-single-seller-badges {
    margin-top: 0;
}

.berovio-single-seller-meta {
    gap: 11px;
    margin-top: 13px;
}

.berovio-single-seller-rating {
    font-size: var(--berovio-identity-single-review-size, 17px);
    gap: 8px;
}

.berovio-single-seller-rating strong {
    font-size: var(--berovio-identity-single-review-size, 17px);
}

.berovio-seller-stars {
    font-size: 17px;
    letter-spacing: 1.5px;
}

.berovio-single-seller-rating.is-empty {
    color: #0064f8;
    font-weight: 700;
}

.berovio-single-seller-rating.is-empty:hover {
    color: #0058dc;
}

.berovio-single-seller-listings {
    margin-top: 5px;
}

.berovio-single-phone {
    margin-top: 13px;
}

/* Destructive seller action */
.berovio-single-action-delete:hover,
.berovio-single-action-delete:focus-visible {
    border-color: #dc2626;
    background: #fef2f2;
    color: #b91c1c;
}
.berovio-single-action-delete:hover strong,
.berovio-single-action-delete:focus-visible strong {
    color: #b91c1c;
}


/* =========================================================
   RELATED LISTINGS — continue naturally below the description
   ========================================================= */
.berovio-related-listings {
    width: 100%;
    min-width: 0;
    margin-top: 0;
    padding-top: 30px;
    border-top: 1px solid #e6e9ed;
}

.berovio-related-listings-head {
    margin-bottom: 18px;
}

.berovio-related-listings-head h2 {
    margin: 0;
    color: #111;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -.3px;
}

.berovio-related-listings-groups {
    position: relative;
    min-width: 0;
}

.berovio-related-listings-group {
    display: none;
    min-width: 0;
}

.berovio-related-listings-group.is-active {
    display: block;
}

.berovio-related-listings-group.is-fading-out {
    animation: berovio-related-fade-out .75s ease-in-out both;
}

.berovio-related-listings-group.is-fading-in {
    animation: berovio-related-fade-in .75s ease-in-out both;
}

.berovio-related-listings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}

@keyframes berovio-related-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes berovio-related-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .berovio-related-listings-group.is-fading-out,
    .berovio-related-listings-group.is-fading-in {
        animation: none;
    }
}

/*
 * On desktop the recommendations stay in the left content column.
 * This removes the empty vertical area created by the taller seller
 * sidebar while keeping the existing card component unchanged.
 */
@media (max-width: 1050px) {
    .berovio-related-listings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/*
 * Responsive reading order for the existing one-column tablet layout.
 * Mobile gets a scan-first order in the dedicated <= 600 px override below.
 */
@media (max-width: 980px) {
    .berovio-single-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .berovio-single-left,
    .berovio-single-right {
        display: contents;
    }

    .berovio-single-gallery {
        order: 1;
    }

    .berovio-single-description {
        order: 2;
    }

    .berovio-single-right > .berovio-single-summary {
        order: 3;
    }

    .berovio-single-right > .berovio-single-demand-card {
        order: 4;
    }

    .berovio-single-right > .berovio-single-actions-card {
        order: 5;
    }

    .berovio-single-left > .berovio-related-listings {
        order: 6;
    }

    .berovio-related-listings {
        margin-top: 0;
        padding-top: 26px;
    }
}

@media (max-width: 560px) {
    .berovio-related-listings-head {
        margin-bottom: 14px;
    }

    .berovio-related-listings-head h2 {
        font-size: 21px;
    }

    .berovio-related-listings-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* =========================================================
   MOBILE — actions card must use the same full content width
   as the other detail cards.
   ========================================================= */
@media (max-width: 980px) {
    .berovio-single-actions-card {
        width: 100%;
        max-width: none;
        min-width: 0;
        box-sizing: border-box;
        align-self: stretch;
    }

    .berovio-single-actions-card .berovio-single-action-list,
    .berovio-single-actions-card .berovio-single-action-button {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .berovio-single-actions-card {
        margin-left: 0;
        margin-right: 0;
    }
}

/* =========================================================
   SELLER REVIEWS — rating interaction + responsive modal
   ========================================================= */

/* The existing seller rating becomes a real interactive control. */
.berovio-single-seller-rating {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

/* Reviews modal backdrop. */
.berovio-reviews-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483640;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: rgba(9, 14, 20, .54);
}

.berovio-reviews-modal[hidden] {
    display: none;
}

.berovio-reviews-modal-dialog {
    position: relative;
    width: min(680px, 100%);
    max-height: min(88vh, 820px);
    overflow-y: auto;
    padding: 28px;
    box-sizing: border-box;
    border: 1px solid #e1e5ea;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0,0,0,.18);
    scrollbar-width: thin;
    scrollbar-color: #d7dce2 transparent;
}

.berovio-reviews-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #e2e6eb;
    border-radius: 10px;
    background: #ffffff;
    color: #707781;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.berovio-reviews-modal-close:hover,
.berovio-reviews-modal-close:focus-visible {
    outline: none;
    border-color: #cbd6e2;
    background: #f7faff;
    color: #111111;
}

.berovio-reviews-modal-head {
    padding-right: 46px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf0f3;
}

.berovio-reviews-kicker {
    margin-bottom: 7px;
    color: #7d8792;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
}

.berovio-reviews-modal-head h2 {
    margin: 0;
    color: #111111;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -.25px;
}

.berovio-reviews-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    color: #69727d;
    font-size: 12px;
}

.berovio-reviews-summary-stars {
    color: #f2a900;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1;
}

.berovio-reviews-summary strong {
    color: #111111;
    font-size: 14px;
    font-weight: 800;
}

.berovio-reviews-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.berovio-reviews-loading,
.berovio-reviews-empty {
    display: grid;
    gap: 5px;
    padding: 22px 16px;
    border: 1px solid #edf0f3;
    border-radius: 12px;
    background: #fafbfc;
    color: #727a83;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.berovio-reviews-empty strong {
    color: #30363d;
    font-size: 13px;
}

.berovio-reviews-empty.is-error {
    border-color: #f0d2d2;
    background: #fff8f8;
    color: #9f3333;
}

.berovio-review-item {
    padding: 15px 16px;
    border: 1px solid #e8ebef;
    border-radius: 12px;
    background: #ffffff;
}

.berovio-review-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.berovio-review-item-author {
    min-width: 0;
    color: #111111;
    font-size: 13px;
    font-weight: 800;
}

.berovio-review-item-stars {
    flex: 0 0 auto;
    color: #f2a900;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}

.berovio-review-item p {
    margin: 8px 0 6px;
    color: #4f5862;
    font-size: 12px;
    line-height: 1.6;
}

.berovio-review-item time {
    color: #99a0a8;
    font-size: 10px;
}

.berovio-review-form-card {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #dbe8fb;
    border-radius: 14px;
    background: #f8fbff;
}

.berovio-review-form-card[hidden] {
    display: none;
}

.berovio-review-form-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.berovio-review-form-head h3 {
    margin: 0;
    color: #111111;
    font-size: 16px;
    line-height: 1.3;
}

.berovio-review-form-head p {
    max-width: 250px;
    margin: 0;
    color: #66717d;
    font-size: 10px;
    line-height: 1.5;
    text-align: right;
}

.berovio-review-form {
    display: grid;
    gap: 14px;
    margin-top: 17px;
}

.berovio-review-stars-field {
    display: grid;
    gap: 7px;
}

.berovio-review-field-label,
.berovio-review-field > span,
.berovio-review-field-grid label > span {
    color: #30363d;
    font-size: 11px;
    font-weight: 750;
}

.berovio-review-star-picker {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    width: fit-content;
}

.berovio-review-star {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #c8ced5;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}

.berovio-review-star:hover,
.berovio-review-star:focus-visible,
.berovio-review-star.is-hover,
.berovio-review-star.is-active {
    color: #f2a900;
}

.berovio-review-star:hover,
.berovio-review-star:focus-visible {
    transform: translateY(-1px);
}

.berovio-review-star:focus-visible {
    outline: 2px solid rgba(0,100,248,.25);
    outline-offset: 2px;
    border-radius: 6px;
}

.berovio-review-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.berovio-review-field-grid label,
.berovio-review-field {
    display: grid;
    gap: 6px;
}

.berovio-review-field-grid input,
.berovio-review-field textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 11px;
    box-sizing: border-box;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    background: #ffffff;
    color: #111111;
    font: inherit;
    font-size: 12px;
    outline: none;
}

.berovio-review-field textarea {
    min-height: 112px;
    resize: vertical;
    line-height: 1.5;
}

.berovio-review-field-grid input:focus,
.berovio-review-field textarea:focus {
    border-color: #8ab8ff;
    box-shadow: 0 0 0 3px rgba(0,100,248,.08);
}

.berovio-review-submit {
    min-height: 44px;
    padding: 0 15px;
    border: 0;
    border-radius: 9px;
    background: #0064f8;
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

.berovio-review-submit:hover {
    background: #0058dc;
    transform: translateY(-1px);
}

.berovio-review-submit:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.berovio-review-form-note {
    margin: 0;
    color: #77828e;
    font-size: 10px;
    line-height: 1.5;
}

.berovio-reviews-feedback {
    margin-top: 15px;
    padding: 13px 13px;
    border: 1px solid #dbe8fb;
    border-radius: 9px;
    background: #f8fbff;
    color: #4f6173;
    font-size: 13px;
    line-height: 1.55;
}

.berovio-reviews-feedback.is-success {
    border-color: #cde9df;
    background: #f4fbf8;
    color: #247358;
}

.berovio-reviews-feedback.is-error {
    border-color: #f0d0d0;
    background: #fff7f7;
    color: #a23939;
}

@media (max-width: 700px) {
    .berovio-reviews-modal {
        align-items: flex-end;
        padding: 0;
    }

    .berovio-reviews-modal-dialog {
        width: 100%;
        max-height: 92vh;
        padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -18px 50px rgba(0,0,0,.16);
    }

    .berovio-reviews-modal-close {
        top: 12px;
        right: 12px;
    }

    .berovio-reviews-modal-head {
        padding-right: 42px;
    }

    .berovio-reviews-modal-head h2 {
        font-size: 21px;
    }

    .berovio-review-form-head {
        display: grid;
        gap: 6px;
    }

    .berovio-review-form-head p {
        max-width: none;
        text-align: left;
    }

    .berovio-review-field-grid {
        grid-template-columns: 1fr;
    }

    .berovio-review-submit {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .berovio-reviews-modal-dialog {
        padding-left: 13px;
        padding-right: 13px;
    }

    .berovio-review-form-card {
        padding: 15px;
    }

    .berovio-review-item {
        padding: 13px 14px;
    }

    .berovio-review-star {
        width: 32px;
        height: 32px;
    }
}

/* =========================================================
   SELLER REVIEWS — final UX refinements
   ========================================================= */
.berovio-single-seller-rating.is-empty {
    font-size: 11px;
    font-weight: 700;
}

.berovio-single-seller-rating.is-empty .berovio-seller-stars {
    font-size: 17px;
}

.berovio-reviews-summary-stars {
    transition: color .15s ease;
}

.berovio-reviews-modal {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    max-width: none;
    max-height: none;
}

.berovio-reviews-modal[hidden] {
    display: none !important;
}

.berovio-reviews-modal-dialog {
    overflow-x: hidden;
}

@media (max-width: 700px) {
    .berovio-reviews-modal {
        width: 100vw;
        height: 100dvh;
        inset: 0;
    }
}

/* Seller rating CTA — slightly smaller label while keeping the star size. */
.berovio-single-seller-rating {
    font-size: 11px;
}

.berovio-single-seller-rating.is-empty > span:not(.berovio-seller-stars) {
    font-size: 11px;
}

/* Review form fields — keep name/e-mail labels and inputs aligned. */
.berovio-review-field-grid {
    align-items: start;
}

.berovio-review-field-grid label {
    align-content: start;
    margin: 0;
}

.berovio-review-field-grid label > span {
    display: block;
    min-height: 14px;
    margin: 0;
    line-height: 14px;
}

/* =========================================================
   WORDPRESS ADMIN — REVIEWS
   ========================================================= */
.berovio-reviews-admin .berovio-admin-stars {
    color: #f2a900;
    letter-spacing: 1px;
    white-space: nowrap;
}

.berovio-reviews-admin .berovio-admin-review-excerpt {
    max-width: 440px;
    color: #50575e;
    line-height: 1.45;
}

.berovio-review-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
    background: #f0f0f1;
}

.berovio-review-status.is-approved {
    background: #edfaef;
    color: #247a37;
}

.berovio-review-status.is-pending {
    background: #fff8e5;
    color: #8a5b00;
}

.berovio-review-status.is-rejected {
    background: #fff0f0;
    color: #a12626;
}

.berovio-review-edit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    max-width: 1180px;
    margin-top: 18px;
}

.berovio-review-edit-main {
    min-width: 0;
}

.berovio-review-edit-side {
    display: grid;
    align-content: start;
    gap: 16px;
}

.berovio-review-admin-card {
    padding: 16px;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
}

.berovio-review-admin-card h2 {
    margin: 0 0 12px;
    font-size: 14px;
}

.berovio-review-admin-card p {
    margin: 0 0 10px;
    line-height: 1.5;
}

.berovio-review-admin-card p:last-child {
    margin-bottom: 0;
}

.berovio-review-admin-card.is-danger {
    border-color: #e4c5c5;
}

@media (max-width: 900px) {
    .berovio-review-edit-grid {
        grid-template-columns: 1fr;
    }

    .berovio-reviews-table .column-text {
        width: 28%;
    }
}

@media (max-width: 700px) {
    .berovio-reviews-table .column-text,
    .berovio-reviews-table .column-date {
        display: none;
    }

    .berovio-reviews-table .column-reviewer {
        width: 30%;
    }

    .berovio-reviews-table .column-rating {
        width: 20%;
    }

    .berovio-reviews-table .column-status {
        width: 22%;
    }

    .berovio-reviews-admin .berovio-admin-review-excerpt {
        max-width: none;
    }
}

/* Seller review summary — keep stars, score and count on one baseline. */
.berovio-reviews-summary {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.berovio-reviews-summary-stars,
.berovio-reviews-summary strong,
.berovio-reviews-summary > span:last-child {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.berovio-reviews-summary-stars {
    flex: 0 0 auto;
}

.berovio-reviews-summary strong,
.berovio-reviews-summary > span:last-child {
    white-space: nowrap;
}

/* Seller replies on reviews. */
.berovio-review-reply-trigger {
    display: block;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0064f8;
    font: inherit;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
}
.berovio-review-item > time {
    display: block;
    margin-top: 5px;
}

.berovio-review-reply-trigger:hover,
.berovio-review-reply-trigger:focus-visible {
    color: #0058dc;
    text-decoration: underline;
    outline: none;
}
.berovio-review-seller-reply {
    margin-top: 13px;
    padding: 11px 12px;
    border-left: 3px solid #009668;
    border-radius: 0 9px 9px 0;
    background: #f4fbf8;
}
.berovio-review-seller-reply-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #1d5d49;
    font-size: 11px;
}
.berovio-review-seller-reply-head time {
    color: #7d948a;
    font-size: 9px;
}
.berovio-review-seller-reply p {
    margin: 6px 0 0;
    color: #42534c;
}
.berovio-review-reply-panel {
    display: grid;
    gap: 9px;
    margin-top: 11px;
    padding: 12px;
    border: 1px solid #dbe8fb;
    border-radius: 10px;
    background: #f8fbff;
}
.berovio-review-reply-panel[hidden] { display: none; }
.berovio-review-reply-owner-note {
    color: #5e6a75;
    font-size: 10px;
    line-height: 1.45;
}
.berovio-review-reply-panel label {
    display: grid;
    gap: 5px;
}
.berovio-review-reply-panel label > span {
    color: #30363d;
    font-size: 10px;
    font-weight: 750;
}
.berovio-review-reply-panel input,
.berovio-review-reply-panel textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 11px;
}
.berovio-review-reply-panel textarea {
    min-height: 90px;
    resize: vertical;
    line-height: 1.5;
}
.berovio-review-reply-panel input:focus,
.berovio-review-reply-panel textarea:focus {
    outline: none;
    border-color: #8ab8ff;
    box-shadow: 0 0 0 3px rgba(0,100,248,.08);
}
.berovio-review-reply-submit {
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: #0064f8;
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}
.berovio-review-reply-submit:disabled { opacity: .65; cursor: wait; }
.berovio-review-reply-message {
    padding: 8px 9px;
    border-radius: 7px;
    font-size: 10px;
    line-height: 1.45;
}
.berovio-review-reply-message.is-success {
    border: 1px solid #cde9df;
    background: #f4fbf8;
    color: #247358;
}
.berovio-review-reply-message.is-error {
    border: 1px solid #efd0d0;
    background: #fff7f7;
    color: #a23939;
}
@media (max-width: 560px) {
    .berovio-review-seller-reply-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }
    .berovio-review-reply-panel { padding: 11px; }
    .berovio-review-reply-submit { width: 100%; }
}


/* =========================================================
 * LISTING REPORT MODAL
 * ========================================================= */
body.berovio-report-modal-open {
    overflow: hidden;
}

.berovio-report-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100dvh;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 24px;
    background: rgba(10, 22, 34, 0.68);
}

.berovio-report-modal[hidden] {
    display: none;
}

.berovio-report-modal-dialog {
    position: relative;
    width: min(100%, 540px);
    max-height: min(90vh, 760px);
    overflow-y: auto;
    padding: 30px;
    border: 1px solid #e5eaf0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(10, 22, 34, 0.22);
}

.berovio-report-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #f3f6f9;
    color: #273342;
    font-family: Arial, sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
}

.berovio-report-modal-close:hover {
    background: #e9eef4;
}

.berovio-report-kicker {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    color: #4d6b83;
}

.berovio-report-modal-dialog h2 {
    margin: 0 45px 8px 0;
    font-size: 24px;
    line-height: 1.2;
    color: #172431;
}

.berovio-report-intro {
    margin: 0 0 20px;
    color: #687786;
    line-height: 1.55;
}

.berovio-report-reasons {
    display: grid;
    gap: 8px;
}

.berovio-report-reason {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid #e3e9ef;
    border-radius: 11px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.berovio-report-reason:hover {
    border-color: #b9ccdc;
    background: #f8fbfd;
}

.berovio-report-reason input {
    margin: 0;
}

.berovio-report-field {
    display: block;
    margin-top: 17px;
}

.berovio-report-field > span {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #263646;
}

.berovio-report-field small {
    font-weight: 500;
    color: #80909d;
}

.berovio-report-field textarea,
.berovio-report-field input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d8e0e7;
    border-radius: 11px;
    padding: 12px 13px;
    font: inherit;
    color: #1d2a36;
    background: #fff;
}

.berovio-report-field textarea:focus,
.berovio-report-field input[type="email"]:focus {
    outline: none;
    border-color: #799ab5;
    box-shadow: 0 0 0 3px rgba(70, 116, 150, .11);
}

.berovio-report-feedback {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.berovio-report-feedback.is-success {
    border: 1px solid #b9dfd2;
    background: #f0faf6;
    color: #176e54;
}

.berovio-report-feedback.is-error {
    border: 1px solid #e8c5c5;
    background: #fff5f5;
    color: #9a3131;
}

.berovio-report-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
}

.berovio-report-submit {
    border-radius: 10px;
    padding: 11px 16px;
    border: 1px solid #1c6ca1;
    background: #1c6ca1;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.berovio-report-submit:disabled {
    opacity: .55;
    cursor: default;
}

@media (max-width: 640px) {
    .berovio-report-modal {
        padding: 12px;
    }

    .berovio-report-modal-dialog {
        width: 100%;
        max-height: calc(100dvh - 24px);
        padding: 24px 18px 18px;
        border-radius: 18px;
    }

    .berovio-report-actions {
        position: static;
        padding-top: 0;
        background: transparent;
    }

    .berovio-report-submit {
        width: 100%;
    }
}





/* =========================================================
   VEHICLE COMPATIBILITY
   ========================================================= */

.berovio-single-vehicle-subtitle {
    margin: 0 0 10px;
    color: #4f5761;
    font-size: 12px;
    font-weight: 750;
}

.berovio-single-compatible {
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid #e2e7ec;
}

.berovio-single-compatible-note {
    margin: -4px 0 10px;
    color: #8a9199;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
}

.berovio-single-compatible-list {
    display: grid;
    gap: 8px;
}

.berovio-single-compatible-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 10px;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    background: #fff;
}

.berovio-single-compatible-item strong {
    min-width: 0;
    color: #222;
    font-size: 12px;
    line-height: 1.4;
}

.berovio-single-compatible-item span {
    flex: 0 0 auto;
    color: #7b838c;
    font-size: 11px;
    line-height: 1.4;
    text-align: right;
}

@media (max-width: 520px) {
    .berovio-single-compatible-item {
        display: block;
    }

    .berovio-single-compatible-item span {
        display: block;
        margin-top: 3px;
        text-align: left;
    }
}

.berovio-single-compatible-item[hidden] {
    display: none !important;
}

.berovio-single-compatible-toggle {
    min-height: 44px;
    max-width: 100%;
    margin-top: 4px;
    padding: 10px 4px;
    color: #4f5761;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
}

.berovio-single-compatible-toggle:hover {
    color: #1c6ca1;
}

.berovio-single-top-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 0 9px;
    box-sizing: border-box;
    border: 1px solid #e4b84e;
    border-radius: 8px;
    background: #fff3cf;
    color: #765000;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .45px;
    white-space: nowrap;
}

.berovio-single-top-badge > span {
    display: inline-block;
    transform: translate(0px, 1px);
}

@media (max-width: 600px) {
    .berovio-single-summary-meta {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .berovio-single-seller-name,
    .berovio-single-seller-badges,
    .berovio-single-seller-rating {max-width:100%}
    .berovio-seller-badge.is-partner {white-space:normal;overflow-wrap:anywhere}
}
/* =========================================================
   MOBILE DETAIL — compact, scan-first refinement
   Responsive only. Desktop is intentionally untouched.
   ========================================================= */
@media (max-width: 600px) {
    .berovio-single-gallery {
        order: 1;
    }

    .berovio-single-right > .berovio-single-summary {
        order: 2;
    }

    .berovio-single-description {
        order: 3;
    }

    .berovio-single-right > .berovio-single-demand-card {
        order: 4;
    }

    .berovio-single-right > .berovio-single-actions-card {
        order: 5;
    }

    .berovio-single-left > .berovio-related-listings {
        order: 6;
    }

    .berovio-single-gallery,
    .berovio-single-right > .berovio-single-summary,
    .berovio-single-description,
    .berovio-single-right > .berovio-single-demand-card,
    .berovio-single-right > .berovio-single-actions-card,
    .berovio-single-left > .berovio-related-listings {
        width: 100%;
        max-width: none;
        min-width: 0;
        box-sizing: border-box;
        align-self: stretch;
    }

    .berovio-single-description-content {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .berovio-single-summary {
        padding: 18px;
    }

    .berovio-single-summary h1 {
        margin-bottom: 9px;
        font-size: 23px;
        line-height: 1.2;
    }

    .berovio-single-price {
        margin-bottom: 16px;
    }

    .berovio-single-fact {
        padding: 10px 0;
    }

    .berovio-single-vehicle,
    .berovio-single-part {
        margin-top: 17px;
        padding: 14px;
    }

    .berovio-single-contact {
        margin-top: 17px;
        padding-top: 16px;
    }

    .berovio-single-seller-name {
        margin-bottom: 8px;
    }

    .berovio-single-seller-meta {
        gap: 9px;
        margin-top: 10px;
    }

    .berovio-single-seller-listings {
        margin-top: 2px;
    }

    .berovio-single-phone {
        margin-top: 10px;
    }

    .berovio-single-description {
        width: 100%;
        max-width: none;
        min-width: 0;
        align-self: stretch;
        box-sizing: border-box;
    }
}


/* Contact success confirmation */
.berovio-contact-notice.is-success.is-toast {
    box-sizing: border-box;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 13px;
    width: min(430px, calc(100vw - 48px));
    margin: 0;
    padding: 15px 16px;
    border: 1px solid #b9dfc5;
    border-radius: 14px;
    background: #ffffff;
    color: #173c24;
    box-shadow: 0 18px 48px rgba(23, 45, 32, .18);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    animation: berovio-contact-toast-in .22s ease-out both;
}

.berovio-contact-notice-icon {
    display: inline-flex;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e9f8ef;
    color: #009468;
    font-size: 20px;
    font-weight: 800;
}

.berovio-contact-notice-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.berovio-contact-notice-copy strong {
    color: #16221a;
    font-size: 15px;
    font-weight: 800;
}

.berovio-contact-notice-copy > span {
    color: #526159;
    font-size: 13px;
    font-weight: 500;
}

.berovio-contact-notice-close {
    display: inline-flex;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #6b756f;
    font: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.berovio-contact-notice-close:hover,
.berovio-contact-notice-close:focus-visible {
    background: #f0f5f2;
    color: #202a24;
    outline: none;
}

.berovio-contact-notice.is-toast.is-leaving {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

@keyframes berovio-contact-toast-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .berovio-contact-notice.is-success.is-toast {
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        width: calc(100vw - 24px);
        padding: 14px;
        border-radius: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .berovio-contact-notice.is-success.is-toast {
        animation: none;
    }
}


/* The viewport-wide dark banner is drawn by the parent section.
   This inner row only positions the breadcrumbs within the 1240px content. */
.berovio-single-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92px;
    margin-bottom: 24px;
    padding: 0;
    background: transparent;
}

.berovio-single-banner .berovio-single-breadcrumbs {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #aebdca;
}

.berovio-single-banner .berovio-single-breadcrumbs a {
    color: #ffffff;
}

.berovio-single-banner .berovio-single-breadcrumbs a:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    .berovio-single-banner {
        min-height: 70px;
        margin-bottom: 16px;
        padding: 0;
    }

    .berovio-single-banner .berovio-single-breadcrumbs {
        font-size: 11px;
    }
}
