.wy-home.blog-container {
    max-width: 1280px;
    margin: 22px auto 42px;
    padding: 0 20px;
}

.wy-home-shell {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.wy-panel-kicker {
    display: none;
}

.wy-notice-card,
.wy-categories-card,
.wy-products-card {
    background: var(--wy-surface);
    border: 1px solid var(--wy-border);
    border-radius: 20px;
    box-shadow: var(--wy-shadow);
}

.wy-products-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.wy-products-header {
    margin-bottom: 24px;
}

.wy-products-title {
    margin: 0;
    color: var(--wy-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.wy-notice-card {
    padding: 22px 24px;
}

.wy-notice-text {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.wy-notice-text > * {
    margin: 0;
}

.wy-notice-text strong,
.wy-notice-text b,
.wy-notice-text a {
    color: inherit;
}

.wy-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 12px;
    border: 0;
    background: #edf3ff;
    color: var(--wy-highlight);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wy-action-button:hover {
    background: #e4ecff;
}

.wy-categories-card {
    padding: 18px 20px 20px;
}

.wy-category-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 18px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 8px;
}

.wy-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
    text-align: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.wy-category-card:hover,
.wy-category-card.is-active {
    transform: translateY(-3px);
}

.wy-category-card.is-active .wy-category-figure {
    box-shadow: 0 12px 24px rgba(93, 119, 218, 0.18);
}

.wy-category-card.is-active .wy-category-label {
    color: var(--wy-highlight);
}

.wy-category-figure {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #eef1f5;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.wy-category-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wy-category-figure-featured {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wy-highlight);
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(180deg, #eff4ff, #e5edff);
}

.wy-category-label {
    color: #3d4451;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
}

.wy-subtabs-wrap {
    margin-top: 16px;
}

.wy-subtabs-wrap.is-hidden {
    display: none;
}

.wy-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wy-subtab-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--wy-surface);
    border: 1px solid var(--wy-border);
    color: var(--wy-text-soft);
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.wy-subtab-chip.is-active,
.wy-subtab-chip:hover {
    background: #edf3ff;
    border-color: #dbe5ff;
    color: var(--wy-highlight);
}

#goods-list-wrapper {
    transition: opacity 0.24s ease, transform 0.24s ease;
}

#goods-list-wrapper.is-loading {
    opacity: 0.6;
    transform: translateY(4px);
}

#goods-list-wrapper.is-loaded {
    animation: wyFadeIn 0.35s ease;
}

.wy-products-grid {
    width: 100%;
}

.wy-product-card,
.wy-skeleton-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    background: var(--wy-surface);
    border: 1px solid var(--wy-border);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    width: 100%;
}

.wy-product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wy-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.wy-product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eef1f5;
}

.wy-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wy-product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    z-index: 10;
}

.wy-badge-auto {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.wy-badge-manual {
    background: linear-gradient(135deg, #ef4444, #f87171);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}



.wy-product-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
    padding: 12px 12px 14px;
}

.wy-product-name {
    overflow: hidden;
    color: #3c4350;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    text-overflow: ellipsis;
}

.wy-product-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wy-product-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--wy-text-soft);
}

.wy-stat-item {
    display: inline-block;
}



.wy-product-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
}

.wy-product-price-wrap {
    min-width: 0;
    flex: 1;
}

.wy-product-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wy-product-price {
    color: #ef4444;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
}

.wy-product-market {
    color: #a0a6b2;
    font-size: 12px;
    text-decoration: line-through;
}

.wy-empty-state {
    padding: 54px 20px;
    text-align: center;
    border-radius: 18px;
    background: var(--wy-surface);
    border: 1px dashed var(--wy-border);
}

.wy-empty-state i {
    color: #cfd4dc;
    font-size: 52px;
}

.wy-empty-state h3 {
    margin: 14px 0 8px;
    color: var(--wy-text);
    font-size: 24px;
    font-weight: 700;
}

.wy-empty-state p {
    max-width: 420px;
    margin: 0 auto 18px;
    color: var(--wy-text-soft);
    font-size: 14px;
    line-height: 1.8;
}

.wy-skeleton-thumb,
.wy-skeleton-line {
    position: relative;
    overflow: hidden;
    background: #eef1f5;
}

.wy-skeleton-thumb {
    aspect-ratio: 1 / 1;
}

.wy-skeleton-body {
    padding: 12px;
}

.wy-skeleton-line {
    height: 12px;
    border-radius: 999px;
}

.wy-skeleton-line + .wy-skeleton-line {
    margin-top: 10px;
}

.wy-skeleton-line.short {
    width: 50%;
}

.wy-skeleton-line.price {
    width: 42%;
    margin-top: 18px;
}

.wy-skeleton-thumb::after,
.wy-skeleton-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    animation: wyShimmer 1.2s infinite;
}

@keyframes wyShimmer {
    100% {
        transform: translateX(100%);
    }
}

@keyframes wyFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .wy-category-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .wy-home.blog-container {
        padding: 0 14px;
    }

    .wy-category-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
        max-height: 240px;
    }
}

@media (max-width: 768px) {
    .wy-home.blog-container {
        margin-top: 16px;
        padding: 0 12px;
    }

    .wy-notice-card,
    .wy-categories-card {
        padding: 16px;
        border-radius: 16px;
    }

    .wy-products-card {
        padding: 0;
    }

    .wy-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-height: 220px;
    }

    .wy-notice-text {
        font-size: 16px;
        line-height: 1.9;
    }

    .wy-products-title {
        font-size: 20px;
    }
}

@media (max-width: 520px) {
    .wy-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-height: 200px;
    }

    .wy-product-name {
        font-size: 13px;
    }

    .wy-product-price {
        font-size: 16px;
    }

    .wy-products-title {
        font-size: 18px;
    }
}
