body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 20px;
    background: #f6f7f8;
    width: 100%;

}
.box{
    max-width:500px !important;
}


table, table th, table td {
    font-family: "Courier New", Courier, monospace;
    padding: 5px;
    width: 100%;
}


.spec-g{
    background-color: white;
}
table tbody tr:nth-child(odd)  { background: #f5f5f5; }
table tbody tr:nth-child(even) { background: #ffffff; }






.spec-table td:nth-child(1) { width: 35%; text-align: right;}
.spec-table td:nth-child(2) { width: 20%; text-align: left; }
.spec-table td:nth-child(3) { width: 10%; text-align: left; }













.h1 {
    margin: 0 0 6px 0
}

.muted {
    color: #555;
    font-size: 14px
}

.small {
    font-size: 10px;
    color: #555
}

.headrow {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap
}



.btn3 {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    cursor: pointer;
    text-decoration: none;
    display: inline-block
}

.btn3:hover {
    background: #f3f4f6
}

.card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    background: #fff
}

.media {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    flex-wrap: wrap
}

.main_img {
    width: min(520px, 100%);
    height: 320px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.main_img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: none
}

.main_img .empty {
    position: absolute;
    color: #555;
    font-size: 13px
}

.thumbs_wrap {
    flex: 1;
    min-width: 260px
}

.thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.th {
    width: 86px;
    height: 86px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
    flex: 0 0 auto;
    cursor: pointer;
    position: relative;
}

.th img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.th.active {
    outline: 2px solid #111
}

.ov {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    z-index: 9998;
}

.modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(920px, 92vw);
    height: min(720px, 86vh);
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    z-index: 9999;
    overflow: hidden;
}

.modal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.mclose {
    position: absolute;
    right: 10px;
    top: 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
    z-index: 2;
}

.mclose:hover {
    background: #f3f4f6
}
.main_img { position: relative; }

.img_del_btn{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    border: 0;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;

}
