/* MetalniVrati.work v11 – оформление само; съдържанието е редактируемо в Gutenberg */

.mnv11-gallery{
    margin:22px 0 26px;
    padding:0 10px 10px;
    background:linear-gradient(180deg,#fff7f7 0%,#ffedef 100%);
    border:1px solid #f0b2b8;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 7px rgba(150,70,80,.07);
}
.mnv11-gallery-head{
    min-height:52px;
    padding:8px 8px 7px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}
.mnv11-gallery-head h2{
    margin:0;
    color:#202833;
    font-size:23px;
    line-height:1.2;
    font-weight:800;
}
.mnv11-gallery-head span{
    color:#5b5558;
    font-size:13px;
    font-style:italic;
    text-align:right;
}
.mnv11-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}
.mnv11-image,
.mnv11-image:hover,
.mnv11-image:focus,
.mnv11-image:focus-visible,
.mnv11-image:active{
    display:block;
    width:100%;
    aspect-ratio:16/10;
    padding:3px;
    border:3px solid #fff0f1 !important;
    border-radius:9px;
    background:#fff0f1 !important;
    outline:none !important;
    box-shadow:none !important;
    -webkit-appearance:none !important;
    appearance:none !important;
    -webkit-tap-highlight-color:transparent !important;
    cursor:zoom-in;
    overflow:hidden;
    transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.mnv11-image:hover,
.mnv11-image:focus,
.mnv11-image:focus-visible,
.mnv11-image:active{
    background:#e97882 !important;
    border-color:#e97882 !important;
    box-shadow:0 3px 9px rgba(120,45,55,.18) !important;
}
.mnv11-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    border-radius:5px;
}

.mnv11-button{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin:8px 0 14px;
    padding:12px 18px;
    border-radius:7px;
    background:#fff0f1;
    border:1px solid #f0b2b8;
    color:#202833 !important;
    text-decoration:none !important;
    font-weight:800;
    box-shadow:0 2px 5px rgba(120,45,55,.08);
    transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.mnv11-button:hover,
.mnv11-button:focus,
.mnv11-button:focus-visible,
.mnv11-button:active{
    background:#e97882;
    border-color:#d96772;
    color:#fff !important;
    box-shadow:0 3px 8px rgba(120,45,55,.20);
}

.mnv11-contact{
    border:1px solid #f0b2b8;
    border-radius:10px;
    padding:20px;
    background:#fff;
    box-shadow:0 3px 12px rgba(100,45,55,.08);
}
.mnv11-contact-title{
    font-size:17px;
    line-height:1.25;
    color:#25394b;
    margin-bottom:12px;
}
.mnv11-contact p{
    font-size:14px;
    margin:0 0 10px;
}
.mnv11-phone{
    display:block;
    padding:12px 14px;
    border-radius:8px;
    background:#fff0f1;
    border:1px solid #f0b2b8;
    color:#202833 !important;
    text-decoration:none !important;
    font-weight:800;
    text-align:center;
    box-shadow:0 2px 6px rgba(120,45,55,.08);
    transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.mnv11-phone:hover,
.mnv11-phone:focus,
.mnv11-phone:focus-visible,
.mnv11-phone:active{
    background:#e97882;
    border-color:#d96772;
    color:#fff !important;
    box-shadow:0 3px 8px rgba(120,45,55,.20);
}

body.mnv11-lightbox-open{overflow:hidden}
.mnv11-lightbox{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px 25px 30px;
    background:rgba(255,151,158,.97);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .18s ease,visibility .18s ease;
}
.mnv11-lightbox.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}
.mnv11-lightbox-img{
    display:block;
    max-width:min(94vw,1400px);
    max-height:86vh;
    width:auto;
    height:auto;
    object-fit:contain;
    border-radius:5px;
    box-shadow:0 10px 40px rgba(0,0,0,.35);
}
.mnv11-lightbox-close{
    position:absolute;
    top:16px;
    right:20px;
    z-index:2;
    border:1px solid rgba(255,255,255,.55);
    border-radius:7px;
    background:#202833;
    color:#fff;
    padding:8px 14px;
    font-size:16px;
    font-weight:800;
    line-height:1;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(0,0,0,.25);
}

@media(max-width:900px){
    .mnv11-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
    .mnv11-gallery{padding:0 7px 7px}
    .mnv11-gallery-head{display:block}
    .mnv11-gallery-head span{display:block;text-align:left;margin-top:3px}
    .mnv11-grid{gap:7px}
    .mnv11-button{width:100%;justify-content:center}
    .mnv11-lightbox{padding:60px 10px 20px}
    .mnv11-lightbox-img{max-width:96vw;max-height:82vh}
    .mnv11-lightbox-close{top:10px;right:10px}
}
