body {
    scroll-behavior: smooth;
}

.wrapper-box {
    position: relative;
    margin: auto;
    display: block;
    margin-top: 0;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
}

.wrapper-box .dough {
    width: 12rem;
    height: 7rem;
    left: 5.7rem;
    background-color: #FFCF70;
    position: absolute;
    bottom: 45%;
    border-radius: 14rem 14rem 1rem 1rem;
    transform: rotate(45deg);
}

.wrapper-box .dough.back {
    left: 5rem;
    background-color: #FFCF70;
}

.wrapper-box .eyes {
    background-color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 1rem;
    position: absolute;
    z-index: 5;
}

.wrapper-box .eyes.-left {
    bottom: 55%;
    left: 45%;
}

.wrapper-box .eyes.-left::before {
    content: '';
    background: black;
    width: .7rem;
    height: .7rem;
    position: absolute;
    border-radius: 1rem;
    left: .2rem;
    bottom: 6px;
    animation: eyes 3s ease infinite;
    animation-delay: 1s;
}

.wrapper-box .eyes.-rigth {
    bottom: 55%;
    left: 56%;
}

.wrapper-box .eyes.-rigth::before {
    content: '';
    background: black;
    width: .7rem;
    height: .7rem;
    position: absolute;
    border-radius: 1rem;
    left: .2rem;
    bottom: 6px;
    animation: eyes 3s ease infinite;
    animation-delay: 1s;
}

.wrapper-box .bite {
    width: 2rem;
    height: 2rem;
    position: absolute;
    background: var(--bg-main);
    border-radius: 3rem;
    left: 5rem;
    top: 4.3rem;
}

.wrapper-box .bite2 {
    width: 2rem;
    height: 2rem;
    position: absolute;
    background: var(--bg-main);
    border-radius: 3rem;
    left: 6.5rem;
    top: 4.5rem;
}

.wrapper-box .bite3 {
    width: 2rem;
    height: 2rem;
    position: absolute;
    background: var(--bg-main);
    border-radius: 3rem;
    left: 7.5rem;
    top: 3.5rem;
}

.wrapper-box .salad {
    background: #2bbf7f;
    width: 3rem;
    height: 5rem;
    border-radius: 10rem;
    position: absolute;
    bottom: 55%;
    left: 9rem;
}

.wrapper-box .salad.s1 {
    bottom: 42%;
    left: 13rem;
    height: 2rem;
}

.wrapper-box .salad.s2 {
    background: #D65353;
    left: 14rem;
    height: 2rem;
    width: 2rem;
    bottom: 55%;
}

.wrapper-box .salad.s3 {
    background: #581d1d;
    bottom: 60%;
    left: 10rem;
}

.wrapper-box .salad.s4 {
    background: #D65353;
    left: 13.5rem;
    height: 2rem;
    width: 2rem;
    bottom: 37.2%;
}

.wrapper-box .salad.s5 {
    background: #D65353;
    left: 13.5rem;
    height: 2rem;
    width: 2rem;
    bottom: 42%;
}

.wrapper-box .salad.s6 {
    background: #581d1d;
    bottom: 47%;
    left: 13.3rem;
    height: 3rem;
}

.wrapper-box .salad.s7 {
    background: #2bbf7f;
    left: 12.6rem;
    height: 2rem;
    width: 2rem;
    bottom: 31%;
}

.wrapper-box .salad.s8 {
    background: #581d1d;
    left: 13rem;
    height: 2rem;
    width: 2rem;
    bottom: 56.9%;
}

.wrapper-box .salad.s8::before {
    content: '';
    width: 4rem;
    height: 5rem;
    background: #2bbf7f;
    position: absolute;
    border-radius: 5rem;
    left: -1.8rem;
    bottom: -42%;
}

.wrapper-box .salad.s9 {
    background: #D65353;
    left: 11rem;
    bottom: 64.9%;
    width: 3rem;
    height: 3rem;
}

.container {
    display: flex;
    justify-content: initial!important;
    align-items: initial!important;
}

footer .container {
    align-items: center!important;
}

.fit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.thought-bubble {
    position: absolute;
    background: var(--color-base-100);
    border: 2px solid black;
    border-radius: 20px;
    padding: 10px;
    width: 200px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.thought-bubble::before,
.thought-bubble::after {
    content: '';
    position: absolute;
    background: var(--color-base-100);
    border: 2px solid black;
    border-radius: 50%;
}

.thought-bubble::before {
    width: 20px;
    height: 20px;
    bottom: -10px;
    left: 20px;
}

.thought-bubble::after {
    width: 10px;
    height: 10px;
    bottom: -25px;
    left: 30px;
}

.main-dock .dock-active {
    content: "";
    position: absolute;
    height: calc(0.25rem * 1);
    width: calc(0.25rem * 10);
    border-radius: calc(infinity * 1px);
    background-color: currentColor;
    bottom: 0.2rem;
    border-top: 3px solid;
}

#map-view {
    position: relative;
    background: var(--color-base-100);
    overflow: hidden;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.navbar {
    max-height: 4rem;
}
.drawer {
    position: fixed;
    bottom: 4.5rem;
    left: 0;
    right: 0;
    height: 90vh;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(calc(100% - 15vh));
    transition: transform 0.3s ease;
    z-index: 950;
}

.expanded-drawer {
    transform: translateY(calc(100% - 25vh));
}

#drawer-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.drawer.open {
    transform: translateY(30vh);
    cursor: default;
}

.drawer-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 2px;
    margin: 12px 0;
    cursor: grab;
    z-index: 10;
    background-color: var(--color-base-content)
}

.close-button {
    position: fixed;
    top: 28px;
    right: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.drawer.open .close-button {
    display: flex;
}

.drawer.expanded-drawer .close-button {
    display: flex;
}

.close-button::before,
.close-button::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: #666;
}

.close-button::before {
    transform: rotate(45deg);
}

.close-button::after {
    transform: rotate(-45deg);
}

.minimal-content {
    padding: 28px 20px 0;
    cursor: pointer;
    width: 100vw;
}

.drawer {
    cursor: pointer;
}

.drawer-content {
    display: none;
    height: 100%;
    flex-direction: column;
    width: 100vw;
}

.drawer.open .drawer-content {
    display: flex;
    overflow-y: auto;
    height: 70vh;
}

.drawer.open .minimal-content {
    display: none;
}

#shareBtn {
    display: none;
    position: fixed;
    top: 28px;
    right: 50px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    color: #666;
    align-items: center;
    justify-content: center;
}

#shareBtn i::before {
    position: absolute;
    top: 5px;
    right: 5px;
}

.user-location-marker {
    position: relative;
}

.ring-container {
    position: relative;
}

.circle {
    width: 15px;
    height: 15px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.ringring {
    border: 3px solid var(--color-secondary);
    border-radius: 50%;
    height: 25px;
    width: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: pulsate 1s ease-out;
    animation-iteration-count: infinite;
    opacity: 0;
}

@keyframes pulsate {
    0% {
        transform: translate(-50%, -50%) scale(0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.drawer-drag-area {
    cursor: grab;
    user-select: none;
}

.drawer-drag-area:active {
    cursor: grabbing;
}

.map-controls {
    position: fixed;
    width: 100%;
    top: -3.5rem;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 900;
    pointer-events: none;
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-controls > * {
    pointer-events: auto;
}

.drawer.expanded-drawer #shareBtn {
    display: initial;
}

.drawer-header {
    padding: 28px 20px 10px;
    z-index: 2;
    border-radius: 16px 16px 0 0;
    cursor: grab;
    user-select: none;
}

.drawer-header:active {
    cursor: grabbing;
}

.drawer-scrollable-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.carousel-section {
    padding: 0 20px;
    margin: 0 -20px;
    overflow: hidden;
}

.carousel-view {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 0 20px;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
}

.carousel-view::-webkit-scrollbar {
    display: none;
}

.carousel-view-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 256px;
    margin-bottom: 5px;
}

/* Additional info section */
.additional-info {
    padding: 20px;
}

/* Utility classes */
.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Rating stars styling */
#ratingsList .fa-star::before, 
#ratingsList .fa-star-o::before, 
#ratingsList .fa-star-half-stroke::before, 
#ratingsList .fa-star-half-o::before,
#reviewList .fa-star::before, 
#reviewList .fa-star-o::before, 
#reviewList .fa-star-half-stroke::before,
#reviewList .fa-star-half-o::before,
#drawer .fa-star::before,
#drawer .fa-star-o::before, 
#drawer .fa-star-half-stroke::before,
#drawer .fa-star-half-o::before,
#commentList .fa-star::before,
#commentList .fa-star-o::before,
#commentList .fa-star-half-stroke::before,
#commentList .fa-star-half-o::before {
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1rem;
}

#location-rate-btn .fa-star::before,
#location-rate-btn .fa-star-o::before,
#location-rate-btn .fa-star-half-stroke::before,
#location-rate-short .fa-star::before, 
#location-rate-short .fa-star-o::before, 
#location-rate-short .fa-star-half-stroke::before {
    color: white;
}

#filter-stars-label .fa-star::before,
#filter-stars-label .fa-star-o::before,
#filter-stars-label .fa-star-half-stroke::before{
    font-size: 1rem;
    line-height: 1rem;
}

#reviewList .fa-star, #reviewList .fa-star-half-o, #reviewList .fa-star-o {
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .fit img {
        min-width: 17rem;
        min-height: 20rem;
        width: 95vw;
    }
}

.card {
    transition: all 0.5s ease-in-out;
}

.card-body {
    overflow: hidden;
}

.expanded {
    height: auto!important;
    max-height: fit-content!important;
}

@keyframes pulse {
    0% {
        background-color: #e0e0e0;
    }
    50% {
        background-color: #f0f0f0;
    }
    100% {
        background-color: #e0e0e0;
    }
}

@keyframes eyes {
    0% { left: .8rem; }
    50% { left: .2rem; }
    100% { left: .8rem; }
}