/* Only the native full-screen view; header and desktop search remain unchanged. */
.roland-search-overlay {
    --roland-search-bar-height: 76px;
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--color-white, #fff);
    color: var(--color-text);
    font-family: var(--font-body);
}

.roland-search-overlay .dgwt-wcas-om-bar {
    position: static;
    align-items: center;
    gap: 12px;
    height: var(--roland-search-bar-height);
    padding: 16px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.roland-search-overlay .dgwt-wcas-om-bar .dgwt-wcas-search-wrapp-mobile {
    order: 1;
    flex: 1;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
}

.roland-search-overlay .dgwt-wcas-sf-wrapp {
    position: relative;
    padding: 0;
}

.roland-search-overlay .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
    height: 44px !important;
    padding: 0 44px 0 40px !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: var(--color-background) !important;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px !important;
    font-style: normal;
    line-height: normal;
    box-shadow: none;
}

.roland-search-overlay .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder {
    color: var(--color-gray);
    font-style: normal;
    opacity: 1;
}

.roland-search-overlay .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.roland-search-overlay .dgwt-wcas-sf-wrapp > .dgwt-wcas-ico-magnifier {
    display: none;
}

.roland-search-magnifier {
    position: absolute;
    top: 12px;
    left: 14px;
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    pointer-events: none;
}

.roland-search-overlay .dgwt-wcas-om-bar button.dgwt-wcas-om-return,
.roland-search-overlay .dgwt-wcas-om-bar button.dgwt-wcas-om-return:is(:hover, :focus, :active) {
    order: 2;
    flex-shrink: 0;
    width: auto;
    min-width: 64px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.roland-search-overlay .dgwt-wcas-om-bar button.dgwt-wcas-om-return:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.roland-search-overlay .dgwt-wcas-om-bar .dgwt-wcas-suggestions-wrapp {
    top: calc(var(--roland-search-bar-height) + env(safe-area-inset-top, 0px)) !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% - var(--roland-search-bar-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
    padding: 8px 16px 24px;
    border: 0;
    background: var(--color-white, #fff);
    box-sizing: border-box;
    font-family: var(--font-body);
    overscroll-behavior: contain;
}

.roland-search-overlay .dgwt-wcas-st {
    color: var(--color-primary);
    font-size: 16px;
}

.roland-search-discovery {
    min-height: 0;
    padding: 8px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
}

.roland-search-discovery__title {
    margin: 0 0 12px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
}

.roland-search-discovery__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.roland-search-discovery__list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--color-primary);
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
}

.roland-search-discovery__list a:is(:hover, :focus-visible) {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.roland-search-overlay .dgwt-wcas-voice-search-supported input[type="search"].dgwt-wcas-search-input {
    padding-right: 80px !important;
}
