 *,
 *::before,
 *::after {
     box-sizing: border-box;
 }

 body {
     font-family: "Arima", sans-serif;
     min-height: 100vh;
     color: #000;
     margin: 0;
     background-color: #ffffff;
 }

 .container {
     max-width: 320px;
     margin: 0 auto;
     padding: 5px 10px;
     display: flex;
     flex-direction: column;
     align-items: center;
     position: relative;
 }

 img {
    display: block;
    user-select: none;
    -webkit-user-select: none;
 }

 ul {
     list-style: none;
 }

 p,
 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
     margin: 0;
 }

 ul,
 ol {
     padding-left: 0;
     margin: 0;
 }

 a {
     text-decoration: none;
     cursor: pointer;
 }

 button {
    cursor: pointer;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
 }

.title-big {
    font-family: "Bodoni Moda SC", sans-serif;
    text-transform: uppercase;
    font-size: 40px;
    text-align: center;
    color: #731919;
    position: relative;
}

.title-big::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7a231f;
    transform: translateX(-50%);
}

.title-big::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 25%;
    width: 50%;
    border-bottom: 2px solid #4C654A;
}


.title-smaller {
    text-transform: uppercase;
    font-size: 28px;
    letter-spacing: 0.3em;
    text-align: center;
    color:#731919;
}

.nav {
    width: 100%;
    margin-bottom: 10px;
    border-bottom: 2px solid #4C654A;
    border-top: 2px solid #4C654A;
    padding: 10px 0;
}

.nav-ul {
    display: flex;
    gap: 20px;
    justify-content: space-around;
}

.link {
    font-size: 24px;
    text-transform: uppercase;
    color: #4C654A;
    padding: 5px 0;
    position: relative;
}

.link-borders::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 25%;
    height: 50%;
    border-left: 2px solid #7a231f;

}

.link-borders::after {
    content: "";
    position: absolute;
    right: -9px;
    top: 25%;
    height: 50%;
    border-right: 2px solid #7a231f;
}

.back-link {
    font-size: 18px;
    color: #731919;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.lilies {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: auto;
    height: 177px;
    opacity: 0.5;
}

.title-little {
    background-color: #fff;
    border: 2px solid #731919;
    border-radius: 10px;
    width: 304px;
    display: flex;
    gap: 8px;
    padding: 5px 10px;
    align-items: center;
    box-shadow: 0 4px 4px 0 rgba(58,24,24,0.25);
    margin-bottom: 20px;
}

.spiralka {
    width: 33px;
    height: 33px;
}

.art-title {
    font-family: "Barrio", sans-serif;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 0.37em;
}

.card {
    background-color: #fff;
    border: 3px solid #731919;
    width: 247px;
    border-radius: 10px;
    padding: 5px 19px 22px 19px;
    box-shadow: 5px 6px 4px 0 rgba(58,24,24,0.25);
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.title-card {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 32px;
    color: #4c654a;
    position: relative;
    text-align: center;
}

.title-card::before,
.title-card::after {
    content: "✦";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #7a231f;
    font-size: 18px;
    line-height: 1;
}

.title-card::before {
    left: -23px;
}

.title-card::after {
    right: -23px;
}

 .cs-prev::before {
    left: 20px;
}

.cs-prev::after {
    right: 20px;
}

.gallery {
    position: relative;
    margin-bottom: 11px;
    border: 2px solid #731919;
    border-radius: 4px;
    width: 209px;
    height: 184px;
}

.gallery-images {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
}

.gallery-images img {
    cursor: zoom-in;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .35s ease;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    cursor: zoom-in;
}

.gallery-images img.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    color: #fff;
    background-color: #4C654A;
    border: none;
    border-radius: 50%;
}

.prev:hover,
.next:hover {
    background-color: #3a5238;
}

.prev {
    left: -15px;
}

.next {
    right: -15px;
}


.price-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #4c654a;
    margin-bottom: 16px;
    position: relative;
}

.price-row::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7a231f;
    transform: translateX(-50%);
}

.card-text {
    font-family: "Bodoni Moda SC", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    color: #000;
}

.title-card-custom {
    font-size: 27px;
    border-bottom: 1px solid #4c654a;
    margin-bottom: 20px;
}

.title-card-custom::before {
    left: -15px;
}

.title-card-custom::after {
    right: -15px;
}

.linia-title {
    border-bottom: 1px solid #4c654a;
}


.custom-card-text {
    font-family: "Arima", sans-serif;
    font-weight: bold;
    text-transform: none;
    margin-top: 5px;
}

.custom-text {
    font-weight: bold;
    text-align: center;
    padding: 0 10px;
}

.cs-text-2 {
    margin-bottom: 10px;
}

.screpka {
    position: absolute;
    left: -15px;
    top: -25px;
    transform: rotate(-50deg);
}

.info-card {
    padding: 0 1px 10px 1px;
}

.infos-text {
    font-weight: 600;
    text-align: center;
    font-size: 16px;
}

.title-little-two {
    margin-top: 20px;
    width: 247px;
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }

    .title-big {
        font-size: 64px;
    }

    .title-big::after {
        bottom: -6px;
        width: 12px;
        height: 12px;
    }

    .title-big::before {
        bottom: 0px;
        width: 70%;
        left: 15%;
    }

    .title-smaller {
        font-size: 40px;
    }

    .link {
        font-size: 34px;
    }

    .link-borders::before {
        left: -80px;
    }

    .link-borders::after {
        right: -80px;
    }

    .back-link {
        font-size: 24px;
    }

    .lilies {
        height: 300px;
    }

    .title-little {
        width: 710px;
        padding: 10px 20px;
        gap: 15px;
    }

    .spiralka {
        width: 40px;
        height: 40px;
    }

    .art-title {
        font-size: 30px;
    }

    .arts-div {
        width: 703px;
        background-color: #fff;
        border: 3px solid #731919;
        display: flex;
        gap: 34px;
        justify-content: center;
        border-radius: 10px;
        padding: 10px 0;
        margin-bottom: 12px;
        box-shadow: 5px 6px 4px 0 rgba(58, 24, 24, 0.25);
    }

    .card {
        border: none;
        width: 201px;
        box-shadow: none;
        margin-bottom: 0;
        padding: 0;
    }

    .title-card {
        font-size: 32px;
    }

    .title-card::before {
        left: -20px;
    }

    .title-card::after {
        right: -20px;
    }

    .gallery {
        width: 201px;
        height: 175px;
    }

    .prev, 
    .next {
        width: 23px;
        height: 23px;
        font-size: 10px;
    }

    .card-text {
        font-size: 16px;
    }

    .custom-div {
        border: 3px solid #731919;
        border-radius: 10px;
        width: 475px;
        align-self: flex-start;
        padding: 10px 0;
        margin-left: 22px;
        box-shadow: 5px 6px 4px 0 rgba(58, 24, 24, 0.25);
    }

    .cs-block {
        display: flex;
        gap: 36px;
        margin-bottom: 3px;
    }

    .cs-prev::before {
        left: 20px;
    }

    .cs-prev::after {
        right: 20px;
    }

    .cs-row {
        width: 419px;
    }

    .title-card-custom {
        font-size: 35px;
        margin-bottom: 17px;
    }

    .cs-text {
        font-size: 24px;
    }

    .custom-card-text {
        font-size: 22px;
    }

    .infos {
        position: absolute;
        right: 5px;
        top: 730px;
    }

    .info-card {
        border: 3px solid #731919;
        width: 247px;
        padding: 0 10px 15px 10px;
        box-shadow: 5px 6px 4px 0 rgba(58, 24, 24, 0.25);
    }

    .info-margin {
        margin-bottom: 11px;
    }
}

@media (min-width: 1220px) {
    .container {
        max-width: 1220px;
    }

    .title-big {
        font-size: 96px;
    }

    .title-big::after {
        bottom: -8px;
        width: 16px;
        height: 16px;
    }

    .title-big::before {
        bottom: 0px;
        width: 60%;
        left: 20%;
    }

    .title-smaller {
        font-size: 48px;
    }
    
    .link {
        font-size: 42px;
    }

    .back-link {
        font-size: 28px;
    }

    .lilies {
        height: 400px;
    }

    .title-little {
        width: 1175px;
        padding: 15px 30px;
        gap: 20px;
    }

    .arts-div {
        width: 1175px;
        height: 649px;
        gap: 35px;
        justify-content:flex-start;
        padding-left: 20px;
        margin-bottom: 0;
    }

    .card {
        width: 247px;
    }

    .title-card::before {
        left: -23px;
    }

    .title-card::after {
        right: -23px;
    }

    .gallery {
        width: 247px;
        height: 224px;
    }

    .custom-div {
        width: 600px;
        margin-left: 30px;
        position: absolute;
        top: 950px;
    }

    .cs-prev::before {
        left: 25px;
    }

    .cs-prev::after {
        right: 25px;
    }

    .title-card-custom {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .cs-text {
        font-size: 28px;
    }

    .infos {
        right: 40px;
        top: 600px;
    }

    .info-card {
        width: 290px;
    }

    .infos-text {
        font-size: 19px;
    }

    .title-little-two {
        width: 500px;
        position: absolute;
        right: 50px;
        bottom: -200px;
    }
}
































.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .9);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 9999;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

#lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transition:
        opacity .25s ease,
        transform .25s ease;
}

#lightbox-img.changing {
    opacity: 0;
    transform: scale(.95);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    border: none;
    background: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.prev-lightbox,
.next-lightbox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: .25s;
    }

.prev-lightbox {
    left: 10px;
}

.next-lightbox {
    right: 10px;
}

