
/* ORPONSHOP UNIVERSAL SEARCH V16.1 */

html body.gotop .store-search form {
    position: relative;
}

html body.gotop .store-search input[name="keyword"] {
    min-width: 0 !important;
    caret-color: transparent !important;
    -webkit-appearance: none;
    appearance: none;
}

html body.gotop .store-search input[name="keyword"]:focus {
    caret-color: var(--orpon-text, #333b28) !important;
}

html body.gotop .store-search .orpon-voice-v161[hidden] {
    display: none !important;
}

html body.gotop .store-search .orpon-voice-v161 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    align-self: stretch;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--orpon-search, #f5f4e8) !important;
    color: var(--orpon-text, #46543a) !important;
    box-shadow: none !important;
    cursor: pointer;
    touch-action: manipulation;
}

html body.gotop .store-search .orpon-voice-v161:hover {
    background: var(--orpon-surface, #e7eadb) !important;
}

html body.gotop .store-search .orpon-voice-v161:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}

html body.gotop .store-search .orpon-voice-v161.is-listening {
    color: #b42318 !important;
}

html body.gotop .store-search .orpon-voice-status-v161 {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1050;
    max-width: 100%;
    padding: 7px 12px;
    background: var(--orpon-card, #fff);
    color: var(--orpon-text, #333);
    border: 1px solid var(--orpon-gold-light, #aaa);
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: var(--orpon-card-shadow);
}

html body.gotop .store-search .orpon-voice-status-v161:empty {
    display: none !important;
}

@media (max-width: 575px) {
    html body.gotop .store-search .orpon-voice-v161 {
        flex-basis: 36px !important;
        width: 36px !important;
    }
}


/* ORPONSHOP V16.1-R1 UNIVERSAL SEARCH */

html body.gotop .store-search {
    position: relative !important;
    min-width: 0 !important;
}

html body.gotop .store-search form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    grid-template-rows: minmax(44px, auto) !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
}

html body.gotop .store-search form > label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
}

html body.gotop .store-search form > input[name="keyword"] {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border-right: 0 !important;
    border-radius: 9px 0 0 9px !important;
    box-sizing: border-box !important;
    text-align: left !important;
    direction: ltr !important;
    text-indent: 0 !important;
    caret-color: currentColor !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

html body.gotop .store-search input[name="keyword"]:focus::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

html body.gotop .store-search form > .orpon-voice-v161 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

html body.gotop .store-search form > .orpon-voice-v161[hidden] {
    display: none !important;
}

html body.gotop .store-search form:has(.orpon-voice-v161[hidden]) {
    grid-template-columns: minmax(0, 1fr) 0 auto !important;
}

html body.gotop .store-search form > button[type="submit"] {
    grid-column: 3 !important;
    grid-row: 1 !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 9px 9px 0 !important;
    box-sizing: border-box !important;
}

html body.gotop .store-search form:focus-within {
    outline: 1px solid currentColor;
    outline-offset: 1px;
    border-radius: 9px;
}

html body.gotop .store-search .orpon-voice-v161.is-listening {
    color: #fff !important;
    background: #a52d36 !important;
}

@media (max-width: 575px) {
    html body.gotop .store-search form > input[name="keyword"] {
        font-size: 16px !important;
        padding-inline: 9px !important;
    }

    html body.gotop .store-search form > .orpon-voice-v161,
    html body.gotop .store-search form > button[type="submit"] {
        width: 44px !important;
        min-width: 44px !important;
    }
}


/* ORPONSHOP V16.2 - UNIVERSAL SEARCH STABILITY */

html body.gotop .store-search form {
    grid-template-columns: minmax(0, 1fr) 44px 46px !important;
    isolation: isolate;
}

html body.gotop .store-search form > input[name="keyword"] {
    grid-column: 1 / 3 !important;
    grid-row: 1 !important;
    padding-inline-end: 52px !important;
    text-align: left !important;
    text-indent: 0 !important;
    direction: ltr !important;
    letter-spacing: normal !important;
    caret-color: currentColor !important;
    box-shadow: none !important;
    z-index: 0;
}

html body.gotop .store-search form > input[name="keyword"]:focus::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

html body.gotop .store-search form > .orpon-voice-v161 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: relative !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
    z-index: 1;
}

html body.gotop .store-search form > .orpon-voice-v161:hover {
    background: transparent !important;
    opacity: .8;
}

html body.gotop .store-search form > .orpon-voice-v161.is-listening {
    color: #b42318 !important;
    background: transparent !important;
}

html body.gotop .store-search form > button[type="submit"] {
    grid-column: 3 !important;
    grid-row: 1 !important;
    z-index: 1;
}

html body.gotop .store-search form:has(.orpon-voice-v161[hidden]) {
    grid-template-columns: minmax(0, 1fr) 0 46px !important;
}

html body.gotop .store-search form:has(.orpon-voice-v161[hidden])
> input[name="keyword"] {
    padding-inline-end: 12px !important;
}

@media (max-width: 575px) {
    html body.gotop .store-search form {
        grid-template-columns: minmax(0, 1fr) 44px 44px !important;
    }

    html body.gotop .store-search form > input[name="keyword"] {
        font-size: 16px !important;
        padding-inline-start: 10px !important;
        padding-inline-end: 48px !important;
    }

    html body.gotop .store-search form:has(.orpon-voice-v161[hidden]) {
        grid-template-columns: minmax(0, 1fr) 0 44px !important;
    }
}


/* V16.3 - Standard search without voice */

html body.gotop .store-search .orpon-voice-v161 {
    display: none !important;
}

html body.gotop .store-search form {
    grid-template-columns: minmax(0, 1fr) 46px !important;
}

html body.gotop .store-search form > input[name="keyword"] {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding-inline-end: 12px !important;
}

html body.gotop .store-search form > button[type="submit"] {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

@media (max-width: 575px) {
    html body.gotop .store-search form {
        grid-template-columns: minmax(0, 1fr) 44px !important;
    }
}


/* V16.4 - Premium Universal Search */

html body.gotop .store-search form,
html body.gotop .store-search form:has(.orpon-voice-v161[hidden]) {
    grid-template-columns: minmax(0, 1fr) 48px !important;
    border-radius: 10px !important;
}

html body.gotop .store-search form > input[name="keyword"] {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding-inline-start: 12px !important;
    padding-inline-end: 12px !important;
    border-radius: 10px 0 0 10px !important;
    text-align: left !important;
    text-indent: 0 !important;
    direction: ltr !important;
    caret-color: currentColor !important;
}

html body.gotop .store-search form > button[type="submit"] {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 48px !important;
    min-width: 48px !important;
    border-radius: 0 10px 10px 0 !important;
    border: 1px solid transparent !important;
    background: var(--orpon-text, currentColor);
    box-shadow: none !important;
    cursor: pointer;
    transition: filter .18s ease;
}

html body.gotop .store-search form > button[type="submit"] svg {
    width: 22px !important;
    height: 22px !important;
    stroke-width: 2.1 !important;
}

html body.gotop .store-search form > button[type="submit"]:hover {
    filter: brightness(1.12);
}

html body.gotop .store-search form > button[type="submit"]:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}

@media (max-width: 575px) {
    html body.gotop .store-search form,
    html body.gotop .store-search form:has(.orpon-voice-v161[hidden]) {
        grid-template-columns: minmax(0, 1fr) 44px !important;
    }

    html body.gotop .store-search form > button[type="submit"] {
        width: 44px !important;
        min-width: 44px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.gotop .store-search form > button[type="submit"] {
        transition: none !important;
    }
}


/* V16.4.1 - Soft Theme Search Button */

html body.gotop .store-search form > button[type="submit"] {
    background: var(--orpon-surface, var(--orpon-search, #e5e8dc)) !important;
    color: var(--orpon-text, #414a30) !important;
    border: 1px solid var(--orpon-gold-light, #b3b99d) !important;
    border-radius: 0 10px 10px 0 !important;
    box-shadow: none !important;
    filter: none !important;
}

html body.gotop .store-search form > button[type="submit"]:hover {
    background: var(--orpon-search, var(--orpon-surface, #dce1d1)) !important;
    filter: brightness(.96) !important;
}

html body.gotop .store-search form > button[type="submit"] svg {
    color: inherit !important;
    stroke: currentColor !important;
    width: 21px !important;
    height: 21px !important;
}
