@charset "utf-8";
/* ==========================================================================
   module.css  -  shared components (Laravel later: resources/views/components)
     c-sec / c-sec-head / c-sec-title   section + title + "View All" link
     c-btn                              buttons (outline / dark)
     c-badge                            product labels (ProductLabels-PC/SP)
     c-product                          product card (ProductList-PC/SP) + ranking variant
     c-slider-arrow                     slick arrows
     c-faq                              Q&A accordion
   ========================================================================== */

/* ---------- section ---------- */
.c-sec {
    padding: .4rem 0;
}

/* ---------- section head ---------- */
.c-sec-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: .14rem;
    margin-bottom: .24rem;
}
/* spec H2: SP 22/30 700, PC 28/38 700, uppercase */
.c-sec-title {
    font-size: .22rem;
    line-height: 1.36;
    font-weight: 700;
    text-transform: uppercase;
}
/* Top page design uses a lighter, larger title */
.c-sec-title--light {
    font-size: .24rem;
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: .01em;
}
.c-sec-sub {
    width: 100%;
    margin-top: .04rem;
    font-size: .16rem;
    line-height: 1.4;
}
.c-sec-more {
    display: flex;
    align-items: center;
    gap: .1rem;
    width: 100%;
    padding-left: .3rem;
    font-size: .14rem;
    font-weight: 500;
}
.c-sec-more::before {
    content: "";
    flex: 1;
    height: 1px;
    background: #BDB8B3;
}
.c-sec-more a {
    display: inline-flex;
    align-items: center;
    gap: .08rem;
    min-height: .44rem;
}
.c-sec-more .icon {
    width: .2rem;
    transition: transform var(--dur) var(--ease);
}
.c-sec-more a:hover .icon { transform: translateX(.04rem); }

/* ---------- buttons ---------- */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .08rem;
    min-width: 1.24rem;
    height: .44rem;
    padding: 0 .24rem;
    border: 1px solid var(--c-ink);
    border-radius: .06rem;
    background: var(--c-white);
    font-size: .13rem;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.c-btn:hover {
    background: var(--c-ink);
    color: var(--c-white);
}
.c-btn--clear { background: transparent; }
.c-btn--dark {
    height: .52rem;
    background: var(--c-ink);
    color: var(--c-white);
}
.c-btn--dark:hover {
    background: #3A3531;
}

/* ---------- labels ---------- */
.c-badge {
    display: inline-block;
    padding: .02rem .08rem;
    border-radius: 2px;
    font-size: .11rem;
    line-height: .16rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--c-white);
}
.c-badge--best    { background: var(--c-gold); color: var(--c-ink); }
.c-badge--popular { background: var(--c-white); color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ink); }
.c-badge--new     { background: var(--c-sage); }
.c-badge--sale,
.c-badge--event   { background: var(--c-coral); }
.c-badge--pre     { background: var(--c-sage-dark); }
.c-badge--oos     { background: var(--c-ink); }

/* ---------- product card ---------- */
.c-product {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: .08rem;
    background: var(--c-white);
    box-shadow: var(--shadow-card);
}
.c-product_img {
    position: relative;
    display: block;
    height: 1.72rem;
    overflow: hidden;
    background: var(--c-canvas);
}
.c-product_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease), opacity var(--dur);
}
.c-product:hover .c-product_img img { transform: scale(1.04); }
.c-product.is-oos .c-product_img img { opacity: .5; }
.c-product_labels {
    position: absolute;
    left: .08rem;
    top: .08rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .04rem;
}
.c-product_labels--inline {
    position: static;
    flex-direction: row;
    margin-bottom: .02rem;
}
.c-product_rank {
    position: absolute;
    left: .08rem;
    top: .08rem;
    z-index: 1;
    display: grid;
    place-items: center;
    min-width: .28rem;
    height: .28rem;
    padding: 0 .04rem;
    background: var(--c-gold);
    font-size: .14rem;
    font-weight: 500;
    color: var(--c-white);
}
.c-product_body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .04rem;
    padding: .1rem;
}
.c-product_brand {
    font-size: .11rem;
    line-height: .16rem;
    font-weight: 600;
    color: var(--c-gold);
}
.c-product_name {
    height: .4rem;
    overflow: hidden;
    font-size: .14rem;
    line-height: .2rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.c-product_name a { transition: color var(--dur); }
.c-product_name a:hover { color: var(--c-ink-muted); }
.c-product_sold {
    font-size: .11rem;
    font-weight: 600;
    color: #C2410C;
}
/* SP: price + % on row 1, old price on row 2 (space kept so cards line up) */
.c-product_price {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: .06rem;
    min-height: .4rem;
    margin-top: .02rem;
}
.c-product_now {
    font-size: .18rem;
    line-height: .24rem;
    font-weight: 700;
    color: var(--c-coral);
}
.c-product_now span {
    font-size: .11rem;
    font-weight: 500;
    color: var(--c-ink);
}
.c-product_off {
    justify-self: end;
    font-size: .13rem;
    line-height: .18rem;
    font-weight: 700;
    color: var(--c-coral);
}
.c-product_old {
    grid-column: 1 / -1;
    font-size: .12rem;
    line-height: .16rem;
    color: var(--c-ink-muted);
}
.c-product_actions {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: auto;
    padding-top: .06rem;
}
.c-btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .06rem;
    height: .44rem;
    padding: 0 .14rem;
    border: 1px solid var(--c-ink);
    border-radius: .06rem;
    background: var(--c-white);
    font-size: .13rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.c-btn-cart img {
    width: .16rem;
    transition: filter var(--dur);
}
.c-btn-cart:hover {
    background: var(--c-ink);
    color: var(--c-white);
}
.c-btn-cart:hover img { filter: invert(1); }
.c-btn-cart.is-added {
    border-color: var(--c-sage);
    background: var(--c-sage);
    color: var(--c-white);
}
.c-btn-cart--notify {
    border-color: var(--c-line);
    color: var(--c-ink-muted);
}
.c-btn-cart--notify:hover {
    border-color: var(--c-ink);
    background: var(--c-white);
    color: var(--c-ink);
}
.c-link-more {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: .04rem;
    min-height: .36rem;
    font-size: .13rem;
    line-height: .18rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: var(--c-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: .05rem;
    transition: text-underline-offset var(--dur) var(--ease);
}
.c-link-more:hover { text-underline-offset: .08rem; }

/* ---------- slider arrows (slick) ---------- */
.c-slider-arrow {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: .32rem;
    height: .32rem;
    border: 1px solid var(--c-ink);
    border-radius: 50%;
    background: var(--c-white);
    transform: translateY(-50%);
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), opacity var(--dur);
}
.c-slider-arrow .icon {
    width: .18rem;
    height: .18rem;
}
.c-slider-arrow:hover {
    background: var(--c-ink);
    color: var(--c-white);
}
.c-slider-arrow.slick-disabled {
    opacity: .3;
    pointer-events: none;
}

/* ---------- FAQ accordion ---------- */
.c-faq_group + .c-faq_group { margin-top: .36rem; }
.c-faq_group-title {
    padding-bottom: .1rem;
    border-bottom: 1px solid #C9C4BF;
    font-size: .17rem;
    font-weight: 500;
}
.c-faq_item { border-bottom: 1px solid #C9C4BF; }
.c-faq_q {
    display: flex;
    align-items: flex-start;
    gap: .1rem;
    width: 100%;
    padding: .18rem 0;
    text-align: left;
    font-size: .15rem;
    line-height: 1.4;
}
.c-faq_q::before {
    content: "Q";
    flex-shrink: 0;
    font-size: .18rem;
    line-height: 1.15;
    color: var(--c-gold);
}
.c-faq_q-text { flex: 1; }
.c-faq_pm {
    position: relative;
    flex-shrink: 0;
    width: .2rem;
    height: .2rem;
}
.c-faq_pm::before,
.c-faq_pm::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    margin-top: -1px;
    background: var(--c-gold);
    transition: transform var(--dur) var(--ease);
}
.c-faq_pm::after { transform: rotate(90deg); }
.c-faq_q[aria-expanded="true"] .c-faq_pm::after { transform: rotate(0); }
.c-faq_a { overflow: hidden; }
.c-faq_a-inner {
    padding: 0 0 .18rem;
    font-size: .15rem;
    line-height: 1.5;
}
.c-faq_a-inner p + p { margin-top: .04rem; }

/* ---------- breadcrumb ---------- */
.c-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .06rem;
    font-size: .11rem;
    line-height: .16rem;
    font-weight: 500;
    color: var(--c-ink-muted);
}
.c-breadcrumb li {
    display: flex;
    align-items: center;
    gap: .06rem;
}
.c-breadcrumb li + li::before {
    content: "\203A";
}
.c-breadcrumb a:hover {
    color: var(--c-ink);
    text-decoration: underline;
}
.c-breadcrumb [aria-current] {
    color: var(--c-ink);
}

/* ---------- pagination ---------- */
.c-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .02rem;
    margin-top: .32rem;
}
.c-pagination_num,
.c-pagination_arrow {
    display: grid;
    place-items: center;
    width: .44rem;
    height: .44rem;
    border-radius: .04rem;
    font-size: .14rem;
    font-weight: 500;
    transition: background-color var(--dur), color var(--dur), border-color var(--dur);
}
.c-pagination_arrow .icon {
    width: .18rem;
    height: .18rem;
}
.c-pagination_num.is-current {
    background: var(--c-ink);
    color: var(--c-white);
    font-weight: 600;
}
a.c-pagination_num:hover,
a.c-pagination_arrow:hover {
    background: var(--c-warm);
}
.c-pagination_arrow.is-disabled {
    opacity: .3;
}
/* SP shows 5 numbers */
.c-pagination_num:nth-child(n+7):not(.is-current) {
    display: none;
}

/* ---------- checkbox ---------- */
.c-check {
    position: relative;
    display: flex;
    align-items: center;
    gap: .1rem;
    min-height: .36rem;
    font-size: .14rem;
    line-height: .2rem;
    cursor: pointer;
}
.c-check input {
    position: absolute;
    opacity: 0;
    width: .18rem;
    height: .18rem;
}
.c-check_box {
    position: relative;
    flex-shrink: 0;
    width: .18rem;
    height: .18rem;
    border: 1px solid #8A847F;
    border-radius: 3px;
    background: var(--c-white);
    transition: background-color .2s, border-color .2s;
}
.c-check_box::after {
    content: "";
    position: absolute;
    left: .055rem;
    top: .02rem;
    width: .05rem;
    height: .09rem;
    border: solid var(--c-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform .2s var(--ease);
}
.c-check input:checked + .c-check_box {
    border-color: var(--c-ink);
    background: var(--c-ink);
}
.c-check input:checked + .c-check_box::after {
    transform: rotate(45deg) scale(1);
}
.c-check input:focus-visible + .c-check_box {
    box-shadow: var(--focus-ring);
}

/* ---------- empty state ---------- */
.c-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .12rem;
    padding: .32rem .18rem;
    border-radius: .12rem;
    background: var(--c-warm);
    text-align: center;
}
.c-empty_icon {
    display: grid;
    place-items: center;
    width: .64rem;
    height: .64rem;
    border-radius: 50%;
    background: var(--c-white);
}
.c-empty_icon .icon {
    width: .3rem;
    height: .3rem;
    stroke-width: 1.5;
}
.c-empty_title {
    margin-top: .04rem;
    font-size: .19rem;
    line-height: .26rem;
    font-weight: 700;
}
.c-empty_text {
    max-width: 5.2rem;
    font-size: .14rem;
    line-height: .22rem;
    color: var(--c-ink-muted);
}
.c-empty_actions {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: .1rem;
    margin-top: .08rem;
}
.c-empty_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: .48rem;
    padding: 0 .24rem;
    border: 1px solid var(--c-ink);
    border-radius: .06rem;
    background: var(--c-white);
    font-size: .15rem;
    font-weight: 600;
    transition: background-color var(--dur), color var(--dur);
}
.c-empty_btn:hover {
    background: var(--c-ink);
    color: var(--c-white);
}
.c-empty_btn--dark {
    background: var(--c-ink);
    color: var(--c-white);
}
.c-empty_btn--dark:hover {
    background: #3A3531;
}
.c-empty_note {
    margin-top: .06rem;
    font-size: .13rem;
    line-height: .2rem;
    color: var(--c-ink-muted);
}
.c-empty_note a {
    display: inline-flex;
    align-items: center;
    gap: .04rem;
    font-weight: 600;
    color: var(--c-ink);
    text-decoration: underline;
    text-decoration-color: var(--c-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: .04rem;
}
.c-empty_note .icon {
    width: .16rem;
    height: .16rem;
}

/* ---------- product grid (list, search, brand, sale ...) ---------- */
.c-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .24rem .12rem;
    margin-top: .2rem;
}

/* ---------- "Popular ..." product row (empty states) ---------- */
.c-popular {
    margin-top: .4rem;
}
.c-popular_head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .16rem;
}
.c-popular_more {
    flex-shrink: 0;
    font-size: .14rem;
    font-weight: 500;
}
.c-popular_more:hover {
    text-decoration: underline;
    text-decoration-color: var(--c-gold);
    text-underline-offset: .05rem;
}
.c-popular .c-grid {
    margin-top: .16rem;
}

/* ---------- pill links (popular searches) ---------- */
.c-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .08rem;
}
.c-pill {
    display: flex;
    align-items: center;
    height: .4rem;
    padding: 0 .16rem;
    border: 1px solid var(--c-line);
    border-radius: 9999px;
    background: var(--c-white);
    font-size: .14rem;
    font-weight: 500;
    transition: border-color var(--dur), background-color var(--dur), color var(--dur);
}
.c-pill:hover {
    border-color: var(--c-ink);
}

/* ---------- "Can't find it?" Korea Buying Service box ---------- */
.c-request {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .2rem .16rem;
    border: 1px solid var(--c-line);
    border-radius: .12rem;
}
.c-request_text {
    display: flex;
    flex-direction: column;
    gap: .06rem;
}
.c-request_label {
    font-size: .12rem;
    line-height: .16rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-sage-dark);
}
.c-request_title {
    font-size: .18rem;
    line-height: .28rem;
    font-weight: 700;
}
.c-request_desc {
    font-size: .14rem;
    line-height: .2rem;
    color: var(--c-ink-muted);
}
.c-request_actions {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.c-btn-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .08rem;
    height: .48rem;
    padding: 0 .2rem;
    border: 1px solid var(--c-ink);
    border-radius: .06rem;
    background: var(--c-white);
    font-size: .15rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color var(--dur), color var(--dur);
}
.c-btn-chat i {
    font-size: .18rem;
}
.c-btn-chat:hover {
    background: var(--c-ink);
    color: var(--c-white);
}
.c-btn-chat--dark {
    background: var(--c-ink);
    color: var(--c-white);
}
.c-btn-chat--dark:hover {
    background: #3A3531;
}

/* ---------- notice box "Please read before use" (detail, skin concern) ---------- */
.c-notice {
    display: flex;
    gap: .1rem;
    padding: .14rem .16rem;
    border: 1px solid var(--c-notice-border);
    border-left: 4px solid var(--c-gold);
    border-radius: .08rem;
    background: var(--c-notice-bg);
}
.c-notice > .icon {
    flex-shrink: 0;
    width: .2rem;
    height: .2rem;
    margin-top: 1px;
    stroke-width: 1.8;
    color: #7A5F0E;
}
.c-notice_title {
    font-size: .14rem;
    line-height: .2rem;
    font-weight: 700;
}
.c-notice_text {
    margin-top: .04rem;
    font-size: .13rem;
    line-height: .2rem;
    color: var(--c-ink-muted);
}

/* product row that scrolls sideways on SP (related products) */
.c-grid--scroll {
    display: flex;
    gap: .12rem;
    margin-right: calc(var(--side) * -1);
    margin-left: calc(var(--side) * -1);
    padding: .04rem var(--side) .12rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}
.c-grid--scroll::-webkit-scrollbar { display: none; }
.c-grid--scroll > li {
    flex-shrink: 0;
    width: 1.64rem;
    scroll-snap-align: start;
}
.c-grid--scroll .c-product_img { height: 1.64rem; }

/* ---------- page head band (cart, checkout, complete) ---------- */
.c-page-head {
    padding: .2rem 0;
    background: var(--c-warm);
}
.c-page-head_inner {
    display: flex;
    flex-direction: column;
    gap: .12rem;
}
.c-page-head_title {
    font-size: .26rem;
    line-height: .34rem;
    font-weight: 700;
    text-transform: uppercase;
}
.c-page-head_count {
    font-weight: 500;
    color: var(--c-ink-muted);
}

/* ---------- checkout steps ---------- */
.c-steps {
    display: flex;
    align-items: center;
    gap: .08rem;
}
.c-steps_item {
    display: flex;
    align-items: center;
    gap: .08rem;
    font-size: .13rem;
    line-height: .2rem;
    font-weight: 500;
    color: var(--c-ink-muted);
    white-space: nowrap;
}
.c-steps_num {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: .28rem;
    height: .28rem;
    border: 1px solid #D7D4CD;
    border-radius: 50%;
    background: var(--c-white);
    font-size: .13rem;
    font-weight: 700;
}
.c-steps_num .icon {
    width: .16rem;
    height: .16rem;
    stroke-width: 2.4;
    color: var(--c-white);
}
.c-steps_item.is-done { color: var(--c-ink); }
.c-steps_item.is-done .c-steps_num {
    border-color: var(--c-sage-dark);
    background: var(--c-sage-dark);
}
.c-steps_item.is-current {
    font-weight: 700;
    color: var(--c-ink);
}
.c-steps_item.is-current .c-steps_num {
    border-color: var(--c-ink);
    background: var(--c-ink);
    color: var(--c-white);
}
.c-steps_line {
    width: .16rem;
    height: 1px;
    background: #D7D4CD;
}
.c-steps_line.is-done { background: var(--c-sage-dark); }

/* ---------- order status timeline (complete, my page) ---------- */
.c-timeline {
    display: flex;
    flex-direction: column;
    gap: .18rem;
}
.c-timeline_item {
    position: relative;
    display: flex;
    gap: .14rem;
}
.c-timeline_item:not(:last-child)::after {      /* line to the next step */
    content: "";
    position: absolute;
    left: .13rem;
    top: .32rem;
    bottom: -.14rem;
    width: 2px;
    background: var(--c-line);
}
.c-timeline_item.is-done:not(:last-child)::after { background: var(--c-sage-dark); }
.c-timeline_mark {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: .28rem;
    height: .28rem;
    border: 1px solid #D7D4CD;
    border-radius: 50%;
    background: var(--c-white);
    font-size: .13rem;
    font-weight: 700;
    color: var(--c-ink-muted);
}
.c-timeline_mark .icon {
    width: .16rem;
    height: .16rem;
    stroke-width: 2.4;
    color: var(--c-white);
}
.is-done .c-timeline_mark {
    border-color: var(--c-sage-dark);
    background: var(--c-sage-dark);
}
.is-current .c-timeline_mark { border: 2px solid var(--c-gold); }
.c-timeline_dot {
    width: .1rem;
    height: .1rem;
    border-radius: 50%;
    background: var(--c-gold);
    animation: c-pulse 1.8s ease-in-out infinite;
}
.c-timeline_text {
    display: flex;
    flex-direction: column;
}
.c-timeline_title {
    font-size: .15rem;
    line-height: .22rem;
    font-weight: 500;
    color: var(--c-ink-muted);
}
.is-done .c-timeline_title,
.is-current .c-timeline_title {
    font-weight: 700;
    color: var(--c-ink);
}
.c-timeline_sub {
    font-size: .13rem;
    line-height: .18rem;
    color: var(--c-ink-muted);
}
.is-current .c-timeline_sub { color: #7A5F0E; }
@keyframes c-pulse {
    50% { transform: scale(.6); opacity: .6; }
}

/* ---------- form fields (login, register, my page) ----------
   spec: 48px tall, 1px #E4DED7 border, radius 6, 16px text          */
.c-form {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.c-form_row {
    display: grid;
    gap: .2rem;
}
.c-field {
    display: flex;
    flex-direction: column;
    gap: .06rem;
}
.c-field_label {
    font-size: .14rem;
    line-height: .2rem;
    font-weight: 600;
}
.c-field_opt {
    font-weight: 400;
    color: var(--c-ink-muted);
}
/* required mark (the input itself has "required", so screen readers already say it) */
.c-field_req {
    color: #B3403A;
}
.c-field_wrap {
    position: relative;
    display: block;
}
.c-input,
.c-select select {
    width: 100%;
    height: .48rem;
    padding: 0 .14rem;
    border: 1px solid var(--c-line);
    border-radius: .06rem;
    background: var(--c-white);
    font-size: .16rem;
    transition: border-color .2s;
}
.c-input::placeholder { color: #A8A29E; }
.c-input:hover,
.c-select select:hover { border-color: #A8A29E; }
.c-input:focus,
.c-select select:focus { border-color: var(--c-ink); }
.c-input.is-invalid,
.c-select select.is-invalid { border-color: #B3403A; }
.c-select {
    position: relative;
    display: block;
}
.c-select select {
    padding-right: .4rem;
    cursor: pointer;
}
.c-select .icon {
    position: absolute;
    right: .14rem;
    top: 50%;
    width: .18rem;
    height: .18rem;
    transform: translateY(-50%);
    pointer-events: none;
}
/* +95 phone */
.c-tel_code {
    position: absolute;
    left: 1px;
    top: 1px;
    bottom: 1px;
    display: grid;
    place-items: center;
    width: .52rem;
    border-right: 1px solid var(--c-line);
    border-radius: .06rem 0 0 .06rem;
    background: var(--c-warm);
    font-size: .15rem;
    font-weight: 500;
}
.c-tel .c-input { padding-left: .64rem; }
/* password + eye */
.c-pw .c-input { padding-right: .48rem; }
.c-pw_toggle {
    position: absolute;
    right: 2px;
    top: 2px;
    display: grid;
    place-items: center;
    width: .44rem;
    height: .44rem;
    color: var(--c-ink-muted);
}
.c-pw_toggle:hover { color: var(--c-ink); }
.c-pw_toggle .icon {
    width: .2rem;
    height: .2rem;
}
.c-pw_toggle .icon-eye-off,
.c-pw_toggle[aria-pressed="true"] .icon-eye { display: none; }
.c-pw_toggle[aria-pressed="true"] .icon-eye-off { display: block; }
.c-field_error {
    font-size: .13rem;
    line-height: .18rem;
    font-weight: 600;
    color: #B3403A;
}
.c-field_hint {
    font-size: .12rem;
    line-height: .18rem;
    color: var(--c-ink-muted);
}
/* main buttons */
.c-btn-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .1rem;
    height: .52rem;
    border: 1px solid var(--c-ink);
    border-radius: .06rem;
    background: var(--c-ink);
    font-size: .16rem;
    font-weight: 600;
    color: var(--c-white);
    transition: background-color var(--dur);
}
.c-btn-main:hover { background: #3A3531; }
.c-btn-fb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .1rem;
    height: .52rem;
    border-radius: .06rem;
    background: #1877F2;
    font-size: .16rem;
    font-weight: 600;
    color: var(--c-white);
    transition: background-color var(--dur);
}
.c-btn-fb i { font-size: .2rem; }
.c-btn-fb:hover { background: #0F65D8; }
.c-or {
    display: flex;
    align-items: center;
    gap: .12rem;
    font-size: .13rem;
    line-height: .18rem;
    color: var(--c-ink-muted);
}
.c-or::before,
.c-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--c-line);
}
.c-link-gold {
    font-weight: 600;
    color: var(--c-ink);
    text-decoration: underline;
    text-decoration-color: var(--c-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: .04rem;
}

/* choice cards (register account type) */
.c-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .1rem;
}
.c-choice_item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .06rem;
    padding: .12rem;
    border: 1px solid var(--c-line);
    border-radius: .08rem;
    background: var(--c-white);
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}
.c-choice_item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.c-choice_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.c-choice_top .icon {
    width: .22rem;
    height: .22rem;
}
.c-choice_dot {
    width: .2rem;
    height: .2rem;
    border: 2px solid #D7D4CD;
    border-radius: 50%;
    transition: border-width .2s var(--ease), border-color .2s;
}
.c-choice_title {
    font-size: .15rem;
    line-height: .22rem;
    font-weight: 700;
}
.c-choice_sub {
    font-size: .12rem;
    line-height: .18rem;
    color: var(--c-ink-muted);
}
.c-choice_item:hover { border-color: #A8A29E; }
.c-choice_item:has(input:checked) {
    padding: .11rem;
    border: 2px solid var(--c-ink);
    background: var(--c-warm);
}
.c-choice_item:has(input:checked) .c-choice_dot { border: 6px solid var(--c-ink); }
.c-choice_item:has(input:focus-visible) { box-shadow: var(--focus-ring); }

/* message box (success / error at the top of a form) */
.c-msg {
    display: flex;
    align-items: flex-start;
    gap: .1rem;
    padding: .12rem .14rem;
    border-radius: .08rem;
    background: #E8F1E4;
    font-size: .14rem;
    line-height: .2rem;
}
.c-msg .icon {
    flex-shrink: 0;
    width: .2rem;
    height: .2rem;
    color: var(--c-sage-dark);
}
.c-msg--error { background: #FBE9E7; }
.c-msg--error .icon { color: #B3403A; }

/* ---------- compact product card (event items, skin concern) ---------- */
.c-product--compact .c-product_actions { flex-direction: column; }
.c-product--compact .c-btn-cart { width: 100%; }
@media (min-width: 1280px) {
    .c-product--compact .c-product_img { height: 2.6rem; }   /* design: 260px */
}
.c-product_good {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .04rem;
    font-size: .11rem;
    font-weight: 600;
}
.c-product_good span {
    padding: .01rem .07rem;
    border-radius: 9999px;
    background: #E6EBE7;
    font-size: .1rem;
    font-weight: 600;
    color: #3F4F44;
}

/* ---------- event card (events list, other events) ---------- */
.c-event {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: .08rem;
    background: var(--c-white);
    box-shadow: var(--shadow-card);
}
.c-event_img {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--c-warm);
}
.c-event_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.c-event:hover .c-event_img img { transform: scale(1.04); }
.c-event.is-ended .c-event_img img { opacity: .55; }
.c-event_status {
    position: absolute;
    left: .1rem;
    top: .1rem;
    padding: .02rem .08rem;
    border-radius: 2px;
    font-size: .11rem;
    line-height: .16rem;
    font-weight: 600;
    color: var(--c-white);
}
.c-event_status--ongoing  { background: var(--c-sage-dark); }
.c-event_status--ending   { background: var(--c-coral); }
.c-event_status--upcoming { background: var(--c-gold); color: var(--c-ink); }
.c-event_status--ended    { background: #8A847D; }
.c-event_body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .06rem;
    padding: .14rem .14rem .16rem;
}
.c-event_label {
    font-size: .11rem;
    line-height: .16rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--c-gold);
}
.c-event_title {
    font-size: .16rem;
    line-height: .22rem;
    font-weight: 700;
}
.c-event_title a:hover { text-decoration: underline; }
.c-event_text {
    font-size: .13rem;
    line-height: .2rem;
    color: var(--c-ink-muted);
}
.c-event_foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .1rem;
    margin-top: auto;
    padding-top: .12rem;
    border-top: 1px solid var(--c-line);
}
.c-event--compact .c-event_foot {
    padding-top: 0;
    border-top: 0;
}
.c-event_date {
    display: flex;
    align-items: center;
    gap: .06rem;
    font-size: .12rem;
    color: var(--c-ink-muted);
}
.c-event_date .icon {
    width: .14rem;
    height: .14rem;
}
.c-event .c-link-more { min-height: .32rem; font-size: .13rem; }

/* ---------- sage "Ask on Viber / Messenger" band ---------- */
.c-ask {
    display: flex;
    flex-direction: column;
    gap: .16rem;
    padding: .24rem .2rem;
    border-radius: .12rem;
    background: var(--c-sage-dark);
    color: var(--c-white);
}
.c-ask_title {
    font-size: .2rem;
    line-height: .28rem;
    font-weight: 700;
}
.c-ask_text p {
    margin-top: .04rem;
    font-size: .14rem;
    line-height: .2rem;
    color: var(--c-warm);
}
.c-ask_btns {
    display: flex;
    flex-direction: column;
    gap: .08rem;
}
.c-ask_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .08rem;
    height: .48rem;
    padding: 0 .2rem;
    border: 1px solid var(--c-white);
    border-radius: .06rem;
    background: var(--c-white);
    font-size: .15rem;
    font-weight: 600;
    color: var(--c-ink);
    transition: background-color var(--dur), color var(--dur);
}
.c-ask_btn + .c-ask_btn {
    background: transparent;
    color: var(--c-white);
}
.c-ask_btn:hover {
    background: var(--c-ink);
    border-color: var(--c-ink);
    color: var(--c-white);
}
.c-ask_btn i { font-size: .18rem; }

/* ---------- filter pills (links or buttons) ---------- */
.c-pillnav {
    display: flex;
    gap: .06rem;
    margin: 0 calc(var(--side) * -1);
    padding: 0 var(--side);
    overflow-x: auto;
    scrollbar-width: none;
}
.c-pillnav::-webkit-scrollbar { display: none; }
.c-pillnav a,
.c-pillnav button {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    height: .34rem;
    padding: 0 .14rem;
    border: 1px solid var(--c-line);
    border-radius: 9999px;
    background: var(--c-white);
    font-size: .13rem;
    font-weight: 600;
    white-space: nowrap;
    transition: border-color .2s, background-color .2s, color .2s;
}
.c-pillnav a:hover,
.c-pillnav button:hover { border-color: var(--c-ink); }
.c-pillnav .is-current,
.c-pillnav [aria-pressed="true"] {
    border-color: var(--c-ink);
    background: var(--c-ink);
    color: var(--c-white);
}

/* ---------- toast message ---------- */
.c-toast {
    position: fixed;
    left: 50%;
    bottom: .24rem;
    z-index: 130;
    padding: .1rem .18rem;
    border-radius: 9999px;
    background: var(--c-ink);
    font-size: .13rem;
    font-weight: 500;
    color: var(--c-white);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, .1rem);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.c-toast.is-show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
}

/* ---------- simple page head band (pages without their own head design) ---------- */
.c-head {
    padding: .2rem 0 .24rem;
    background: var(--c-warm);
}
.c-head_title {
    margin-top: .08rem;
    font-size: .28rem;
    line-height: .36rem;
    font-weight: 700;
    text-transform: uppercase;
}
.c-head_lead {
    margin-top: .04rem;
    font-size: .14rem;
    line-height: .2rem;
    color: var(--c-ink-muted);
}
.c-head_note {
    margin-top: .08rem;
    font-size: .12rem;
    color: var(--c-ink-muted);
}

/* ---------- accordion base (JS slides it) ---------- */
.js .js-acc-body { display: none; }
.js .js-acc-body.is-open { display: block; }

/* ==========================================================================
   Tablet  768px -
   ========================================================================== */
@media (min-width: 768px) {
    .c-sec { padding: .64rem 0; }
    .c-sec-head {
        flex-wrap: nowrap;
        margin-bottom: .4rem;
    }
    .c-sec-head--sub { flex-wrap: wrap; }
    .c-sec-title { font-size: .28rem; line-height: 1.36; }
    .c-sec-title--light { font-size: .32rem; line-height: 1.25; }
    .c-sec-sub { font-size: .18rem; }
    .c-sec-more {
        width: 4.4rem;
        flex-shrink: 0;
        padding-left: 0;
        font-size: .15rem;
    }
    .c-btn {
        min-width: 1.5rem;
        height: .5rem;
        font-size: .14rem;
    }
    .c-badge {
        padding: .02rem .1rem;
        font-size: .12rem;
        line-height: .18rem;
    }
    .c-product_img { height: 2.4rem; }
    .c-product_labels,
    .c-product_rank {
        left: .12rem;
        top: .12rem;
    }
    .c-product_labels--inline { left: auto; top: auto; }
    .c-product_rank {
        min-width: .34rem;
        height: .34rem;
        font-size: .16rem;
    }
    .c-product_body {
        gap: .06rem;
        padding: .16rem;
    }
    .c-product_brand { font-size: .12rem; line-height: .18rem; }
    .c-product_name {
        height: .44rem;
        font-size: .16rem;
        line-height: .22rem;
    }
    .c-product_now { font-size: .2rem; line-height: .26rem; }
    .c-product_now span { font-size: .12rem; }
    .c-product_off { font-size: .14rem; }
    .c-product_old { font-size: .13rem; }
    .c-breadcrumb ol {
        gap: .08rem;
        font-size: .12rem;
        line-height: .18rem;
    }
    .c-breadcrumb li { gap: .08rem; }
    .c-pagination {
        gap: .04rem;
        margin-top: .56rem;
    }
    .c-pagination_num { border: 1px solid var(--c-line); }
    .c-pagination_num.is-current { border-color: var(--c-ink); }
    .c-pagination_num:nth-child(n+7):not(.is-current) { display: grid; }
    .c-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .32rem .2rem;
        margin-top: .32rem;
    }
    .c-popular { margin-top: .56rem; }
    .c-grid--scroll {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .32rem .16rem;
        margin: .24rem 0 0;
        padding: 0;
        overflow: visible;
    }
    .c-grid--scroll > li { width: auto; }
    .c-page-head { padding: .4rem 0; }
    .c-head { padding: .4rem 0; }
    .c-head_title { font-size: .4rem; line-height: .52rem; }
    .c-head_lead { font-size: .16rem; line-height: .24rem; }
    .c-head_note { font-size: .13rem; }
    .c-event_body { padding: .16rem .16rem .18rem; }
    .c-event_title { font-size: .18rem; line-height: .26rem; }
    .c-ask {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: .28rem .32rem;
    }
    .c-ask_title { font-size: .22rem; line-height: .3rem; }
    .c-ask_btns { flex-direction: row; flex-shrink: 0; }
    .c-pillnav { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
    .c-form_row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .12rem; }
    .c-choice { gap: .12rem; }
    .c-choice_item { gap: .08rem; padding: .16rem; }
    .c-choice_item:has(input:checked) { padding: .15rem; }
    .c-choice_title { font-size: .16rem; }
    .c-choice_sub { font-size: .13rem; }
    .c-page-head_inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: .16rem;
    }
    .c-page-head_title {
        font-size: .4rem;
        line-height: .52rem;
    }
    .c-steps { gap: .12rem; }
    .c-steps_item { font-size: .14rem; }
    .c-steps_line { width: .4rem; }
    .c-grid--scroll .c-product_img { height: 2rem; }
    .c-popular .c-grid { margin-top: .24rem; }
    .c-request {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: .28rem .32rem;
    }
    .c-request_title { font-size: .2rem; }
    .c-request_actions {
        flex-direction: row;
        flex-shrink: 0;
    }
    .c-empty {
        padding: .48rem .4rem;
    }
    .c-empty_icon {
        width: .8rem;
        height: .8rem;
    }
    .c-empty_title {
        font-size: .24rem;
        line-height: .32rem;
    }
    .c-empty_text { font-size: .15rem; }
    .c-empty_actions {
        flex-direction: row;
        align-self: auto;
    }
    .c-faq_group-title {
        padding-bottom: .24rem;
        font-size: .2rem;
    }
    .c-faq_group + .c-faq_group { margin-top: .7rem; }
    .c-faq_q {
        align-items: center;
        gap: .12rem;
        padding: .32rem .08rem .32rem .04rem;
        font-size: .17rem;
    }
    .c-faq_q::before { font-size: .22rem; }
    .c-faq_pm {
        width: .26rem;
        height: .26rem;
    }
    .c-faq_a-inner {
        margin-top: 0;
        padding: 0 .08rem .36rem .04rem;
        font-size: .17rem;
    }
}

/* ==========================================================================
   PC  1280px -  product card: price in one row, buttons side by side
   ========================================================================== */
@media (min-width: 1280px) {
    .c-sec-title--light { font-size: .36rem; }
    .c-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .4rem .24rem;
        margin-top: .4rem;
    }
    .c-popular .c-grid { margin-top: .24rem; }
    .c-grid--scroll { gap: .4rem .24rem; }
    .c-grid--scroll .c-product_img { height: 3rem; }
    .c-product_img { height: 3rem; }
    .c-product_price {
        display: flex;
        gap: .08rem;
        min-height: .26rem;
    }
    .c-product_off {
        order: 3;
        margin-left: auto;
    }
    .c-product_old { order: 2; }
    .c-product_actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: .08rem;
        padding-top: .08rem;
    }
    .c-btn-cart {
        gap: .08rem;
        font-size: .14rem;
    }
    .c-btn-cart img { width: .18rem; }
    .c-link-more {
        align-self: auto;
        min-height: .44rem;
        font-size: .14rem;
        line-height: .2rem;
        text-underline-offset: .06rem;
    }
    .c-slider-arrow {
        width: .36rem;
        height: .36rem;
    }
}
