/* =========================================================================
   emart24 English site (/en) - self-contained stylesheet
   Brand colors (per Brand Resource Center, slide 7):
     emart24 Yellow : #FFB718 (RGB 255 183 24)
     emart24 Gray   : #555560 (RGB 85 85 90)
   This file is intentionally decoupled from the Korean site styles so that
   changes here never affect the existing Korean pages.
   ========================================================================= */

:root {
    --e24-yellow: #ffb718;
    --e24-yellow-dark: #f5a800;
    --e24-gray: #555560;
    --e24-dark: #2c2c33;
    --e24-line: #e6e6ea;
    --e24-bg: #f6f6f8;
    --e24-text: #333333;
    --e24-muted: #888890;
    --e24-max: 1200px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    color: var(--e24-text);
    font-family: "Pretendard", "Noto Sans", "Helvetica Neue", Arial, "Apple SD Gothic Neo", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: #fff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, li { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.en-wrap { max-width: var(--e24-max); margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- Header */
.en-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--e24-line);
}
.en-header__inner {
    max-width: var(--e24-max);
    margin: 0 auto;
    padding: 0 20px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.en-logo img { height: 30px; width: auto; }

.en-gnb { display: flex; gap: 38px; }
.en-gnb > li { position: relative; }
.en-gnb > li > a {
    display: flex;
    align-items: center;
    height: 72px;
    font-weight: 700;
    font-size: 17px;
    color: var(--e24-dark);
}
.en-gnb > li:hover > a { color: var(--e24-yellow-dark); }
.en-gnb > li > a.active { color: var(--e24-yellow-dark); }

.en-lnb {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--e24-line);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.en-gnb > li:hover .en-lnb { opacity: 1; visibility: visible; }
.en-lnb li a {
    display: block;
    padding: 10px 22px;
    font-size: 15px;
    color: var(--e24-gray);
    white-space: nowrap;
}
.en-lnb li a:hover { background: var(--e24-bg); color: var(--e24-yellow-dark); }
.en-lnb li a.on { color: var(--e24-yellow-dark); font-weight: 700; }

.en-header__right { display: flex; align-items: center; gap: 16px; }
.en-lang { display: flex; align-items: center; font-size: 14px; font-weight: 600; }
.en-lang a { padding: 4px 8px; color: var(--e24-muted); border-radius: 6px; }
.en-lang a.on { color: #fff; background: var(--e24-gray); }
.en-lang span { color: var(--e24-line); }

.en-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.en-burger span { width: 24px; height: 2px; background: var(--e24-dark); display: block; }

/* mobile drawer */
.en-mnav { display: none; }

@media (max-width: 960px) {
    .en-gnb, .en-lang { display: none; }
    .en-burger { display: flex; }
    .en-mnav {
        display: block;
        position: fixed;
        inset: 72px 0 0 0;
        background: #fff;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        z-index: 999;
        padding: 10px 0 60px;
    }
    .en-mnav.open { transform: translateX(0); }
    .en-mnav > ul > li { border-bottom: 1px solid var(--e24-line); }
    .en-mnav .m-top { display: block; padding: 16px 24px; font-weight: 700; font-size: 17px; }
    .en-mnav .m-sub a { display: block; padding: 12px 36px; color: var(--e24-gray); font-size: 15px; }
    .en-mnav .m-sub a.on { color: var(--e24-yellow-dark); font-weight: 700; }
    .en-mnav .m-lang { padding: 18px 24px; display: flex; gap: 10px; }
    .en-mnav .m-lang a { padding: 8px 16px; border: 1px solid var(--e24-line); border-radius: 6px; font-weight: 600; }
    .en-mnav .m-lang a.on { background: var(--e24-gray); color: #fff; border-color: var(--e24-gray); }
}

/* --------------------------------------------------------------- Page hero / common */
.en-page-hero {
    background: var(--e24-gray);
    color: #fff;
    padding: 64px 0;
    text-align: center;
}
.en-page-hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.5px; }
.en-page-hero p { margin-top: 14px; font-size: 17px; color: rgba(255, 255, 255, 0.82); }
.en-page-hero .crumb { margin-top: 18px; font-size: 14px; color: var(--e24-yellow); font-weight: 600; }

.en-section { padding: 70px 0; }
.en-section--alt { background: var(--e24-bg); }
.en-section__head { text-align: center; margin-bottom: 44px; }
.en-section__head .eyebrow { color: var(--e24-yellow-dark); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.en-section__head h2 { font-size: 32px; font-weight: 800; margin-top: 8px; color: var(--e24-dark); }
.en-section__head p { margin-top: 12px; color: var(--e24-muted); max-width: 720px; margin-left: auto; margin-right: auto; }

.en-btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--e24-yellow);
    color: var(--e24-dark);
    font-weight: 700;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    transition: background 0.15s ease;
}
.en-btn:hover { background: var(--e24-yellow-dark); }
.en-btn--dark { background: var(--e24-gray); color: #fff; }
.en-btn--dark:hover { background: var(--e24-dark); }
.en-btn--ghost { background: transparent; border: 1px solid #fff; color: #fff; }

.en-grid { display: grid; gap: 24px; }
.en-grid--2 { grid-template-columns: repeat(2, 1fr); }
.en-grid--3 { grid-template-columns: repeat(3, 1fr); }
.en-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
    .en-grid--3, .en-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .en-grid--2, .en-grid--3, .en-grid--4 { grid-template-columns: 1fr; }
    .en-page-hero h1 { font-size: 30px; }
    .en-section { padding: 48px 0; }
}

.en-card {
    background: #fff;
    border: 1px solid var(--e24-line);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.en-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08); }
.en-card__media { aspect-ratio: 4 / 3; background: var(--e24-bg) center/cover no-repeat; }
.en-card__body { padding: 20px 22px; }
.en-card__tag { font-size: 12px; font-weight: 700; color: var(--e24-yellow-dark); text-transform: uppercase; }
.en-card__body h3 { font-size: 19px; margin-top: 6px; color: var(--e24-dark); }
.en-card__body p { margin-top: 8px; font-size: 14px; color: var(--e24-muted); }

/* placeholder media (until design assets are supplied) */
.en-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--e24-muted);
    font-size: 13px;
    background: repeating-linear-gradient(45deg, #f0f0f3, #f0f0f3 10px, #eaeaef 10px, #eaeaef 20px);
}

/* ---------------------------------------------------------------- Footer */
.en-footer { background: var(--e24-dark); color: rgba(255, 255, 255, 0.7); padding: 48px 0 56px; font-size: 14px; }
.en-footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.en-footer__links a { color: rgba(255, 255, 255, 0.85); margin-right: 22px; font-weight: 600; }
.en-footer__links a:hover { color: var(--e24-yellow); }
.en-footer__sns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.en-footer__sns a {
    width: 40px;
    height: 40px;
    margin-left: 0;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.en-footer__sns a:hover {
    transform: translateY(-2px);
}

.en-footer__sns img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: none;
    opacity: 1;
}
.en-footer__info { margin-top: 24px; line-height: 1.8; color: rgba(255, 255, 255, 0.55); }
.en-footer__info strong { color: #fff; font-size: 16px; display: block; margin-bottom: 8px; }
.en-footer__contact { color: var(--e24-yellow); font-weight: 600; }

/* 2026-07-15 [개선] GNB 언어 선택 메뉴 추가 */
/* ///// 언어 선택 ///// */
.langMenuWrap {
    width: 87px;
    position: fixed;
    top:10%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 10;
}

.langMenuInner {
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #EBEBEB;
    box-shadow: 0 2px 3px 0 #00000026;
    border-radius: 6px;
    padding: 16px 0 0;
}

.langMenuWrap .langMenuTit {
    font-family: Paperlogy;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    padding-bottom: 15px;
    position: relative;
}

.langMenuWrap .langMenuTit a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.langMenuWrap .langMenuTit a:after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("../img/ico_arrow_down.png") no-repeat center / cover;
    transform: rotate(0);
    transition: transform 0.3s ease;
}

.langMenuWrap .langMenuTit a.active:after {
    transform: rotate(-180deg);
}

.langMenuWrap .langMenuList {
    display: none;
}

.langMenuWrap .langMenuList li a {
    width: 100%;
    padding: 12px 16px;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #EEEEEE;
    cursor: pointer;
    font-family: 'Noto Sans KR';
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
}

.langMenuWrap .langMenuList li:first-child a {
    border-top: 0;
}

.langMenuWrap .langMenuList li.on a {
    color: #FF6A00;
    font-weight: 700;
}
