.shop-container {
    display: flex;
}
.shop-filter-close-btn {
    width: 100%;
    display: none;
    justify-content: end;
}
#btn-filter-close img {
    width: 26px;
    height: 26px;
}

.shop-filter {
    min-height: 100dvh;
    width: 280px;
    background-color: rgb(242, 242, 232);
    display: flex;
    padding: 20px 0;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    transition: all 0.6s ease;
}
.filters-layout {
    display: flex;
    justify-content: first baseline;
    width: 200px;
}
.filters-layout-item {
    width: 100px;
    font-size: 12px;
}
.filters-layout-label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.filters-layout-label img {
    width: 10px;
}
.filters-layout-options {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}
.filter-checkbox-input {
    display: none;
}
.filter-checkbox:has(.filter-checkbox-input:checked) .filter-checkbox-label {
    font-weight: bold;
}

.filter-color-content {
    display: flex;
    align-items: center;
    gap: 4px;
}

.filter-color-square {
    width: 12px;
    height: 12px;
    border: 1px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
}


.shop-showcase-container {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.shop-showcase {
    width: 100%;
    padding: 20px;

    display: grid;
    gap: 42px;
    overflow: hidden;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.showcase-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.showcase-card-img {
    aspect-ratio: 3 / 4;
    width: 100%;
}
.showcase-card-info {
    padding: 8px 8px;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: white;
    gap: 2px;
}
.showcase-card-info div {
    height: 16px;
}
.like-error-shake {
    animation: like-error-shake 0.4s ease;
}

@keyframes like-error-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
.showcase-card-title {
    display: flex;
    align-items: center;
    justify-content:space-between;
}
.showcase-card-title h6 {
    margin: 0;
    font-size: 14px;
    font-weight: normal;
}
.showcase-card-title button {
    padding: 0;
}
.showcase-card-title img {
    margin: 0;
    width: 20px;
}
.showcase-card-price-info {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}
.showcase-card-price-info p {
    margin: 0;
    font-size: 12px;
}

.showcase-card.sold-out .showcase-card-img,
.showcase-card.sold-out .showcase-card-price-info > div,
.showcase-card.sold-out .showcase-card-clr,
.showcase-card.sold-out .showcase-card-title h6 {
    opacity: 0.55;
}
.showcase-card.sold-out .showcase-card-info {
    background-color: #f4f4f4;
}
.showcase-card.sold-out .showcase-card-title button,
.showcase-card.sold-out .showcase-card-price-info p {
    opacity: 1;
    color: red;
}

.showcase-card-clr {
    display: flex;
    gap: 2px;
}
.showcase-card-clr div {
    background-color: black;
    width: 16px;
    height: 16px;
    border: 2px solid lightgray;
}
.store-detail {
    overflow: hidden;
    display: grid;
    gap: 80px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 14px;
    width: 100%;
    padding: 40px;
    align-items: start;
}
.store-detail-pic {
    aspect-ratio: 3 / 4;
    width: min(100%, 480px);
    max-height: 640px;
}

.store-detail-card {
    height: 640px;
    background-color: white;
    width: 80%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.store-detail-card[hidden] {
    display: none;
}

.store-detail-title, .store-detail-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.store-detail h1, .store-detail h2, .store-detail h3, .store-detail h4, .store-detail h5, .store-detail h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}
#store-detail-like-btn img {
    width: 18px;
}
.store-detail-title-sec {
    margin-bottom: 40px;
}
.store-price h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.store-price-rating {
    color: #111;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1;
}


.store-detail-color {
    border-top: 1px solid black;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 12px;
}
.store-detail-color>h3 {
    margin: 8px 0 4px;
    font-weight: bold;
}

.store-color-btn-sec label.sold-out,
.store-size-btns label.sold-out {
    opacity: 0.35;
    cursor: not-allowed;
}

.store-color-btn-sec {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
}

.store-color-btn-sec > p {
    margin: 0;
    width: 4px;
    flex-shrink: 0;
    background-color: aqua;
}

.store-color-btn-sec label {
    cursor: pointer;
    flex:1;
}

.store-color-btns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.store-color-btns input {
    display: none;
}

.store-color-btns label span {
    display: block;
    padding: 8px 16px;
    color: black;
    font-weight: bold;
    background-color: rgb(238, 236, 236);
}

.store-color-btns input:checked + span {
    background-color: black;
    color: white;
}

.store-detail-size {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 12px;
}
.store-detail-size>h3 {
    margin-bottom: 4px;
    font-weight: bold;
}
.store-size-btns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}
.store-size-btns input {
    display: none;
}

.store-size-btns label {
    cursor: pointer;
}

.store-size-btns label span {
    display: block;
    padding: 8px 16px;
    background-color: rgb(238, 236, 236);
    color: black;
    font-weight: bold;
}

.store-size-btns input:checked + span {
    background-color: black;
    color: white;
}

#store-btn-add2cart {
    width: 100%;
    background: black;
    color: white;
    padding: 10px;
    transition: all 0.2s ease;
}

#store-btn-add2cart:hover {
    background: rgb(25, 25, 25);
    color: rgb(180, 180, 180);
}

.store-detail-desc {
    margin: 12px 0 24px;
}
.store-detail-desc h4 {
    white-space: pre-line;
    line-height: 1.2;
}
.store-detail-recom {
    border-top: 1px solid black;
}
.store-detail-recom>h3 {
    margin: 8px 0 4px;
    font-weight: bold;
}
.store-detail-recom-items {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-top: 12px;
}
.store-detail-recom-item {
    width: 20%;
}
.store-detail-recom-item>img {
    width: 100%;
}

.store-detail-info {
    display: none;
    border-top: 1px solid black;
}
.detail-info-close-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
#btn-info-close img {
    width: 26px;
    height: 26px;
}


.detail-info-close-btn>h3 {
    margin: 8px 0 4px;
    font-weight: bold;
}

.detail-info-close-btn-filter {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.detail-info-close-cmin {
    margin: 8px 0 4px;
    gap: 20px;
}
.detail-info-close-btn-filter>h3 {
    margin: 8px 0 4px;
    font-weight: bold;
}

.detail-info-close-btn-filter label {
    font-weight: bold;
    color: gray;
}

.detail-info-close-btn-filter input {
    display: none;
}

.detail-info-close-btn-filter label span {
    font-weight: bold;
}

.detail-info-close-btn-filter input:checked + span {
    color: black;
}
.store-detail-units, .store-detail-materials {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
.store-detail-materials {
    flex-direction: column;
    gap: 10px;
}
.store-detail-materials div {
    display: flex;
    gap: 8px;
}
.store-detail-units>img {
    width: 30%;
}
.store-detail-policies {
    width: 100%;
    max-height: 226px;
    white-space: pre-line;
    line-height: 1.7;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.store-detail-policies h1 {
    font-weight: 700;
    margin: 0;
    margin-top: 16px;
}
.store-detail-policies p {
    font-weight: 500;
    margin: 0;
}

.store-detail-models {
    width: 100%;
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    gap: 20px;
    white-space: pre-line;
    line-height: 1.4;
    padding: 10px;
}

.detail-model {
    display: flex;
    gap: 10px;
}
.detail-model img {
    width: 80px;
    aspect-ratio: 1 / 1;
}
.detail-model-desc {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.detail-model-desc h1 {
    margin: 0;
    font-weight: 500;
}
.detail-model-desc p {
    margin: 0;
}


.detail-cmin {
    display: flex;
    gap: 12px;
    line-height: 1.5;
}





.store-detail-miscs {
    margin-top: auto;
}
.store-detail-miscs button {
    padding: 0;
    margin-right: 10px;
}
.store-detail-miscs button:hover {
    color: rgb(161, 160, 160);
}


.vvc-product-reviews {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.vvc-product-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 34px;
    flex: 0 0 34px;
    padding: 0 2px;
    border-bottom: 1px solid #111;
    box-sizing: border-box;
}

.vvc-review-nav {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font-family: inherit;
    font-size: 9px;
    line-height: 1;
    cursor: pointer;
}

.vvc-review-nav span:first-child,
.vvc-review-nav span:last-child {
    font-size: 12px;
}

.vvc-review-count {
    color: #111;
    font-size: 9px;
    line-height: 1;
}

.vvc-review-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    color: #999;
    font-size: 11px;
}

.vvc-review-slider {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 1;
    overflow: hidden;
}

.vvc-review {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 18px 0 0;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    pointer-events: none;
    transition: opacity .35s ease, transform .4s ease, visibility 0s linear .4s;
}

.vvc-review.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    transition: opacity .35s ease, transform .4s ease;
}


/* REVIEW META */

.vvc-review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex: 0 0 38px;
    margin: 0 0 12px;
    box-sizing: border-box;
}

.vvc-review-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.vvc-review-avatar {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    overflow: hidden;
    border-radius: 50%;
    background: #f3f3f3;
}

.vvc-review-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vvc-review-user-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.vvc-review-user-info strong {
    color: #111;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
}

.vvc-review-user-info span {
    color: #111;
    font-size: 9px;
    letter-spacing: 1px;
    line-height: 1;
}

.vvc-review-meta time {
    color: #999;
    font-size: 8px;
    line-height: 1;
}


/* PHOTO */

.vvc-review-photo-slider {
    position: relative;
    width: 100%;
    height: 370px;
    min-height: 0;
    flex: 0 0 370px;
    overflow: hidden;
    background: #f5f5f5;
}

.vvc-review-photo-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.vvc-review-photo {
    width: 100%;
    min-width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.vvc-review-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


/* PHOTO BUTTON */

.vvc-review-photo-prev,
.vvc-review-photo-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .12);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
}

.vvc-review-photo-prev {
    left: 10px;
}

.vvc-review-photo-next {
    right: 10px;
}


/* PHOTO PAGINATION */

.vvc-review-photo-pagination {
    position: absolute;
    left: 50%;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    transform: translateX(-50%);
}

.vvc-review-photo-pagination span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
}

.vvc-review-photo-pagination span.is-active {
    width: 12px;
    border-radius: 2px;
    background: #fff;
}


/* REVIEW TEXT */

.vvc-review-content {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 14px 2px 0;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.vvc-review-content p {
    max-width: 100%;
    margin: 0;
    color: #222;
    font-size: 10px;
    line-height: 1.7;
    white-space: pre-line;
    word-break: keep-all;
}


/* MOBILE */

@media screen and (max-width: 1024px) {
    .shop-showcase {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .store-detail-card {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .shop-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .store-detail-card {
        width: 100%;
    }
    
    .shop-filter {
        display: none;
        z-index: 4000;
        width: 100%;
        transition: all 0s ease;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.35);
        position: fixed;
        inset: 0;
        height: 100dvh;
        overscroll-behavior: contain;
    }
    .shop-filter-close-btn {
        display: flex;
    }
    .store-detail {
        gap: 10px;
        padding: 0;
        grid-template-columns: 1fr;
    }
    .store-detail-pic {
        margin: 0 auto;
        max-width: 100%;
        max-height: 1024;
    }
    .store-detail-card {
        max-width: 100%;
        max-height: 1024;
    }


    .vvc-product-reviews {
        padding-top: 56px;
    }

    .vvc-product-reviews-header {
        padding-bottom: 18px;
    }

    .vvc-review-nav {
        font-size: 9px;
    }

    .vvc-review-count {
        font-size: 9px;
    }

    .vvc-review {
        padding: 28px 0 56px;
    }

    .vvc-review-meta {
        margin-bottom: 22px;
    }

    .vvc-review-avatar {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .vvc-review-photo-prev,
    .vvc-review-photo-next {
        width: 32px;
        height: 32px;
        opacity: 1;
    }

    .vvc-review-photo-prev {
        left: 10px;
    }

    .vvc-review-photo-next {
        right: 10px;
    }

    .vvc-review-content {
        padding-top: 20px;
    }

    .vvc-review-content p {
        font-size: 11px;
        line-height: 1.8;
    }
}