ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: sans-serif;
}

.card {
    /* max-height: 500px;
    max-width: 500px; */
    /* height: 200px; */
    /* min-width: 200px; */
    /* width: 25%; */
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 30px;

}

.title-container {
    display: flex;
    position: relative;
    padding: 0px 6%;
    margin: 0 auto;
    margin-bottom: 50px;
    justify-content: space-between;
    align-items: center;
}

.main-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 0 0 0;
    padding: 0 0 0 0;

    text-align: center;
    display: block;
    font-size: 20px;
    font-weight: bold;
    text-transform: none;
    color: #3f3f3f
}

.back svg{
    transform: translateY(3px);
    fill: #856e6e;
}


.back:hover svg{
    fill: gray;
}


.card-img {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease-in-out;
}


.flowers-list {
    /* width: 90%; */
    /* margin: 0 auto; */
    /* list-style-type: none; */
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: normal;
    

}

.flowers-item {
    margin-right: 50px;
    margin-bottom: 50px;
    width: 27%;
    min-width: 250px;
    border-radius: 30px;
    /* border-radius: 20px;
    overflow: hidden; */
    /* background-color: #FFF6E9; */
    color: black;
    /*transition: color 0.3s ease-in-out;*/
}

.flowers-item:nth-child(3n) {
    margin-right: 0;
}

/*.flowers-item:hover {
    color: rgb(199, 146, 146);

}*/

/*.flowers-item:active {
    color: #292C6D;
}*/

.card-name {
    position: relative;
    font-weight: 400;
    font-size: 19px;
    text-align: center;
    margin-bottom: 10px;
    color: #3f3f3f;
}

.card-price {
    font-weight: 400;
    font-size: 16px;
    color: #9f9f9f;

}

.header-box {
    box-sizing: border-box;
    width: 100%;
    height: 150px;
    background-color: #FAEDF0;
    border-bottom-right-radius: 20%;
    border-bottom-left-radius: 20%;
    background-image: linear-gradient(rgba(29, 29, 29, 0.5), rgba(50, 50, 50, 0.5)), url("../img/header_background.webp");
    background-position: 25% 85%;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 10% 30px 10%;
    margin-bottom: 80px;

}

.header-top {
    width: 100%;
    max-width: 1200px;
    position: relative;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #bfb8b8;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

/*
.header-top .logo {
    display: inline-block;
    margin-bottom: 20px;
    margin-right: auto;
    padding-left: 44%;
    margin-right: calc(45% - 170px);
}
*/
.header-top svg {
    /*transform: translateY(15px);*/
    min-width: 46px;
    min-height: 46px;
    margin-right: 10px;
}

.item-img {
    margin-right: 50px;
    margin-bottom: 50px;
    width: 30%;
    min-width: 250px;
}

.item-info {
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    width: 90%;
    font-weight: 400;
    padding: 0 15px;

}

.item-title {
    color: #000;
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 400;
}

.item-descr {
    width: 50%;
    color: #3f3f3f;

    /* white-space: pre-wrap; */
}

.item-buy {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
}

.item-buy-wrap {
    box-sizing: border-box;
    display: flex;
    width: 50%;
}

.item-buy-wrap form{
    width: 100%;
}

.variant-choice {
    display: flex;
    margin-bottom: 20px;
    justify-content: space-evenly;
    width: 100%;
}

.variant {
    display: flex;
}

.variant-info {
    font-size: 14px;
    padding-left: 5px;
}

.variant label {
    min-width: fit-content;
}

.variant input {
    width: 100%;
    margin-right: 7px;
    accent-color: #793c3c;
}

.variant-name {
    color: #856e6e;
    font-weight: 600;
    margin-right: 15px;
    text-transform: uppercase;
}
.item-price {
    font-weight: 400;
    font-size: 18px;
    margin-right: 50px;
}

.button-buy {
    position: relative;
    border: solid 1px #856e6e;
    background-color: #856e6e;
    padding: 15px 50px 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.button-buy:hover {
    background-color: #ad9393;
    border: solid 1px #ad9393;
}

.button-buy:active {
    border: solid 1px #5c0000;
}

.card-name:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background-color: grey;
  opacity: 0;
  transform: scale(0);
  transition-property: opacity, transform, background-color;
  transition-duration: .3s;
  transition-timing-function: ease-in-out;
}

.card-name:focus-visible {
  outline-color: grey;
}

/*.card-name:hover:not(:focus-visible)::before {
  opacity: 1;
  transform: scale(1);
}*/

.card-img.link:hover:not(:focus-visible) {
  /*text-decoration: underline;*/
  box-shadow: 5px 2px 15px #CACACA;
}

.card-name:active:not(:focus-visible) {
  color: black;
}

.card-name:active:not(:focus-visible):before {
  background-color: black;
}

.cart-sum {
    color: #fff
}

.cart-sum-mobile {
    color: black;
    font-size: 14px;


    position: absolute;
    left: 100%; /* just to the right of the cart icon */
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    margin-left: 8px;
}

.button-buy svg {
    position: fixed;
    top: 50%;
    left: 45%;
}
.cart-list {
    width: 50%;
    margin-right: 15px;
}
.cart-item {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 15px;
}
.cart-item-info {
    display: flex;
    width: 70%;
    justify-content: space-evenly;
    align-items: center;
}
.cart-list-wrap {
    display: flex;
    align-items: start;
    justify-content: center;
}
.cart-item-name {
    width: 25%;
    margin-right: 15px;
}
.cart-img {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    margin-right: 20px;
}
.amount-wrap {
    display: flex;
    align-items: center;

}

.change-amount {
    color: #856e6e;
    padding: 0 0 0 0;
    width: 40px;
    height: 40px;
    background-color: #F5F3F3;
    border: none;
    border-radius: 50px;
    font-weight: 400;
    font-size: 26px;
    margin: 0 8px;
    cursor: pointer;
}

.change-amount:hover {
    background-color: #ece3e3;
}
.cart-total {
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    padding: 30px 0;
}
.total-label {
    margin-right: 100px;
}
.order-form {
    display: flex;
    flex-direction: column;
    width: 30%;
    max-width: 400px;
}
.order-form input {
    margin-bottom: 15px;
    border: solid 1px #ece3e3;;
    border-radius: 5px;
    padding: 5px 7px 5px 7px;
    font-weight: 400;
    font-size: 14px;
    min-height: 20px
}
.button-confirm {
    background-color: #856e6e;
    margin-bottom: 50px;
    border: none;

    color: #fff;
    padding: 15px 50px 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.button-confirm:hover {
    background-color: #ad9393;
}

#shipping-fields {
    display: flex;
    flex-direction: column;
}
.pickup-method {
    display: flex;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 15px;
}
.pickup-method input {
    accent-color: #793c3c;
    margin: 0 15px 0 0;
}
.adjust-height {
    padding-bottom: 2px;
}
.delivery-info {
    color: #9f9f9f;
    font-weight: 400;
    font-size: 14px;
}
.bottom-nav {
    display: none;
    position: relative;
}
.bottom-nav-item {
    position: relative;
}
.info-block {
    display: flex;
    max-width: 1400px;
    padding: 50px 0;
    width: 80%;
    justify-content: space-evenly;
}
.info-block:first-child {
    padding-top: 0;
}
.info-wrap {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.info-text {
    margin-right: 100px;
    font-weight: 400;
    color: #3f3f3f;
}
.delivery-img {
    min-width: 40%;
    min-height: 300px;
    background-image: url("../img/map.webp");
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 30px;
}
.about-img {
    min-width: 40%;
    min-height: 300px;
    background-image: url("../img/about.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 30px;
    margin-right: 100px;
}
.delivery-zone {
    text-decoration: underline;
}
.info-title {
    color: #3f3f3f;
    font-size: 18px;
}
.reverse {
    border-top: 2px solid #e6e6e6;
}
.header-nav-link {
    position: relative;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-right: 50px;
}
.header-nav-link:last-child {
    margin-right: 0;
}
.header-nav-link {
}
.header-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: #fff;
  transition: width 0.1s ease-in-out;
}

.header-nav-link:hover::after {
  width: 100%;
}

.header-info {
    color: #bfb8b8;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}
.header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
 }
 .cart-top {
    display: flex;
    align-items: center;
 }
 .socials {
    display: flex;
    align-items: center;
    padding: 0 50px;
 }
 .social-link {
    margin-right: 50px;
 }
 .social-link:hover svg{
    fill: #ad9393;
 }