/* shop.html smartphone refinements */
.map-action-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.map-action-buttons .btn {
    width: 260px;
    max-width: 100%;
}

.shop-goonet-link {
    color: #C40000;
    font-weight: 700;
    border-bottom: 1px solid #C40000;
}

.shop-image-card {
    padding: 0;
    overflow: hidden;
    border: none;
    background: transparent;
}

.shop-image-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

@media (min-width: 769px) {
    .shop-image-card {
        align-self: start;
        aspect-ratio: 4 / 3;
    }
}

.shop-faq-link-wrap {
    margin-top: 40px;
}

.shop-faq-link {
    border-color: #333;
    color: #333;
}

.shop-map-container {
    margin-bottom: 32px;
    background: #ddd;
}

.shop-map-iframe {
    border: 0;
}

.access-step-text {
    margin: 0;
    line-height: 1.6;
}

.shop-goal-message {
    display: inline-block;
    margin-top: 12px;
    color: #8a00ff;
    font-weight: 700;
}

.shop-map-note-wrap {
    margin-top: 32px;
}

.shop-map-note {
    color: #666;
    font-size: 0.9rem;
}

.step-img-wrapper img {
    cursor: zoom-in;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.step-img-wrapper img:hover {
    opacity: 0.88;
    transform: scale(1.02);
}

.shop-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(0, 0, 0, 0.86);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.shop-image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.shop-image-lightbox__image {
    display: block;
    width: auto;
    max-width: min(1100px, 94vw);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.shop-image-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .shop-info-card {
        padding: 22px 18px;
    }

    .shop-image-card {
        order: -1;
        padding: 0;
        aspect-ratio: 4 / 3;
    }

    .shop-table th,
    .shop-table td {
        display: block;
        width: 100%;
        padding: 0;
        border-bottom: 0;
    }

    .shop-table th {
        margin-top: 14px;
        margin-bottom: 4px;
        font-size: 0.78rem;
        color: #777;
        text-align: left;
    }

    .shop-table tr:first-child th {
        margin-top: 0;
    }

    .shop-table td {
        padding-bottom: 14px;
        border-bottom: 1px solid #f2f2f2;
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .access-step-card {
        display: grid;
        grid-template-columns: minmax(108px, 34%) 1fr;
        gap: 14px;
        align-items: stretch;
        padding: 14px;
    }

    .step-img-wrapper {
        width: 100%;
        height: auto;
        min-height: 118px;
        flex: none;
    }

    .step-content {
        min-width: 0;
    }

    .step-content p {
        font-size: 0.84rem;
        line-height: 1.65 !important;
    }

    .step-num {
        margin-bottom: 6px;
        font-size: 0.72rem;
    }

    .map-action-buttons {
        align-items: center;
        flex-direction: column;
        gap: 16px;
    }

    .map-action-buttons .btn {
        width: min(100%, 260px);
        min-width: 0 !important;
    }

    .shop-image-lightbox {
        padding: 18px;
    }

    .shop-image-lightbox__image {
        max-width: 94vw;
        max-height: 82vh;
    }
}

@media (max-width: 420px) {
    .access-step-card {
        grid-template-columns: 1fr;
    }

    .step-img-wrapper {
        min-height: 160px;
    }
}
