/*
 * WSIGN-CARD-RENEWAL
 * Public preview stylesheet candidate.
 *
 * Scope:
 * - Renewal preview only.
 * - All selectors are namespaced under .wsign-renewal.
 * - Do not merge into the current live W-sign stylesheet before acceptance.
 */

.wsign-renewal {
    width: 100%;
    box-sizing: border-box;
}

.wsign-renewal *,
.wsign-renewal *::before,
.wsign-renewal *::after {
    box-sizing: inherit;
}

.wsign-renewal__main {
    width: min(100% - 32px, 1440px);
    margin-inline: auto;
    padding-block: 32px 64px;
}

.wsign-renewal__header {
    margin-bottom: 24px;
}

.wsign-renewal__title {
    margin: 0;
}

.wsign-renewal__development-notice {
    margin-block: 0 24px;
    padding: 12px 16px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fafafa;
}

.wsign-renewal__development-notice p {
    margin: 0;
}

/* =========================================================
   FILTERS / RESULT INFORMATION
   ========================================================= */

.wsign-renewal__filters {
    margin-bottom: 24px;
}

.wsign-renewal__filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.wsign-renewal__filter-field {
    min-width: 0;
}

.wsign-renewal__filter-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.wsign-renewal__filter-field select,
.wsign-renewal__filter-field input {
    width: 100%;
    min-height: 44px;
}

.wsign-renewal__result-summary {
    margin-block: 16px;
}

.wsign-renewal__result-count {
    margin: 0;
}

/* =========================================================
   DESKTOP CONTENT / MAP
   ========================================================= */

.wsign-renewal__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 35%);
    gap: 24px;
    align-items: start;
}

.wsign-renewal__list-column {
    min-width: 0;
}

.wsign-renewal__map-column {
    min-width: 0;
    align-self: stretch;
}

body.page-template-page-wsign-shop-renewal-php {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

.wsign-renewal__map-sticky {
    position: sticky;
    top: 82px;
}

body.page-template-page-wsign-shop-renewal-php.admin-bar .wsign-renewal__map-sticky {
    top: 114px;
}

#wsign-renewal-map {
    width: 100%;
    min-height: 640px;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f2f2;
}

/* =========================================================
   CARD GRID
   ========================================================= */

.wsign-renewal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.wsign-renewal__item {
    min-width: 0;
}

.wsign-renewal__card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
}

.wsign-renewal__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f3f3;
}

.wsign-renewal__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wsign-renewal__image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 16px;
    text-align: center;
}

.wsign-renewal__card-body {
    padding: 16px;
}

.wsign-renewal__shop-name {
    margin: 0 0 8px;
    font-size: 1.1rem;
    line-height: 1.45;
}

.wsign-renewal__category,
.wsign-renewal__area,
.wsign-renewal__benefit,
.wsign-renewal__description {
    margin-block: 8px;
}

.wsign-renewal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.wsign-renewal__action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   INLINE DETAILS
   ========================================================= */

.wsign-renewal__item.is-detail-open .wsign-renewal__card {
    border-color: #4f86aa;
    background: #f3f8fc;
    box-shadow:
        0 0 0 2px rgba(79, 134, 170, 0.12),
        0 8px 22px rgba(31, 61, 82, 0.10);
}

.wsign-renewal__details {
    margin-top: 12px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #9bbfd6;
    border-radius: 12px;
    background: #f7fbfe;
    box-shadow:
        0 8px 24px rgba(31, 61, 82, 0.08);
}

.wsign-renewal__detail-header {
    padding: 14px 18px;
    border-bottom: 1px solid #cbdde8;
    background: #eaf4fa;
}

.wsign-renewal__detail-title {
    margin: 0;
    color: #214f6c;
    font-size: 1.12rem;
    line-height: 1.45;
}

.wsign-renewal__details-list {
    display: grid;
    grid-template-columns:
        minmax(120px, 160px)
        minmax(0, 1fr);
    margin: 0;
    padding: 6px 18px;
    background: #fff;
}

.wsign-renewal__details-list > dt,
.wsign-renewal__details-list > dd {
    margin: 0;
    padding-block: 12px;
    border-bottom: 1px solid #e7eef3;
    line-height: 1.7;
}

.wsign-renewal__details-list > dt {
    padding-right: 18px;
    color: #35566b;
    font-weight: 700;
}

.wsign-renewal__details-list > dd {
    min-width: 0;
    color: #27343c;
    overflow-wrap: anywhere;
}

.wsign-renewal__details-list a {
    font-weight: 700;
    text-underline-offset: 3px;
}

.wsign-renewal__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.wsign-renewal__details-description {
    margin: 0;
    padding: 16px 18px 18px;
    border-top: 1px solid #e7eef3;
    background: #fff;
    color: #27343c;
    line-height: 1.75;
}

.wsign-renewal__details-description h3 {
    margin: 0 0 10px;
    color: #35566b;
    font-size: 1rem;
    line-height: 1.5;
}

.wsign-renewal__details[hidden] {
    display: none !important;
}

.wsign-renewal__detail-tray {
    position: relative;
    grid-column: 1 / -1;
    min-width: 0;
}

.wsign-renewal__detail-tray::before {
    position: absolute;
    top: -20px;
    left: var(
        --wsign-detail-pointer-x,
        50%
    );
    width: 2px;
    height: 20px;
    background: #4f86aa;
    content: "";
    transform: translateX(-50%);
}

.wsign-renewal__detail-tray::after {
    position: absolute;
    z-index: 2;
    top: 0;
    left: var(
        --wsign-detail-pointer-x,
        50%
    );
    width: 12px;
    height: 12px;
    border-top: 1px solid #9bbfd6;
    border-left: 1px solid #9bbfd6;
    background: #eaf4fa;
    content: "";
    transform:
        translate(-50%, -50%)
        rotate(45deg);
}

.wsign-renewal__detail-tray > .wsign-renewal__details {
    margin-top: 0;
}

/* =========================================================
   FILTER / PAGINATION STATE
   ========================================================= */

.wsign-renewal__item.is-filter-hidden,
.wsign-renewal__item.is-page-hidden {
    display: none;
}

/* =========================================================
   PAGINATION
   ========================================================= */

.wsign-renewal__pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
}

.wsign-renewal__page-button {
    min-width: 44px;
    min-height: 44px;
}

.wsign-renewal__page-button[aria-current="page"] {
    font-weight: 700;
    text-decoration: underline;
}

.wsign-renewal__filter-return {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.wsign-renewal__filter-return-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid currentColor;
    border-radius: 6px;
    text-decoration: none;
}

/* =========================================================
   MOBILE MAP MODAL
   ========================================================= */

.wsign-renewal__map-modal[hidden] {
    display: none;
}

.wsign-renewal__map-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #fff;
}

.wsign-renewal__map-modal-inner {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
}

.wsign-renewal__map-modal-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 3;
    display: flex;
    height: 0;
    min-height: 0;
    flex: 0 0 0;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    pointer-events: none;
}

#wsign-renewal-map-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    bottom: auto;
    z-index: 5;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #d7e2e9;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 14px rgba(16, 48, 68, .22);
    color: transparent;
    font-size: 0;
    line-height: 1;
    pointer-events: auto;
    top: max(12px, calc(env(safe-area-inset-top) + 8px));
    right: max(12px, calc(env(safe-area-inset-right) + 8px));
}

#wsign-renewal-map-modal-close::before,
#wsign-renewal-map-modal-close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #173f58;
    content: "";
}

#wsign-renewal-map-modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

#wsign-renewal-map-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#wsign-renewal-map-modal-close:focus-visible {
    outline: 3px solid rgba(38, 151, 223, .45);
    outline-offset: 3px;
}

#wsign-renewal-modal-map-container {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

#wsign-renewal-modal-map-container #wsign-renewal-map {
    height: 100%;
    min-height: 0;
    border-radius: 0;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.wsign-renewal a:focus-visible,
.wsign-renewal button:focus-visible,
.wsign-renewal select:focus-visible,
.wsign-renewal input:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.wsign-renewal__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (min-width: 1400px) {
    .wsign-renewal__content {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 32%);
    }

    .wsign-renewal__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .wsign-renewal__main {
        width: min(100% - 24px, 960px);
        padding-block: 24px 48px;
    }

    .wsign-renewal__content {
        display: block;
    }

    .wsign-renewal__map-column {
        display: none;
    }

    .wsign-renewal__filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wsign-renewal__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .wsign-renewal__main {
        width: min(100% - 20px, 720px);
        padding-block: 20px 40px;
    }

    .wsign-renewal__filter-grid,
    .wsign-renewal__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .wsign-renewal__card-body {
        padding: 14px;
    }

    .wsign-renewal__detail-header {
        padding: 12px 14px;
    }

    .wsign-renewal__details-list {
        grid-template-columns:
            minmax(0, 1fr);
        padding: 6px 14px 14px;
    }

    .wsign-renewal__details-list > dt {
        padding: 12px 0 4px;
        border-bottom: 0;
    }

    .wsign-renewal__details-list > dd {
        padding: 0 0 12px;
    }

    .wsign-renewal__details-description {
        padding: 14px;
    }

    .wsign-renewal__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wsign-renewal__action {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wsign-renewal *,
    .wsign-renewal *::before,
    .wsign-renewal *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-CARD-MODERNIZATION
   B DESIGN / CARD VISUAL LAYER
   CSS-only: interaction DOM/JS contract unchanged
   ========================================================= */

.wsign-renewal__card {
    display: flex;
    flex-direction: column;
    border-color: #d9e3ea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(31, 61, 82, 0.08);
}

.wsign-renewal__image-wrap {
    border-bottom: 1px solid #e7eef3;
    background: #eef3f6;
}

.wsign-renewal__image-button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.wsign-renewal__image {
    transition: transform 180ms ease;
}

.wsign-renewal__image-placeholder {
    background: linear-gradient(
        135deg,
        #f6f9fb 0%,
        #edf3f7 100%
    );
    color: #60727e;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.wsign-renewal__card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.wsign-renewal__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
}

.wsign-renewal__badges:empty {
    display: none;
}

.wsign-renewal__badge {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 3px 9px;
    border: 1px solid #cbdde8;
    border-radius: 999px;
    background: #f3f8fc;
    color: #214f6c;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.wsign-renewal__shop-name {
    margin: 0 0 8px;
    color: #173f58;
    font-size: 1.18rem;
    line-height: 1.45;
}

.wsign-renewal__shop-name-button {
    display: inline;
    padding: 0;
    border: 0;
    appearance: none;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.wsign-renewal__category,
.wsign-renewal__area {
    margin: 0;
    color: #60727e;
    font-size: 0.9rem;
    line-height: 1.6;
}

.wsign-renewal__area {
    margin-top: 2px;
}

.wsign-renewal__benefit {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-left: 4px solid #4f86aa;
    border-radius: 10px;
    background: #f3f8fc;
    color: #27343c;
    line-height: 1.65;
}

.wsign-renewal__benefit strong {
    color: #214f6c;
}

.wsign-renewal__description {
    margin: 12px 0 0;
    color: #53636e;
    line-height: 1.7;
}

.wsign-renewal__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.wsign-renewal__action {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #214f6c;
    border-radius: 8px;
    appearance: none;
    box-shadow: none;
    font: inherit;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease;
}

.wsign-renewal__action.wsign-renewal__details-trigger {
    border-color: #214f6c;
    background: #214f6c;
    color: #fff;
}

.wsign-renewal__action.wsign-renewal__map-action {
    border-color: #4f86aa;
    background: #fff;
    color: #214f6c;
}

.wsign-renewal__action:focus-visible {
    outline: 3px solid #214f6c;
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {

    .wsign-renewal__image-button:hover
    .wsign-renewal__image,

    .wsign-renewal__image-button:focus-visible
    .wsign-renewal__image {
        transform: scale(1.025);
    }

    .wsign-renewal__shop-name-button:hover {
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 3px;
    }

    .wsign-renewal__action.wsign-renewal__details-trigger:hover {
        border-color: #173f58;
        background: #173f58;
    }

    .wsign-renewal__action.wsign-renewal__map-action:hover {
        border-color: #214f6c;
        background: #eef5f9;
    }
}

@media (max-width: 767.98px) {

    .wsign-renewal__card-body {
        padding: 16px;
    }

    .wsign-renewal__actions {
        gap: 8px;
    }

    .wsign-renewal__action {
        padding-inline: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .wsign-renewal__image-button:hover
    .wsign-renewal__image,

    .wsign-renewal__image-button:focus-visible
    .wsign-renewal__image {
        transform: none;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-IMAGE-FOCUS-CORRECTION
   Keep keyboard focus visible inside clipped image container.
   ========================================================= */

.wsign-renewal__image-button:focus-visible {
    outline: 3px solid #214f6c;
    outline-offset: -4px;
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-REFERENCE-ALIGNMENT-R1
   B reference baseline; final visual tuning remains expected.
   ========================================================= */

.wsign-renewal__main {
    width: min(100% - 32px, 1480px);
    padding-block: 28px 60px;
}

.wsign-renewal__filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 30%);
    gap: 16px 22px;
    margin-bottom: 20px;
    padding: 20px 22px;
    border: 1px solid #d9eaf4;
    border-radius: 16px;
    background: linear-gradient(135deg, #f9fdff 0%, #eef8fd 100%);
    box-shadow: 0 5px 18px rgba(31, 61, 82, .06);
}

.wsign-renewal__filters > h2 {
    grid-column: 1 / -1;
    margin: 0;
    color: #173f58;
    font-size: 1rem;
}

.wsign-renewal__filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.wsign-renewal__filter-field label,
.wsign-renewal__benefit-filter legend {
    color: #214f6c;
    font-size: .9rem;
    font-weight: 700;
}

.wsign-renewal__filter-field select {
    min-height: 46px;
    padding-inline: 12px;
    border: 1px solid #cbdde8;
    border-radius: 8px;
    background: #fff;
    color: #27343c;
}

.wsign-renewal__benefit-filter {
    min-width: 0;
    margin: 0;
    padding: 0 0 0 20px;
    border: 0;
    border-left: 1px solid #d9e7ef;
}

.wsign-renewal__benefit-filter legend {
    margin-bottom: 8px;
}

.wsign-renewal__benefit-filter label {
    display: flex;
    min-height: 32px;
    align-items: center;
    gap: 8px;
    color: #35566b;
    line-height: 1.45;
}

.wsign-renewal__benefit-filter input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.wsign-renewal__filter-actions {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 10px;
}

.wsign-renewal__filter-actions button {
    min-height: 44px;
    padding: 9px 20px;
    border: 1px solid #1679bd;
    border-radius: 8px;
    appearance: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

#wsign-renewal-apply-filters {
    background: #0e82cf;
    color: #fff;
}

#wsign-renewal-reset-filters {
    background: #fff;
    color: #214f6c;
}

.wsign-renewal__result-summary {
    margin-block: 14px 12px;
}

.wsign-renewal__result-count {
    color: #173f58;
    font-weight: 700;
}

.wsign-renewal__content {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 32%);
    gap: 16px;
}

.wsign-renewal__grid {
    gap: 14px;
}

.wsign-renewal__map-sticky {
    border: 1px solid #d7e8f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(31, 61, 82, .08);
}

#wsign-renewal-map {
    border-radius: 16px;
}

.wsign-renewal__card {
    position: relative;
    border-color: #d8e5ed;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(31, 61, 82, .07);
}

.wsign-renewal__card-body {
    padding: 14px;
}

.wsign-renewal__badges {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    margin: 0;
    pointer-events: none;
}

.wsign-renewal__badge {
    min-height: 24px;
    padding: 3px 8px;
    border: 0;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(31, 61, 82, .16);
    color: #fff;
    font-size: .72rem;
    line-height: 1.2;
}

.wsign-renewal__badge--loco {
    background: #ef7540;
}

.wsign-renewal__badge--wcard {
    background: #1686cf;
}

.wsign-renewal__shop-name {
    margin-bottom: 6px;
    font-size: 1.12rem;
}

.wsign-renewal__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    align-items: center;
    margin-bottom: 10px;
    color: #687985;
    font-size: .82rem;
    line-height: 1.5;
}

.wsign-renewal__category,
.wsign-renewal__area {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.wsign-renewal__category + .wsign-renewal__area::before {
    margin-right: 8px;
    color: #afbec7;
    content: "|";
}

.wsign-renewal__benefit {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #f1d8dd;
    border-radius: 8px;
    background: #fff6f7;
    color: #b63a50;
    font-size: .86rem;
    line-height: 1.5;
}

.wsign-renewal__benefit strong {
    flex: 0 0 auto;
    color: #c63850;
}

.wsign-renewal__description {
    margin: 10px 0 0;
    color: #53636e;
    font-size: .86rem;
    line-height: 1.65;
}

.wsign-renewal__actions {
    gap: 8px;
    padding-top: 14px;
}

.wsign-renewal__action {
    border-color: #1686cf;
    border-radius: 7px;
}

.wsign-renewal__action.wsign-renewal__details-trigger {
    border-color: #0e82cf;
    background: #0e82cf;
}

.wsign-renewal__action.wsign-renewal__map-action {
    color: #0b70b1;
}

.wsign-renewal__item.is-detail-open .wsign-renewal__card {
    border-color: #4d9fd4;
    background: #fff;
    box-shadow:
        0 0 0 2px rgba(22, 134, 207, .10),
        0 7px 20px rgba(31, 61, 82, .10);
}

.wsign-renewal__details {
    border-color: #78b8df;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(31, 61, 82, .08);
}

.wsign-renewal__detail-header {
    padding: 13px 16px;
    border-bottom-color: #d9e9f2;
    background: #f5fbfe;
}

.wsign-renewal__detail-title {
    color: #173f58;
}

.wsign-renewal__detail-tray::before {
    background: #4d9fd4;
}

.wsign-renewal__detail-tray::after {
    border-top-color: #78b8df;
    border-left-color: #78b8df;
    background: #f5fbfe;
}

.wsign-renewal__pagination {
    gap: 6px;
    margin-top: 28px;
}

.wsign-renewal__page-button {
    min-width: 40px;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid #d5e4ed;
    border-radius: 8px;
    background: #fff;
    color: #35566b;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.wsign-renewal__page-button[aria-current="page"] {
    border-color: #0e82cf;
    background: #0e82cf;
    color: #fff;
    text-decoration: none;
}

.wsign-renewal__filter-return {
    margin-top: 18px;
}

.wsign-renewal__filter-return-link {
    border-color: #1686cf;
    border-radius: 8px;
    background: #fff;
    color: #0b70b1;
    font-weight: 700;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .wsign-renewal__card:hover {
        box-shadow: 0 7px 20px rgba(31, 61, 82, .11);
    }

    #wsign-renewal-apply-filters:hover,
    .wsign-renewal__action.wsign-renewal__details-trigger:hover {
        border-color: #096aa9;
        background: #096aa9;
    }

    #wsign-renewal-reset-filters:hover,
    .wsign-renewal__action.wsign-renewal__map-action:hover,
    .wsign-renewal__filter-return-link:hover {
        background: #edf7fc;
    }

    .wsign-renewal__page-button:hover {
        border-color: #9cc7df;
        background: #f3f9fc;
    }
}

@media (min-width: 1400px) {
    .wsign-renewal__content {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 31%);
    }

    .wsign-renewal__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .wsign-renewal__filters {
        display: block;
        padding: 18px;
    }

    .wsign-renewal__filters > h2 {
        margin-bottom: 14px;
    }

    .wsign-renewal__benefit-filter {
        margin-top: 14px;
        padding: 14px 0 0;
        border-top: 1px solid #d9e7ef;
        border-left: 0;
    }

    .wsign-renewal__filter-actions {
        margin-top: 14px;
    }

    .wsign-renewal__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .wsign-renewal__filters {
        padding: 16px;
        border-radius: 14px;
    }

    .wsign-renewal__filter-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .wsign-renewal__filter-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
    }

    .wsign-renewal__filter-actions button {
        width: 100%;
        padding-inline: 10px;
    }

    .wsign-renewal__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .wsign-renewal__card-body {
        padding: 14px;
    }

    .wsign-renewal__meta {
        margin-bottom: 9px;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-PC-FINETUNE-R1
   PC visual fine-tuning against the B reference direction.
   ========================================================= */

.wsign-renewal {
    color: #173f58;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Noto Sans JP",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        Meiryo,
        sans-serif;
}

.wsign-renewal__main {
    padding-block: 38px 60px;
}

.wsign-renewal__header {
    display: flex;
    gap: 18px;
    align-items: baseline;
    margin-bottom: 16px;
    padding: 0 4px;
}

.wsign-renewal .wsign-renewal__title {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #0b3762;
    font-size: clamp(1.65rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
}

.wsign-renewal__intro {
    margin: 0;
    color: #5b7485;
    font-size: .9rem;
    line-height: 1.6;
}

.wsign-renewal__development-notice {
    margin-block: 0 16px;
    padding: 8px 12px;
    border-color: #dfe7ec;
    border-style: dashed;
    background: #fbfcfd;
    color: #74838d;
    font-size: .82rem;
}

.wsign-renewal .wsign-renewal__filters > h2 {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #214f6c;
    font-size: .92rem;
    line-height: 1.4;
}

.wsign-renewal__filters {
    border-radius: 14px;
}

.wsign-renewal .wsign-renewal__shop-name {
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #0d3b66;
    font-size: 1.08rem;
    line-height: 1.4;
}

.wsign-renewal .wsign-renewal__shop-name-button {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    font-weight: 700;
}

.wsign-renewal__detail-header,
.wsign-renewal__detail-title {
    background-image: none;
}

.wsign-renewal__detail-tray {
    margin-top: -6px;
}

.wsign-renewal__detail-tray::before {
    display: none;
}

.wsign-renewal__detail-tray::after {
    z-index: 4;
    top: 0;
    width: 14px;
    height: 14px;
    border-top: 1px solid #78b8df;
    border-left: 1px solid #78b8df;
    background: #fff;
    transform:
        translate(-50%, -50%)
        rotate(45deg);
}

@media (max-width: 991.98px) {
    .wsign-renewal__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 767.98px) {
    .wsign-renewal__main {
        padding-top: 26px;
    }

    .wsign-renewal__header {
        margin-bottom: 14px;
        padding-inline: 0;
    }

    .wsign-renewal__intro {
        font-size: .86rem;
    }

    .wsign-renewal__detail-tray {
        margin-top: 0;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-PC-LAYOUT-POLISH-R1
   PC-only layout polish after visual QA.
   ========================================================= */

@media (min-width: 992px) {

    body.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__main {
        padding-top: 94px;
    }

    body.page-template-page-wsign-shop-renewal-php.admin-bar
    .wsign-renewal__main {
        padding-top: 126px;
    }

    body.page-template-page-wsign-shop-renewal-php
    #wsign-renewal-filters {
        scroll-margin-top: 94px;
    }

    body.page-template-page-wsign-shop-renewal-php.admin-bar
    #wsign-renewal-filters {
        scroll-margin-top: 126px;
    }

    .wsign-renewal__card-body {
        display: grid;
        grid-template-rows:
            auto
            4.1rem
            5.2rem
            4.3rem
            minmax(0, 1fr)
            auto;
        row-gap: 8px;
        align-content: stretch;
    }

    .wsign-renewal__shop-name {
        grid-row: 1;
        align-self: start;
    }

    .wsign-renewal__meta {
        display: grid;
        grid-row: 2;
        grid-template-rows: 2.7rem 1.4rem;
        gap: 0;
        align-content: start;
        margin: 0;
    }

    .wsign-renewal__category {
        display: -webkit-box;
        grid-row: 1;
        min-height: 2.7rem;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .wsign-renewal__area {
        grid-row: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wsign-renewal__category + .wsign-renewal__area::before {
        margin: 0;
        content: none;
    }

    .wsign-renewal__benefit {
        display: -webkit-box;
        grid-row: 3;
        height: 100%;
        margin: 0;
        overflow: hidden;
        box-sizing: border-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .wsign-renewal__benefit strong {
        display: inline;
    }

    .wsign-renewal__description {
        display: -webkit-box;
        grid-row: 4;
        height: 4.3rem;
        margin: 0;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .wsign-renewal__actions {
        grid-row: 6;
        align-self: end;
        margin-top: 0;
        padding-top: 0;
    }

    .wsign-renewal__item.is-detail-open
    .wsign-renewal__card {
        border-width: 2px;
    }

    .wsign-renewal__details {
        border-width: 2px;
    }

    .wsign-renewal__detail-tray::after {
        border-top-width: 2px;
        border-left-width: 2px;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-ADDITIONAL-VISUAL-R1
   Additional B-reference alignment excluding unverified hero asset.
   ========================================================= */

.wsign-renewal__header {
    justify-content: flex-start;
    gap: 20px;
}

.wsign-renewal__intro {
    max-width: 640px;
}

.wsign-renewal__filter-field label,
.wsign-renewal__benefit-filter legend {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.wsign-renewal__filter-field label::before,
.wsign-renewal__benefit-filter legend::before,
#wsign-renewal-apply-filters::before,
.wsign-renewal__action::before {
    display: inline-block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    content: "";
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.wsign-renewal__filter-field label[for="wsign-renewal-parent-category"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e82cf' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 3v7M8 3v7M6 10v11M16 3v8M20 3v8M18 11v10'/%3E%3C/svg%3E");
}

.wsign-renewal__filter-field label[for="wsign-renewal-child-category"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e82cf' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h7l2 2h7v12H4z'/%3E%3Cpath d='M8 11h8M8 15h5'/%3E%3C/svg%3E");
}

.wsign-renewal__filter-field label[for="wsign-renewal-area"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e82cf' stroke-width='2'%3E%3Cpath d='M12 21s7-6.1 7-12A7 7 0 1 0 5 9c0 5.9 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.3'/%3E%3C/svg%3E");
}

.wsign-renewal__benefit-filter legend::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e82cf' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 9h18M7 14h4'/%3E%3C/svg%3E");
}

#wsign-renewal-apply-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#wsign-renewal-apply-filters::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E");
}

.wsign-renewal__category {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    align-content: flex-start;
}

.wsign-renewal__category-chip {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 2px 8px;
    border: 1px solid #9ccbe6;
    border-radius: 999px;
    background: #fff;
    color: #356b8c;
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.wsign-renewal__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.wsign-renewal__action.wsign-renewal__details-trigger::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E");
}

.wsign-renewal__action.wsign-renewal__details-trigger[aria-expanded="true"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E");
}

.wsign-renewal__action.wsign-renewal__map-action::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b70b1' stroke-width='2'%3E%3Cpath d='M12 21s7-6.1 7-12A7 7 0 1 0 5 9c0 5.9 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.3'/%3E%3C/svg%3E");
}

.wsign-renewal__description {
    text-overflow: ellipsis;
}

@media (min-width: 992px) {

    .wsign-renewal__category {
        max-height: 2.7rem;
        overflow: hidden;
    }

    .wsign-renewal__description {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

@media (max-width: 991.98px) {

    .wsign-renewal__header {
        gap: 6px;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-CHIP-FOCUS-CORRECTION-R1
   Guarantee two chip rows without clipping on PC.
   ========================================================= */

@media (min-width: 992px) {

    .wsign-renewal__meta {
        grid-template-rows: 3rem 1.4rem;
    }

    .wsign-renewal__category {
        min-height: 3rem;
        max-height: 3rem;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-META-TRACK-CORRECTION-R1
   Match the parent card meta track to the two-row chip + area height.
   ========================================================= */

@media (min-width: 992px) {

    .wsign-renewal__card-body {
        grid-template-rows:
            auto
            4.4rem
            5.2rem
            4.3rem
            minmax(0, 1fr)
            auto;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-GENRE-ICON-CORRECTION-R1
   Replace food-specific genre icon with neutral category tag.
   ========================================================= */

.wsign-renewal__filter-field
label[for="wsign-renewal-parent-category"]::before {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e82cf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13 13 20 4 11V4h7z'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.3'/%3E%3C/svg%3E");
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-TOP-HERO-BACKGROUND-R1
   B-reference hero treatment.
   ========================================================= */

.wsign-renewal__header {
    min-height: 170px;
    overflow: hidden;
    align-items: center;
    justify-content: flex-start;
    gap: 26px;
    margin-bottom: 18px;
    padding: 26px 32px;
    border: 1px solid #d6e8f3;
    border-radius: 16px;
    background-color: #eef8fd;
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .96) 0%,
            rgba(255, 255, 255, .91) 34%,
            rgba(255, 255, 255, .70) 58%,
            rgba(255, 255, 255, .30) 100%
        ),
        url("../images/wsign-shop-renewal/wsign-shop-renewal-hero.jpg");
    background-repeat: no-repeat;
    background-position: center 40%;
    background-size: cover;
    box-shadow: 0 6px 18px rgba(31, 61, 82, .06);
}

.wsign-renewal .wsign-renewal__title {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.wsign-renewal__intro {
    position: relative;
    z-index: 1;
    max-width: 610px;
    color: #48697e;
    font-weight: 600;
}

@media (max-width: 991.98px) {

    .wsign-renewal__header {
        min-height: 150px;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 7px;
        padding: 22px 24px;
        background-image:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, .93) 0%,
                rgba(255, 255, 255, .84) 58%,
                rgba(255, 255, 255, .48) 100%
            ),
            url("../images/wsign-shop-renewal/wsign-shop-renewal-hero.jpg");
        background-position: center 39%;
    }

    .wsign-renewal__intro {
        max-width: 560px;
    }
}

@media (max-width: 767.98px) {

    .wsign-renewal__header {
        min-height: 136px;
        margin-bottom: 14px;
        padding: 18px;
        border-radius: 12px;
        background-image:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, .94) 0%,
                rgba(255, 255, 255, .86) 66%,
                rgba(255, 255, 255, .58) 100%
            ),
            url("../images/wsign-shop-renewal/wsign-shop-renewal-hero.jpg");
        background-position: center 38%;
    }

    .wsign-renewal .wsign-renewal__title {
        font-size: 1.5rem;
    }

    .wsign-renewal__intro {
        max-width: 100%;
        font-size: .86rem;
        line-height: 1.55;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-TOP-HERO-PC-BALANCE-R1
   PC spacing, text grouping and overlay fine-tuning.
   ========================================================= */

@media (min-width: 992px) {

    body.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__main {
        padding-top: 72px;
    }

    body.page-template-page-wsign-shop-renewal-php.admin-bar
    .wsign-renewal__main {
        padding-top: 104px;
    }

    .wsign-renewal__header {
        display: grid;
        grid-template-columns:
            max-content
            minmax(0, 520px);
        gap: 32px;
        min-height: 160px;
        align-items: center;
        justify-content: start;
        margin-bottom: 12px;
        padding: 22px 48px;
        background-image:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, .93) 0%,
                rgba(255, 255, 255, .86) 34%,
                rgba(255, 255, 255, .62) 60%,
                rgba(255, 255, 255, .28) 100%
            ),
            url("../images/wsign-shop-renewal/wsign-shop-renewal-hero.jpg");
        background-position: center 40%;
    }

    .wsign-renewal
    .wsign-renewal__title {
        width: auto;
        margin: 0 !important;
        justify-self: start;
        align-self: center;
        white-space: nowrap;
    }

    .wsign-renewal__intro {
        width: auto;
        max-width: 520px;
        margin: 0 !important;
        justify-self: start;
        align-self: center;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-RESPONSIVE-HERO-FILTER-R1
   Mobile hero visibility/alignment and filter action fit.
   991px tablet contract intentionally unchanged.
   ========================================================= */

@media (max-width: 767.98px) {

    body.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__main {
        padding-top: 76px;
    }

    .wsign-renewal__header {
        min-height: 144px;
        align-items: center;
        justify-content: center;
        padding: 18px 16px;
        text-align: center;
        background-position: center 24%;
    }

    .wsign-renewal
    .wsign-renewal__title {
        width: 100%;
        margin: 0 !important;
        text-align: center;
    }

    .wsign-renewal__intro {
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
        text-align: center;
    }

    .wsign-renewal__filter-actions {
        grid-template-columns:
            minmax(0, 1.45fr)
            minmax(96px, .75fr);
        gap: 8px;
    }

    .wsign-renewal__filter-actions button {
        min-width: 0;
        padding-inline: 8px;
        font-size: .9rem;
        line-height: 1.35;
        white-space: nowrap;
    }

    #wsign-renewal-apply-filters {
        gap: 6px;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-767-BOUNDARY-HERO-TEXT-R1
   Stabilize hero text alignment at the 767/768px boundary.
   ========================================================= */

@media (max-width: 768px) {

    .wsign-renewal__header {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .wsign-renewal
    .wsign-renewal__title {
        width: 100%;
        margin-inline: 0 !important;
        text-align: center;
    }

    .wsign-renewal__intro {
        width: 100%;
        max-width: 100%;
        margin-inline: 0 !important;
        text-align: center;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-04I-03C-B-MOBILE-DETAIL-INLINE-HEIGHT-FIX-R1
   Mobile inline details must participate in normal document flow.
   Keep equal-height card behavior unchanged above 767px.
   ========================================================= */
@media (max-width: 767.98px) {
    .wsign-renewal__card {
        height: auto;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-01J-06C-04A-02-ALL-BREAKPOINT-3LINE-R1
   Extend the fixed three-line member-benefit treatment to <= 991px.
   Keep the existing >= 992px grid-row/clamp behavior unchanged.
   ========================================================= */
@media (max-width: 991.98px) {

    .wsign-renewal__benefit {
        display: -webkit-box;
        height: 5.2rem;
        min-height: 5.2rem;
        max-height: 5.2rem;
        flex: 0 0 5.2rem;
        overflow: hidden;
        box-sizing: border-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .wsign-renewal__benefit strong {
        display: inline;
    }
}

/* =========================================================
   WSIGN-CARD-RENEWAL-01J-06C-04A-05B-02-INNER-CLAMP-CORRECTION
   Keep border/padding/fixed-height on the outer benefit box.
   Move three-line clamping to the inner benefit text span.
   ========================================================= */
.wsign-renewal__benefit {
    display: flex;
    overflow: hidden;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.wsign-renewal__benefit-clamp {
    display: -webkit-box;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}


/* =========================================================
   01J-07F-02 PAGE10 TITLE SPACING
   Page 10 uses a normal-flow sticky header; remove preview overlay compensation.
   ========================================================= */
body.page-id-10.page-template-page-wsign-shop-renewal-php .wsign-renewal__main {
    padding-top: 26px;
}

/* =========================================================
   01J-08B CARD / DETAIL / MAP BIDIRECTIONAL SELECTION
   Candidate-only visual layer.
   ========================================================= */
.wsign-renewal__item.is-shop-selected .wsign-renewal__card {
    border-color: #2697df;
    background: #fff;
    box-shadow:
        0 0 0 2px rgba(38, 151, 223, .18),
        0 9px 24px rgba(31, 61, 82, .13);
}

.wsign-renewal__map-info {
    display: flex;
    width: min(232px, 70vw);
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    color: #173f58;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Noto Sans JP",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        Meiryo,
        sans-serif;
}

.wsign-renewal__map-info-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: #eef3f6;
}

.wsign-renewal__map-info-placeholder {
    display: grid;
    width: 100%;
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
    place-items: center;
    padding: 6px;
    border-radius: 8px;
    background: #eef3f6;
    color: #61798a;
    font-size: .72rem;
    text-align: center;
}

.wsign-renewal__map-info-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wsign-renewal__map-info-body {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    padding: 0 2px 2px;
}

.wsign-renewal__map-info-name {
    display: block;
    margin: 0 0 6px;
    color: #0d3b66;
    font-size: .95rem;
    line-height: 1.45;
}

.wsign-renewal__map-info-address {
    color: #536c7d;
    font-size: .8rem;
    line-height: 1.55;
}

#wsign-renewal-map .gm-style-iw-c {
    padding: 10px !important;
    overflow: visible !important;
}

#wsign-renewal-map .gm-style-iw-chr {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 4;
    width: 36px;
    height: 36px;
}

#wsign-renewal-map .gm-style-iw-ch {
    display: none;
}

#wsign-renewal-map .gm-ui-hover-effect {
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid #d7e2e9 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(16, 48, 68, .24) !important;
    opacity: 1 !important;
}

#wsign-renewal-map .gm-ui-hover-effect > span {
    display: none !important;
}

#wsign-renewal-map .gm-ui-hover-effect::before,
#wsign-renewal-map .gm-ui-hover-effect::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #173f58;
    content: "";
}

#wsign-renewal-map .gm-ui-hover-effect::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

#wsign-renewal-map .gm-ui-hover-effect::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#wsign-renewal-map .gm-style-iw-d {
    min-width: min(232px, 70vw);
    overflow: auto !important;
}

@media (min-width: 992px) {
    .wsign-renewal__item.is-shop-selected .wsign-renewal__card {
        border-width: 2px;
    }
}

@media (max-width: 767.98px) {
    .wsign-renewal__map-info {
        width: min(216px, 68vw);
    }

    .wsign-renewal__map-info-image-wrap {
        width: 100%;
        max-width: 216px;
        flex-basis: auto;
    }

    .wsign-renewal__map-info-placeholder {
        width: 100%;
        max-width: 216px;
        flex-basis: auto;
    }

    .wsign-renewal__map-info-body {
        width: 100%;
        padding-top: 0;
    }

    #wsign-renewal-map .gm-style-iw-d {
        min-width: min(216px, 68vw);
    }
}

@media
    (max-width: 991.98px) and
    (max-height: 600px) and
    (orientation: landscape) {

    .wsign-renewal__map-info {
        width: min(248px, 72vw);
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }

    .wsign-renewal__map-info-image-wrap,
    .wsign-renewal__map-info-placeholder {
        width: clamp(72px, 16vw, 88px);
        max-width: none;
        aspect-ratio: 4 / 3;
        flex: 0 0 clamp(72px, 16vw, 88px);
    }

    .wsign-renewal__map-info-body {
        box-sizing: border-box;
        width: 0;
        min-width: 0;
        max-width: 100%;
        flex: 1 1 0;
        padding: 2px 18px 2px 0;
        overflow: hidden;
    }

    .wsign-renewal__map-info-name {
        max-width: 100%;
        margin-bottom: 5px;
        font-size: .86rem;
        line-height: 1.35;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .wsign-renewal__map-info-address {
        max-width: 100%;
        font-size: .72rem;
        line-height: 1.4;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    #wsign-renewal-map .gm-style-iw-c {
        padding: 8px !important;
    }

    #wsign-renewal-map .gm-style-iw-d {
        min-width: min(248px, 72vw);
        max-width: min(248px, 72vw) !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* =========================================================
   01J-08F-R2 ISOLATED PREVIEW DESKTOP TITLE SPACING PARITY
   Fixed header 83px + approved production gap 26px = 109px.
   Mobile/tablet rules remain unchanged.
   ========================================================= */
@media (min-width: 992px) {
    body.page-id-9826.page-template-page-wsign-shop-renewal-php .wsign-renewal__main {
        padding-top: 109px;
    }

    body.page-id-9826.page-template-page-wsign-shop-renewal-php.admin-bar .wsign-renewal__main {
        padding-top: 141px;
    }
}

/* =========================================================
   01J-08F-R3A ISOLATED PREVIEW MOBILE/TABLET TITLE SPACING PARITY
   Fixed header 60px + approved production gap 26px = 86px.
   WordPress admin bar: 46px through 782px, 32px from 783px.
   Desktop rules from R2 remain unchanged.
   ========================================================= */
@media (max-width: 991.98px) {
    body.page-id-9826.page-template-page-wsign-shop-renewal-php .wsign-renewal__main {
        padding-top: 86px;
    }
}

@media (max-width: 782px) {
    body.page-id-9826.page-template-page-wsign-shop-renewal-php.admin-bar .wsign-renewal__main {
        padding-top: 132px;
    }
}

@media (min-width: 783px) and (max-width: 991.98px) {
    body.page-id-9826.page-template-page-wsign-shop-renewal-php.admin-bar .wsign-renewal__main {
        padding-top: 118px;
    }
}

/* =========================================================
   01J-08F-R4 ISOLATED PREVIEW COLLAPSED-HEADER TITLE SPACING PARITY
   Nishiki Pro uses a 60px collapsed header through 1280px.
   Fixed header 60px + approved production gap 26px = 86px.
   R2 remains authoritative from 1281px; R3A remains authoritative through 991.98px.
   ========================================================= */
@media (min-width: 992px) and (max-width: 1280px) {
    body.page-id-9826.page-template-page-wsign-shop-renewal-php .wsign-renewal__main {
        padding-top: 86px;
    }

    body.page-id-9826.page-template-page-wsign-shop-renewal-php.admin-bar .wsign-renewal__main {
        padding-top: 118px;
    }
}

/* =========================================================
   01J-08G-R1 ISOLATED PREVIEW MAP ACTION SINGLE-LINE FIT
   Keep the fixed Japanese map-action label on one line only at the
   two measured narrow-card viewport bands. Card/grid structure unchanged.
   ========================================================= */
@media (max-width: 340px),
       (min-width: 992px) and (max-width: 1023.98px) {
    .wsign-renewal__action.wsign-renewal__map-action {
        min-width: 0;
        padding-inline: 6px;
        gap: 5px;
        white-space: nowrap;
    }
}

/* =========================================================
   01J-08G-R2 ISOLATED PREVIEW NARROW FILTER ACTION STACK
   At 330px and below, stack the two filter actions so the fixed
   Japanese apply label remains fully visible without shrinking text.
   Widths from 331px upward and all interaction logic remain unchanged.
   ========================================================= */
@media (max-width: 330px) {
    body.page-id-9826.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__filter-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================================================
   01J-08G-R4 ISOLATED PREVIEW MAP INFO CONTAINMENT
   Let Google Maps retain control of the outer InfoWindow width.
   At only the screenshot-confirmed constrained viewport bands,
   remove the inner fixed minimum width and keep all shop content
   within the width Google makes available. Landscape is unchanged.
   ========================================================= */
@media (max-width: 390px) and (orientation: portrait),
       (min-width: 992px) {
    body.page-id-9826.page-template-page-wsign-shop-renewal-php
    #wsign-renewal-map .gm-style-iw-d {
        min-width: 0;
        max-width: 100% !important;
    }

    body.page-id-9826.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__map-info,
    body.page-id-9826.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__map-info-image-wrap,
    body.page-id-9826.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__map-info-placeholder,
    body.page-id-9826.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__map-info-image,
    body.page-id-9826.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__map-info-body {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    body.page-id-9826.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__map-info-name,
    body.page-id-9826.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__map-info-address {
        max-width: 100%;
        min-width: 0;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

/* =========================================================
   01J-08H-02 ISOLATED PREVIEW CARD / MAP TOP ALIGNMENT
   Match the desktop sticky map top to the existing card scroll target:
   measured fixed-header bottom + the approved 12px gap.
   ========================================================= */

@media (min-width: 992px) and (max-width: 1280px) {
    body.page-id-9826.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__map-sticky {
        top: 72px;
    }

    body.page-id-9826.page-template-page-wsign-shop-renewal-php.admin-bar
    .wsign-renewal__map-sticky {
        top: 104px;
    }
}

@media (min-width: 1281px) {
    body.page-id-9826.page-template-page-wsign-shop-renewal-php
    .wsign-renewal__map-sticky {
        top: 95px;
    }

    body.page-id-9826.page-template-page-wsign-shop-renewal-php.admin-bar
    .wsign-renewal__map-sticky {
        top: 127px;
    }
}
