.header-actions { grid-column: 3; align-self: center; display: flex; align-items: center; gap: .55rem; }
.header-actions .header-store { grid-column: auto; }
.member-trigger, .member-nav-trigger { min-height: 44px; border: 0; background: transparent; cursor: pointer; font-size: .65rem; font-weight: 760; letter-spacing: .1em; }
.member-trigger { padding: 0 .75rem; border-bottom: 1px solid var(--ink); }
.member-trigger:hover { background: var(--ink); color: var(--cream); }
.member-nav-trigger { display: none; }

.member-dialog { width: min(92vw, 31rem); max-width: none; padding: 0; border: 1px solid var(--ink); background: var(--cream); color: var(--ink); box-shadow: 10px 10px 0 var(--moss); }
.member-dialog::backdrop { background: color-mix(in srgb, var(--ink) 78%, transparent); }
.member-panel { padding: clamp(1.4rem, 5vw, 2.4rem); }
.member-panel > header { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--ink); }
.member-panel > header p { margin: 0 0 .45rem; font-size: .62rem; font-weight: 760; letter-spacing: .15em; text-transform: uppercase; }
.member-panel > header h2 { margin: 0; font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 570; letter-spacing: -.04em; }
.member-panel > header button { align-self: start; min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: .68rem; }
.member-dialog-status { min-height: 1.5em; margin: .8rem 0 0; font-size: .7rem; }
.member-signed-out > p { margin: 1.6rem 0; font-size: .9rem; line-height: 1.8; }
.member-provider-list { display: grid; gap: .65rem; }
.member-provider { min-height: 58px; display: grid; grid-template-columns: 4.4rem 1fr auto; gap: .75rem; align-items: center; padding: 0 1rem; border: 1px solid var(--ink); }
.member-provider strong { font-size: .58rem; letter-spacing: .08em; }
.member-provider span { font-size: .82rem; font-weight: 680; }
.member-provider b { font-weight: 500; }
.member-provider:hover { background: var(--ink); color: var(--cream); }
.member-provider--naver { border-color: var(--moss); background: var(--moss); color: var(--cream); }
.member-provider.is-disabled { opacity: .4; cursor: not-allowed; }
.member-signed-out > small { display: block; margin-top: 1.2rem; font-size: .65rem; line-height: 1.75; opacity: .72; }
.member-signed-out > small a { border-bottom: 1px solid currentColor; }
.member-profile { display: grid; grid-template-columns: 3.6rem 1fr; gap: 1rem; align-items: center; margin-top: 1.4rem; }
.member-profile-image { width: 3.6rem; height: 3.6rem; display: grid; place-items: center; border: 1px solid var(--ink); background: var(--moss) center / cover no-repeat; color: var(--cream); font-size: 1.3rem; }
.member-profile strong, .member-profile small { display: block; overflow-wrap: anywhere; }
.member-profile small { margin-top: .35rem; font-size: .68rem; opacity: .66; }
.member-account-link { min-height: 66px; display: grid; grid-template-columns: 1fr auto auto; gap: .75rem; align-items: center; margin-top: 1.5rem; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: .78rem; }
.member-account-link b { color: var(--moss); }
.member-account-link i { font-style: normal; }
.member-logout { min-height: 44px; margin-top: 1rem; padding: 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: .68rem; }
.member-toast { position: fixed; z-index: 1200; right: var(--page-pad); bottom: 5.5rem; max-width: min(30rem, calc(100vw - 2rem)); margin: 0; padding: .9rem 1rem; border: 1px solid var(--cream); background: var(--ink); color: var(--cream); font-size: .72rem; opacity: 0; pointer-events: none; transform: translateY(.6rem); transition: opacity .16s ease, transform .16s ease; }
.member-toast.is-visible { opacity: 1; transform: none; }

.wishlist-button { min-height: 44px; padding: .7rem .8rem; border: 1px solid var(--ink); background: var(--cream); cursor: pointer; font-size: .66rem; font-weight: 700; }
.wishlist-button.is-selected { background: var(--moss); color: var(--cream); border-color: var(--moss); }
.store-product-actions, .featured-product-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-detail-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-detail-actions .wishlist-button { width: 100%; }

.account-main { min-height: 70svh; }
.account-hero { padding: clamp(7rem, 14vh, 11rem) var(--page-pad) clamp(4rem, 9vh, 7rem); border-bottom: 1px solid var(--ink); }
.account-hero > div, .account-content { width: min(100%, var(--max-width)); margin: 0 auto; }
.account-hero h1 { max-width: 12ch; margin: .8rem 0 0; font-size: clamp(3.3rem, 8vw, 8rem); font-weight: 540; letter-spacing: -.045em; line-height: 1.08; word-break: keep-all; }
.account-content { padding: clamp(4rem, 10vh, 8rem) var(--page-pad); }
.account-signed-out { max-width: 36rem; }
.account-signed-out h2, .account-profile h2, .account-delete h2 { margin: 0; font-size: clamp(2rem, 5vw, 4rem); font-weight: 560; letter-spacing: -.04em; }
.account-signed-out p { margin: 1.25rem 0 2rem; line-height: 1.8; }
.account-login-button { min-height: 50px; display: inline-flex; align-items: center; gap: 3rem; padding: 0 1rem; border: 1px solid var(--ink); background: var(--ink); color: var(--cream); font-size: .78rem; font-weight: 680; }
.account-profile { display: flex; justify-content: space-between; gap: 2rem; align-items: end; padding-bottom: 2rem; border-bottom: 1px solid var(--ink); }
.account-profile p { margin: .5rem 0 0; overflow-wrap: anywhere; }
.account-profile a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid var(--ink); font-size: .72rem; }
.account-wishlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.account-product { border: 1px solid var(--ink); background: var(--cream); box-shadow: 6px 6px 0 var(--ink); }
.account-product__media { aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--cream) 82%, var(--moss)); }
.account-product__media img { width: 100%; height: 100%; object-fit: cover; }
.account-product > div { padding: 1rem; }
.account-product p { margin: 0; font-size: .6rem; font-weight: 760; letter-spacing: .12em; }
.account-product h3 { min-height: 3.4em; margin: .55rem 0 1rem; font-size: .95rem; line-height: 1.45; }
.account-product__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.account-product__actions button, .account-product__actions a { min-height: 44px; display: grid; place-items: center; padding: .55rem; border: 1px solid var(--ink); background: var(--ink); color: var(--cream); cursor: pointer; font-size: .62rem; text-align: center; }
.account-product__actions button:last-child { background: var(--cream); color: var(--ink); }
.account-product__actions button:last-child.is-selected { background: var(--moss); color: var(--cream); }
.account-empty { grid-column: 1 / -1; margin: 2rem 0; padding: 4rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 1rem; line-height: 1.8; }
.account-delete { margin-top: clamp(5rem, 12vh, 9rem); padding-top: 2.5rem; border-top: 1px solid var(--ink); }
.account-delete > p { margin: 1rem 0 2rem; line-height: 1.8; }
.account-delete form { max-width: 34rem; }
.account-delete label { display: block; font-size: .72rem; }
.account-delete input { width: 100%; min-height: 50px; margin-top: .55rem; padding: 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; }
.account-delete button { min-height: 48px; margin-top: 1.25rem; padding: 0 1rem; border: 1px solid var(--danger, #9A352F); background: transparent; color: var(--danger, #9A352F); cursor: pointer; font-size: .72rem; font-weight: 700; }
.account-delete button:hover { background: var(--danger, #9A352F); color: var(--cream); }
.account-delete [data-delete-status] { min-height: 1.5em; margin-top: .8rem; font-size: .7rem; }

@media (max-width: 820px) {
  .header-actions { grid-column: 3; grid-row: 1; justify-self: end; gap: 0; }
  .member-trigger { display: none; }
  .member-nav-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; color: var(--cream); font-size: 1.35rem; font-weight: 620; letter-spacing: -.02em; border-bottom: 1px solid color-mix(in srgb, var(--cream) 28%, transparent); }
  .member-nav-trigger::after { content: "→"; font-size: .9rem; }
  .store-product-actions, .featured-product-actions { grid-template-columns: 1fr; }
  .product-detail-actions { grid-template-columns: 1fr; }
  .account-profile { align-items: start; flex-direction: column; }
  .account-wishlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.privacy-main { width: min(100%, 58rem); margin: 0 auto; padding: clamp(7rem, 14vh, 11rem) var(--page-pad); }
.privacy-main h1 { margin: .8rem 0 1.5rem; font-size: clamp(3.2rem, 8vw, 7rem); font-weight: 540; letter-spacing: -.045em; line-height: 1.08; word-break: keep-all; }
.privacy-lead { margin: 0 0 clamp(4rem, 9vh, 7rem); font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.8; }
.privacy-section { padding: 2rem 0; border-top: 1px solid var(--ink); }
.privacy-section h2 { margin: 0 0 1rem; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 580; letter-spacing: -.03em; }
.privacy-section p, .privacy-section li { line-height: 1.85; }
.privacy-section ul { margin: 0; padding-left: 1.2rem; }
.privacy-section a { border-bottom: 1px solid currentColor; }
.terms-main { width: min(100%, 66rem); }
.terms-main .privacy-lead { max-width: 48rem; }
.terms-main .privacy-section ol { display: grid; gap: .8rem; margin: 0; padding-left: 1.35rem; }
.terms-business { margin: 0 0 clamp(4rem, 9vh, 7rem); padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--ink); box-shadow: .65rem .65rem 0 var(--moss); }
.terms-business h2 { margin: 0 0 1.4rem; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 580; letter-spacing: -.03em; }
.terms-business dl { margin: 0; border-top: 1px solid var(--ink); }
.terms-business dl > div { display: grid; grid-template-columns: minmax(9rem, .45fr) minmax(0, 1fr); gap: 1.5rem; padding: .8rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 24%, transparent); }
.terms-business dt { font-size: .7rem; font-weight: 720; }
.terms-business dd { margin: 0; overflow-wrap: anywhere; line-height: 1.7; }
.terms-business a, .terms-source a { border-bottom: 1px solid currentColor; }
.terms-source { margin-top: clamp(3rem, 8vh, 6rem); padding: 1.25rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.terms-source p { margin: 0 0 .8rem; line-height: 1.75; }
.terms-source a { font-size: .72rem; font-weight: 700; }

@media (max-width: 520px) {
  .member-dialog { width: calc(100vw - 1.5rem); box-shadow: 6px 6px 0 var(--moss); }
  .member-panel { padding: 1.25rem; }
  .account-wishlist { grid-template-columns: 1fr; }
  .terms-business dl > div { grid-template-columns: 1fr; gap: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .member-toast { transition: none; }
}

/* Shared warm-paper membership surfaces. */
.member-trigger,
.member-provider,
.member-account-link,
.member-logout,
.account-login-button,
.account-profile a,
.account-product__actions button, .account-product__actions a,
.wishlist-button { border-radius: var(--radius-pill); }

.member-trigger:hover { border-color: var(--moss); background: var(--color-sky-tint); color: var(--harbor); }
.member-dialog {
  border-color: var(--color-fog);
  border-radius: 28px;
  background: var(--snow);
  box-shadow: var(--shadow-pop);
}
.member-dialog::backdrop { background: color-mix(in srgb, var(--harbor) 72%, transparent); }
.member-panel > header { border-color: var(--color-fog); }
.member-panel > header button { border: 1px solid var(--color-fog); border-radius: 50%; background: var(--cream); }
.member-provider { border-color: var(--color-fog); background: var(--snow); }
.member-provider:hover { border-color: var(--moss); background: var(--color-sky-tint); color: var(--harbor); }
/* Provider green remains official Naver identity. */
.member-provider--naver { border-color: #03c75a; background: #03c75a; color: #fff; }
.member-profile-image { border-color: var(--color-fog); border-radius: 50%; background-color: var(--harbor); }
.member-account-link b { color: var(--color-deep-wave); }
.member-toast { border: 0; border-radius: var(--radius-soft); background: var(--harbor); color: var(--snow); }
.wishlist-button { border-color: var(--color-fog); background: var(--snow); color: var(--harbor); }
.wishlist-button.is-selected { border-color: var(--moss); background: var(--moss); color: var(--color-on-sky); }
.account-login-button { border-color: var(--moss); background: var(--moss); color: var(--color-on-sky); box-shadow: var(--shadow-pop-small); }
.account-product,
.terms-business { border-color: var(--color-fog); border-radius: var(--radius-card); background: var(--snow); box-shadow: var(--shadow-card); overflow: hidden; }
.account-product__media { background: var(--color-sky-wash); }
.account-product__actions button, .account-product__actions a { border-color: var(--harbor); background: var(--harbor); color: var(--snow); }
.account-product__actions button:last-child { border-color: var(--color-fog); background: var(--snow); color: var(--harbor); }
.account-product__actions button:last-child.is-selected { border-color: var(--moss); background: var(--moss); color: var(--color-on-sky); }
.account-delete input { padding: .75rem 1rem; border: 1px solid var(--color-fog); border-radius: var(--radius-soft); background: var(--snow); }

@media (forced-colors: active) {
  .member-dialog,
  .account-login-button,
  .account-product,
  .terms-business { box-shadow: none; }
}

/* Shared official store disclosure and footer destinations. */
.store-picker { position: relative; }
.store-picker > .header-store { cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 700; white-space: nowrap; }
.store-picker__panel { position: absolute; top: calc(100% + 12px); right: 0; width: min(300px, calc(100vw - 32px)); padding: 8px; border: 1px solid var(--color-fog); border-radius: 18px; background: var(--snow); color: var(--ink); box-shadow: 0 12px 36px #21212126; }
.store-picker__panel[hidden] { display: none; }
.store-picker__link { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; min-height: 58px; padding: 10px; border-radius: 10px; font-size: 13px; }
.store-picker__link:hover { background: var(--cream); }
.store-brand-logo { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 32px; padding: 6px; border-radius: 6px; background: #fff; flex-shrink: 0; }
.store-brand-logo img { width: 100%; height: auto; max-height: 22px; object-fit: contain; }
.store-brand-logo svg { width: 22px; height: 22px; }
.footer-contact .footer-store-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer-store-link > span:last-child { font-size: 12px; }
.store-picker button:focus-visible, .store-picker__link:focus-visible, .footer-store-link:focus-visible { outline: 2px solid var(--harbor); outline-offset: 3px; }

/* Compact member surfaces aligned with the contact page. */
.member-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; }
.member-panel { padding: 26px; }
.member-panel > header { gap: 16px; align-items: center; padding-bottom: 20px; }
.member-panel > header p { font-size: 10px; }
.member-panel > header h2 { font-size: 26px; line-height: 1.35; font-weight: 750; text-shadow: none; }
.member-panel > header button { width: 44px; height: 44px; flex: 0 0 44px; font-size: 12px; }
.member-dialog-status:empty { display: none; }
.member-profile { grid-template-columns: 52px minmax(0,1fr); gap: 14px; margin-top: 24px; padding: 18px; background: var(--cream); border-radius: 16px; }
.member-profile-image { width: 52px; height: 52px; }
.member-profile strong { font-size: 16px; line-height: 1.45; }
.member-profile small { font-size: 12px; line-height: 1.6; }
.member-account-link { min-height: 52px; padding: 12px 18px; margin-top: 20px; border: 0; border-radius: 12px; font-size: 14px; background: var(--harbor); color: white; }
.member-account-link b { color: white; }
.member-orders-link { display: flex; justify-content: space-between; min-height: 48px; align-items: center; padding: 12px 18px; margin-top: 10px; border: 1px solid var(--color-fog); border-radius: 12px; font-size: 14px; }
.member-logout { padding: 0 16px; border: 1px solid var(--color-fog); border-radius: 10px; font-size: 12px; color: var(--ink); background: var(--cream); }
.member-signed-out > p { font-size: 14px; margin: 20px 0; }
.member-provider { min-height: 54px; padding: 12px 16px; border-radius: 12px; }
.member-provider span { font-size: 14px; }
.member-provider strong { font-size: 10px; }
.member-signed-out > small { font-size: 11px; }
.member-panel a:focus-visible, .member-panel button:focus-visible { outline: 2px solid var(--harbor); outline-offset: 3px; }
.account-page .account-hero { padding: 64px 24px 36px; border: 0; }
.account-page .account-hero > div, .account-page .account-content { max-width: 1120px; }
.account-page .account-hero h1 { font-size: clamp(32px,4vw,46px); line-height: 1.3; font-weight: 750; max-width: none; }
.account-page .accent-word { text-shadow: none; }
.account-page .account-content { padding: 0 24px 48px; }
.account-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.account-shortcuts a { padding: 12px 18px; border: 1px solid var(--color-fog); border-radius: 24px; background: white; font-size: 14px; }
.account-page .account-profile { background: white; border: 1px solid var(--color-fog); padding: 24px; border-radius: 20px; margin-bottom: 36px; align-items: center; }
.account-page .account-profile h2 { font-size: 24px; line-height: 1.4; }
.account-page .account-profile p { font-size: 14px; }
.account-page .section-head { display: block; padding: 0; margin: 0; }
.account-page .section-head h2, .account-page .account-orders__heading h2 { font-size: 28px; line-height: 1.35; text-shadow: none; margin: 8px 0 0; }
.account-page .account-wishlist { grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 20px; margin-top: 20px; }
.account-page .account-product { max-width: 340px; box-shadow: none; }
.account-page .account-product__media { aspect-ratio: 1; }
.account-page .account-product__media img { object-fit: contain; }
.account-page .account-product h3 { font-size: 15px; }
.account-page .account-product__actions a, .account-page .account-product__actions button { font-size: 12px; }
.account-page .account-orders { margin-top: 40px; padding-top: 28px; }
.account-page .account-order { font-size: 14px; }
.account-page .account-delete { margin-top: 40px; padding: 24px; border: 1px solid var(--color-fog); border-radius: 18px; }
.account-page .account-delete h2 { font-size: 20px; }
.account-page .account-delete > p { max-width: 720px; font-size: 13px; margin: 12px 0 18px; }
.account-page .account-delete label, .account-page .account-delete button { font-size: 13px; }
@media(max-width:600px) {
 .account-page .account-hero { padding: 36px 20px 24px; }
 .account-page .account-content { padding: 0 20px 32px; }
 .account-page .account-profile { padding: 20px; align-items: start; gap: 12px; }
 .account-page .account-wishlist { grid-template-columns: minmax(0,1fr); }
 .account-page .account-product { max-width: none; }
 .account-page .account-product__media { max-height: 280px; }
 .member-panel { padding: 22px; }
}

/* Footer reading grid shared across all public pages. */
body .site-footer { grid-template-columns: minmax(240px,1fr) minmax(160px,.65fr) minmax(260px,1fr); gap: 32px 40px; padding: 48px max(24px,calc((100vw - 1160px)/2)) 28px; }
.site-footer .footer-brand .footer-brand__tagline { font-size: 13px; max-width: 320px; opacity: .95; }
.site-footer .footer-brand__tagline [lang="en"], .site-footer .footer-brand__translation { font-size: 13px; line-height: 1.8; text-wrap: pretty; }
.site-footer nav { font-size: 14px; gap: 4px 20px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.site-footer nav a { display: flex; align-items: center; min-height: 40px; }
.site-footer .footer-contact { justify-items: start; gap: 8px; font-size: 13px; opacity: 1; }
.site-footer .footer-contact > a { min-height: 36px; }
.site-footer .footer-store-link { display: grid; grid-template-columns: 72px minmax(0,1fr) 16px; gap: 12px; width: 100%; }
.site-footer .footer-business { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 28px; margin: 0; padding-top: 28px; font-size: 13px; line-height: 1.75; }
.site-footer .footer-business > div { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 8px; }
.site-footer .footer-business dt { opacity: .75; font-weight: 500; }
.site-footer .footer-business dd { opacity: 1; }
.site-footer .copyright { font-size: 11px; margin: 0; padding-top: 20px; }
@media(max-width:1000px) {
 body .site-footer { grid-template-columns: 1fr 1fr; }
 .site-footer .footer-brand { grid-column: 1 / -1; }
 .site-footer .footer-business { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
 body .site-footer { grid-template-columns: minmax(0,1fr); gap: 28px; padding: 36px 24px 24px; }
 .site-footer .footer-business { grid-template-columns: minmax(0,1fr); gap: 12px; }
 .site-footer .footer-contact { width: 100%; max-width: 340px; }
}

/* Login has a short heading and equal, comfortably sized provider actions. */
.member-dialog[data-member-view="login"] { width: min(400px,calc(100vw - 32px)); }
.member-dialog[data-member-view="login"] .member-panel { padding: 24px; }
.member-dialog[data-member-view="login"] .member-panel > header { border: 0; padding-bottom: 0; }
.member-dialog[data-member-view="login"] .member-panel > header h2 { font-size: 26px; }
.member-dialog[data-member-view="login"] .member-signed-out > p { margin: 18px 0 24px; font-size: 14px; line-height: 1.75; color: var(--ink); }
.member-dialog[data-member-view="login"] .member-provider-list { gap: 12px; }
.member-dialog[data-member-view="login"] .member-provider { grid-template-columns: 52px minmax(0,1fr) 16px; gap: 10px; min-height: 52px; padding: 12px 14px; }
.member-dialog[data-member-view="login"] .member-provider span { font-size: 14px; }
.member-dialog[data-member-view="login"] .member-provider strong { font-size: 10px; letter-spacing: .03em; }
.member-dialog[data-member-view="login"] .member-signed-out > small { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--color-fog); font-size: 12px; line-height: 1.8; opacity: 1; color: #59625d; }
.member-dialog[data-member-view="login"] .member-dialog-status:not(:empty) { padding: 10px 12px; margin-top: 16px; border-radius: 10px; background: var(--cream); color: var(--harbor); font-size: 12px; }

.site-footer .footer-social-link { display: grid; grid-template-columns: 72px minmax(0,1fr) 16px; gap: 12px; width: 100%; min-height: 44px; }
.site-footer .footer-social-link .store-brand-logo { width: 72px; height: 32px; }
.site-footer .footer-social-link .footer-social-icon { width: 22px; height: 22px; }
.site-footer .footer-social-link--instagram .footer-social-icon { color: #e4405f; }
.site-footer .footer-social-link--youtube .footer-social-icon { color: #ff0000; }
.site-footer .footer-social-link--youtube .footer-social-icon__play { fill: #fff; }
.site-footer .footer-social-link > span:last-child { font-size: 12px; }

/* Clear, consistent header actions in both signed-in and signed-out states. */
.header-actions .member-trigger,
.header-actions .store-picker > .header-store {
  min-height: 44px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid #4f6b58;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: var(--shadow-header-control);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.header-actions .member-trigger {
  min-width: 78px;
  background: #fff;
  color: #354c3d;
}
.header-actions .member-trigger:hover {
  background: #e6eee5;
  border-color: #354c3d;
  color: #263c2e;
}
.header-actions .store-picker > .header-store {
  min-width: 96px;
  background: #3d5947;
  border-color: #3d5947;
  color: #fff;
}
.header-actions .store-picker > .header-store:hover,
.header-actions .store-picker > .header-store[aria-expanded="true"] {
  background: #293f31;
  border-color: #293f31;
  color: #fff;
}
.header-actions .member-trigger:focus-visible,
.header-actions .store-picker > .header-store:focus-visible {
  outline: 2px solid #354c3d;
  outline-offset: 4px;
}
.header-actions .member-trigger:active,
.header-actions .store-picker > .header-store:active { box-shadow: var(--shadow-header-pressed); }

.member-provider--kakao { background: #fee500; color: #191919; border-color: #fee500; }

/* Stable header controls and usable dialog close targets. */
.header-actions .member-trigger, .header-actions .store-picker > .header-store { font-weight: 650; }
.member-panel > header button { min-width: 44px; width: 44px; height: 44px; padding: 0; flex-shrink: 0; }
.member-dialog { max-height: calc(100dvh - 32px); overflow-y: auto; box-shadow: none; }
.store-picker__panel { transform-origin: top right; }
@media(min-width:821px) and (max-width:1100px) {
  .header-actions .member-trigger, .header-actions .store-picker > .header-store { min-width: 0; padding-inline: 12px; font-size: 12px; }
}

/* Compact, grouped footer: brand, navigation, channels and stores. */
body .site-footer.footer-organized { grid-template-columns: minmax(220px,1.05fr) minmax(130px,.6fr) minmax(390px,1.8fr); gap: 36px 44px; padding-top: 48px; padding-bottom: 24px; background: #292d2a; align-items: start; }
.footer-organized .footer-brand .footer-brand__tagline { max-width: 270px; margin-top: 18px; color: #d3d9d1; }
.footer-organized .footer-brand__tagline [lang="en"] { font-size: 12px; }
.footer-organized .footer-brand__translation { font-size: 13px; }
.footer-organized .footer-inquiry { display: inline-flex; align-items: center; min-height: 42px; margin-top: 22px; padding: 8px 16px; border: 1px solid #68776b; border-radius: 10px; font-size: 13px; font-weight: 650; text-decoration: none; }
.footer-organized nav.footer-menu { display: grid; grid-template-columns: 1fr; gap: 0; align-content: start; }
.footer-organized .footer-menu a { min-height: 34px; font-size: 13px; color: #e2e7df; }
.footer-organized .footer-group-title { margin: 0 0 16px; padding: 0; font-size: 13px; font-weight: 700; color: #b7c9b4; letter-spacing: .02em; line-height: 1.6; }
.footer-organized .footer-contact { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; width: 100%; max-width: none; grid-column: auto; align-items: start; }
.footer-organized .footer-link-group { width: 100%; min-width: 0; }
.footer-organized .footer-link-group > a { display: grid; grid-template-columns: 52px minmax(0,1fr) 12px; gap: 10px; min-height: 46px; width: 100%; margin: 0; font-size: 13px; text-decoration: none; }
.footer-organized .footer-link-group .store-brand-logo { width: 52px; height: 28px; border-radius: 6px; }
.footer-organized .footer-link-group > a > span:nth-child(2) { line-height: 1.4; word-break: keep-all; }
.footer-organized .footer-link-group > a > span:last-child { color: #abbca7; font-size: 12px; }
.footer-organized a:focus-visible { outline: 2px solid #d9e8d3; outline-offset: 4px; border-radius: 5px; }
@media(hover:hover) { .footer-organized a:hover { color: #d9e8d3; } .footer-organized .footer-inquiry:hover { background: #3b483d; } }
.footer-organized .footer-business { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 28px; padding-top: 24px; border-top: 1px solid #515a51; font-size: 12px; color: #dce2d9; }
.footer-organized .footer-business > div { grid-template-columns: 82px minmax(0,1fr); gap: 10px; }
.footer-organized .footer-business > div:nth-child(6) { grid-column: 1 / -1; order: 2; }
.footer-organized .footer-business dt { color: #aeb9ab; opacity: 1; }
.footer-organized .copyright { border: 0; padding: 0; color: #aeb9ab; font-size: 10px; letter-spacing: .1em; }
@media(max-width:1050px) {
 body .site-footer.footer-organized { grid-template-columns: minmax(200px,1fr) minmax(0,1.4fr); gap: 32px; }
 .footer-organized .footer-brand { grid-column: 1; }
 .footer-organized nav.footer-menu { grid-column: 1; grid-row: 2; grid-template-columns: repeat(2,minmax(0,1fr)); }
 .footer-organized .footer-menu .footer-group-title { grid-column: 1 / -1; }
 .footer-organized .footer-contact { grid-column: 2; grid-row: 1 / 3; gap: 18px; }
 .footer-organized .footer-business { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
 body .site-footer.footer-organized { grid-template-columns: minmax(0,1fr); padding: 36px 22px 24px; gap: 28px; }
 .footer-organized .footer-brand, .footer-organized nav.footer-menu, .footer-organized .footer-contact { grid-column: 1; grid-row: auto; }
 .footer-organized .footer-contact { gap: 18px; }
 .footer-organized .footer-link-group > a { grid-template-columns: 44px minmax(0,1fr) 10px; gap: 7px; font-size: 12px; }
 .footer-organized .footer-link-group .store-brand-logo { width: 44px; height: 27px; }
 .footer-organized .footer-group-title { margin-bottom: 10px; }
 .footer-organized nav.footer-menu { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .footer-organized .footer-business { grid-template-columns: minmax(0,1fr); gap: 10px; }
 .footer-organized .footer-business > div { grid-template-columns: 88px minmax(0,1fr); }
 .footer-organized .copyright { grid-column: 1; }
}
