/* .container {
    width: 100%;
} */

.breadcrumbs-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.header-shop {
    width: 100%;
    display: grid;
    height: 70px;
    background: #eee9e5;
    grid-template-columns: 1fr 1fr;
    justify-items: center
}

.header-shop >* {
    display: flex;
    align-items: center;
    width: 70%;
}

.search-column {
    justify-content: end;
}

/* .breadcrumbs {        
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 80%;
    color: #859E7E;
    font-weight: 600;
    font-size: 18px;
} */

.product-banner {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.product-info {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    justify-items: center; 
    margin-top: 100px;
    background: #eee9e5;
}

.product-info >* {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.product-info img {
    width: 100px;
}

.product-info-column:first-child {
    height: clamp(200px,550px, 550px); 
}

.product-image {
    position: absolute;
    height: calc(100% + 100px);
    width: 80%;
    top: -50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 35% 35% 0% 0%;
}

.product-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.product-short-description {
    flex-direction: column;
    position: relative;
    color: #859E7E;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    padding: 20px;
    width: 100%;
}

.product-short-description::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0px;
    width: 75%;
    left: -30px;
    border-bottom: 3px solid #859E7E;
}

.product-short-description::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -30px;
    left: 0px;
    height: 75%;
    border-left: 3px solid #859E7E;
    padding: 20px;
}

.product-title {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 50px 0px 0px 20px;
    justify-content: flex-start;
}
.product-title h1 {
    color: #859E7E;
    font-size: 2em;
    font-weight: 600;
    width: 50%;
}

.product-price-section {
    display: grid;
    place-items: center;
    grid-template-rows: 1fr 1fr;
    grid-row-gap: 20px;
    margin: 20px 0px;
}

.product-price {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

/* .accordion-title {
    color: #859E7E;
    text-decoration: none;
    font-size: 2em;
    font-weight: 600;
    border: solid;
    border-width: 1px 0px 1px 0px;
    background-color: #eee9e5;
    cursor: pointer;
    padding: 10px 10px;
    width: 100%;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
} */

.accordion-title {
    color: #859E7E;
    text-decoration: none;
    font-size: 2em;
    font-weight: 600;
    border-width: 1px 0px 1px 0px;
    background-color: #eee9e5;
    padding: 10px 0px;
    width: 100%;
    transition: 0.4s;
    display: flex;
    align-items: center;
}

.top-accordion {
    padding-top: 30px;
}

/* .top-accordion {
    border-width: 2px 0px 1px 0px;
} */

/* .bottom-container {
    border-bottom: 2px solid #859E7E;
} */

.accordion-container {
    padding: 0 18px;
    font-size: 15px;
    background-color: #eee9e5;
    color: black;
    /* overflow: hidden; */
    transition: all 0.5s ease-in-out;
    /* max-height: 0; */
    max-height: 100%;
}

.accordion-container.open-container {
    max-height: 100%;
    transition: all 0.5s ease-in-out;
}

.accordion-section.active-acc {
    background-color: #366CA3;
    border: 1px solid #5aa1e380;
    color: #fff;
} 

.accordion-section:hover {
    background-color: #dddddd;
}

.arrow-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 10px;
}

.arrow-acc {
    border: solid;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 5px;
    transition: transform 0.3s ease-out;
    transform: rotate(45deg);
}

/* Comented so that the arrow does not turn anymore */
/* .arrow-acc.rotate-arrow {
    transition: transform 0.3s ease-out;
    transform: rotate(135deg);
} */

.star-select {
    width: 44px;
    height: 44px;
    background: #9a9a9a;
    display: inline-flex;
    cursor: pointer;
    margin: 0.5vmin 0.65vmin;
    clip-path: polygon(50% 0%, 66% 32%, 100% 38%, 78% 64%, 83% 100%, 50% 83%, 17% 100%, 22% 64%, 0 38%, 34% 32%);
    position: relative;
}

.star-select::after {
    content: "";
    position: absolute;
    background: transparent;
    clip-path: polygon(50% 0%, 66% 32%, 100% 38%, 78% 64%, 83% 100%, 50% 83%, 17% 100%, 22% 64%, 0 38%, 34% 32%);
    top: 7px;
    left: 7px;
    width: 30px;
    height: 30px;
    transition: all 0.3s ease-in-out;
}

.star-select::before {
    content: "";
    position: absolute;
    background: transparent;
    top: 0px;
    left: 0px;
    width: 50px;
    height: 50px;
}

.star-select input {
    visibility:hidden;
}

.star-select.checked {
    background: yellow;
    transition: all 0.3s ease-in-out;
}

.star-select:hover {
    background: yellow;
}

.star-select:hover::after {
    background: #9a9a9a;
}

.reviewCard {
    display: grid;
    width: 80%;
    background: #d1cbcb;
    border: 1px solid gray;
    margin: 20px 0px;
    border-radius: 5px;
    grid-template-columns: 20% 80%;
}

.star-rating {
    display:flex;
}

.star-rating p {
    margin-left: 5px;
}

.star {
    width: 20px;
    height: 20px;
    background: #9a9a9a;
    display: inline-flex;
    clip-path: polygon(50% 0%, 66% 32%, 100% 38%, 78% 64%, 83% 100%, 50% 83%, 17% 100%, 22% 64%, 0 38%, 34% 32%);
    position: relative;
}

.star-filled {
    width: 100%;
    background: yellow;
}

.reviewCard >* {
    padding: 10px 20px;
    display: grid;
    grid-template-rows: 25px 175px;
}

.header-card {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;        
    border-right: 1px solid gray;
}

.header-card >* {
    margin: 2px;
}

.header-card .circle {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 30px;
    color: white;
    font-weight: 600;
}

.review-text {
    background: white;
    padding: 10px;
    border-radius: 5px;
    overflow-y: scroll;
    min-width: 200px;
}

.accordion-element {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.container-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*align-items: center;*/
    width: 80%;
    padding: 15px;
}

.container-content.reviews-block {
    align-items: center;
}

.product-price-row {
    width: 100%;
    display: grid;
    place-items: center;
    grid-template-columns: 1fr 1fr;
}

.product-price {
    color: #859E7E;
    font-size: 2em;
    font-weight: 600; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-pieces {
    display: flex;
    width: 60%;
    align-items: center;
    justify-content: center;
}

.quantity-input {
    display: flex;
    width: 100%;
    justify-content: center;
    border: 2px solid #859e7e;
    border-radius: 20px;
    overflow: hidden;
}

.quantity-input button {
    width: 30%;
    border: none;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-input button:hover {
    background: #859e7e;
}

.quantity-input button:active {
    background: #f0f0f0;
}

.quantity-input input {
    width: 40%;
    border: none;
    /* -moz-appearance: textfield; */
    text-align: center;
    font-size: 25px
}

.quantity-input input::-webkit-outer-spin-button,
.quantity-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.select-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.selectQuantity {
    width: 60%;
    padding: 6px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;        
    background: transparent;
    border: 2px solid #859e7e;
}

.selectQuantity option {
    border: 1px solid #859e7e;
}

.add-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-section button {
    width: 60%;
    background: #859e7e;
    padding: 6px;
    border-radius: 20px;
    cursor: pointer;
    color: #eee9e5;
    font-weight: 600;
    font-size: 20px;
    border: none;
}

.add-section button:hover {
    background: #5c7356;
}

.container-content form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 80%;
}

.add-review {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.add-review textarea {
    resize: none;
    padding: 20px;
    margin: 10px 0px;
}

.add-review button {
    background: #859e7e;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    color: #eee9e5;
    font-weight: 600;
    font-size: 20px;
    border: none;
}

.product-tags {
    /* display: grid; */
    width: 90%;
    /* grid-template-columns: repeat(3, 1fr); */
    /* margin: 30px 0px; */
}

.tag-items {
    display: flex;
    /*flex-wrap: wrap;*/
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 5%;
}

.tag-section {
    display: flex;
    margin: 3%;
    text-align: center;
    width: 400px;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.tag-image {
    width: 250px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
}

.tag-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintain aspect ratio, cover entire container */
    object-position: center; /* Center the image */
}

.tag-name {
    color: #859E7E;
    font-size: 2em;
    font-weight: 600;
}

.swiper-section {
    display: flex;
    width: 100%;
    overflow: hidden;
    justify-content: center;
}

.swiper {
    width: 80%;
    height: 100%;
    z-index: 0;
    margin-bottom: 5%;
    position: relative;
}

.swiper-header {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 40px;
    font-size: 4em;
    color: #262747;
}

.swiper-header h2 {
    text-align: center;
}

.swiper span {
    position: absolute;
    top: 50%;
    height: 45px;
    width: 45px;
    cursor: pointer;
    font-size: 2em;
    text-align: center;
    line-height: 46px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.swiper span:first-child {
    left: -50px;
    display: none;
}

.swiper span:last-child {
    right: -50px;
}

.carousel {
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    scroll-behavior: smooth;
    scrollbar-width: 0;
    display: flex;
    transition: transform 0.5s;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.carousel.dragging {
    cursor: grab;
    scroll-behavior: auto;
}

.carousel.dragging .card {
    pointer-events: none;
}

/* .carousel .card {
    height: 340px;
    width: calc(100% /3);
    margin-left: 15px;
} */

.carousel .card {
    height: 340px;
    width: 300px;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
}

.card-link {
    width: 90%;
    height: 90%;
    text-decoration: none;
}

.card-content {
    height: 90%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #EEE9E5;
    border-radius: 20px;
}

.carousel .card .card-image img {
    height: 100%;
    width: auto;
    object-fit: cover;
    min-width: 270px;
} 

.carousel .card:first-child {
    margin-left: 0px;
}

.card-body {
    height: 30%;
    text-align: center;
    padding: 10px;
}

.card-body h2 {
    white-space: normal;
}

.breadcrumbs {
    border: 1px solid #cbd2d9;
    border-radius: 0.3rem;
    display: inline-flex;
    overflow: hidden;
}

.breadcrumbs__item {
    background: #fff;
    color: #333;
    outline: none;
    padding: 0.75em 0.75em 0.75em 1.25em;
    position: relative;
    text-decoration: none;
    transition: background 0.2s linear;
    font-size: 1.1em;
}

.breadcrumbs__item:hover:after,
.breadcrumbs__item:hover {
    background: #edf1f5;
}

.breadcrumbs__item:focus:after,
.breadcrumbs__item:focus,
.breadcrumbs__item.is-active:focus {
    background: #859E7E;
    color: #fff;
}

.breadcrumbs__item:after,
.breadcrumbs__item:before {
    background: white;
    bottom: 0;
    clip-path: polygon(50% 50%, -50% -50%, 0 100%);
    content: "";
    left: 100%;
    position: absolute;
    top: 0;
    transition: background 0.2s linear;
    width: 1em;
    z-index: 1;
}

.breadcrumbs__item:before {
    background: #cbd2d9;
    margin-left: 1px;
}

.breadcrumbs__item:last-child {
    border-right: none;
}

.breadcrumbs__item.is-active {
    background: #859E7E;
    font-size: 1.2em;
}

@media screen and (max-width: 1500px) {
    .tag-items {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 1300px) {
    .product-image {
        width: 100%;                    
    }
    .add-section button {
        width: 70%;
    }
}

@media screen and (max-width: 1100px) {
    .product-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .product-image {
        width: 80%;                    
    }
}

@media screen and (max-width: 970px) {
    .product-tags {
        display: flex;
        flex-direction: column;
    }
    .product-title {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 50px 0px 0px 20px;
        justify-content: flex-start;
        flex-direction: column;
    }
    .product-title h1 {
        color: #859E7E;
        font-size: 2em;
        font-weight: 600;
        width: 100%;
        margin: 2%;
    }
    .add-section button {
        width: 80%;
    }
    .carousel .card {
        width: calc(100% /1);
    }
    .accordion-element .container-content {
        width: 90%;
    }
    .reviewCard {
        display: grid;
        width: 100%;
        grid-template-columns: 30% 70%;
    }
}

@media screen and (max-width: 768px) {
    .breadcrumbs-container {
        margin-left: 1%;
        margin-right: 1%;
    }
    .breadcrumbs {
        border: 1px solid #cbd2d9;
        border-radius: 0.3rem;
        display: inline-flex;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 700px) {
    .product-image {
        width: 100%;                    
    }
    .tag-image {
        width: 200px;
        height: 200px;
    }
    .swiper-header {
        font-size: 3em;
    }
    .add-section button {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .product-info >* {
        width: 90%;
    }
    .reviewCard {
        display: flex;
        width: 100%;
        background: #d1cbcb;
        border: 1px solid gray;
        margin: 20px 0px;
        border-radius: 5px;
        flex-direction: column;
        align-items: center;
    }
    .header-card {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        border-right: none;
        border-bottom: 1px solid grey;
    }
}

@media screen and (max-width: 500px) {
    .product-info-column:first-child {
        height: 450px;
    }
    .product-title h1 {
        margin: 0%;
    }
    .product-image {
        border-radius: 30% 30% 0% 0%;
    }
}

@media screen and (max-width: 400px) {
    .product-image {
        height: calc(100% + 50px);
    }

}

@media screen and (max-width: 360px) {
    .product-info-column:first-child {
        height: 400px;
    }
    .swiper-header {
        font-size: 2em;
    }
}