.rc-keyword-page {
    min-width: 0;
    font-family: "RC Manrope", "RC Noto", Arial, sans-serif;
    background: #ffffff;
    color: var(--ink, #18181b);
    overflow-x: clip;
}
.rc-keyword-page [hidden] { display: none !important; }
.rc-keyword-page .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: auto;
    min-height: 68px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eceae7;
    box-shadow: 0 2px 14px rgba(24, 24, 27, 0.05);
}
.rc-keyword-page .header-inner {
    max-width: 1240px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 12px clamp(16px, 3vw, 32px);
    gap: 10px 20px;
}
.rc-keyword-page .site-header .brand {
    display: inline-flex !important;
    min-height: 0 !important;
}
.rc-keyword-page .site-header .brand-copy {
    display: grid !important;
    gap: 2px;
}
.rc-keyword-page .site-header .brand-copy strong {
    font-size: clamp(17px, 1.5vw, 22px) !important;
    letter-spacing: 0.05em;
    color: #18181b;
}
.rc-keyword-page .site-header .brand-copy > span {
    font-size: 11.5px !important;
    color: #71717a;
}
.rc-keyword-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.rc-keyword-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #3f3f46;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}
.rc-keyword-nav a:hover,
.rc-keyword-nav a:focus-visible {
    background: #fff6f1;
    color: #c94408;
}
.rc-keyword-nav [aria-current] {
    background: #ffece1;
    color: #c94408;
    font-weight: 700;
    text-decoration: none;
}
.rc-keyword-nav .rc-nav-wa {
    background: #15803d;
    color: #ffffff !important;
    font-weight: 700;
    padding: 0 14px;
    margin-left: 4px;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.22);
}
.rc-keyword-nav .rc-nav-wa:hover,
.rc-keyword-nav .rc-nav-wa:focus-visible {
    background: #166534;
    color: #ffffff !important;
}
#rc-keyword {
    max-width: 1240px;
    margin: auto;
    padding: clamp(22px, 3.6vw, 44px) clamp(16px, 3vw, 32px) 56px;
}
#rc-keyword h1 {
    font-size: clamp(26px, 3.4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: #18181b;
}
#rc-intro {
    margin: 10px 0 0;
    max-width: 68ch;
    color: #52525b;
    line-height: 1.6;
    font-size: 15px;
}
#rc-intro a,
.rc-search-help summary {
    color: #c94408;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.rc-search-help { margin-top: 0.55em; }
.rc-search-help summary { width: fit-content; cursor: pointer; font-weight: 600; }
.rc-search-help p { margin-top: 0.35em; }
#rc-search-form {
    max-width: 820px;
    display: flex;
    gap: 8px;
    margin: 18px 0 14px;
}
.rc-field { position: relative; flex: 1; min-width: 0; }
#rc-query {
    width: 100%;
    height: 48px;
    border: 1px solid #d4d4d8;
    border-radius: 10px;
    padding: 0 14px;
    background: #ffffff;
    color: #18181b;
    font-size: 16px;
}
#rc-query:focus {
    outline: none;
    border-color: #e85510;
    box-shadow: 0 0 0 2px rgba(232, 85, 16, 0.22);
}
.rc-action {
    border: 0;
    border-radius: 10px;
    padding: 0 20px;
    min-height: 48px;
    background: #e85510;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}
.rc-action:hover { background: #c94408; }
.rc-action:disabled { opacity: 0.55; cursor: default; }
#rc-suggestions {
    position: absolute;
    z-index: 15;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(24, 24, 27, 0.14);
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    padding: 4px;
    margin: 4px 0;
    list-style: none;
}
#rc-suggestions li {
    padding: 9px 10px;
    border-radius: 7px;
    cursor: pointer;
    overflow-wrap: anywhere;
}
#rc-suggestions [aria-selected="true"],
#rc-suggestions li:hover {
    background: #fff4ed;
    color: #c94408;
}
#rc-status {
    min-height: 1.4em;
    margin: 6px 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: #52525b;
}
#rc-empty-photo {
    color: #c94408;
    text-decoration: underline;
    font-weight: 700;
}
#rc-recovery {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 0 0 18px;
}
#rc-recovery-option { max-width: 100%; overflow-wrap: anywhere; }
#rc-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: clamp(12px, 1.8vw, 20px);
}
#rc-results .sneaker-product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    background: #ffffff;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
#rc-results .sneaker-product-card:hover {
    box-shadow: 0 10px 26px rgba(24, 24, 27, 0.08);
    transform: translateY(-1px);
}
#rc-results .sneaker-product-image {
    position: relative;
    width: 100%;
    border: 0;
    padding: 0;
    cursor: zoom-in;
    aspect-ratio: 1;
    background: #f7f7f5;
    overflow: hidden;
}
#rc-results .sneaker-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rc-card-photos-badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.72);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    pointer-events: none;
}
#rc-results .sneaker-product-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: auto !important;
    flex: 1;
    gap: 6px;
    padding: 12px;
    overflow-wrap: anywhere;
}
#rc-results .rc-card-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
#rc-results .sneaker-product-price {
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #c94408 !important;
    line-height: 1.25;
}
#rc-results .rc-card-ref {
    margin: 0;
    font-size: 11.5px;
    font-weight: 600;
    color: #71717a;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#rc-results .sneaker-product-quote {
    margin-top: auto !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #15803d !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
#rc-results .sneaker-product-quote:hover,
#rc-results .sneaker-product-quote:focus-visible {
    background: #166534 !important;
    color: #ffffff !important;
}
#rc-paging { text-align: center; margin-top: 24px; }
#rc-gallery {
    width: min(92vw, 760px);
    max-height: 92vh;
    border: 0;
    border-radius: 14px;
    padding: 18px;
}
#rc-gallery::backdrop { background: rgba(15, 23, 42, 0.78); }
#rc-gallery img {
    margin: auto;
    width: 100%;
    height: min(66vh, 640px);
    object-fit: contain;
}
#rc-gallery button {
    border: 1px solid #d4d4d8;
    background: #ffffff;
    border-radius: 8px;
    font-size: 22px;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
}
.rc-gallery-close { display: block; margin-left: auto; }
.rc-gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}
.rc-keyword-footer {
    border-top: 1px solid #e7e5e4;
    background: #fafaf9;
    padding: 28px clamp(16px, 3vw, 32px);
}
.rc-keyword-footer__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px 32px;
}
.rc-keyword-footer__brand strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #18181b;
    margin-bottom: 6px;
}
.rc-keyword-footer__brand p {
    margin: 0;
    max-width: 42ch;
    font-size: 13px;
    line-height: 1.55;
    color: #71717a;
}
.rc-keyword-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
}
.rc-keyword-footer a {
    padding: 4px 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #3f3f46;
}
.rc-keyword-footer a:hover {
    color: #c94408;
    text-decoration: underline;
}
@media (max-width: 640px) {
    .rc-keyword-page .header-inner {
        padding: 10px 14px;
        gap: 8px;
    }
    .rc-keyword-nav {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
    }
    .rc-keyword-nav::-webkit-scrollbar { display: none; }
    .rc-keyword-nav a {
        min-height: 34px;
        padding: 4px 10px;
        font-size: 13px;
    }
    #rc-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    #rc-results .sneaker-product-copy {
        padding: 9px;
        gap: 6px;
    }
    #rc-results .rc-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    #rc-results .sneaker-product-price {
        font-size: 14.5px !important;
        white-space: nowrap;
    }
    #rc-results .rc-card-ref {
        font-size: 11px;
        max-width: 100%;
    }
    #rc-results .sneaker-product-quote {
        min-height: 36px !important;
        font-size: 11.5px !important;
        padding: 6px 6px !important;
        white-space: nowrap;
    }
}
@media (max-width: 340px) {
    #rc-results { grid-template-columns: minmax(0, 1fr); }
}
