/* M13: isolated APIS360 Single Listing presentation. */
body.apis360-single-listing-page {
    overflow-x: hidden;
    background: #f4f5f6;
    color: #1f2933;
    font-family: Arial, Helvetica, sans-serif;
}

body.apis360-single-listing-page > .page-wrapper > #header,
body.apis360-single-listing-page > .page-wrapper > .breadcrumb_wrapper,
body.apis360-single-listing-page > .page-wrapper > #footer,
body.apis360-single-listing-page .mobile-icon-bar,
body.apis360-single-listing-page #qlwapp,
body.apis360-single-listing-page .qlwapp,
body.apis360-single-listing-page #ht-ctc-chat,
body.apis360-single-listing-page .ht-ctc-chat,
body.apis360-single-listing-page .ht_ctc_chat,
body.apis360-single-listing-page #joinchat,
body.apis360-single-listing-page .joinchat,
body.apis360-single-listing-page #hubspot-messages-iframe-container,
body.apis360-single-listing-page [class*="merchantverse" i],
body.apis360-single-listing-page [id*="merchantverse" i] {
    display: none !important;
    visibility: hidden !important;
}

body.apis360-single-listing-page > .page-wrapper > #main,
body.apis360-single-listing-page > .page-wrapper > #main > .page-content,
body.apis360-single-listing-page > .page-wrapper > #main > .page-content > .container,
body.apis360-single-listing-page > .page-wrapper > #main > .page-content > .container > .main-content,
body.apis360-single-listing-page .directorist-single,
body.apis360-single-listing-page .directorist-single-contents-area {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.apis360-single-listing-page > .page-wrapper > #main {
    background: #f4f5f6;
}

.apis360-m13-single,
.apis360-m13-single * {
    box-sizing: border-box;
}

.apis360-m13-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0 56px;
}

.apis360-m13-header {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 18px;
    border: 1px solid #e3e6e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(26, 36, 47, .06);
}

.apis360-m13-brand,
.apis360-m13-brand:hover {
    display: inline-flex;
    min-width: 190px;
    flex-direction: column;
    color: #20272e;
    text-decoration: none;
}

.apis360-m13-brand-main {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.035em;
}

.apis360-m13-brand-main > span:first-child,
.apis360-m13-brand-main > span:last-child {
    color: #c46b23;
}

.apis360-m13-brand-sub {
    margin-top: 4px;
    color: #6b7580;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .025em;
}

.apis360-m13-account {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
}

.apis360-m13-account a,
.apis360-m13-account a:hover {
    color: #35404a;
    text-decoration: none;
}

.apis360-m13-add {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 8px;
    background: #c46b23;
    color: #fff !important;
}

.apis360-m13-account-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
}

.apis360-m13-account-link .directorist-icon-mask:after {
    background-color: #35404a;
}

.apis360-m13-logout,
.apis360-m13-portal {
    padding: 8px 4px;
}

.apis360-m13-context-slot {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: flex-end;
}

.apis360-m13-context-slot .apis360-global-context-wrap {
    width: 100%;
    margin: 8px 0 0;
}

.apis360-m13-utility-row {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 8px 0 18px;
}

.apis360-m13-back,
.apis360-m13-secondary-actions .directorist-btn,
.apis360-m13-secondary-actions .directorist-listing-single__quick-actions > * {
    min-height: 36px;
    border: 1px solid #dfe3e6 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #4c5864 !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.apis360-m13-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    text-decoration: none !important;
}

.apis360-m13-secondary-actions,
.apis360-m13-secondary-actions .directorist-listing-single__quick-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.apis360-m13-secondary-actions .directorist-listing-single__quick-actions {
    margin: 0;
}

.apis360-m13-secondary-actions .directorist-social-share {
    position: relative !important;
}

.apis360-m13-secondary-actions .directorist-social-share-links {
    position: absolute !important;
    z-index: 30;
    top: calc(100% + 7px);
    right: 0;
    display: none !important;
    width: max-content;
    min-width: 126px;
    margin: 0;
    padding: 7px;
    border: 1px solid #dfe3e6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(22, 33, 44, .14);
}

.apis360-m13-secondary-actions .directorist-social-share:hover > .directorist-social-share-links,
.apis360-m13-secondary-actions .directorist-social-share:focus-within > .directorist-social-share-links {
    display: block !important;
}

.apis360-m13-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(310px, 1fr);
    grid-template-rows: repeat(5, auto);
    gap: 22px 24px;
    align-items: start;
}

.apis360-m13-gallery {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e4e7;
    border-radius: 16px;
    background: #e9ecef;
    box-shadow: 0 5px 22px rgba(22, 33, 44, .07);
}

.apis360-m13-gallery #directorist-single-listing-slider-wrap,
.apis360-m13-gallery .directorist-single-listing-slider-wrap {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 0;
    border-radius: 15px;
    background: #e9ecef;
}

.apis360-m13-gallery .directorist-single-listing-slider,
.apis360-m13-gallery .directorist-swiper,
.apis360-m13-gallery .swiper-wrapper,
.apis360-m13-gallery .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.apis360-m13-gallery .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.apis360-m13-gallery .swiper-slide img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain;
}

.apis360-m13-summary {
    grid-column: 2;
    grid-row: 1 / span 5;
    width: 100%;
    min-width: 0;
    padding: 24px;
    border: 1px solid #e1e4e7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(22, 33, 44, .07);
}

.apis360-m13-category {
    margin-bottom: 10px;
    color: #68727e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.apis360-m13-category a,
.apis360-m13-category a:hover {
    color: #68727e;
    text-decoration: none;
}

.apis360-m13-title {
    margin: 0 0 14px !important;
    color: #1d2730;
    font-size: clamp(25px, 2.1vw, 34px) !important;
    font-weight: 800 !important;
    line-height: 1.13 !important;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.apis360-m13-price {
    margin: 0 0 14px;
    color: #20272e;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.15;
}

.apis360-m13-price .directorist-listing-price {
    color: inherit !important;
    font: inherit !important;
}

.apis360-m13-location {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0 0 20px;
    border-bottom: 1px solid #eceff1;
    color: #68727e;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

.apis360-m13-location > span {
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
}

.apis360-m13-location a,
.apis360-m13-location a:hover {
    color: inherit;
    text-decoration: none;
}

.apis360-m13-location .directorist-icon-mask {
    flex: 0 0 auto;
    margin-top: 2px;
}

.apis360-m13-location .directorist-icon-mask:after {
    background-color: #68727e;
}

.apis360-m13-seller {
    padding: 20px 0;
    border-bottom: 1px solid #eceff1;
}

.apis360-m13-seller h2 {
    margin: 0 0 12px !important;
    color: #5c6670;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.apis360-m13-seller-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.apis360-m13-seller-picture {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    margin: 0;
    overflow: hidden;
    border-radius: 50%;
    background: #eef0f2;
}

.apis360-m13-seller-avatar,
.apis360-m13-seller-picture img {
    display: block;
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
    border-radius: 50%;
    object-fit: cover;
}

.apis360-m13-seller-picture--business {
    padding: 4px;
    border: 1px solid #dfe3e6;
    border-radius: 10px;
    background: #fff;
}

.apis360-m13-seller-picture--business .apis360-m13-seller-avatar,
.apis360-m13-seller-picture--business img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 6px !important;
    background: #fff;
    object-fit: contain !important;
    object-position: center;
}

.apis360-m13-seller-avatar--fallback {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #e7efe9;
    color: #295d3d;
    font-size: 20px;
    font-weight: 800;
}

.apis360-m13-seller-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.apis360-m13-seller-copy strong {
    color: #20272e;
    font-size: 15px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.apis360-m13-seller-badge {
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: 999px;
    color: #fff;
    background: #7b5419;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.apis360-m13-seller-copy a {
    color: #9b541d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.apis360-m13-contact {
    padding-top: 20px;
}

.apis360-m13-contact-toggle,
.apis360-m13-contact-submit {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 0 !important;
    border-radius: 9px !important;
    background: #c46b23 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    letter-spacing: .02em;
    cursor: pointer;
}

.apis360-m13-contact-toggle .directorist-icon-mask:after {
    background-color: #fff;
}

.apis360-m13-contact-panel {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eceff1;
}

.apis360-m13-contact-panel[hidden] {
    display: none !important;
}

.apis360-m13-contact-panel .directorist-form-group {
    margin: 0 0 10px;
}

.apis360-m13-contact-panel .directorist-form-element {
    width: 100%;
    min-height: 43px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #d9dee2;
    border-radius: 8px;
    background: #fff;
    color: #26313a;
    font: 400 14px/1.4 Arial, Helvetica, sans-serif;
}

.apis360-m13-contact-panel textarea.directorist-form-element {
    min-height: 104px;
    resize: vertical;
}

.apis360-m13-contact-message-display:empty {
    display: none;
}

.apis360-m13-content-area {
    grid-column: 1;
    min-width: 0;
}

.apis360-m13-description { grid-row: 2; }
.apis360-m13-details { grid-row: 3; }
.apis360-m13-map { grid-row: 4; }
.apis360-m13-reviews { grid-row: 5; }

.apis360-m13-content-area .directorist-card {
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid #e1e4e7 !important;
    border-radius: 14px !important;
    background: #fff;
    box-shadow: 0 4px 18px rgba(22, 33, 44, .055) !important;
}

.apis360-m13-content-area .directorist-card + .directorist-card {
    margin-top: 18px !important;
}

.apis360-m13-content-area .directorist-card__header {
    min-height: 0 !important;
    padding: 18px 22px !important;
    border-bottom: 1px solid #eceff1 !important;
}

.apis360-m13-content-area .directorist-card__header__title,
.apis360-m13-content-area .directorist-card__header-text {
    margin: 0 !important;
    color: #26313a !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

.apis360-m13-content-area .directorist-card__body {
    padding: 20px 22px !important;
}

.apis360-m13-content-area .directorist-details-info-wrap,
.apis360-m13-content-area .directorist-details-info-wrap p {
    color: #43505a;
    font-size: 15px;
    line-height: 1.65;
}

.apis360-m13-map .directorist-map,
.apis360-m13-map .directorist-single-map,
.apis360-m13-map .directorist-map > div,
.apis360-m13-map .atbdp-map,
.apis360-m13-map .leaflet-container,
.apis360-m13-map iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 270px !important;
    min-height: 270px !important;
}

.apis360-m13-reviews {
    opacity: .96;
}

.apis360-m13-reviews .directorist-card__header__title,
.apis360-m13-reviews .directorist-card__header-text {
    font-size: 16px !important;
}

@media (max-width: 900px) {
    .apis360-m13-shell {
        width: min(100% - 20px, 1220px);
        padding-top: 10px;
        padding-bottom: 34px;
    }

    .apis360-m13-header {
        min-height: 60px;
        gap: 12px;
        padding: 10px 12px;
    }

    .apis360-m13-brand {
        min-width: 0;
    }

    .apis360-m13-brand-main {
        font-size: 19px;
    }

    .apis360-m13-brand-sub,
    .apis360-m13-logout,
    .apis360-m13-portal,
    .apis360-m13-account-link span {
        display: none;
    }

    .apis360-m13-add {
        min-height: 36px;
        padding: 0 10px;
        font-size: 11px;
    }

    .apis360-m13-account-link {
        width: 36px;
        height: 36px;
        min-height: 36px;
        justify-content: center;
        padding: 0;
        border: 1px solid #e0e4e7;
        border-radius: 8px;
    }

    .apis360-m13-context-slot {
        min-height: 52px;
    }

    .apis360-m13-utility-row {
        align-items: flex-start;
        gap: 8px;
        margin: 7px 0 14px;
    }

    .apis360-m13-back span {
        display: none;
    }

    .apis360-m13-back {
        width: 38px;
        min-width: 38px;
        justify-content: center;
        padding: 0;
    }

    .apis360-m13-secondary-actions {
        flex: 1;
    }

    .apis360-m13-secondary-actions .directorist-listing-single__quick-actions {
        justify-content: flex-end;
    }

    .apis360-m13-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 14px;
    }

    .apis360-m13-gallery,
    .apis360-m13-summary,
    .apis360-m13-content-area {
        grid-column: 1;
    }

    .apis360-m13-gallery { grid-row: 1; }
    .apis360-m13-summary { grid-row: 2; }
    .apis360-m13-description { grid-row: 3; }
    .apis360-m13-details { grid-row: 4; }
    .apis360-m13-map { grid-row: 5; }
    .apis360-m13-reviews { grid-row: 6; }

    .apis360-m13-summary {
        padding: 20px;
    }

    .apis360-m13-title {
        font-size: clamp(24px, 7vw, 31px) !important;
    }

    .apis360-m13-price {
        font-size: 25px;
    }

    .apis360-m13-map .directorist-map,
    .apis360-m13-map .directorist-single-map,
    .apis360-m13-map .directorist-map > div,
    .apis360-m13-map .atbdp-map,
    .apis360-m13-map .leaflet-container,
    .apis360-m13-map iframe {
        height: 240px !important;
        min-height: 240px !important;
    }
}

@media (max-width: 430px) {
    .apis360-m13-header {
        border-radius: 10px;
    }

    .apis360-m13-brand-main {
        font-size: 18px;
    }

    .apis360-m13-brand-sub {
        display: block;
        max-width: 135px;
        font-size: 8px;
    }

    .apis360-m13-add {
        max-width: 108px;
        padding: 0 8px;
        text-align: center;
    }

    .apis360-m13-utility-row {
        min-height: 42px;
    }

    .apis360-m13-secondary-actions .directorist-btn,
    .apis360-m13-secondary-actions .directorist-listing-single__quick-actions > * {
        min-height: 34px;
        font-size: 11px !important;
    }

    .apis360-m13-gallery,
    .apis360-m13-gallery #directorist-single-listing-slider-wrap,
    .apis360-m13-gallery .directorist-single-listing-slider-wrap,
    .apis360-m13-summary,
    .apis360-m13-content-area .directorist-card {
        border-radius: 12px !important;
    }

    .apis360-m13-summary {
        padding: 18px;
    }

    .apis360-m13-content-area .directorist-card__header,
    .apis360-m13-content-area .directorist-card__body {
        padding: 17px !important;
    }
}
