@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&display=swap');



*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Tenor Sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
}

body.no-scroll { 
    overflow: hidden; 
}

button {
    color: black;
    background-color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease
}
@media (hover: hover) {
    button:hover {
        transform: scale(0.9);
    }
}

ul {
    list-style: none;
}

body{
    max-width: 100%;
    padding-top: 80px;
    margin: 0;
}

h2 {
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 0;
    font-size:40px;
}

h3 {
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 0;
    font-size: 32px;
}

h4 {
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 0;
    font-size: 32px;
}

h5 {
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 0;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

a {
    text-decoration: none;
    color: black;
}

fieldset {
    border: none;
}

.btn {
    transition: transform 0.2s ease;
}
@media (hover: hover) {
    .btn:hover {
        cursor: pointer;
        transform: scale(0.9);
    }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;

}

.container {
    padding: 30px 100px 60px 100px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    overflow-x: hidden;
}

.container-info {
    padding: 60px 40px;
}

.cb-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #d9d9d9;
    transition: background-color 0.25s ease, background-image 0.25s ease
}
.cb-input:checked {
    background-color: #A1917E;
    background-image: url("images/checked.png");
    background-repeat: no-repeat;
    background-size: 18px;
}

.logo {
    z-index: 2;
}

@media screen and (max-width:1200px) {

    .logo img{
        width: 180px;
    }
}

@media screen and (max-width:768px) {

    .logo img{
        width: 124px;
    }
}
                                                                    /*header*/

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 100px;
}

.smartphone {
    display: none;
}

.search-div {
    flex: 1;
}

.search {
    background: url("images/search.png") no-repeat;
    background-size: 20px 20px;
    width: 288px;
    height: 30px;
    background-position: 5px center;
    padding: 0 10px;
    border: none;
    border-bottom: 2px solid #d9d9d9;
    font-size: 16px;
}

.search:focus {
    background: none;
}

.header_ct {
    background-color: white;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 80px;
    z-index: 999;
}

.burger {
    display: none;
}

.icons {
    flex: 1;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 15px;
    position: relative;
}

@media screen and (max-width:1200px) {
    
    .header-container {
        padding: 15px 40px;
    }
    
    .search {
        width: 250px;
    }
}

@media screen and (max-width:768px) {

    .header-container {
        padding: 15px 20px;
        gap: 5px;
    }

    .header_ct {
        justify-content: space-between;
        border-bottom: 1px solid #4A4239;
        height: auto;
    }

    .search,
    .search-div,
    .phone,
    .normal {
        display: none;
    }
    
    .burger {
        display: flex;
        align-items: center;
        flex: 1;
    }

    .icons {
        gap: 10px;
        width: auto;
    }
    .icons img {
        width: 20px;
    }

    .smartphone {
        display: initial;
    }
}

                                                                    /* burger menu */

.menu-container {
    top: 0;
    left:0;
    width: 100vw;
    height: 100dvh;
    position: fixed;
    background-color: white;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transform: translateX(-100%);
    transition:
        max-width 200ms ease,
        opacity 200ms ease,
        transform 400ms ease;

}

.menu-container.show {
    max-width: var(--menu-container-max, 100vw);
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;

}

.menu-content{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ctg-content ul li,
.wmn-content ul li{
    padding: 0 20px;
}

.upper-menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 61px;
}

.close-menu-btn {
    position: absolute;
    right: 20px;
}

.upper-menu {
    padding: 15px 0;
    border-bottom: 1px solid #4A4239;
}

.search-small-div {
    display: flex;
    align-items:center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.search-small {
    background: url("images/search.png") no-repeat;
    background-size: 20px 20px;
    width: 100%;
    height: 40px;
    margin: 0 20px;
    background-position: 5px center;
    padding: 0 10px;
    border: none;
    border-bottom: 2px solid #d9d9d9;
    font-size: 16px;
}

.search-small:focus {
    background: none;
}

.menu-block button {
    width: 100%;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d9d9d9;
}

.menu-block a {
    width: 100%;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d9d9d9;
}

.menu-block-main {
    padding: 20px 10px;
}

.menu-block-main a {
    color: gray;
    width: 100%;
    padding: 15px 0;
    display: flex;
    align-items: center;
}

.menu-content .info {
    padding: 40px 20px;

}

.menu-block-back {
    padding: 0 20px;
}

.menu-block-back button {
    width: 100%;
    border-bottom: 1px solid #d9d9d9;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
}

.menu-block-back a {
    border-bottom: 1px solid #d9d9d9;
    padding:10px 10px;
    margin: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
}


.wmn-container,
.men-container,
.kid-container,
.acs-container {
    top: 75px;
    left:0;
    width: 100vw;
    height: 100dvh;
    position: fixed;
    background-color: white;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    overflow-y: auto;
    transform: translateX(-100%);
    transition:
        max-width 700ms ease,
        opacity 400ms ease,
        transform 300ms ease;

}

.wmn-container.show,
.men-container.show,
.kid-container.show,
.acs-container.show {
    max-width: var(--menu-container-max, 100vw);
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.wmn-content,
.men-container,
.kid-container,
.acs-container {
    padding-bottom: 20px;
}

                                                                    /* Icons */

.icons a {
    transition: transform 0.25s ease;
}
@media (hover: hover) {
    .icons a:hover {
        cursor: pointer;
        transform: scale(0.9);
    }
}

.icons .number {
    font-size: 16px;
}

                                                                    /* cart */

.cart-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    left:0;
    height: 100dvh;
    width: 100vw;
    position: fixed;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.3s ease;
}

.cart-container.show {
    pointer-events: auto;
    opacity:1;
}

.cart-content {
    display: flex;
    flex-direction: column;
    align-content: space-between;
    text-align: center;
    
    width: 35%;
    height: 100dvh;

    background-color: white;
    padding: 40px 20px;
    position: relative;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-content.show {
    transform: translateX(0%);
}

.closebtn {
    position: absolute;
    left: 0;
    top: 0;
    padding: 20px 20px;
    background-color: transparent;
}

.export {
    width: 100%;
    height: 100%;
}

.order {
    border: 1px solid #4A4239;
    background-color: #505050;
    font-size: 24px;
    color: white;
    padding: 15px 20px;
    align-self: center;
}

                                                                    /* Menu categories*/

.menu .container {
    padding: 30px 40px ;
}

.menu {
    padding: 0;
    background-color: #A1917E;
    position: relative;
    z-index: 100;
}

.menu .arrow {
  display: inline-block;
  transition: transform 0.5s ease;
}

.menu .ct:hover .arrow{
  transform: rotate(180deg);
}

.menu .ul_menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 0 100px;
}

.menu .ct {
    padding: 15px 10px;
    cursor: pointer;
}

.menu .ct a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 24px;
}

.menu .submenu {
    display: flex;
    gap: 100px;
    position: absolute;
    left:0;
    top: 100%;
    width: 100vw;
    background-color: white;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY();
    transition:
        max-height 500ms ease,
        opacity 350ms ease,
        transform 500ms ease;
    pointer-events: none;
}

.menu .ct:hover .submenu {
    max-height: var(--submenu-max, 500px);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.submenu ul {
    list-style: none;
}

.submenu ul li:hover {
    cursor: pointer;
    border-bottom: 1px solid #4A4239;
}

.submenu ul li {
    margin: 10px 0 ;
}

.submenu .first a {
    font-size: 24px;
    color: #4A4239;
}

.submenu .second a {
    font-size: 20px;
    color: #A1917E;
}

@media screen and (max-width:1200px) {
    .menu .ul_menu {
        gap: 40px;
        padding: 0 40px;
    }

    .menu .ct a {
        font-size: 20px;
    }
    .submenu .first a {
        font-size: 20px;
        color: #4A4239;
    }

    .submenu .second a {    
    font-size: 16px;
    color: #A1917E;
    }

}

@media screen and (max-width:1024px) {
    .menu .ul_menu {
        gap: 20px;
    }

    .menu .ct a {
        font-size: 18px;
    }
    .submenu .first a {
    font-size: 16px;
    color: #4A4239;
    }

    .submenu .second a {
    font-size: 12px;
    color: #A1917E;
    }
    .cart-content{
        width: 50%;
    }
    
}

@media screen and (max-width:768px) {
    .menu{
        display: none;
    }
    .cart-content {
        width: 100%;
    }
    .closebtn {
        left: auto;
        right: 0;
    }
}

                                                                    /*Hero Section*/

.hero {
    width: 100%;
    height: 800px;
    background: url("images/hero.png") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: end;
    margin-bottom: 40px;
}

.hero .info {
    display: flex;
    flex-direction: column;
    width: 516px;
    text-align: center;
    background-color: rgba(255,255,255,0.76);
    opacity: 0,76;
    margin-bottom: 40px;
}

.hero .info h4 {
    font-size: 32px;
}

@media screen and (max-width:1200px) {
    .hero {
        width: 100%;
        height: 600px;
        background: url("images/hero.medium.png") no-repeat center center ;
        background-size: cover;
        display: flex;
        justify-content: center;
        align-items: end;
    }

    .hero .info h4 {
        font-size:28px;
    }
}

@media screen and (max-width:768px) {
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: none;
        width: 100vw;
        height: 80dvh;
    }

    .hero .block {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero .info {
        background-color: #A1917E;
        color: white;
        flex-direction: column;
        width: 100vw;
        margin: 0;
    }

    .hero .info h4 {
        font-size: clamp(1rem, 1vw + 0.85rem, 3rem);
    }

    .hero .image {
        background: url("images/hero.small.png") no-repeat center center;
        background-size: cover;
        background-position: center;
        width: 100%;
    }

}

                                                                    /*Catalogue Section*/

.catalogue2_outer {
    display: flex;
    overflow-x: auto;   
    gap: 18px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-snap-align: start;
}

.catalogue2_outer::-webkit-scrollbar { height: 0; }
.catalogue2_outer::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(0,0,0,0.12); }

.catalogue2_outer .block {
  flex: 0 0 auto;
  box-sizing: border-box;
  scroll-snap-align: start;
  min-width: 0;
}

.nazva {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nazva .more {
    font-size: 28px;
    padding: 10px 50px ;
    border: 1px solid #4A4239;
}

.catalogue_ct {
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(max(100px, 20%), 1fr));
    gap: 24px;
    justify-content: space-around;
}

.block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-content: start;
    position: relative;
}

.block .img {
    width: 100%;
    overflow: hidden;
    align-self: center;
    min-width: 0;
}

.block .img a {
    display: block;
    width: 100%;
    height: 100%;
}

.block .img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 0;
}

.block .like-this {
    position: absolute;
    right: 7px;
    top: 7px;
    background: none;
}

.block .likeThis {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 100%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.block .likeThis img {
    transition: transform 0.3s ease;
}
@media (hover: hover) {
    .block .likeThis:hover img{
        transform: scale(0.85);
    }
}


.block .text {
    max-height: 60px;
    overflow: hidden;
}

.block .color {
    display: flex;
    gap: 5px;
}

.block .color a {
    margin-right: 5px;
}

.color-dot {
    width: 20px;
    height: 20px;
    border: 0.2px solid gray;
    border-radius: 100%;
}

.block .lowBl {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lowBl .price {
    align-self: start;
}

.block .buyBtn {
    background-color: #a1917e8c;
    border-radius: 100%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.block .buyBtn img {
    transition: transform 0.3s ease;
}
@media (hover: hover) {
    .block .buyBtn:hover img {
        transform: scale(0.85);
    }
}


.block .buyBtn:active {
    background-color: none;
}

@media screen and (max-width:1200px) {

    h2 {
        font-size: 35px
    }

    p {
        font-size: 16px;
    }

    .nazva .more {
        font-size:22px;
        padding: 9px 35px;
    }

    .catalogue_ct {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .block .buy {
        padding: 10px 20px;
    }

    .block .buy a {
    font-size:20px;
    }
}

@media screen and (max-width:768px) {

    h2 {
        font-size: 32px;
        text-align:center;
    }

    .nazva {
        display: initial;
        margin: 0;
    }

    .nazva .more {
        display: none;
    }

    .catalogue_ct {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
    }

    .catalogue_ct .block {
        flex: 0 0 100%;
        justify-self: center;
        scroll-snap-align: start;
    }

    .catalogue2_outer {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        gap: 18px;
    }

    .go-check-pages { 
        display: flex;
    }

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

    .block .color {
        display: none;
    }

    .block .buy {
        text-align: center;
        justify-self: stretch;
        align-self: stretch;
        padding: 20px 0;
        margin: 0 15px;
    }

    .block .buy a {
        font-size: 20px;
    }
}

                                                                        /*Hero Sale*/

.sale {
    background: url("images/sale.png") no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 664px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 70px;
}

.sale .info {
    max-width: 540px;
    height: 100%;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255 ,255 ,0.7);
}

.sale .info h4 {
    font-size: clamp(1rem, 1vw + 0.85rem, 3rem);
    padding: 10px 0;
}

.sale .info img{
    padding: 40px 0;
    justify-self: center;
}

@media screen and (max-width: 768px) {
    .sale {
        background: url("images/sale.small.png") no-repeat center center;
        background-size: cover;
        width: 100%;
        height: 800px;
        display: flex;
        align-items: start;
        justify-content: center;
        text-align: center;
        margin: 0;
    }

    .sale .logo {
        padding: 15px 0;
    } 

    .sale .container {
        padding: 0 10px;
    }

    .sale .info {
        max-width: 100vw;
        max-height: 426px;
    }

    .sale .info h4 {
        font-size: 24px;
        padding: 5px 20px;
    }

    .sale .info img{
        padding: 10px 0;
    }
}

                                                                        /*Hero Summer*/

.summer {
    margin-bottom: 60px;
}

.summer_ct {
    background: url("images/summer.png") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: start;
    align-items: center;
    height: 644px;
}

.summer_ct .info {
    background-color: rgba(255,255,255 , 0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 540px;
    height: 277px;
    padding: 50px 40px;
    text-align:center;
}

.summer_ct .info a {
    font-size: 28px;
    border: 1px solid #4A4239;
    background-color: white;
    padding: 15px 0;
    width: 210px;
    align-self: center;
}

@media screen and (max-width:1200px) {
    .summer_ct {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {

    .summer .container{
        padding: 70px 0;
    }

    .summer_ct {
        height: 644px;
        justify-content:start;
        align-items: start;
    }

    .summer_ct .info {
        height:182px;
        width:100%;
        margin-left: 0;
        margin-top: 50px;
        padding: 20px 50px;
    }

    .summer_ct .info a {
        font-size: 24px;
        width:100vw;
    }
}

                                                                            /*Footer*/

.contacts_ct {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 24px;
}

.contacts_ct .image {
    margin-right: 40px;
    min-width: 203px;
}

.contacts_ct .categories_small {
    display: none;
}

.foot_ct {
    cursor: pointer;
}

.contacts_ct ul {
    list-style: none;
}

.contacts_ct ul li a {
    cursor: pointer;
    transition: color 0.2s ease; 
}

.contacts_ct ul li {
    padding-bottom: 15px;
}

.contacts_ct ul li a:hover {
    color: #A1917E;
}

.contacts_ct ul .first {
    padding-bottom: 20px;
}

.contacts_ct ul .first a {
    font-size: 32px;
}

.contacts_ct ul .second a {
    font-size: 24px;
}

.info {
    display: flex;
    justify-content: space-around;
}

.info span {
    color: #A1917E;
    font-size: 24px;
    padding-bottom: 20px;
}

.info .block {
    display: flex;
    flex-direction: column;
}

.block .links {
    display: flex;
    gap: 15px;
}

.block .pay {
    display: flex;
    gap: 15px;
}

@media screen and (max-width:1024px) {
    .contacts_ct {
        grid-template-columns: auto auto;
    }

    .contacts_ct .image {
        justify-self: center;
        padding-bottom: 50px;
        grid-column: 1/ span 2;
    }
}

@media screen and (max-width:768px) {

    footer {
        border-top: 2px solid #4A4239;
    }

    .contacts_ct .image {
        padding-bottom: 15px;
    }

    .contacts_ct .categories_small {
        display: initial;
    }

    .foot_ct a {
        display: flex;
        align-items: center;
        gap: 20px;
        font-size: 24px;
    }

    .contacts_ct,
    .info {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .contacts_ct .categories {
        display: none;
    }

    .contacts_ct ul li {
        padding-bottom: 5px;
    }

    .contacts_ct ul .first a {
        font-size: 24px;
    }

    .contacts_ct ul .second a {
        font-size: 20px;
    }

    .info {
        gap: 30px;
    }

    .info span {
        font-size: 20px;
        padding-bottom: 10px;
    }
}

.feedback {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background-color: #f2f2f2;
    max-width: 40vw;
}

.info-feedback {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.info-feedback .info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    width: 60%;
}

.info-feedback .info ul {
    list-style: none;
}

.info-feedback .info ul a:hover {
    cursor: pointer;
    color: #A1917E;
}

.info-feedback .info ul li {
    padding: 10px 0;
}

.info-feedback .info .first {
    font-size: 24px;
    padding-top: 30px;
}

.sociable {
    display: flex;
    gap: 15px;
}

.feedback span {
    font-size: 28px;
}

.grid-feedback {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px 0;
}

                                                                    /*Catalogue Page*/

.catalogue-upper {
    padding-bottom: 10px;
}

.catalogue-upper h4 {
    text-align: center;
    font-size: 32px;
}

.catalogue-upper ul {
    list-style: none;
    display: flex;
    gap: 50px;
}

.catalogue-upper a {
    font-size: 16px;
}

.catalogue-upper span {
    font-size: 16px;
}

.page-head{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
}

.page-title {
    align-self: center;
}



                                                /*Хлібні крихти*/

.breadcrumbs {
    grid-column:1;
    justify-self:start
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    gap: 0;
}

.breadcrumbs ul li {
    color: gray;
    font-size: 20px;
}

.breadcrumbs ul li a {
    color: gray;
    font-size: 20px;
}

.page-title {
    grid-column:2;
    justify-self:center;
    margin:0;
}

                                                /*View and Sort*/

.view{
    position: relative;
}

.sort{
    position: relative;
}

.sortList {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    font-size: 16px;
    cursor: pointer;
}

.view-sort {
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    padding-bottom:10px;
    padding-top: 20px;
    border-bottom: 1px solid #D9D9D9;
}

                                                /*View and Sort SmartPhone*/

.view-sort-sp {
    display: none;
    background-color: #ffffff;
}

.view-sort-sp ul {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #d9d9d9;
    position: relative;
}

.view-sort-sp ul li {
    width: 50%;
}

.sort-sp-btn,
.open-filter {
    font-size: 14px;
    padding: 10px 0;
}

.sort-sp-btn {
    border-left: 1px solid #d9d9d9;
}

.filter-submenu {
    position: absolute;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #d9d9d9;
    box-shadow: 0 6px 12px rgba(0,0,0,0.40);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10%);
    transition: 
        opacity 0.3s ease,
        transform 0.4s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0) translateY(-10%);
    transform: translateZ(0) translateY(-10%);
}   

.filter-submenu.show {
    pointer-events: auto;
    opacity:1;
    transform: translateY(0%);
}

.sort-submenu-sp {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    background-color: #FFFFFF;
    border: 1px solid #d9d9d9;
    box-shadow: 0 6px 12px rgba(0,0,0,0.40);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10%);
    transition: 
        opacity 0.3s ease,
        transform 0.4s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0) translateY(-10%);
    transform: translateZ(0) translateY(-10%);
}

.sort-submenu-sp.show {
    pointer-events: auto;
    opacity:1;
    transform: translateY(0%);
}

.filter-submenu label {
    font-size: 16px;
}

.filter-block-sp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    padding: 15px;
    border-bottom: 1px solid #d9d9d9;
}

.open-arrow {
    width: 8px;
    height: 8px;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}

.open-arrow.active {
    transform: rotate(135deg);
}

.checkbox {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px;
}
.checkbox label {
    display: flex;
    gap: 10px;
    align-items: center;
}

.choose-age-sp {
    font-size: 16px;
    border: 1px solid #d9d9d9;
    padding: 15px 5px;
    transition: background-color 0.2s ease;
}

.choose-age-sp.selected {
    background-color: #A1917E;
    color: white;
}

.choose-sex-sp {
    font-size: 16px;
    border: 1px solid #d9d9d9;
    padding: 10px;
    text-align: left;
    transition: background-color 0.2s ease;
}

.choose-sex-sp.selected {
    background-color: #A1917E;
    color: white;
}

.choose-season-sp {
    font-size: 16px;
    border: 1px solid #d9d9d9;
    padding: 10px;
    text-align: left;
    transition: background-color 0.2s ease;
}

.choose-season-sp.selected {
    background-color: #A1917E;
    color: white;
}

.sizes-submenu-sp {
    display: flex;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20%);
    transition: opacity 0.2s ease,
                transform 0.4s ease,
                max-height 0.2s ease;
}

.sex-submenu-sp,
.season-submenu-sp{
    display: flex;
    flex-direction: column;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20%);
    transition: opacity 0.2s ease,
                transform 0.4s ease,
                max-height 0.2s ease;
}

.price-submenu-sp{
    display: flex;
    justify-content: center;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20%);
    transition: opacity 0.2s ease,
                transform 0.4s ease,
                max-height 0.2s ease;

}

.age-submenu-sp{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20%);
    transition: opacity 0.2s ease,
                transform 0.4s ease,
                max-height 0.2s ease;
}

.sizes-submenu-sp.show,
.price-submenu-sp.show,
.sex-submenu-sp.show,
.season-submenu-sp.show {
    pointer-events: auto;
    max-height: 600px;
    gap: 10px;
    padding: 15px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0%);
}

.age-submenu-sp.show {
    pointer-events: auto;
    max-height: 600px;
    gap: 7px;
    padding: 15px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0%);
}

.color-submenu-sp {
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(5, auto);
    align-items: start;
    justify-content: start;
    align-content: start;
    opacity: 0;
    max-height: 0;
    transform: translateY(-20%);
    transition: opacity 0.2s ease,
                transform 0.4s ease,
                max-height 0.2s ease;
}

.color-submenu-sp.show {
    pointer-events: auto;
    max-height: 600px;
    gap: 10px;
    padding: 15px;
    opacity: 1;
    transform: translateY(0%);
}

.color-check {
    border: 1px solid #d9d9d9;
    width: 42px;
    height: 30px;
}


.sort-option-sp {
    font-size: 16px;
    border-bottom: 1px solid #d9d9d9;
    padding: 15px;
    text-align: start;
}

.sort-option-sp.active {
    background-color: #A1917E;
    color: white;
}

.mid-menu label {
    font-size: 16px;
}

.filter-submenu ul li {
    width: 100%;
}

@media screen and (max-width:768px) {

    .view-sort {
        display: none;
    }

    .page-head {
        display: flex;
        flex-direction: column;
    }

    .breadcrumbs {
        align-self: start;
    }

    .breadcrumbs ul li {
        font-size: 12px;
    }

    .breadcrumbs ul li a {
        font-size: 12px;
    }

    .catlogue-upper h4 {
        font-size: 24px;
    }

    .view-sort-sp {
        display: initial;
    }

    .view-sort-sp ul li {
        text-align: center;
    }
}

                                                    /*View and Sort Submenus*/


.sizes-submenu ul {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

.sizes-submenu.show {
    display: flex;
}

.size-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 30px;
    border: 1px solid #D9D9D9;
    background-color: white;
    font-size: 16px;
    cursor: pointer;
}

.size-box.selected {
    background-color:#A1917E;
    color: white;
}

.color-submenu {
    padding: 10px;
    background-color: white;
    position: absolute;
    top: 30px;
    border: 1px solid #D9D9D9;
}

.color-submenu.show {
    display: flex;
}

.color-submenu ul {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.color-submenu ul li {
    border: 1px solid #D9D9D9;
    width: 42px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-box {
    border-radius: 0;
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    inline-size: 40px;
    block-size: 28px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.color-box:checked {
    border: 1px solid #D9D9D9;
    transform: scale(0.8);
}

.price-submenu {
    padding: 10px;
    background-color: white;
    position: absolute;
    width: 280px;
    top: 30px;
    border: 1px solid #D9D9D9;
}

.sizes-submenu{
    padding: 10px;
    background-color: white;
    position: absolute;
    width: 280px;
    top: 30px;
    border: 1px solid #D9D9D9;
}

.age-submenu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    background-color: white;
    position: absolute;
    width: 280px;
    top: 30px;
    border: 1px solid #D9D9D9;
}

.sex-submenu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    background-color: white;
    position: absolute;
    width: 280px;
    top: 30px;
    border: 1px solid #D9D9D9;
}

.price-submenu.show {
    display: flex;
}

.price-submenu ul {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.price-value {
    width: 116px;
    height: 30px;
    border: 1px solid #D9D9D9;
    padding: 0 10px;
    font-size: 16px;
}

.sortList .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.sortList.active .arrow {
  transform: rotate(180deg);
}

.choose-age,
.choose-sex {
    font-size: 16px;
    padding: 5px;
    border-bottom: 1px solid #d9d9d9;
    cursor: pointer;
    transition: background-color 0.3s ease
}

.choose-age.selected,
.choose-sex.selected {
    background-color: #A1917E;
    color: white;
}

.sizes-submenu,
.color-submenu,
.price-submenu,
.sort-submenu,
.age-submenu,
.sex-submenu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transform: translateY(-8px);
    transition:
        max-height 300ms ease,
        opacity 250ms ease,
        transform 500ms ease;
    pointer-events: none;
    z-index: 40;
}

.sizes-submenu.show,
.color-submenu.show,
.price-submenu.show,
.sort-submenu.show,
.age-submenu.show,
.sex-submenu.show {
    max-height: var(--submenu-max, 500px);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sort-submenu {
    padding: 10px;
    position: absolute;
    flex-direction: column;
    background-color: white;
    width: 200px;
    top: 30px;
    border: 1px solid #D9D9D9;
}

.sort-submenu ul {
    flex-direction: column;
    gap: 20px;
}

.sort-option{
    display:block;
    padding: 5px;
    border-bottom:1px solid #D9D9D9;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

#sort-submenu .sort-option.active{
    color: white;
    background-color: #A1917E;
}
@media screen and (max-width:1024px) {

    .view-sort {
        padding: 15px 5px;
    }
    .view ul {
        gap: 20px;
    }
    .color-submenu ul {
        gap: 10px;
    }
}

                                                    /*Sukni Catalogue*/

.catalogue2_ct {
    margin: 30px 0;
    display: grid;
    background-color: #ffffff;
    grid-template-columns: repeat(auto-fit, minmax(max(260px, 20%), 1fr));
    gap: 24px;
    justify-content: space-around;
}

.catalogue2_ct .block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-content: start;
}

.catalogue2_ct .block .img {
    width: 100%;
    overflow: hidden;
    align-self: center;
}

.catalogue2_ct .block .img a {
    display: block;
    width: 100%;
    height:100%;
}

.catalogue2_ct .block .img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalogue2_ct .block .text {
}

.catalogue2_ct .block .color {
    display: flex;
}

.catalogue2_ct .block .color a {
    margin-right: 5px;
}

.catalogue2_ct .block .price {
}

.catalogue2_ct .block .buy {
    justify-self:end;
    align-self:end;
    border: 1px solid #4A4239;
    padding: 15px 30px;
}

.catalogue2_ct .block .buy a {
    font-size:24px;
}

@media screen and (max-width:768px) {
    .catalogue2_ct {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 10px;
    }

    .catalogue2_ct .block .color {
        display: none;
    }

    .catalogue2_ct .block .text p {
        font-size: 14px;
    }

    .block .likeThis,
    .block .buyBtn {
        width: 34px;
        height: 34px;
    }
    
    .block .like-this img,
    .block .btn-buy img {
        width: 20px;
    }
}
                                                        /*Sukni paggination*/

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 0;
}

.pagination .pages {
    display: flex;
    gap: 10px;
}

.pagination button {
    width: 30px;
    height: 30px;
    border: 1px solid #4A4239;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination button.active {
    background-color: #A1917E;
    color: white;
}

.pagination button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.prevPage,
.nextPage {
  cursor: pointer;
}

.prevPage[aria-disabled="true"],
.nextPage[aria-disabled="true"] {
  opacity: 0;
  pointer-events: none;
}

                                                                            /* Contacts Page */

.inp-name {
    grid-column: 1;
    grid-row: 1;
    height: 40px;
}

.inp-email {
    grid-column: 2;
    grid-row: 1;
    height: 40px;
}

.inp-quest {
    justify-content: start;
    align-items: start;
    grid-column: 1/ 3;
    grid-row: 2;
    height: 80px;
}

.feedback input,
.feedback textarea {
    padding: 10px 10px;
    border: 1px solid #D9D9D9;
    width: 100%;
}

.grid-feedback input::placeholder {
    font-size: 14px;
}

.grid-feedback textarea::placeholder {
    font-size: 14px;
}

.send {
    padding: 20px;
    width: 50%;
    text-align: center;
    justify-self: center;
    color: white;
    background-color: #505050;
}

.map {
    padding: 40px 0;
    width:100%;
}

@media screen and (max-width:768px) {

    .feedback {
        max-width: 100%;
    }
    
    .contacts h4 {
        font-size: 28px;
    }

    .info-feedback .info .first {
        font-size: 20px;
        padding-top: 20px;
    }

    .info-feedback .info ul li {
        font-size: 16px;
    }
    .info-feedback .info ul li a {
        font-size: 16px;
    }


    .contacts .container {
        padding: 20px 20px;
    }
    .info-feedback {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .info-feedback .info {
        width: 100%;
    }

    .feedback span {
        font-size: 20px;
    }

    .grid-feedback {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }

    .send {
        padding: 20px;
        width: 100%;
        text-align: center;
        justify-self: center;
        color: white;
        background-color: #505050;
    }

}

                                                                            /*Order Page*/

.upper-order{
    display:flex;
    justify-content: sapce-between;
}

.upper-order .order-back{
    flex: 1;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #bfbfbf;
    font-size: 12px;
}

.upper-order h4 {
    flex: 4;
    text-align: center;
}

.spacer {
    flex: 1;
}

.order-content{
    display: flex;
    gap: 50px;
    padding: 20px 0;
}

.goods{
    display: flex;
    flex-direction: column;
    min-width: 375px;
    max-height: 400px;
    gap: 20px;
    padding: 10px;
    border: 1px solid gray;
}

.tovar {
    background-color: #f2f2f2;
    display: flex;
    justify-content: space-between;
    gap: 5px;
    padding: 10px;
}

.tovar-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.obrane {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 10px;
    align-items: center;
    max-width: 100px;
}

.obrane label {
    font-size: 14px;
}

.obrane select {
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 24px;
    width: 38px;
    font-size: 14px;
}

.obrane select:focus {
    outline: none;
    border: 1px solid black;
    border-radius: 0;
}

.obrane option {
    font-size: 14px;
    text-align: center;
}

.goods span {
    font-size: 12px;
}

.order-value {
    width: 38px;
    height: 24px;
    background-color: white;
    border: 1px solid #d9d9d9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quantity {
    display: flex;
}

.sq {
    width: 30px; 
    height: 30px; 
    background-color: white; 
    border: 1px solid #d9d9d9;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 16px;
}

.sq:hover{
    transform: none;
}

.how-many::-webkit-outer-spin-button,
.how-many::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.how-many { -moz-appearance: textfield;}

.del-btn {
    font-size: 12px;
    color: #bfbfbf;
}

.promo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: stretch;
}

.inp-promo {
    border: 1px solid #d9d9d9;
    height: 24px;
    font-size: 12px;
    width: 70%;
    padding: 0 5px;
}

.apply {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9d9d9;
    height: 24px;
    font-size: 12px;
    color: white;
    background-color: #505050;
    width: 30%;
}

.goods-prices {
    display: flex;
    justify-content: space-between;
}

.goods-prices ul li {
    padding: 1px 0;
}

.final {
    font-size: 16px;
    margin-top: 20px;
}

.order-info {
    border: 1px solid gray;
    width: 68%;
    height: auto;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grid-2cols{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-h {
    font-size: 28px;
    grid-column: span 2;
}

.full-address {
    width: 100%;
}

.hidden {
    display: none !important;
}

.order-info input {
    border: 1px solid #d9d9d9;
    height: 40px;
    font-size: 16px;
    padding: 0 10px;
    width: 100%;
}

.choice-btn {
    border: 1px solid #d9d9d9;
    padding: 9.5px 0;
    font-size: 16px;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
}

.choice-btn:hover {
    background-color: #d9d9d9;
    transform: none;
}

.choice-btn.active {
    background-color: #505050;
    color: white;
}

.select-wrap {
    position: relative;
    display: block;
}

.select-wrap select {
    width: 100%;
    height: 40px;
    border: 1px solid #d9d9d9;
    font-size: 16px;
    padding: 0 10px;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select-wrap option {
    font-size: 16px;
}

.select-wrap::after {
    content:"";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}

.select-wrap select:focus {
    outline: 0;
    border-color: #222;
    box-shadow: 0 0 0 2px rgba(0,0,0,.06);
}

.select-wrap select:disabled {
    background: #f7f7f7;
    color: #999;
    cursor: not-allowed;
}

.full-width {
    display: flex;
    flex-direction: column;
}

.order-info textarea {
    grid-column: span 2;
    min-height: 80px;
    border: 1px solid #d9d9d9;
    padding: 10px 20px;
    font-size: 16px;
}

.ordering-btn {
    border: 1px solid #4A4239;
    text-align: center;
    align-self: center;
    align-content: center;
    height: 60px;
    width: 40%;
    font-size: 24px;
    color: white;
    background-color: #A1917E;
    transition: background-color 0.3s ease;
}

.ordering-btn:hover {
    transform: none;
}

@media screen and (max-width:1200px) {

    .order-content {
        flex-direction: column;
    }


    .order-info {
        width: auto;
    }

    .inp-promo,
    .apply {
        height: 40px;
    }
}

@media screen and (max-width:768px) {
    .ordering .container {
        padding: 20px 10px;
    }
    
    .goods,
    .order-info {
        border: none;
    }

    .order-info {
        display: flex;
        flex-direction: column;
    }
    
    .ordering-btn {
        width: 100%;
    }

    .goods {
        min-width: 100%;
    }

    .grid-2cols {
        display: flex;
        flex-direction: column;
    }
}

                                                                            /* Payment and Delivery Page */

.payment-delivery h4 {
    padding-bottom: 20px;
}

.payment-delivery p {
    padding: 10px 0;
}

.small {
    font-size: 14px;
}

.styleList {
    list-style: initial;
    line-height: 20px;
    padding: 10px 15px;
}

.styleList li {
    font-size: 16px;
}

.contact-us {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-btn {
    padding: 15px 0;
    text-align: center;
    background-color: #505050;
    border: 1px solid black;
    color: white;
    max-width: 265px;
}

@media screen and (max-width:768px) {
    .contact-btn {
        max-width: 100%;
    }

    h5 {
        font-size: 20px;
    }
}

                                                                            /* Item Page */

.tovar-flex {
    display: flex;
    gap: 50px;
    padding-top: 30px;
}

.gallery {
    flex: 4;
    max-width: 590px;
}

.allAbout {
    flex: 5;
}

                                    /* Gallery */

.pg {
    display: grid;
    grid-template-columns: 1fr 5fr;
    gap: 10px;
}

.pg-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: start;
}

.pb-thumb {
    cursor: pointer;
}

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

.pg-main img {
    width: 100%;
    height: 100%;
    max-height: 640px;
    transition: opacity .2s ease;
    cursor: pointer;
}

.pg-main { 
    background:#f4f4f4;
    overflow:hidden;
    display:grid; 
    place-items:center;
}

.pg-thumb {
    transition: 200ms ease;
}

.pg-thumb:hover {
    transform: scale(0.95);
}

.is-active {
    transform: scale(0.95);
    padding: 2px;
    border: 1px solid #505050;
}

                                /* All About */

.allAbout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.upperAbout {
    display: grid;
    gap: 15px;
}

.rating-num {
    font-size: 14px;
}

.upper-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.upper-low {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

span-gr {
    color: #039800;
    font-size: 16px;
}

span-art {
    color: #505050;
    font-size: 16px;
}

.sizes {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.colors {
    display: flex;
    gap: 30px;
}

.sizes-top {
    display: flex;
    gap: 30px;
}

.size-btn {
    border: 1px solid #d9d9d9;
    padding: 5px 10px;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.size-btn:hover {
    transform: scale(0.95);
}

.size-box-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 30px;
    border: 1px solid #D9D9D9;
    background-color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.size-box-2.selected {
    background-color:#A1917E;
    color: white;
}

.size-box-d {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 30px;
    border: 1px solid #D9D9D9;
    background-color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.size-box-d.selected {
    background-color:#A1917E;
    color: white;
}

.size-box-p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 30px;
    border: 1px solid #D9D9D9;
    background-color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.size-box-p.selected {
    background-color:#A1917E;
    color: white;
}

.sizes ul {
    display: flex;
    gap: 5px;
}

.color-label ul {
    display: flex;
    gap: 5px;
}

.color-label ul li{
    border: 1px solid #D9D9D9;
    max-height: 30px;
}

.color-box-2 {
    border-radius: 0;
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    inline-size: 40px;
    block-size: 28px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.color-box-2:checked {
    border: 1px solid #D9D9D9;
    transform: scale(0.8);
}

.buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.buttons button {
    cursor: pointer;
    transition: transform 0.25s ease;
}

.buttons button:hover{
    transform: scale(0.95);
}

.add-to-cart {
    border: 1px solid #4A4239;
    background-color: #505050;
    color: white;
    padding: 15px 30px;
}

.buy-now {
    border: 1px solid #4A4239;
    background-color: #A1917E;
    color: white;
    padding: 15px 30px;
}

.buttons .like-this {
    border: 1px solid #4A4239;
    padding: 14px;
}

.item-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    padding: 20px;
    border-bottom: 1px solid #d9d9d9;
    cursor: pointer;
}

                                /* pop ups */

                /*characteristics */

.chr-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    left:0;
    height: 100dvh;
    width: 100vw;
    position: fixed;
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.chr-container.show {
    pointer-events: auto;
    opacity:1;
}

.chr {
    background-color: #ffffff;
    width: 35%;
    height: 100dvh;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 70px 50px;
    position: relative;
    transform: translateX(20%);
    transition: transform 0.4s ease;
}

.chr p {
    font-size: 16px;
    line-height: 30px;
}

.chr.show {
    transform: translateX(0%);
}

.close-chr {
    position: absolute;
    left: 20px;
    top: 20px;
    cursor: pointer;
}

                /* Size */

.size-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    left:0;
    height: 100dvh;
    width: 100vw;
    position: fixed;
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.size-container.show {
    pointer-events: auto;
    opacity:1;
}

.size-content {
    background-color: #ffffff;
    width: 35%;
    height: 100dvh;
    display: flex;
    gap: 50px;
    flex-direction: column;
    justify-content: start;
    padding: 70px 50px;
    position: relative;
    transform: translateX(20%);
    transition: transform 0.4s ease;
}

.size-content.show {
    transform: translateX(0%);
}

.close-size {
    position: absolute;
    left: 20px;
    top: 20px;
    cursor: pointer;
}

.size-grid { 
    display: grid;
    grid-template-columns: repeat(5, auto);
}

.size-grid > p {
    padding-right: 20px;
    padding-top: 10px;
    border-bottom: 1px solid #d9d9d9;
    font-size: 16px;
}

.size-grid > p:nth-child(5n + 1) {
    color: #505050;
}

.size-grid > p:nth-child(-n+5) {
    color: #A1917E;
}

.size-info {
    width: 80%;
    display:flex; 
    align-items:center; 
    justify-content:center;
    gap: 50px;
}

.size-opys {
    font-size: 16px;
}

                    /* Delivery */

.del-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    left:0;
    height: 100dvh;
    width: 100vw;
    position: fixed;
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.del-container.show {
    pointer-events: auto;
    opacity:1;
}

.del-content {
    background-color: #ffffff;
    width: 35%;
    height: 100dvh;
    display: flex;
    gap: 50px;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 70px 50px;
    position: relative;
    transform: translateX(20%);
    transition: transform 0.4s ease;
}

.del-content.show {
    transform: translateX(0%);
}

.close-del {
    position: absolute;
    left: 20px;
    top: 20px;
}

.del-info-upper {
    display: flex;
    gap: 15px;
    align-items: center;
}

.del-info-upper img {
    width: 33px;
    height: 33px;
}

.del-info p {
    font-size: 14px;
    padding: 15px 0;
}

.del-info ul {
    list-style: initial;
    padding: 20px;
}

.del-info ul li {
    padding-bottom: 15px;
    font-size: 18px;
}

                    /* Payment */

.pay-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    left:0;
    height: 100dvh;
    width: 100vw;
    position: fixed;
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.pay-container.show {
    pointer-events: auto;
    opacity:1;
}

.pay-content {
    background-color: #ffffff;
    width: 35%;
    height: 100dvh;
    display: flex;
    gap: 50px;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 70px 50px;
    position: relative;
    transform: translateX(20%);
    transition: transform 0.4s ease;
}

.pay-content.show {
    transform: translateX(0%);
}

.close-pay {
    position: absolute;
    left: 20px;
    top: 20px;
}

.pay-info-upper {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-bottom: 15px;
}

.pay-info-upper img {
    width: 33px;
    height: 33px;
}

.pay-info ul {
    list-style: initial;
    padding: 20px;
}

.pay-info ul li {
    padding-bottom: 15px;
    font-size: 18px;
}

                                        /*Reviews*/

.reviews {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.reviews-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

button.reviewBtn {
    padding: 15px 40px;
    color: #ffffff;
    background-color: #A1917E;
    border: 1px solid #4A4239;
    align-self: center;
}

.revForm-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    left:0;
    height: 100dvh;
    width: 100vw;
    position: fixed;
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.revForm-container.show {
    pointer-events: auto;
    opacity:1;
}

.col {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.star-btn {
    font-size: 50px;
    line-height: 40px; 
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
}

.star-btn.active {
    color: black;
}

.row {
    flex: 1.5;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.review-form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    background-color: #ffffff;
    width: 35%;
    height: 70%;
    padding: 70px 20px;
    position: relative;
}

.close-rev {
    position: absolute;
    left: 20px;
    top: 20px;
    cursor: pointer;
}

.rev-name,
.rev-email {
    border: none;
    border-bottom: 1px solid #d9d9d9;
    padding: 10px 10px;
    font-size: 16px;
}

.col label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    padding: 10px 0;
}

.rev-text {
    display: flex;
    width: 100%;
    padding: 10px 10px;
    height: 100%;
    border: 1px solid #d9d9d9;
    font-size: 16px;
}

.form-actions {
    flex: 1;
    display: flex;
    justify-content: center;
}

.review {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #d9d9d9;
}

.reviews-meta {
    font-size: 16px;
    color: #505050;
}

.review .avatar {
    width: 62px;
    height: 62px;
    border-radius: 100%;
    background-image: url("images/avatar.png");
    background-size: cover;
    background-position: center;
    grid-column: 1;
    grid-row: 1 / span 3;
    align-items: center;
    justify-content: center;
}
.rev-top {
    display: flex;
    justify-content: space-between;
    grid-column: 2 /span 2;
}
.name {
    font-size: 16px;
}
.date {
    font-size: 16px;
    color: #505050;
}
.meta {
    grid-column: 2;
    line-height: 20px;
}
.text {
    font-size: 14px;
    grid-row: 3;
    grid-column: 2;
}


@media screen and (max-width:1200px) {
    .chr,
    .del-content,
    .pay-content,
    .size-content,
    .review-form {
        height: 100dvh;
        width: 50%;
    }
    .add-to-cart {
        padding: 15px 15px;
    }

    .buy-now {
        padding: 15px 15px;
    }
}


                                        /*pagination*/

.item-arrow {
    width: 10px;
    height: 10px;
    border-left: 2px solid black;
    border-bottom: 2px solid black;
    transform: rotate(-135deg);
}

.go-check-pages {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.arrow-back {
    position: absolute;
    width: 12px;
    height: 12px;
    border-left: 2px solid black;
    border-bottom: 2px solid black;
    rotate: 45deg;
    right: 6px;
}

.arrow-next {
    position: absolute;
    width: 12px;
    height: 12px;
    border-left: 2px solid black;
    border-bottom: 2px solid black;
    rotate: 225deg;
    left: 6px;
}

.go-check-pages .nav-btn {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.go-check-pages .nav-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.go-check {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px 0;
}

.sp-pg {
    display: none;
}

@media screen and (max-width: 1200px) {
    .tovar-flex {
        gap: 20px;
    }
    .gallery {
        flex: 1;
    }
    .allAbout{
        flex: 1;
    }
    .pg {
        grid-template-columns: 1fr;
    }
    .pg-thumbs {
        display: flex;
        flex-direction: row;
        grid-row: 2;
    }
    .pg-thumb {
        max-width: 100px;
        max-height: 100px;
        aspect-ratio: 1/1;
    }
    .buy-now,
    .add-to-cart {
        font-size: 16px;
    }
    .buy-now,
    .add-to-cart{
        padding: 15px 20px;
    }
    
    .size-grid p{
        font-size: 14px;
        padding-right: 15px;
    }
    .sizes {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
}

@media screen and (max-width:768px) {
    .go-check {
        padding: 0;
    }

    .tovar-flex {
        flex-direction: column;
        gap: 10px;
        padding-top: 15px;
    }
    .gallery {
        align-self: center;
        position: relative;
        width: 100vw;
    }
    .pg-thumbs {
        display: none;
    }
    .pg-main {
        display: none;
    }
    .sp-pg {
        display: flex;
        align-items: center;
        overflow-y: hidden;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    .sp-pg .like-this {
        position: absolute;
        right: 7px;
        top: 7px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 100%;
        width: 35px;
        height: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .sp-pg .likeThis img {
        width: 21px;
        height: 21px;
        transition: transform 0.3s ease;
    }
    .sp-pg a {
        flex: 0 0 100%;
        scroll-snap-align: start;
        gap: 10px;
        aspect-ratio: 1/1;
    }
    .sp-pg a img {
        aspect-ratio: 1/1;
    }
    .sp-pg::-webkit-scrollbar {
        height: 10px;
    }
    .sp-pg::-webkit-scrollbar-track {
        background: #ffffff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }
    .sp-pg::-webkit-scrollbar-thumb {
        background-color: #505050;
    }
    .sizes-top {
        flex-direction: column;
        gap: 10px;
        justify-content: stretch;
    }
    .size-box-2 {
        width: 50px;
        height: 30px;
    }
    .colors {
        flex-direction: column;
        gap: 10px;
    }
    .color-box-2 {
        width: 50px;
        height: 30px;
    }
    .color-label ul li {
        max-height: 32px;
    }
    .buttons {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .buy-now,
    .add-to-cart{
        font-size: 20px;
    }
    .buttons .like-this {
        display: none;
    }
    .upperAbout {
        grid-template-columns: 3fr 1fr;
    }
    .upperAbout img {
        justify-self: end;
        align-self: center;
    }
    .upperAbout h4 {
        font-size: 20px;
    }
    .upper-top {
        grid-column: 1 / span 2;
    }
    .upperAbout h4 {
        grid-column: 1 /span 2;
    }
    .upper-low {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        grid-column: 1 /span 2;
    }

    .chr,
    .del-content,
    .pay-content,
    .size-content,
    .review-form {
        width: 100vw;
        height: 100dvh;
        padding: 40px 20px;
        overflow-y: auto;
    }
    .close-chr,
    .close-del,
    .close-pay,
    .close-size,
    .close-rev {
        left: auto;
        right: 20px;
    }
    .col label {
        font-size: 12px;
    }
    .size-grid p{
        font-size: 12px;
        padding-right: 10px;
    }
    .container {
        padding: 20px 10px;
    }
    .go-check-pages {
        gap: 10px;
    }
}

.login-container{
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
}

.login-content{
    width: 33vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.login-content span {
    text-align: center;
    max-width: 70%;
}

.login-form {
    width: 100%;
    padding: 30px 30px;
    background-color: #FAFAFA;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.login-form label {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    position: relative;
}

.login-form label input {
    width: 100%;
}

.login {
    border: none;
    border-bottom: 1px solid #D9D9D9;
    background-color: #FFFFFF;
    height: 40px;
    padding: 0 20px;
    font-size: 16px;
}

.form-grid label {
    position: relative;
}

.oko-pass {
    position: absolute;
    right: 10px;
    top: 25%;
}

.oko-pass:hover {
    transform: none;
}

.forgetPass {
    font-size: 12px;
    background-color: transparent;
    color: #808080;
    align-self: end;
}

.forgetPass:hover {
    transform: none;
}

.loginBtn {
    color: white;
    border: 1px solid #4A4239;
    background-color: #505050;
    padding: 15px 70px;
}

.forgot-pass-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left:0;
    height: 100dvh;
    width: 100vw;
    position: fixed;
    pointer-events: none;
    z-index: 111;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.forgot-pass-overlay.show {
    pointer-events: auto;
    opacity:1;
}

.forgot-pass-content {
    background-color: #ffffff;
    padding: 70px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 50%;
    position: relative;
}
.close-forgot-btn{
    position: absolute;
    left: 20px;
    top: 20px;
}
.approve-acc {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.approve-acc p {
    font-size: 16px;
}
.form-flex {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.form-flex label {
    position: relative;
}
.form-flex input{
    width: 100%;
}

.approve-code {
    position: absolute;
    right: 0;
    bottom: 0;
    color: white;
    border: 1px solid #4A4239;
    background-color: #505050;
    padding: 10px 20px;
    font-size: 14px;
}
.choose {
    font-size: 14px;
}

.loginBtn:hover,
.approve-code:hover,
.choose:hover {
    transform: none;
}


.or {
    padding-top: 5px;
    padding-bottom: 10px;
    font-size: 14px;
    color: #808080;
}

.pidpys {
    min-width: 35%;
    padding-top: 20px;
    font-size: 12px;
    color: #808080;
    text-align: center;
}

.pidpys a {
    font-size: 12px;
    color: #505050;
}

.pidpys a:hover {
    text-decoration: underline;
}

.withAPI {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    border: 1px solid #B7B4B0;
    padding: 10px 20px;
}

.withAPI:hover{
    transform: none;
}

.go-to-register {
    font-size: 14px;
    padding-top: 30px;
}

.register-container{
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
}

.register-content{
    width: 45vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.register-content span {
    text-align: center;
    max-width: 70%;
}

.register-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 30px;
    background-color: #FAFAFA;
    gap: 20px;
}

.form-grid {
    width: 100%;
    display: grid;
    column-gap: 50px;
    row-gap: 20px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.form-grid input {
    width: 100%;
}

.go-to-login {
    font-size: 14px;
}

@media screen and (max-width: 1024px) {
    .login-content {
        width: 40vw;
    }
    .register-content {
        width: 70vw;
    }
    .forgot-pass-content{
        width: 60%;
    }
}
@media screen and (max-width: 768px) {
    .login-content {
        width: 100%;
    }
    .register-content {
        width: 100%;
    }
    .login-form {
        width: 100vw;
        align-items: stretch;
        padding: 20px;
    }
    .register-form {
        width: 100vw;
        padding: 20px;
        align-items: stretch;
    }
    .form-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .loginBtn {
        padding: 15px 0;
    }
    .withAPI {
        width: 100%;
    }
    .pidpys {
        align-self: center;
    }
    .forgot-pass-overlay{
        top: 61px;
    }
    .forgot-pass-content {
        width: 100%;
        height: 100dvh;
    }
    .approve-code{
        position: initial;
        margin: 10px 0;
        width: 100%;
    }
}


#toTopBtn {
    position: fixed;
    right: 36px;
    bottom: 36px;
    background-color: rgba(128, 128, 128, 0.3);
    border-radius: 100%;
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    display: none;
}

.toTop {
    width: 14px;
    height: 14px;
    border-left: 3px solid black;
    border-bottom: 3px solid black;
    rotate: 135deg;
    margin-top: 5px;
}

#toTopBtn:hover {
    transform: scale(1.1);
}

#toTopBtn.show{
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1200px) {
    h4 {
        font-size: 28px;
    }

    .container {
        padding: 15px 40px;
    }
}

@media screen and (max-width: 768px) {

    body {
        padding-top: 60px;
    }

    h4 {
        font-size: 24px;
    }

    .container {
        padding: 20px 20px;
    }

    #toTopBtn {
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .toTop {
        width: 12px;
        height: 12px;
        border-left: 2px solid black;
        border-bottom: 2px solid black;
    }
}
