.depots-wrap, .depots-wrap *{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
button.devvn-check-showroom {
    background: #6c6d70;
    color: #fff;
    width: 100%;
    display: block;
    margin: 0 0 10px;
    text-align: center;
    text-transform: uppercase;
    padding: 15px 10px;
    line-height: 1;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    text-decoration: none;
    clear: both;
    cursor: pointer;
    border: 0;
}
.depots-wrap.is_variation{
    display: none;
}
.depots-wrap {
    margin-bottom: 20px;
}
.depots-wrap:after {
    content: "";
    display: table;
    clear: both;
}
.nhanhvn-loading {
    position: relative;
    opacity: .5;
    pointer-events: none
}

.nhanhvn-loading:after {
    -webkit-animation: devvn_spin 500ms infinite linear;
    animation: devvn_spin 500ms infinite linear;
    border: 2px solid #fff;
    border-radius: 32px;
    border-right-color: transparent!important;
    border-top-color: transparent!important;
    content: "";
    display: block;
    height: 16px;
    top: 50%;
    margin-top: -8px;
    left: 50%;
    margin-left: -8px;
    position: absolute;
    width: 16px;
    border: 2px solid #c29a44
}

@-webkit-keyframes devvn_spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes devvn_spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

.depots-list {
    border: 1px #ccc solid;
    border-radius: 3px;
    margin: 0 0 15px;
    list-style: none;
    padding: 0;
    display: none;
}
.depots-list .depot-item {
    padding: 5px 10px;
    margin: 0!important;
}
.depots-list .depot-item ~ .depot-item{
    border-top: 1px #ccc dashed;
}

/* Showroom Modal */
.nhanhvn-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.nhanhvn-modal {
    background: #fff;
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    overflow: hidden;
}
.nhanhvn-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
}
.nhanhvn-modal-header h3 {
    margin: 0;
    font-size: 18px;
}
.nhanhvn-modal-close {
    background: transparent;
    border: 0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin: 0;
    min-height: auto;
}
.nhanhvn-modal-body {
    padding: 16px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

@media (max-width: 600px) {
    .nhanhvn-showroom-list {
        grid-template-columns: 1fr;
    }
}
/* Card style for each depot */
.nhanhvn-showroom-list .depot-item {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    margin: 0 !important;
}
.nhanhvn-showroom-list .depot-item h4,
.nhanhvn-showroom-list .depot-item .title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
}
.nhanhvn-showroom-list .depot-item .meta,
.nhanhvn-showroom-list .depot-item p {
    margin: 0 0 4px;
    font-size: 13px;
    color: #555;
}
.nhanhvn-showroom-list .depot-item .stock-ok {
    display: inline-block;
    background: #e7f8ee;
    color: #1a7f37;
    border: 1px solid #c7efd9;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* New structured showroom cards */
.nhanhvn-showroom-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 12px;
}
@media (max-width: 600px) {
    .nhanhvn-showroom-cards {
        grid-template-columns: 1fr;
    }
}
.nhanhvn-depot-card {
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
    overflow: hidden;
}
.nhanhvn-depot-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f1f1;
}
.nhanhvn-depot-name {
    font-weight: 600;
    font-size: 15px;
}
.nhanhvn-depot-stock .stock-ok {
    background: #e7f8ee;
    color: #1a7f37;
    border: 1px solid #c7efd9;
    padding: 5px;
}
.nhanhvn-depot-card-body {
    padding: 12px 14px;
}
.nhanhvn-depot-address {
    font-size: 13px;
    color: #444;
    margin: 0 0 10px;
}
.nhanhvn-depot-actions .nhanhvn-direction-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #0d6efd;
    text-decoration: none;
    padding: 0;
    border-radius: 0;
    font-size: 13px;
}
.nhanhvn-depot-actions .nhanhvn-direction-link:hover {
    text-decoration: underline;
}

/* External link icon to denote _blank */
.nhanhvn-depot-actions .nhanhvn-direction-link::after {
    content: "\2197"; /* ↗ */
    font-size: 12px;
    line-height: 1;
}