.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a3a;
    padding: 1rem;
    border-bottom: 0.7px solid #3d3d3d;
}

.back-button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.shop-title {
    font-size: 1.25rem;
    font-weight: 500;
}

.shop-container {
    padding: 1rem;
}

.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab {
    flex: 1;
    background: transparent;
    border: none;
    color: #888;
    padding: 0.5rem 0;
    font-size: 1rem;
    cursor: pointer;
}

.tab.active {
    color: #fff;
    border-bottom: 2px solid #ff4e3d;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 0.5rem;
}

.carousel-scroll::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border: 2px solid #ff4e3d;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-dot.active {
    background: #ff4e3d;
}


.feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.feature.with-image {
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 1rem;
    gap: 1rem;
    background: #1a1a3a;
    border: 1px solid #3d3d3d;
}

.feature-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: contain;
}

.feature-info .title {
    font-size: 1.2rem;
    font-weight: bold;
}

.feature-info .price {
    font-size: 0.9rem;
    opacity: 0.85;
    text-align: center;
    color: #ffb347;
    font-size: 0.85rem;
    font-weight: 600;
}

.buttons .btn {
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn.buy {
    background: #ff4e3d;
    color: #fff;
    margin-right: 0.5rem;
}

.btn.gift {
    background: #2e2f3e;
    color: #fff;
}

.toggle-expand {
    color: #aaa;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.toggle-expand:hover {
    color: #fff;
}

.section {
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.25rem;
    justify-content: center;
}


.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1a1a3a;
    border-radius: 0.75rem;
    padding: 0.75rem 0.5rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #3d3d3d;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.card-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.25rem;
    text-align: center;
    word-break: break-word;
}

.card .price {
    color: #ffb347;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.card-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.card-buttons button {
    background: #2e2f3e;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.card-buttons button.buy {
    background: #ff4e3d;
}

.card-buttons button:hover {
    opacity: 0.85;
}

.coming-soon {
    padding: 2rem;
    text-align: center;
    color: #888;
    font-size: 1.2rem;
}

.card img,
.frame-img {
    width: 100%;
    max-width: 80px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    background: transparent;
}


@media (max-width: 600px) {
    .tabs {
        flex-wrap: wrap;
    }

    .feature {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .carousel-scroll {
        scrollbar-width: none;
        overflow-x: hidden;
    }

}

@media (max-width: 767px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

