/* ============================================================
   WOWO_REDESIGN_V1 — wowomarket.co.kr flagship minimal redesign
   Direction B: 무신사/29CM style minimal premium
   Palette: black #111 / gray #767676 / bg #F5F6F8 / border #E5E5E5
            discount red #E53935 (only red on site)
   ============================================================ */

:root {
    --wr-black: #111111;
    --wr-gray: #767676;
    --wr-gray-light: #BDBDBD;
    --wr-bg: #F5F6F8;
    --wr-border: #E5E5E5;
    --wr-red: #E53935;
}

/* ---------- global typography ---------- */
body,
.gw-sec-title,
.sct_txt,
.sct_cost {
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif !important;
}

/* ---------- header: clean sticky white ---------- */
#logo img.light-mode-logo {
    height: 27px;
    width: auto;
}

/* announcement bar */
.wr-announce {
    background: var(--wr-black);
    color: #fff;
    text-align: center;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    padding: 9px 12px;
    line-height: 1.4;
}
.wr-announce strong { font-weight: 700; }
.wr-announce .wr-dot { margin: 0 10px; opacity: .4; }

/* ---------- HERO ---------- */
#wr-hero {
    background: linear-gradient(135deg, #FAFAFA 0%, #EFF1F4 100%);
    border-bottom: 1px solid var(--wr-border);
}
.wr-hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 64px 32px;
    display: flex;
    align-items: center;
    gap: 48px;
}
.wr-hero-copy { flex: 1.1; min-width: 0; }
.wr-hero-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wr-gray);
    margin-bottom: 18px;
}
.wr-hero-copy h2 {
    font-size: 44px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--wr-black);
    margin: 0 0 20px;
    word-break: keep-all;
}
.wr-hero-sub {
    font-size: 16px;
    color: var(--wr-gray);
    line-height: 1.7;
    margin-bottom: 32px;
    word-break: keep-all;
}
.wr-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.wr-btn-dark {
    display: inline-block;
    background: var(--wr-black);
    color: #fff !important;
    font-size: 14.5px;
    font-weight: 600;
    padding: 14px 34px;
    border-radius: 2px;
    transition: opacity .15s;
}
.wr-btn-dark:hover { opacity: .82; }
.wr-btn-line {
    display: inline-block;
    background: transparent;
    color: var(--wr-black) !important;
    border: 1px solid var(--wr-black);
    font-size: 14.5px;
    font-weight: 600;
    padding: 14px 34px;
    border-radius: 2px;
    transition: background .15s;
}
.wr-btn-line:hover { background: rgba(0,0,0,.05); }

.wr-hero-visual {
    flex: 1;
    min-width: 0;
    position: relative;
}
.wr-hero-visual img {
    width: 100%;
    max-width: 520px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    background: #fff;
}
.wr-hero-chip {
    position: absolute;
    right: 12%;
    bottom: -12px;
    background: #fff;
    border: 1px solid var(--wr-border);
    border-radius: 999px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--wr-black);
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.wr-hero-chip em { font-style: normal; color: var(--wr-red); }

/* ---------- quick category menu ---------- */
#wr-quick { background: #fff; border-bottom: 1px solid var(--wr-border); }
.wr-quick-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 32px;
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}
.wr-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--wr-black) !important;
    font-size: 13.5px;
    font-weight: 600;
}
.wr-quick-item:hover .wr-quick-ico { background: var(--wr-black); color: #fff; }
.wr-quick-ico {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--wr-bg);
    color: var(--wr-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    transition: all .18s;
}

/* ---------- section common ---------- */
#wr-container { max-width: 1240px; margin: 0 auto; padding: 0 32px 70px; }
.wr-sec { padding-top: 64px; }
.wr-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 26px;
}
.wr-sec-head h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--wr-black);
    margin: 0;
    letter-spacing: -0.01em;
}
.wr-sec-head .wr-sec-sub {
    display: block;
    font-size: 13.5px;
    color: var(--wr-gray);
    font-weight: 400;
    margin-top: 7px;
}
.wr-sec-more {
    font-size: 13px;
    color: var(--wr-gray) !important;
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 4px;
}
.wr-sec-more:hover { color: var(--wr-black) !important; }

/* ---------- trust band ---------- */
#wr-trust {
    background: var(--wr-bg);
    border-top: 1px solid var(--wr-border);
    margin-top: 70px;
}
.wr-trust-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 46px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.wr-trust-item { text-align: center; }
.wr-trust-ico {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--wr-black);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}
.wr-trust-item h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--wr-black);
    margin: 0 0 6px;
}
.wr-trust-item p {
    font-size: 12.5px;
    color: var(--wr-gray);
    margin: 0;
    line-height: 1.55;
    word-break: keep-all;
}

/* ---------- product card overrides ---------- */
/* kill rainbow badge stack (히트/추천/최신/인기/할인) */
.sit_icon_li { display: none !important; }

/* hide product-code line <W79...> */
.sct_id { display: none !important; }

/* sold-out: white veil + capsule */
.shop_icon_soldout {
    opacity: 1 !important;
}
.sct_noitem { color: var(--wr-gray); text-align: center; padding: 40px 0; }

/* price block: price bold black, list price light gray strikethrough */
.sct_cost {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--wr-black) !important;
}
.sct_cost .sct_dict {
    font-size: 12.5px !important;
    color: var(--wr-gray-light) !important;
    font-weight: 400 !important;
    margin-left: 6px !important;
}
.sct_basic {
    color: var(--wr-gray) !important;
    font-size: 12px !important;
    margin-top: 3px !important;
}
.sct_txt a { color: var(--wr-black) !important; }

/* generic buttons: black */
.gw-main-btn02,
.gw-btn02.gw-main-btn02 {
    background: var(--wr-black) !important;
    color: #fff !important;
    border: 1px solid var(--wr-black) !important;
    border-radius: 2px !important;
    font-weight: 600 !important;
}
.gw-main-btn02:hover { opacity: .85; }

/* footer logo sizing (prevent overlap with ft-quick menu) */
#ft-logo > img { height: 20px !important; width: auto !important; }
#ft-top .gw-flex { gap: 44px; }

/* hide type3 skin's demo banner (glasses desk photo - not crocs) */
.gw-main-30-skin-banner { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
    .wr-hero-inner { flex-direction: column-reverse; padding: 44px 20px; gap: 30px; text-align: center; }
    .wr-hero-copy h2 { font-size: 30px; }
    .wr-hero-cta { justify-content: center; }
    .wr-quick-inner { gap: 26px; padding: 22px 20px; }
    #wr-container { padding: 0 20px 50px; }
    .wr-trust-inner { grid-template-columns: repeat(2, 1fr); padding: 36px 20px; }
}

/* ---------- mobile polish (390~480px) ---------- */
@media (max-width: 480px) {
    html, body { overflow-x: hidden; }

    /* ROOT FIX: theme default.css pins #hd/#wrapper/#ft to min-width:1200px,
       causing every right-edge cutoff on phones. Release the pin. */
    #hd, #wrapper, #ft { min-width: 0 !important; }
    .gw-layout, .gw-inner { min-width: 0 !important; }

    /* announce bar: sticky header (z200) overlays it on mobile - hide, trust band carries the message */
    .wr-announce { display: none; }

    /* hero: compact stacked */
    .wr-hero-inner { padding: 30px 16px 38px; gap: 24px; }
    .wr-hero-eyebrow { font-size: 11px; margin-bottom: 10px; letter-spacing: 0.12em; }
    .wr-hero-copy h2 { font-size: 24px; margin-bottom: 12px; }
    .wr-hero-sub { font-size: 13px; margin-bottom: 22px; line-height: 1.6; }
    .wr-hero-sub br { display: none; }
    .wr-hero-visual img { max-width: 100%; border-radius: 6px; }
    .wr-hero-chip { right: 10px; bottom: -10px; padding: 7px 14px; font-size: 12px; white-space: nowrap; }
    .wr-hero-cta { gap: 8px; }
    .wr-btn-dark, .wr-btn-line { padding: 12px 20px; font-size: 13px; }

    /* quick menu: 4-up even fit */
    .wr-quick-inner { justify-content: space-between; gap: 6px; padding: 18px 14px; flex-wrap: nowrap; }
    .wr-quick-item { font-size: 11px; gap: 7px; flex: 1; min-width: 0; }
    .wr-quick-ico { width: 46px; height: 46px; font-size: 14px; }

    /* sections */
    #wr-container { padding: 0 16px 40px; }
    .wr-sec { padding-top: 42px; }
    .wr-sec-head { margin-bottom: 18px; }
    .wr-sec-head h2 { font-size: 20px; }
    .wr-sec-head .wr-sec-sub { font-size: 12px; margin-top: 5px; }
    .wr-sec-more { font-size: 12px; }

    /* 신상품: slider JS leaves li at huge inline widths on pc-mode mobile.
       Force plain vertical list; CSS !important beats inline styles. */
    #wr-new .gw-sct.sct_10 { display: block !important; width: 100% !important; transform: none !important; }
    #wr-new .gw-sct.sct_10 .sct_li { width: 100% !important; float: none !important; display: flex; gap: 14px; align-items: flex-start; margin: 0 0 16px; }
    #wr-new .gw-sct.sct_10 .sct_img { flex: 0 0 112px; }
    #wr-new .gw-sct.sct_10 .sct_img img { width: 112px !important; height: 112px !important; }
    #wr-new .sct_ct_wrap { flex: 1; min-width: 0; width: auto !important; }
    #wr-new .sct_txt a { font-size: 13.5px; line-height: 1.45; word-break: keep-all; }
    #wr-new .sct_cost { font-size: 15.5px !important; }
    #wr-new .sct_bottom { flex-wrap: wrap; }
    /* slider dots meaningless after forcing vertical list */
    #wr-new .gw-main-30-skin-dots-container { display: none !important; }

    /* BEST carousel containment */
    #wr-best .gw-sct.sct_10 { max-width: 100%; }
    #wr-best .sct_li { min-width: 0; }

    /* trust band 2x2 */
    #wr-trust { margin-top: 44px; }
    .wr-trust-inner { gap: 20px; padding: 28px 16px; }
    .wr-trust-item h3 { font-size: 13.5px; }
    .wr-trust-item p { font-size: 11.5px; }

    /* footer */
    #ft-top .gw-flex { gap: 20px; flex-wrap: wrap; }
}
