.location {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid lab(90.7612 -0.0109375 3.05738);
}

.location strong {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: lab(9.31239 4.40704 -2.7795);
}

.location strong svg {
    width: 14px;
    height: 14px;
    color: rgb(203, 53, 52);
}

.location .btn-top-research {
    background-color: #f4f5f5;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.category {
    display: flex;
    flex-direction: row;
    padding: 12px 20px;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid lab(90.7612 -0.0109375 3.05738);
    overflow-x: auto;

    /* Firefox scroll */
    scrollbar-width: none;
}

.category ul::-webkit-scrollbar {
    /* Chrome, Safari scroll */
    display: none;
}

.category button {
    border-radius: 15px;
    padding: 6px 12px;
    color: lab(38.5905 -0.571281 3.78083);
    background-color: lab(95.966 -0.0118911 1.90756);
    white-space: nowrap;
    cursor: pointer;
}

.category button.selected {
    color: #fff;
    background-color: #000;
}

.map-wrap {
    position: relative;
    width: 100%;
    height: calc(100% - 4px);
}

#map {
    width: 100%;
    height: 100%;
}

.btn-search {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    color: lab(9.31239 4.40704 -2.7795);
    background-color: #fff;
    padding: 8px 16px;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    font-size: 14px;
    font-weight: 500;
    border-radius: 16px;
    gap: 6px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}


#bottom-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .15);
    transition: transform .25s ease;
    z-index: 10;
    margin: 0 auto;
    max-width: 440px;
    transition: height 0.3s, border-radius 0.3s;
    overflow-y: scroll;
}

#bottom-sheet.h-130px {
    height: 130px;
}

#bottom-sheet.h-210px {
    height: 210px;
}

#bottom-sheet.h-420px {
    height: 420px;
}

#bottom-sheet.h-100p {
    height: 100%;
    border-radius: 0;
}

#bottom-sheet .btn-close-bottom-sheet {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background-color: #f4f5f5;
    border-radius: 999px;
}

#bottom-sheet.h-100p .btn-close-bottom-sheet {
    display: none;
}

#bottom-sheet .btn-close-bottom-sheet img {
    width: 12px;
    height: 12px;
}

#bottom-sheet .sheet-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    cursor: grab;
}

#bottom-sheet .sheet-handle:after {
    content: '';
    display:block;
    width: 50px;
    height: 6px;
    background: #ccc;
    border-radius: 999px;
}

#bottom-sheet.h-100p .sheet-handle {
    display: none;
}

#bottom-sheet.h-100p .first-info {
    display: none;
}

#bottom-sheet .second-info {
    display: none;
}

#bottom-sheet.h-100p .second-info {
    display: block;
}

#bottom-sheet.h-100p .second-info.no-photo {
    display: block;
    margin-top: 70px;
}

#bottom-sheet h2 {
    padding-left: 20px;
    margin-bottom: 6px;
    width: 380px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#bottom-sheet .add-info {
    display: flex;
    flex-direction: row;
    padding: 0 20px;
    color: #5C5B55;
    font-size: 12px;
    margin-bottom: 10px;
}

#bottom-sheet.h-130px .add-info {
    display:none;
}

#bottom-sheet .add-info span:nth-of-type(2):before,
#bottom-sheet .add-info span:nth-of-type(3):before,
#bottom-sheet .add-info span:nth-of-type(4):before {
    content: '·';
    display: inline-block;
    width: 10px;
    text-align: center;
}

#bottom-sheet .store-address {
    color: #5C5B55;
    font-size: 12px;
    padding: 0 20px;
    display: none;
    margin-bottom: 10px;
}

#bottom-sheet.h-210px .first-info .store-address {
    display: block;
}

#bottom-sheet.h-420px .first-info .store-address {
    display: block;
}

#bottom-sheet .summation {
    color: #5C5B55;
    font-size: 14px;
    padding: 0 20px;
    display: none;
    margin-bottom: 10px;
}

#bottom-sheet.h-210px .first-info .summation,
#bottom-sheet.h-420px .first-info .summation {
    display: block;
}

#bottom-sheet.h-100p .second-info .summation {
    display: block;
}


#bottom-sheet .store-photo {
    display: none;

    /* Firefox 스크롤바 없애기 */
    scrollbar-width: none;

    /* IE, Edge Legacy 스크롤바 없애기 */
    -ms-overflow-style: none;
}

/* Chrome, Edge, Safari 스크롤바 없애기 */
#bottom-sheet .store-photo::-webkit-scrollbar {
    display: none;
}

#bottom-sheet.h-420px .store-photo {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 20px;
    gap: 6px;
}

#bottom-sheet .store-photo li {
    transition: width 0.7s, height 0.7s;
}

#bottom-sheet.h-420px .store-photo li {
    width: 160px;
    height: 200px;
    overflow: hidden;
    border-radius: 16px;
    flex-shrink: 0;
}

#bottom-sheet.h-420px .store-photo li img,
#bottom-sheet.h-100p .store-photo li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


#bottom-sheet.h-100p .store-photo {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px;
    margin-bottom: 20px;
    gap: 6px;
}

#bottom-sheet.h-100p .store-photo li {
    width: 200px;
    height: 240px;
    overflow: hidden;
    border-radius: 16px;
    flex-shrink: 0;
}



#bottom-sheet .tag-list {
    display: none;
}

#bottom-sheet.h-100p .tag-list {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    padding: 0 20px;
}

#bottom-sheet.h-100p .tag-list li {
    background-color: #f2f3f5;
    font-size: 14px;
    color: #00000085;
    line-height: 14px;
    padding: 10px 12px;
    border-radius: 999px;
}




/* 추가정보 */
#store-additional-info {
    padding: 16px 20px;
    display: none;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid #eee;
}

#bottom-sheet.h-100p #store-additional-info {
    display: flex;
}

#store-additional-info .btn-call {
    width: 100%;
    height: 56px;
    color: #fff;
    font-size: 18px;
    background-color: #CB3534;
    border-radius: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

#store-additional-info div {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

#store-additional-info div svg {
    width: 16px;
    height: 16px;
    line-height: 16px;
    color: #00000085;
}

#store-additional-info div span {
    color: #191919;
    font-size: 14px;
    line-height: 16px;
}

#store-additional-info div:nth-of-type(1) {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#store-additional-info div:nth-of-type(1) ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#store-additional-info div:nth-of-type(1) ul li {
    display:flex;
    flex-direction: row;
    gap:6px;
}

#store-additional-info div:nth-of-type(1) ul li span {
    font-size: 15px;
    color: #191919;
}

#store-additional-info .btn-reservation-mid {
    display: block;
    width: 100%;
    height: 56px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background-color: #CB3534;
    border-radius: 14px;
    cursor: pointer;
}

/* 식당 메뉴 */
#store-menu {
    display: none;
    padding: 24px 20px;
}

#bottom-sheet.h-100p #store-menu{
    display: block;
}

#store-menu h3 {
    color: #191919;
    font-size: 22px;
}

#store-menu ul {
    margin-top: 16px;
}

#store-menu ul li {
    display: flex;
    flex-direction: row;
    color: #191919;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    justify-content: space-between;
    font-size: 16px;
}

#store-menu ul li:last-child {
    border-bottom: 0;
}


#bottom-sheet .btn-fold-card {
    display: none;
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: #f4f5f5;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#bottom-sheet.h-210px .btn-fold-card,
#bottom-sheet.h-420px .btn-fold-card {
    display: flex;
    right: 60px;
}

#bottom-sheet.h-100p .btn-fold-card {
    display: flex;
}


#bottom-sheet .bottom-btn-area {
    display: none;
}

#bottom-sheet.h-130px .bottom-btn-area,
#bottom-sheet.h-210px .bottom-btn-area,
#bottom-sheet.h-420px .bottom-btn-area {
    display: flex;
    justify-content: space-between;
    position: absolute;
    padding: 0 20px 20px;
    bottom: 0;
    left: 0;
    width: 100%;
}

#bottom-sheet .bottom-btn-area > div {
    display: flex;
    flex-direction: row;
    gap:10px;
}

#bottom-sheet .btn-save {
    background-color: #f4f5f5;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#bottom-sheet.h-130px .btn-save.top,
#bottom-sheet.h-210px .btn-save.top,
#bottom-sheet.h-420px .btn-save.top {
    display: none;
}

#bottom-sheet .btn-save.top {
    position: absolute;
    left: 20px;
    top: 20px;
}

#bottom-sheet .btn-save.active svg:first-child {
    /* active 클래스가 있는 경우 첫 번째 SVG 숨깁니다. */
    display: none;
}

#bottom-sheet .btn-save.active svg:last-child {
    /* active 클래스가 있는 경우 두 번째 SVG 표시합니다. */
    display: block;
}

#bottom-sheet .btn-save:not(.active) svg:first-child {
    /* active 클래스가 없는 경우 첫 번째 SVG 표시합니다. */
    display: block;
}

#bottom-sheet .btn-save:not(.active) svg:last-child {
    /* active 클래스가 없는 경우 두 번째 SVG 숨깁니다. */
    display: none;
}

#bottom-sheet .bottom-btn-area > div .btn-call {
    background-color: #f4f5f5;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#bottom-sheet .bottom-btn-area .btn-reservations {
    display: block;
    background-color: #CB3534;
    height: 40px;
    line-height: 40px;
    width: 60px;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    border-radius: 999px;
}

