/* Sale Banner */
.sale-banner {
    position: relative;
    overflow: hidden;
}

.sale-banner::before {
    content: "SALE";
    position: absolute;
    top: 10px;
    right: -40px;
    background-color: red;
    color: white;
    padding: 5px 40px;
    font-weight: bold;
    font-size: 16px;
    transform: rotate(45deg);
    z-index: 1;
    width: 150px;
    text-align: center;
}
/* Hero Section Background */
.hero-background {
    background-image: url("https://chari-u.com/img/top/main01.jpg");
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: screen;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Business Diary Section Background */
.business-diary-bg {
    background-image: linear-gradient(to right, rgba(50, 130, 100, 0.9), rgba(144, 238, 144, 0.7)), url("https://chari-u.com/img/top/main06.jpg");
    background-position: right;
    background-repeat: no-repeat;
}

.news-scroll-container {
    padding: 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d4dde2 transparent;
    position: relative;
    overflow-x: auto;
    display: flex;
    gap: 20px;
}

.news-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.news-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.news-scroll-container::-webkit-scrollbar-thumb {
    background-color: #d4dde2;
    border-radius: 6px;
}

.diary-button {
    display: flex;
    min-width: 100px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 9999px;
    height: 2.5rem;
    padding: 0 1rem;
    background-color: #e53768;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.015em;
    transform: translateZ(0);
    transition: transform 0.3s ease-in-out;
}

/* Allow Tailwind classes to override diary-button background and text color */
.diary-button.bg-white {
    background-color: white !important;
}

.diary-button .text-\[#e53768\] {
    color: #e53768 !important;
}

.diary-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Store Slider Styles */
#store-slider {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
}

.store-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 480px;
    overflow: hidden;
}

.store-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 480px;
}

.store-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: screen;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.store-slide.active {
    opacity: 1;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}
