body.detail-page {
    background: #ffffff;
}

.detail {
    padding: 40px 0 0;
}

.detail__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 28px;
}

.detail__back {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    font-size: 12px;
    line-height: 1;
    color: #1a1a1a;
}

.detail__back-arrow {
    width: 41px;
    height: 11px;
    flex-shrink: 0;
}

.detail__back--inline {
    display: none;
}

.detail__pagetitle {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.detail__body {
    display: grid;
    grid-template-columns: 463px 1fr;
    column-gap: 44px;
    align-items: start;
    grid-template-areas:
        "gallery info"
        "coupon info"
        "coupon maps";
}

.detail__gallery {
    grid-area: gallery;
}

.detail__info {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.detail__coupon {
    grid-area: coupon;
    margin-top: 24px;
}

.detail__maps {
    grid-area: maps;
    margin-top: 24px;
}

.detail__main {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f1f3;
}

.detail__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail__main-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 60px;
    color: #ffffff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
    transition: transform 0.15s var(--ease), opacity 0.15s var(--ease);
    opacity: 0.9;
}

.detail__main-nav:hover {
    opacity: 1;
}

.detail__main-nav--prev {
    left: 6px;
}

.detail__main-nav--next {
    right: 6px;
}

.detail__main-nav--prev:hover {
    transform: translateY(-50%) translateX(-2px);
}

.detail__main-nav--next:hover {
    transform: translateY(-50%) translateX(2px);
}

.detail__thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.detail__thumb-nav {
    flex-shrink: 0;
    width: 22px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c2c6cd;
    transition: color 0.15s var(--ease);
}

.detail__thumb-nav:hover {
    color: #8b8f97;
}

.detail__thumbs {
    display: flex;
    gap: 8px;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
}

.detail__thumb {
    width: 75px;
    height: 75px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f1f3;
    cursor: pointer;
    transition: border-color 0.15s var(--ease);
}

.detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail__thumb:hover,
.detail__thumb.is-active {
    border-color: var(--color-primary);
}

.detail__name {
    display: flex;
    align-items: center;
    gap: 14px;
}

.detail__name img {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.detail__name h1 {
    font-size: 27px;
    font-weight: 700;
    color: #1a1a1a;
    word-break: break-word;
}

.detail__hr {
    width: 100%;
    height: 3px;
    background: #000000;
}

.detail__hr--light {
    height: 1px;
    background: #eaeaea;
    margin-bottom: 16px;
}

.detail__row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.detail__label {
    flex-shrink: 0;
    width: 92px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 22px;
}

.detail__val {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 20px;
    color: #1a1a1a;
    word-break: break-all;
}

.detail__link {
    text-decoration: underline;
}

.detail__link:hover {
    color: var(--color-primary);
}

.detail__copy {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #868a92;
    transition: color 0.15s var(--ease);
}

.detail__copy:hover {
    color: #1a1a1a;
}

.detail__copy.is-copied {
    color: var(--color-primary);
}

.detail__section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail__text {
    font-size: 14px;
    line-height: 20px;
    color: #1a1a1a;
}

.detail__text b {
    font-weight: 600;
}

.detail__coupon-box {
    padding: 18px 20px;
    background: #f5f6f7;
    border-radius: 12px;
}

.detail__coupon-label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #b3261e;
}

.detail__coupon-text {
    font-size: 16px;
    line-height: 22px;
    color: #1a1a1a;
}

.detail__coupon-text b {
    font-weight: 700;
}

.detail__coupon-dl {
    width: 100%;
    height: 50px;
    margin-top: 14px;
    background: #db4139;
    color: #ffffff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
}

.detail__coupon-dl:hover {
    background: #c8352e;
}

.detail__maps-btns {
    display: flex;
    gap: 14px;
}

.detail__map-btn {
    flex: 1;
    height: 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.detail__map-btn--naver {
    background: #35b262;
}

.detail__map-btn--naver:hover {
    background: #2e9d55;
}

.detail__map-btn--google {
    background: #bfbfc2;
}

.detail__map-btn--google:hover {
    background: #a9a9ad;
}

@media (max-width: 1024px) {
    .dhero {
        display: none;
    }
    .detail {
        padding: 0 0 56px;
    }
    .detail .container {
        max-width: none;
        padding: 0;
    }
    .detail__topbar {
        display: none;
    }
    .detail__body {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }
    .detail__gallery {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .detail__main {
        width: 100%;
        border-radius: 0;
        order: -1;
    }
    .detail__info,
    .detail__coupon,
    .detail__maps {
        width: 100%;
        max-width: 600px;
        padding: 0 20px;
    }
    .detail__thumbs-wrap {
        padding: 0 20px;
    }
    .detail__main-nav {
        width: 30px;
        height: 49px;
    }
    .detail__main-nav svg {
        width: 15px;
        height: 26px;
    }
    .detail__thumbs-wrap {
        justify-content: center;
        margin-top: 20px;
    }
    .detail__thumbs {
        flex: 0 1 auto;
        justify-content: center;
    }
    .detail__thumb {
        width: 47px;
        height: 47px;
    }
    .detail__thumb-nav {
        height: 47px;
    }
    .detail__coupon,
    .detail__maps {
        margin-top: 0;
    }
    .detail__maps .detail__hr--light {
        display: none;
    }
    .detail__name {
        order: -3;
    }
    .detail__hr {
        order: -2;
    }
    .detail__row--web {
        order: -1;
    }
    .detail__name h1 {
        font-size: 22px;
    }
    .detail__back--inline {
        display: inline-flex;
        align-self: flex-start;
        margin-left: auto;
        flex-shrink: 0;
        font-size: 12px;
        color: #333333;
        gap: 5px;
    }
}
.detail__strip {
    position: relative;
    display: flex;
    width: 100%;
    height: 340px;
    margin-top: 60px;
    overflow: hidden;
}

.detail__strip-img {
    min-width: 0;
    height: 100%;
}

.detail__strip-img--1 { flex: 648 1 0; }
.detail__strip-img--2 { flex: 353 1 0; }
.detail__strip-img--3 { flex: 663 1 0; }

.detail__strip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .detail__strip {
        height: min(86vw, 340px);
        margin-top: 40px;
        justify-content: flex-start;
    }
    .detail__strip-img {
        flex: 0 0 auto;
    }
    .detail__strip-img--2 {
        order: 1;
        width: 69vw;
    }
    .detail__strip-img--3 {
        order: 2;
        width: 129.3vw;
    }
    .detail__strip-img--1 {
        order: 3;
        width: 126.4vw;
    }
}

.dhero {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.dhero__band {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 66px;
    background: #ffde2f;
    z-index: 0;
}

.dhero__inner {
    position: relative;
    z-index: 1;
    height: 236px;
}

.dhero__title {
    position: absolute;
    left: 0;
    top: 38px;
    width: 258px;
    z-index: 2;
}

.dhero__title img {
    width: 100%;
    height: auto;
}

.dhero__illust {
    position: absolute;
    left: 320px;
    top: -20px;
    height: 235px;
    width: auto;
    z-index: 1;
}

.dhero__mustvisit {
    position: absolute;
    right: 0;
    top: 92px;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.25;
    color: #1a1a1a;
    z-index: 2;
}

.detail__strip-title {
    position: absolute;
    left: max(20px, calc(50% - 470px));
    bottom: 24px;
    width: 200px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .detail__strip-title {
        width: 120px;
        bottom: 14px;
        left: 20px;
    }
}