@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');

/* MC-589: shared `/price` and `/event` category-feed layout with real data. */
.content_body.catalog_layout {
    width: 100%;
    min-width: 0 !important;
    max-width: 100%;
    overflow-x: hidden;
}

.content_body.catalog_layout .article {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: visible;
}

.catalog-feed,
.catalog-feed * {
    box-sizing: border-box;
    font-family: "Noto Sans KR", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.catalog-feed {
    --catalog-ink: #1c190c;
    --catalog-muted: #70633c;
    --catalog-line: var(--muse-theme-surface-border);
    --catalog-primary: var(--muse-theme-primary, #FFCC00);
    --catalog-secondary: var(--muse-theme-secondary, var(--catalog-primary));
    --catalog-deep: var(--muse-theme-deep, var(--muse-theme-accent, #9A5A00));
    --catalog-soft: var(--muse-theme-soft, var(--muse-theme-surface, #FFF9D6));
    --catalog-on-secondary: var(--muse-theme-on-secondary, var(--muse-theme-on-primary, #171717));
    --catalog-on-deep: var(--muse-theme-on-deep, #fff);
    --catalog-paper: var(--catalog-soft);
    --catalog-white: #fff;
    --catalog-price-accent: var(--catalog-deep);
    display: block;
    min-height: 100vh;
    color: var(--catalog-ink);
    background: var(--catalog-paper);
}

.catalog-feed-hero {
    padding: 72px max(24px, calc((100vw - 1240px) / 2)) 54px;
    background: var(--catalog-white);
}

.catalog-feed-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: 60px;
    align-items: end;
}

.catalog-feed-title > p {
    margin: 0 0 15px;
    color: var(--catalog-deep);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .17em;
}

.catalog-feed-title h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(54px, 7vw, 104px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.065em;
}

.catalog-feed-hero-side > p {
	margin: 0;
	color: #6e6e68;
	font-size: 13px;
	line-height: 1.8;
}

.catalog-feed-search {
	margin-top: 22px;
}

.catalog-feed-search > label {
	display: block;
	margin-bottom: 8px;
	color: #888;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .12em;
}

.catalog-feed-search > div {
	display: flex;
	height: 50px;
	border-bottom: 2px solid var(--catalog-ink);
}

.catalog-feed-search input[type="search"] {
	min-width: 0;
	padding: 0 4px;
	flex: 1 1 auto;
	border: 0;
	outline: 0;
	color: var(--catalog-ink);
	background: transparent;
	font-size: 15px;
	font-weight: 700;
}

.catalog-feed-search input[type="search"]::placeholder {
	color: #aaa398;
}

.catalog-feed-search button {
	width: 86px;
	flex: 0 0 86px;
	border: 0;
	color: var(--muse-theme-on-primary);
	background: var(--muse-theme-primary);
	font-size: 11px;
	font-weight: 900;
	cursor: pointer;
}

.catalog-feed-search button:hover,
.catalog-feed-search button:focus-visible {
    color: var(--catalog-on-deep);
    background: var(--catalog-deep);
}

.catalog-feed-periods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.catalog-feed-periods a {
    display: inline-flex;
    min-height: 38px;
    padding: 0 16px;
    align-items: center;
    border: 1px solid var(--catalog-line);
    border-radius: 99px;
    color: var(--catalog-muted);
    background: #fff;
    font-size: 11px;
    font-weight: 850;
}

.catalog-feed-periods a:hover,
.catalog-feed-periods a.is-active {
    color: var(--catalog-on-secondary);
    border-color: var(--catalog-secondary);
    background: var(--catalog-secondary);
}

.catalog-feed-overview {
    padding: 45px max(24px, calc((100vw - 1240px) / 2));
    border-top: 1px solid var(--catalog-line);
    background: var(--catalog-white);
}

.catalog-feed-overview-head {
    display: flex;
    margin-bottom: 22px;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.catalog-feed-overview-head small {
    display: block;
    margin-bottom: 8px;
    color: var(--catalog-deep);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}

.catalog-feed-overview-head h2 {
    margin: 0;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -.055em;
}

.catalog-feed-overview-head p {
    margin: 0;
    color: #85857f;
    font-size: 11px;
}

.catalog-feed-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--catalog-line);
    border-left: 1px solid var(--catalog-line);
}

.catalog-feed-category-grid a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    min-height: 64px;
    padding: 11px 14px;
    align-items: center;
    gap: 9px;
    border-right: 1px solid var(--catalog-line);
    border-bottom: 1px solid var(--catalog-line);
    color: var(--catalog-ink);
    background: var(--catalog-white);
    transition: color .18s ease, background .18s ease;
}

.catalog-feed-category-grid a:hover,
.catalog-feed-category-grid a.is-active {
    color: var(--catalog-on-secondary);
    background: var(--catalog-secondary);
}

.catalog-feed-category-grid a:hover small,
.catalog-feed-category-grid a:hover span,
.catalog-feed-category-grid a.is-active small,
.catalog-feed-category-grid a.is-active span {
    opacity: 1;
}

.catalog-feed-category-grid small,
.catalog-feed-category-grid span {
    color: currentColor;
    font-size: 9px;
    opacity: .58;
}

.catalog-feed-category-grid strong {
    min-width: 0;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.35;
}

.catalog-feed-collections {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 74px 0 100px;
}

.catalog-feed-result {
    margin: 0 0 18px;
    color: var(--catalog-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-align: right;
}

.catalog-feed-collection {
    margin-bottom: 94px;
    scroll-margin-top: 88px;
}

.catalog-feed-collection[hidden],
.catalog-feed-product[hidden] {
    display: none;
}

.catalog-feed-banner {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(110deg, var(--catalog-deep), var(--catalog-secondary));
}

.catalog-feed-banner::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 10, 8, .34), rgba(10, 10, 8, 0) 68%),
        repeating-linear-gradient(90deg, transparent 0 70px, rgba(255,255,255,.06) 70px 71px),
        repeating-linear-gradient(0deg, transparent 0 70px, rgba(255,255,255,.06) 70px 71px);
    z-index: 1;
    content: "";
}

.catalog-feed-banner.has-image::before {
    background: linear-gradient(90deg, rgba(20,18,16,.68), rgba(20,18,16,.12) 68%);
}

.catalog-feed-banner-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
}

.catalog-feed-banner-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--catalog-image-position-pc, center center);
}

.catalog-feed-banner.has-image .catalog-feed-banner-graphic {
    display: none;
}

.catalog-feed-banner-graphic span {
    position: absolute;
    display: block;
    border: 1px solid rgba(255,255,255,.52);
}

.catalog-feed-banner-graphic span:nth-child(1) {
    top: -34%;
    right: 7%;
    width: min(48vw, 570px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--catalog-secondary);
    opacity: .76;
}

.catalog-feed-banner-graphic span:nth-child(2) {
    right: -5%;
    bottom: -46%;
    width: min(34vw, 410px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--catalog-soft);
    opacity: .42;
}

.catalog-feed-banner-graphic span:nth-child(3) {
    top: 13%;
    right: 38%;
    width: 190px;
    height: 190px;
    transform: rotate(42deg);
    background: var(--catalog-primary);
    opacity: .65;
}

.catalog-feed-collection:nth-of-type(4n+2) .catalog-feed-banner-graphic span:nth-child(1) {
    top: auto;
    right: 28%;
    bottom: -38%;
}

.catalog-feed-collection:nth-of-type(4n+3) .catalog-feed-banner-graphic span:nth-child(1) {
    right: -12%;
}

.catalog-feed-collection:nth-of-type(4n+4) .catalog-feed-banner-graphic span:nth-child(1) {
    top: -48%;
    right: 31%;
}

.catalog-feed-index {
    position: absolute;
    top: 22px;
    right: 24px;
    z-index: 2;
    color: rgba(255,255,255,.74);
    font-size: 14px;
    font-weight: 800;
}

.catalog-feed-banner-copy {
    position: absolute;
    right: clamp(25px, 5vw, 65px);
    bottom: clamp(27px, 5vw, 60px);
    left: clamp(25px, 5vw, 65px);
    z-index: 2;
    max-width: 660px;
}

.catalog-feed-banner-copy small {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .19em;
}

.catalog-feed-banner-copy h2 {
    margin: 11px 0 8px;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 900;
    line-height: normal;
    letter-spacing: -.06em;
}

.catalog-feed-banner-copy p {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 12px;
}

@media screen and (min-width: 960px) {
    .catalog-feed-event .catalog-feed-banner-copy h2.is-long {
        font-size: clamp(42px, 4.1vw, 56px);
        line-height: 1.08;
        letter-spacing: -.045em;
    }

    .catalog-feed-event .catalog-feed-banner-copy h2.is-extra-long {
        font-size: clamp(36px, 3.5vw, 46px);
        line-height: 1.08;
        letter-spacing: -.04em;
    }
}

.catalog-feed-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 2px solid var(--catalog-secondary);
    border-left: 1px solid var(--catalog-line);
    background: var(--catalog-white);
}

.catalog-feed-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    min-height: 154px;
    padding: 20px 22px;
    align-items: stretch;
    gap: 18px;
    border-right: 1px solid var(--catalog-line);
    border-bottom: 1px solid var(--catalog-line);
    background: var(--catalog-white);
}

.catalog-feed-product-copy small {
    color: var(--catalog-muted);
    font-size: 10px;
    font-weight: 800;
}

.catalog-feed-product-copy h3 {
    margin: 8px 0 4px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -.045em;
}

.catalog-feed-product-copy p {
    max-width: 420px;
    margin: 0;
    color: #777;
    font-size: 11px;
    line-height: 1.6;
}

.catalog-feed-product-side {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 13px;
}

.catalog-feed-amount {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 5px;
    color: var(--catalog-price-accent);
    text-align: right;
}

.catalog-feed-amount .won {
    font-size: 27px !important;
    font-weight: 900;
    line-height: normal;
    letter-spacing: -.045em;
}

.catalog-feed-amount .won::after {
    font-size: 11px;
}

.catalog-feed-amount > span {
    font-size: 12px;
    font-weight: 900;
}

.catalog-feed-amount del {
    margin-left: 4px;
    color: #999;
    font-size: 12px;
    font-weight: 700;
}

.catalog-feed-actions {
    display: flex;
    gap: 7px;
}

.catalog-feed-actions a {
    display: inline-flex;
    min-width: 60px;
    height: 36px;
    padding: 0 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--catalog-line);
    border-radius: 99px;
    color: var(--catalog-ink);
    background: var(--catalog-white);
    font-size: 10px;
    font-weight: 850;
}

.catalog-feed-actions a.reserve {
    color: var(--muse-theme-on-primary);
    border-color: var(--muse-theme-primary);
    background: var(--muse-theme-primary);
}

.catalog-feed-actions a.reserve:hover,
.catalog-feed-actions a.reserve:focus-visible {
    color: var(--catalog-on-deep) !important;
    border-color: var(--catalog-deep);
    background: var(--catalog-deep);
}

.catalog-feed-empty {
    margin: 40px 0;
    padding: 60px 20px;
    border: 1px solid var(--catalog-line);
    text-align: center;
    font-size: 14px;
    font-weight: 800;
}

.catalog-feed-section-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 54px 22px;
    border-right: 1px solid var(--catalog-line);
    border-bottom: 1px solid var(--catalog-line);
    color: var(--catalog-muted);
    background: var(--catalog-white);
    font-size: 13px;
    font-weight: 750;
    text-align: center;
}

.content_body.catalog_layout .main_consult_btn {
    display: none !important;
}

.catalog-feed-category-return {
    position: fixed;
    right: 28px;
    bottom: 190px;
    z-index: 90;
    display: flex;
    width: 74px;
    height: 74px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--muse-theme-border);
    border-radius: 50%;
    color: #1c190c;
    background: rgba(255, 255, 255, .96);
    font-family: "Noto Sans KR", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    box-shadow: 0 10px 28px rgba(28, 25, 12, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease, color .18s ease, background .18s ease;
    cursor: pointer;
    pointer-events: none;
}

.catalog-feed-category-return.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.catalog-feed-category-return:hover,
.catalog-feed-category-return:focus-visible {
    color: var(--catalog-on-secondary);
    border-color: var(--catalog-secondary);
    background: var(--catalog-secondary);
}

.catalog-feed-category-return span {
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.catalog-feed-category-return strong {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: -.02em;
}

@media screen and (max-width: 959px) {
    .catalog-feed-hero {
        padding: 48px 18px 40px;
    }

    .catalog-feed-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

	.catalog-feed-search {
		width: 100%;
		max-width: 560px;
	}

    .catalog-feed-title h2 {
        font-size: clamp(48px, 10vw, 72px);
    }

    .catalog-feed-overview {
        padding: 35px 18px;
    }

    .catalog-feed-overview-head {
        align-items: start;
        flex-direction: column;
        gap: 7px;
    }

    .catalog-feed-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-feed-category-grid a {
        min-height: 58px;
        padding: 10px 11px;
    }

    .catalog-feed-event .catalog-feed-category-grid a {
        grid-template-columns: 20px minmax(0, 1fr);
        min-height: 64px;
        gap: 7px;
    }

    .catalog-feed-event .catalog-feed-category-grid strong {
        overflow-wrap: anywhere;
        line-height: 1.45;
    }

    .catalog-feed-event .catalog-feed-category-grid span {
        display: none;
    }

    .catalog-feed-collections {
        width: calc(100% - 28px);
        padding: 42px 0 90px;
    }

    .catalog-feed-banner {
        min-height: 390px;
        border-radius: 20px 20px 0 0;
    }

    .catalog-feed-banner-media img {
        object-position: var(--catalog-image-position-mobile, center center);
    }

    .catalog-feed-banner-copy {
        right: 22px;
        bottom: 28px;
        left: 22px;
    }

    .catalog-feed-banner-copy h2 {
        font-size: 39px;
    }

    .catalog-feed-products {
        grid-template-columns: 1fr;
    }

    .catalog-feed-product {
        display: flex;
        min-height: 225px;
        padding: 21px;
        flex-direction: column;
    }

    .catalog-feed-product-side {
        min-width: 0;
        margin-top: auto;
        padding-top: 18px;
        flex-direction: row;
        align-items: flex-end;
    }

    .catalog-feed-amount {
        justify-content: flex-start;
        text-align: left;
    }

    .catalog-feed-collection {
        margin-bottom: 68px;
    }
}

@media screen and (max-width: 744px) {
    .catalog-feed-title h2 {
        font-size: 51px;
    }

	.catalog-feed-search > div {
		height: 48px;
	}

	.catalog-feed-search input[type="search"] {
		font-size: 16px;
	}

	.catalog-feed-search button {
		width: 76px;
		flex-basis: 76px;
	}

    .catalog-feed-collection {
        scroll-margin-top: 126px;
    }

    .catalog-feed-banner-graphic span:nth-child(1) {
        top: -12%;
        right: -45%;
        width: 125%;
    }

    .catalog-feed-product-side {
        gap: 12px;
    }

    .catalog-feed-amount .won {
        font-size: 25px !important;
    }

    .catalog-feed-actions {
        flex: 0 0 auto;
    }

    .catalog-feed-actions a {
        min-width: 57px;
        padding: 0 10px;
    }

    .content_body.catalog_layout .footer {
        margin-bottom: 64px;
    }

    .content_body.catalog_layout .seb_consult_btn {
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 64px;
    }

    .content_body.catalog_layout .seb_consult_btn a,
    .content_body.catalog_layout .seb_consult_btn a.full {
        display: flex;
        width: 100%;
        height: 64px;
        margin: 0;
        padding: 0 18px;
        align-items: center;
        justify-content: center;
        border-radius: 0;
        box-shadow: none;
        font-size: 17px;
        font-weight: 900;
    }

    .catalog-feed-category-return {
        right: 14px;
        bottom: 78px;
        width: 58px;
        height: 58px;
        gap: 1px;
    }

    .catalog-feed-category-return span {
        font-size: 15px;
    }

    .catalog-feed-category-return strong {
        font-size: 9px;
    }
}

@media screen and (max-width: 359px) {
    .catalog-feed-event .catalog-feed-category-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-feed-category-grid a,
    .catalog-feed-category-return {
        transition: none;
    }
}

/* Catalog contextual actions */
.content_body.catalog_layout .catalog-booking-cta {
    right: 24px;
    bottom: 24px;
    left: auto;
    z-index: 99;
    display: grid;
    width: 240px;
    height: 52px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--catalog-line, #d8d5d1);
    background: var(--catalog-white, #fff);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.content_body.catalog_layout .catalog-booking-cta a,
.content_body.catalog_layout .catalog-booking-cta a.full {
    display: flex;
    width: auto;
    height: 50px;
    margin: 0;
    padding: 0 12px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.content_body.catalog_layout .catalog-booking-cta a:first-child {
    color: var(--catalog-ink, #171717) !important;
    background: var(--catalog-white, #fff) !important;
}

.content_body.catalog_layout .catalog-booking-cta a:last-child {
    color: var(--muse-theme-on-primary, #171717) !important;
    background: var(--muse-theme-primary, #ffcd00) !important;
}

.content_body.catalog_layout .catalog-booking-cta a + a {
    border-left: 1px solid var(--muse-theme-border, #d8d5d1);
}

.content_body.catalog_layout .catalog-booking-cta a:nth-child(2)::after {
    display: none;
}

@media screen and (max-width: 744px) {
    .content_body.catalog_layout .catalog-booking-cta {
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 64px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-width: 1px 0 0;
        box-shadow: 0 -5px 18px rgba(0, 0, 0, .12);
    }

    .content_body.catalog_layout .catalog-booking-cta a,
    .content_body.catalog_layout .catalog-booking-cta a.full {
        width: auto;
        height: 63px;
        padding: 0 12px;
        font-size: 16px;
    }
}
