﻿.flexslider-thumbnails { text-align: center; }
        .flexslider-thumbnails .flex-control-nav {
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
            gap: 10px;
            padding: 10px 0;
            white-space: nowrap;
            justify-content: center;
            scroll-behavior: smooth;
            scrollbar-width: thin;
        }

        .flexslider-thumbnails .flex-control-nav::-webkit-scrollbar { height: 6px; }
        .flexslider-thumbnails .flex-control-nav::-webkit-scrollbar-thumb { background: #999; border-radius: 2px; }
        .flexslider-thumbnails .flex-control-nav li { flex: 0 0 auto; width: 60px !important; height: 60px !important; overflow: hidden; }
        .flexslider-thumbnails .flex-control-nav img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .flexslider-thumbnails .slides > li,
        .flexslider-thumbnails .slides > li > a {
            display: block;
            max-height: 520px;
            overflow: hidden;
        }
        .flexslider-thumbnails .slides > li > img,
        .flexslider-thumbnails .slides > li > a > img {
            width: 100%;
            height: auto;
            max-height: none;
            object-fit: initial;
            display: block;
        }
        .shop-single-gallery,
        .shop-single-gallery .flexslider-thumbnails {
            border: 0 !important;
        }
        .flexslider-thumbnails {
            position: relative;
        }
        .flexslider-thumbnails .flex-viewport {
            position: relative;
            max-height: 520px;
            overflow: hidden;
        }
        .flexslider-thumbnails .flex-direction-nav {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 520px;
            pointer-events: none;
        }
        .flexslider-thumbnails .flex-direction-nav a {
            top: 50% !important;
            transform: translateY(-50%);
            margin-top: 0 !important;
            pointer-events: auto;
        }
        .discount-percentage { margin-left: .5rem; font-weight: 600; color: #11B76B; }

        .discover-owner-panel .col-3 {
            flex: 0 0 88px;
            width: 88px;
            max-width: 88px;
        }

        .discover-owner-panel .col-9 {
            flex: 1 1 0;
            width: auto;
            max-width: calc(100% - 88px);
        }

        .discover-owner-panel .ratio {
            width: 72px;
            max-width: 72px;
            margin: 0 auto;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 14px 30px rgba(15, 23, 42, .11);
            overflow: hidden;
        }

        .discover-owner-panel .ratio img {
            width: 72px;
            height: 72px;
            border: 1px solid #e5eee8;
            background: #fff;
        }

        .discover-owner-panel .ratio img.listing-owner-avatar {
            object-fit: cover;
        }

        .discover-owner-panel .ratio img.listing-owner-logo {
            padding: 7px;
            object-fit: contain;
        }

        .discover-owner-title {
            font-weight: 700;
            color: var(--color-dark);
        }

        .discover-owner-role {
            display: block;
            margin-bottom: 4px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
            color: #6b7280;
        }

        .discover-owner-subtitle {
            color: var(--body-text-color);
            font-size: 14px;
        }

        .discover-map-frame iframe,
        .discover-map-frame #listingApproxMap {
            width: 100%;
            height: 485px;
            border: 0;
            display: block;
        }

        .discover-map-frame #listingApproxMap {
            background: #eef2f7;
        }

        .discover-description-panel {
            border: 1px solid #d9e8df;
            border-radius: 10px;
            background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
            box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
            overflow: hidden;
        }

        .discover-description-panel .shop-single-desc {
            padding: 24px 28px 10px;
        }

        .discover-description-panel .shop-single-desc p {
            margin-bottom: 16px;
            color: #334155;
            font-size: 15px;
            line-height: 1.85;
        }

        .discover-description-panel .shop-single-desc p:last-child {
            margin-bottom: 0;
        }

        .listing-detail-description-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 14px;
            padding: 7px 12px;
            border-radius: 999px;
            background: rgba(17, 183, 107, .1);
            color: #0f766e;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
        }

        .shop-single-btn {
            display: flex;
            flex-wrap: wrap;
            gap: 0;
        }

        .shop-single-btn a {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            margin-right: 3px !important;
            margin-left: 0 !important;
            margin-bottom: 0 !important;
            padding-left: .5rem !important;
            padding-right: calc(.5rem + 5px) !important;
            transition: width .18s ease;
        }

        .shop-single-btn a .action-hover-text {
            display: inline-block;
            max-width: 0;
            white-space: nowrap;
            padding-left: 0;
            margin-left: 0;
            color: #fff;
            pointer-events: none;
            opacity: 0;
            overflow: hidden;
            transition: max-width .18s ease, opacity .12s ease, padding-left .18s ease, margin-left .18s ease;
        }

        .shop-single-btn a.action-hover-title:hover .action-hover-text {
            opacity: 1;
            max-width: 220px;
            padding-left: 10px;
            margin-left: 2px;
        }

        .shop-single-btn a .action-hover-text strong,
        .shop-single-btn a .action-hover-text small {
            display: block;
            color: #fff;
            line-height: 1.15;
        }

        .shop-single-btn a .action-hover-text strong {
            font-size: 12px;
            font-weight: 700;
            margin-bottom: 3px;
        }

        .shop-single-btn a .action-hover-text small {
            font-size: 10px;
            padding-top: 3px;
            border-top: 1px solid rgba(255,255,255,.35);
        }

        .shop-single-btn a:last-child {
            margin-right: 0 !important;
        }

        .shop-single-btn .detail-action-button {
            cursor: pointer;
        }

        .shop-single-btn .detail-action-button.is-active {
            background: #11b76b !important;
            border-color: #11b76b !important;
            box-shadow: 0 12px 25px rgba(17, 183, 107, 0.25);
        }

        .shop-single-btn .detail-action-button.is-active,
        .shop-single-btn .detail-action-button.is-active i,
        .shop-single-btn .detail-action-button.is-active strong,
        .shop-single-btn .detail-action-button.is-active small,
        .shop-single-btn .detail-action-button.is-active .action-hover-text,
        .shop-single-btn .detail-action-button.is-active .action-hover-text strong,
        .shop-single-btn .detail-action-button.is-active .action-hover-text small {
            color: #fff !important;
        }

        .shop-single-btn .detail-action-button.is-loading {
            opacity: .72;
            pointer-events: none;
        }

        .shop-single-btn .detail-action-button.is-disabled {
            opacity: .58;
        }

        .detail-action-feedback {
            display: none;
            margin-top: 12px;
            font-size: 13px;
            font-weight: 600;
        }

        .detail-action-feedback.is-visible {
            display: block;
        }

        .detail-action-feedback.is-error {
            color: #b91c1c;
        }

        .detail-action-feedback.is-success {
            color: #0f766e;
        }

        .detail-action-modal textarea {
            min-height: 130px;
        }

        .detail-action-modal .modal-footer {
            justify-content: space-between;
            gap: 10px;
        }

        .detail-action-modal .form-text {
            font-size: 12px;
        }

        .detail-action-state {
            margin-bottom: 16px;
            padding: 14px 16px;
            border: 1px solid #d8e3dc;
            border-radius: 10px;
            background: #f7fbf8;
        }

        .detail-action-state.is-blocked {
            border-color: #f0c36d;
            background: #fff7e8;
        }

        .detail-action-state.is-ready {
            border-color: #cfe6d7;
            background: #f4fbf6;
        }

        .detail-action-state-title {
            margin-bottom: 8px;
            font-size: 13px;
            font-weight: 700;
            color: #081828;
        }

        .detail-action-state-body {
            color: #4b5563;
            font-size: 13px;
            line-height: 1.6;
        }

        .detail-action-state-list {
            margin: 0;
            padding-left: 18px;
        }

        .detail-action-state-list li + li {
            margin-top: 4px;
        }

        .detail-action-state-note {
            margin-top: 8px;
            color: #4b5563;
            font-size: 12px;
        }

        .shop-single-action-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: nowrap;
        }

        .shop-single-action-main {
            flex: 1 1 auto;
            min-width: 0;
        }

        .shop-single-action-share {
            flex: 0 0 auto;
            width: auto;
            max-width: max-content;
        }

        .discover-placeholder-card {
            border: 1px solid #dbe4dc;
            border-radius: 10px;
            background: #fff;
            box-shadow: 0 16px 35px rgba(15, 23, 42, 0.05);
        }

        .discover-placeholder-title {
            font-size: 18px;
            font-weight: 700;
            color: #081828;
        }

        .product-item .product-img {
            height: 240px;
            overflow: hidden;
        }

        .product-item .product-img > a {
            display: block;
            width: 100%;
            height: 100%;
        }

        .product-item .product-img > a > img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .similar-listing-meta {
            margin-top: 8px;
            color: #6c757d;
            font-size: 13px;
            line-height: 1.5;
            min-height: 40px;
        }

        .listing-detail-similar-area {
            margin-top: 44px;
        }

        .similar-listings-shell {
            position: relative;
            min-height: 170px;
        }

        .similar-listings-shell .owl-nav,
        .similar-listings-shell .owl-nav.disabled {
            display: block !important;
        }

        .similar-listings-shell .owl-nav button {
            z-index: 3;
        }

        .similar-listings-loader {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            color: #4b5563;
            font-size: 16px;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.88);
            z-index: 5;
        }

        .similar-listings-loader.is-hidden {
            display: none;
        }

        #similarListingsContainer {
            opacity: 0;
            transition: opacity .18s ease;
        }

        #similarListingsContainer.is-ready {
            opacity: 1;
        }
        .discover-placeholder-card .d-flex.justify-content-between.align-items-center.flex-wrap.gap-2.mb-4 > span.small.text-muted {
            display: none;
        }
        .shop-sidebar .widget.category {
            border: 1px solid var(--border-info-color);
            border-radius: 10px;
            padding: 22px;
        }

        @media (max-width: 767.98px) {
            .shop-single-action-row {
                flex-wrap: wrap;
            }

            .shop-single-action-main,
            .shop-single-action-share {
                width: 100%;
                max-width: none;
            }

            .discover-owner-panel .col-3 {
                flex-basis: 78px;
                width: 78px;
                max-width: 78px;
            }

            .discover-owner-panel .col-9 {
                max-width: calc(100% - 78px);
            }

            .discover-owner-panel .ratio,
            .discover-owner-panel .ratio img {
                width: 64px;
                height: 64px;
            }
        }

.listing-detail-sortinfo-scroll {
    height: 351px;
    overflow-x: hidden;
    overflow-y: auto;
}

.listing-detail-field-item {
    margin-bottom: 5px !important;
}

.listing-detail-group-header {
    background-color: #081828;
}

.listing-detail-group-header-icon {
    color: #11B76B;
}

