.page-menu .rwd {
    display: none;
}

.store-div {
    width: 90%;
    max-width: 1920px;
    margin: auto;
    display: flex;
    gap: 50px;
}

.store-menu {
    width: 250px;
}

.store-content {
    width: calc(100% - 250px);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    margin: auto;
}

.page-menu {
    display: flex;
    gap: 10px;
    max-width: 1920px;
    width: 100%;
    margin: 30px auto;
    height: 35px;
}


.accordion {
    width: 220px;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-header {
    background-color: var(--0AC7E0);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 25px;
    letter-spacing: 5px;
}

.accordion-item {
    border: none;
}

.accordion-button {
    background-color: #eeeeef;
    color: #595757;
    padding: 10px 16px;
    font-size: 17px;
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button:not(.collapsed) {
    background-color: #B4B4B5;
    color: white;
}

.accordion-button::after {
    display: none !important;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button .transition-icon {
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .transition-icon {
    transform: rotate(0deg);
}


.list-group-item {
    background-color: #eee;
    color: #717071;
    border: none;
    padding: 10px 20px;
    font-size: 17px;
    cursor: pointer;
    position: relative;
}

.list-group-item:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: #ccc;
}

.list-group-item:hover {
    opacity: 0.5;
}

.content-div {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}


.content-header {
    background-color: var(--0AC7E0);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 25px;
    letter-spacing: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.content-header .more-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    font-size: 15px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 15px;
}

.content-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.content-item {
    width: 23%;
    min-width: 260px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}


.content-item .img-fluid {
    max-height: 200px;
}

.add-favorite {
    width: 100%;
    height: 50px;
    cursor: pointer;
    font-size: 24px;
    position: relative;
    display: inline-block;
}



.add-favorite input[type="checkbox"] {
    display: none;
}


.add-favorite .unchecked {
    color: #aaa;
    position: absolute;
    right: 50%;
    top: 15px;
    transform: translateX(50%);
}

.add-favorite .checked {
    display: none;
    color: red;
    position: absolute;
    right: 50%;
    top: 15px;
    transform: translateX(50%);
}


.add-favorite input[type="checkbox"]:checked~.checked {
    display: inline;
}

.add-favorite input[type="checkbox"]:checked~.unchecked {
    display: none;
}

.content-item h3:hover {
    text-decoration: none;
    color: #00A9CC;
    cursor: pointer;
}

.content-item h3 {
    color: #5B5B5B;
    letter-spacing: 3px;
    font-size: 30px;
    margin: 0;
    text-align: center;
}

.content-item .color {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--00A9CC) 50%, var(--D8D8D8) 50%);
    margin: 15px auto;
}


.content-item p {
    color: #00A9CC;
    font-size: 16px;
    letter-spacing: 2px;
    text-align: center;
}

.content-item .add-cart-btn {
    color: #595757;
    background-color: #EEEEEF;
    border: none;
    font-size: 17px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    width: 100%;
    margin-top: 10px;
    transition: 0.5s;
}

.content-item .add-cart-btn:hover {
    color: white;
    background-color: #4a9cba;
}

.content-item .add-cart-btn:hover {
    background-color: #dcdcdc;
}

.content-item .add-cart-btn .cart {
    width: fit-content;
    height: 25px;
}

@media (max-width: 1440px) {
    .content-item {
        flex: 1 1 calc(48% - 10px); /* 2 欄 */
    }
}

@media (max-width: 1200px) {

    .store-div {
        gap: 20px;
    }
}

@media (max-width: 991.98px) {

    .page-menu .rwd {
        display: flex;
    }

    .rwd-n {
        display: none;
    }

    .store-div {
        flex-direction: column;
        gap: 30px;
    }

    .store-menu,
    .accordion {
        width: 100%;
        max-width: 100%;
    }

    .store-content {
        width: 100%;
    }

    .content-items {
        gap: 15px;
    }

    .content-item {
        width: 48%;
        min-width: 180px;
    }
}

@media (max-width: 600px) {
    .page-menu {
        gap: 5px;
        height: auto;
    }


    .content-items {
        flex-direction: column;
        gap: 40px;
    }

    .content-item {
        width: 100%;
        min-width: 120px;
    }

    .content-item h3 {
        font-size: 20px;
    }

    .content-item .color {
        width: 60px;
        margin: 10px auto;
    }

    .content-item .add-cart-btn {
        font-size: 15px;
        padding: 8px 10px;
    }

    .add-favorite {
        height: 40px;
        font-size: 20px;
    }
}