body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f5f7;
    margin: 0;
    color: #1d1d1f;
}

.reveal-on-load,
.fade-in-card {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-load.is-visible,
.fade-in-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.loader-overlay {
    position: fixed;
    inset: 0;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid #e5e7eb;
    border-top-color: #0071e3;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.store-hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 20px 28px;
    text-align: center;
}

.store-eyebrow,
.store-meta-label,
.product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-eyebrow {
    color: #006edc;
    margin-bottom: 14px;
}

.store-title {
    text-align: center;
    margin: 0;
    font-size: clamp(42px, 6vw, 68px);
    letter-spacing: -0.05em;
    line-height: 1.02;
}

.store-subtitle {
    max-width: 760px;
    margin: 18px auto 0;
    color: #6e6e73;
    font-size: 18px;
    line-height: 1.8;
}

.store-meta-row {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.store-meta-card,
.product-card,
.empty-state {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.store-meta-card {
    padding: 22px 20px;
}

.store-meta-label {
    color: #6e6e73;
    margin-bottom: 10px;
}

.store-meta-card strong {
    display: block;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.store-controls {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    align-items: stretch;
    max-width: 1120px;
    margin: 0 auto 22px;
    padding: 0 20px;
    gap: 16px;
}

.search-form {
    display: flex;
    align-items: stretch;
}

.sort-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.search-form input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: #111111;
    width: 100%;
    min-width: 0;
}

.search-form input:focus {
    outline: none;
}

.search-form button {
    border: none;
    background: transparent;
    color: #6e6e73;
    font-weight: 600;
    cursor: pointer;
}

.search-form button:hover {
    transform: none;
}

.search-input-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-shell:focus-within {
    border-color: rgba(0, 113, 227, 0.28);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08), 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.search-input-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #6e6e73;
    flex-shrink: 0;
}

.search-input-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.search-form input::placeholder {
    color: #8e8e93;
}

.search-clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.search-clear-btn:hover {
    background: #e5e7eb;
    color: #111111;
    transform: translateY(-1px);
}

.sort-form select {
    width: 100%;
    min-height: 58px;
    padding: 0 46px 0 16px;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    font-size: 15px;
    font-weight: 600;
    color: #111111;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sort-form select:focus {
    border-color: rgba(0, 113, 227, 0.28);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08), 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.sort-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6e6e73;
    padding-left: 4px;
}

.sort-select-shell {
    position: relative;
    min-width: 240px;
}

.sort-select-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6e6e73;
    pointer-events: none;
}

.sort-select-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px;
    justify-content: start;
}

.product-card {
    padding: 20px;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
    border-color: rgba(0, 113, 227, 0.08);
}

.product-image-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-card:hover .product-image {
    transform: scale(1.06);
}

.product-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-badge {
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    color: #4b5563;
}

.product-card h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.product-description {
    margin: 0;
    color: #6e6e73;
    line-height: 1.75;
    min-height: 72px;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.price {
    font-size: 22px;
    color: #111111;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.view-btn-link {
    text-decoration: none;
}

.view-btn {
    background: #0071e3;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 10px 24px rgba(0, 113, 227, 0.18);
}

.view-btn:hover {
    background: #0064c8;
    transform: translateY(-1px);
}

.empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6e6e73;
    font-size: 18px;
    margin-top: 8px;
    padding: 52px 24px;
}

.empty-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.empty-state h3 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.empty-state p {
    margin: 0 0 18px;
    line-height: 1.7;
}

.empty-state-action {
    margin-top: 6px;
}

@media (max-width: 960px) {
    .store-meta-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .store-hero {
        padding: 36px 16px 24px;
    }

    .store-controls {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .search-form,
    .sort-form {
        width: 100%;
    }

    .sort-select-shell {
        min-width: 0;
    }

    .search-form input {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .search-clear-btn {
        min-height: 34px;
        padding: 0 10px;
    }

    .sort-form select {
        width: 100%;
        min-width: 0;
    }

    .product-container {
        padding: 16px;
    }

    .product-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .view-btn,
    .view-btn-link {
        width: 100%;
    }
}