.merchant-card-enhanced {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 260px;
    background-color: #f8f9fa;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    width: 100%;
}
.merchant-card-overlay {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px;
    height: 100%;
    min-height: 260px;
    gap: 20px;
}

.merchant-left-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 65%;
}

.merchant-logo-circle {
    width: 130px;
    height: 130px;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-right: -40px;
    flex-shrink: 0;
}

.merchant-logo-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.merchant-info-box {
    background: #fff;
    border-radius: 20px;
    padding: 15px 30px 15px 60px;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 100%;
}

.preferred-tag {
    color: #5bb264;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.merchant-info-box .merchant-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.merchant-info-box .verified-badge i {
    color: #4CAF50;
    font-size: 16px;
}

.merchant-sub-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-score {
    color: #f39c12;
    font-weight: 600;
}

.merchant-sub-meta .separator {
    color: #ccc;
    font-size: 14px;
    margin: 0 4px;
}

.merchant-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.merchant-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-design-view-shop {
    background: var(--theme-color);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-design-view-shop:hover { background: color-mix(in srgb, var(--theme-color) 70%, white 30%); }

.btn-design-follow {
    background: #fff;
    color: var(--theme-color2) !important;
    padding: 9px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid var(--theme-color2);
    transition: 0.2s;
}

.btn-design-follow:hover { background:color-mix(in srgb, var(--theme-color2) 70%, white 30%) ;color:color-mix(in srgb, var(--theme-color2) 10%, white 90%)!important; }

.btn-design-chat {
    color: var(--theme-color2);
    font-size: 20px;
    background: none;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    margin-left: 5px;
}

.btn-design-chat:hover { color: var(--theme-color2); }


.btn-design-chat-2 {
    background: var(--theme-color);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-design-chat-2:hover { background: color-mix(in srgb, var(--theme-color) 70%, white 30%); }

.merchant-stats-bubble {
    background: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.merchant-stats-bubble .divider {
    width: 1px;
    height: 40px;
    background: #eee;
    margin: 0 25px;
}

.merchant-stats-bubble .data-point {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.merchant-stats-bubble .data-value {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #4CAF50;
}

.merchant-stats-bubble .data-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 6px;
}

.merchant-stats-bubble .data-point.reversed { flex-direction: column; }
.merchant-stats-bubble .data-point.reversed .data-label { margin-top: 0; margin-bottom: 4px; color: #333; }
.merchant-stats-bubble .data-point.reversed .data-value { font-size: 14px; }


@media (max-width: 1200px) {
    .merchant-stats-bubble {
        padding: 15px 20px;
    }
    .merchant-stats-bubble .divider {
        margin: 0 15px;
    }
}

@media (max-width: 1024px) {
    .merchant-card-overlay {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
    }
    .merchant-left-wrapper {
        max-width: 100%;
        width: 100%;
    }
    .merchant-stats-bubble {
        width: 100%;
        justify-content: space-around;
    }
    .merchant-stats-bubble .divider {
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .merchant-card-overlay {
        padding: 20px;
    }
    .merchant-left-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .merchant-logo-circle {
        margin-right: 0;
        margin-bottom: -35px;
        width: 100px;
        height: 100px;
    }
    .merchant-info-box {
        padding: 45px 20px 20px 20px;
        text-align: center;
    }

    .preferred-tag,
    .merchant-info-box .merchant-title,
    .merchant-sub-meta,
    .merchant-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .merchant-stats-bubble {
        padding: 15px 10px;
        justify-content: space-around;
    }
    .merchant-stats-bubble .divider {
        margin: 0 5px;
    }
}

@media (max-width: 576px) {
    .merchant-stats-bubble {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 12px;
        padding: 15px 10px;
    }
    .merchant-stats-bubble .divider {
        display: none;
    }
    .merchant-stats-bubble .data-point {
        flex: 1 1 40%;
        min-width: 110px;
        text-align: center;
    }
}

#contact-section{
    border: 1px solid var(--border-info-color);
    background: transparent;
    background: var(--color-white);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
}
#contact-section #submit-contact-btn{
    position: relative;
    border: none;
    background: var(--theme-color);
    color: var(--color-white);
    border-radius: 10px;
    text-align: center;
    font-size: 13pt;
}/* Gallery main slide vertical centering */
.product-img-thumbnails .flex-viewport {
    border: 1px solid #eef2f6;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}
.product-img-thumbnails .slides li {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 450px !important;
    margin: 0 !important;
    padding: 12px;
    box-sizing: border-box;
    background: #ffffff;
}
.product-img-thumbnails .slides li img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: auto !important;
    display: block;
}
.product-img-thumbnails .slides li.video-slide .video-slide-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Compact min spend alert box */
.sc-detail-minspend-box {
    background: #fffbeb;
    border: 1px solid #fef08a;
    padding: 5px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.sc-detail-minspend-badge {
    background: #fef08a;
    color: #854d0e;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.2px;
}
.sc-detail-minspend-text {
    font-size: 11.5px;
    color: #713f12;
    line-height: 1.4;
}

.video-slide {
    position: relative;
}

.video-slide img {
    width: 100%;
    display: block;
}

.video-overlay i {
    font-size: 50px;
    color: #fff;
}
.video-slide-wrapper {
    position: relative;
}

.video-thumb-img {
    width: 100%;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.attr-btn {
    border-radius: 8px;
    padding: 8px 16px;
    min-width: 60px;
    transition: all 0.2s;
}
.attr-btn.active {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


.font-size-11 { font-size: 11px; }
.font-size-13 { font-size: 13px; }
.font-size-14 { font-size: 14px; }
.font-size-15 { font-size: 15px; }
.fw-bolder { font-weight: 800; }

.review-hover-card {
    transition: all 0.3s ease;
}
.review-hover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08)!important;
}

.review-img-box img {
    transition: transform 0.3s ease;
}
.review-img-box:hover img {
    transform: scale(1.1);
}

.shadow-inner {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

