:root {
    --wkh-bg: #f2eee5;
    --wkh-surface: #fbfaf6;
    --wkh-card: #ffffff;
    --wkh-text: #20231f;
    --wkh-muted: #6b7068;
    --wkh-accent: #3e6658;
    --wkh-accent-deep: #28483e;
    --wkh-gold: #b28a4a;
    --wkh-line: #ded8cb;
}

* { box-sizing: border-box; }
html { background: #e8e2d6; }
body {
    margin: 0;
    background: #e8e2d6;
    color: var(--wkh-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.wkh-page {
    min-height: 100vh;
    background: var(--wkh-bg);
}

.wkh-ticker {
    width: 100%;
    overflow: hidden;
    background: var(--wkh-accent-deep);
    color: #f8f2e7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 32px;
    white-space: nowrap;
}
.wkh-ticker-track {
    display: inline-flex;
    min-width: max-content;
    gap: 46px;
    padding-left: 100%;
    animation: wkh-marquee 30s linear infinite;
}
.wkh-ticker-track b { color: #d9bd84; margin-left: 24px; }
@keyframes wkh-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
    .wkh-ticker-track { animation: none; padding-left: 14px; }
}

.wkh-shell {
    position: relative;
    width: 100%;
    max-width: 500px;
    min-height: calc(100vh - 32px);
    margin: 0 auto;
    padding: 17px 17px 30px;
    background: var(--wkh-surface);
}

.wkh-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.wkh-action-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--wkh-line);
    border-radius: 10px;
    background: transparent;
    color: #5d625c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.wkh-action-button:hover { background: #f0ece3; border-color: #cfc7b8; }
.wkh-action-button:active { transform: translateY(1px); }
.wkh-action-button svg { width: 16px; height: 16px; fill: currentColor; }

.wkh-brand {
    padding: 5px 4px 25px;
    text-align: center;
}
.wkh-channel-name {
    margin: 0;
    color: var(--wkh-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(33px, 10vw, 48px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}
.wkh-title-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}
.wkh-title-rule::before,
.wkh-title-rule::after {
    content: "";
    width: 46px;
    height: 1px;
    background: #cfc6b5;
}
.wkh-title-rule span {
    width: 6px;
    height: 6px;
    margin: 0 10px;
    border-radius: 50%;
    background: var(--wkh-gold);
}

.wkh-search-wrap {
    position: relative;
    margin-bottom: 17px;
}
.wkh-search-wrap input {
    width: 100%;
    height: 52px;
    padding: 0 17px 0 46px;
    border: 1px solid #d4ccbd;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: var(--wkh-text);
    font-size: 15px;
    box-shadow: 0 3px 0 rgba(62, 102, 88, .06);
}
.wkh-search-wrap input:focus {
    border-color: var(--wkh-accent);
    box-shadow: 0 0 0 3px rgba(62, 102, 88, .11);
}
.wkh-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    fill: #7b8179;
}

.wkh-products { display: grid; gap: 10px; }
.wkh-product-card {
    overflow: hidden;
    border: 1px solid var(--wkh-line);
    border-radius: 10px;
    background: var(--wkh-card);
    box-shadow: 0 4px 14px rgba(54, 52, 44, .04);
}
.wkh-product-card[hidden] { display: none; }
.wkh-product-card a {
    display: grid;
    grid-template-columns: 32px 72px minmax(0, 1fr) 24px;
    gap: 11px;
    align-items: center;
    min-height: 98px;
    padding: 12px 13px 12px 10px;
    color: inherit;
    text-decoration: none;
    transition: background .15s ease;
}
.wkh-product-card a:hover { background: #fbfaf6; }
.wkh-product-card a:focus-visible {
    outline: 3px solid rgba(62, 102, 88, .28);
    outline-offset: -3px;
}
.wkh-rank {
    color: var(--wkh-accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}
.wkh-product-image {
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 7px;
    background: #eeeae1;
}
.wkh-product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wkh-product-copy { min-width: 0; }
.wkh-product-copy h2 {
    margin: 0 0 5px;
    color: #262a25;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.018em;
}
.wkh-product-copy p {
    margin: 0;
    color: var(--wkh-muted);
    font-size: 12.5px;
    line-height: 1.38;
}
.wkh-arrow { width: 20px; height: 20px; fill: var(--wkh-accent); }

.wkh-no-results {
    padding: 28px 18px;
    border: 1px dashed #cec5b5;
    border-radius: 10px;
    background: #f8f5ee;
    color: var(--wkh-muted);
    text-align: center;
    font-size: 14px;
}

.wkh-footer {
    padding: 25px 10px 3px;
    color: #7b7c75;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
}
.wkh-footer p { margin: 0; }

.wkh-toast {
    position: fixed;
    left: 50%;
    bottom: calc(22px + env(safe-area-inset-bottom));
    z-index: 20;
    transform: translate(-50%, 18px);
    padding: 10px 15px;
    border-radius: 8px;
    background: rgba(34, 43, 38, .94);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
.wkh-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 360px) {
    .wkh-product-card a {
        grid-template-columns: 28px 64px minmax(0, 1fr) 20px;
        gap: 9px;
        padding-left: 8px;
    }
    .wkh-product-image { width: 64px; height: 64px; }
    .wkh-action-button { padding: 0 9px; }
}

@media (min-width: 700px) {
    .wkh-page { padding: 22px 0; }
    .wkh-shell {
        min-height: calc(100vh - 76px);
        border-radius: 0 0 20px 20px;
        box-shadow: 0 20px 55px rgba(48, 45, 38, .15);
    }
    .wkh-ticker { max-width: 500px; margin: 0 auto; border-radius: 20px 20px 0 0; }
}
