body {
    background-color: #f8fafc;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

#sidebar {
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding: 15px;
    background: rgba(0, 0, 0, 0.98);
}

.filter-label {
    margin: 1rem 0 0.5rem 0.5rem;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-align: left;
    text-transform: uppercase;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 2rem;
    text-align: left;
}

.filter-button {
    padding: 1rem;
    border-radius: 0.75rem;
    color: #475569;
    font-weight: 700;
    text-align: left;
}

.filter-button:active {
    background: #f1f5f9;
}

.search-input {
    width: 100%;
    padding: 1.5rem 1.5rem 1.5rem 3.5rem;
    border: 0;
    border-radius: 2rem;
    outline: none;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08);
    color: #334155;
    font-size: 1.125rem;
    font-weight: 700;
}

.search-input:focus {
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1), 0 20px 25px -5px rgba(15, 23, 42, 0.08);
}

.product-card {
    overflow: hidden;
    border: 1px solid #f1f5f9;
    border-radius: 2rem;
    background: #fff;
    transition: transform 0.2s ease;
}

.product-card:active {
    transform: scale(0.995);
}

.product-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.img-container {
    position: relative;
    width: 100%;
    background: #fff;
}

.share-badge {
    padding: 12px;
    border-radius: 99px;
    background: #0a1d37;
    color: #fff;
}

.skeleton {
    animation: loading 1.5s infinite;
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

.skeleton-card {
    padding: 1.5rem;
    background: #fff;
    opacity: 0.6;
}

.skeleton-card-price {
    grid-column: 1 / -1;
    height: 5.75rem;
    border-radius: 1.5rem;
}

.empty-state {
    padding: 3rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    background: #fff;
    color: #64748b;
    font-weight: 800;
    text-align: center;
}

.card-price-button {
    grid-column: 1 / -1;
    padding: 1rem;
    border-radius: 1.5rem;
    background: #0a1d37;
    box-shadow: 0 14px 24px rgba(10, 29, 55, 0.16);
    color: #fff;
    text-align: left;
}

.card-price-button span,
.card-price-button small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.card-price-button strong {
    display: block;
    margin: 0.25rem 0;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.price-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2100;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
}

.price-modal-panel {
    width: min(100%, 34rem);
    max-height: min(86vh, 760px);
    overflow: hidden;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.35);
}

.price-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.price-modal-eyebrow {
    color: #f97316;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.price-modal-title {
    margin-top: 0.25rem;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.15;
}

.price-modal-close {
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.price-options {
    display: flex;
    max-height: calc(min(86vh, 760px) - 92px);
    overflow-y: auto;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

.price-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #f8fafc;
}

.price-option-featured {
    border-color: #f97316;
    background: #fff7ed;
}

.price-option p {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 900;
}

.price-option span,
.price-option small {
    display: block;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.price-option strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
    text-align: right;
}

@media (min-width: 640px) {
    .price-modal {
        align-items: center;
    }
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
