@import "./common/store.css";
#store {
    opacity: 0;
    visibility: hidden;
	padding-bottom: 12.5vh
}
#store.loaded {
    opacity: 1;
    visibility: visible;
}
.flickity-button {
    display: none;
}

.main-content {
    padding-top: 90px;
    min-height: 100vh;
}

.store {
    position: relative;
    margin-top: 6.018518518518518vw;
}

.store_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1498px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.store_item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.store_info {
    flex: 1;
    padding: 14px 13px 50px;
    background: #f4f4f4;
    text-align: center;
}

.store_image {
    position: relative;
	aspect-ratio: 1.3333 / 1;
}

.store_image > img {
	width: 100%;
	height: 100%;
   object-fit: cover;
}

.store_tag {
    position: absolute;
    top: -5px;
    right: -5px;
}

.store_title {
    margin-top: 38px;
	font-size: 21px;
	letter-spacing: -0.416px;
}

.store_address {
	margin-top: 34px;
}

.store-info {
    margin-top: 18px;
}

.reserve-modal_button {
    margin-top: 39px;
	font-size: 11.5px;
	letter-spacing: -0.225px;
}

.store>.reserve-modal_button {
    display: none;
}

@media screen and (max-width: 900px) {
    .main-content {
        min-height: auto;
        padding-bottom: 10.5vw;
    }

    .store {
        margin-top: 6.75vw;
    }

    .store_list {
        grid-template-columns: repeat(2, 1fr);
    }

    .store_info {
        padding-bottom: 40px;
    }

    .store_title {
        margin-top: 24px;
    }

    .store_time {
        margin-top: 14px;
    }

    .reserve-modal_button {
        position: relative;
        margin-top: 30px;
    }
}


@media screen and (max-width: 600px) {
    .store_list {
        grid-template-columns: 1fr;
        gap: 0px;
        padding: 0;
    }

    .store_content {
        padding-bottom: 25px;
        background: #f4f4f4;
    }

    .store_info {
        padding-bottom: 0;
    }

	.store_image {
	    aspect-ratio: 2 / 1;
	}

	.store_title {
		font-size: 18px;
		letter-spacing: -0.36px;
	}

	
	.store_address {
		margin-top: 22px;
	}

	.mobile_carousel_ui {
		margin-top: 9px;
		font-size: 10px;
		line-height: normal;
		letter-spacing: -0.2px;
	}

	.mobile_carousel_button {
		width: auto;
		height: auto;
		transform: none !important;
	}

	.mobile_carousel_button::before {
		display: block;
		line-height: 1;
	}

	.mobile_carousel_button.previous::before {
		content: '<';		
	}
		
	.mobile_carousel_button.next::before {
		content: '>';		
	}

    .store_item .reserve-modal_button {
        display: none;
    }

    .store>.reserve-modal_button {
        display: block;
		padding: 2px;
		font-size: 15px;
		letter-spacing: -0.3px;
    }
}

@media screen and (min-width: 601px) {
    .mobile_carousel_ui {
        display: none;
    }

	.store-info_icon {
		width: 36px;
		height: 36px;
		padding: 7.5px 0;
	}
	
	.store-info_text {
		margin-top: 7px;
		font-size: 9px;
		letter-spacing: -0.173px;
	}

	.store_time {
		margin-top: 23px;
		font-size: 13px;
		letter-spacing: -0.26px;
	}
}