.home-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px 80px;
    background: #ffffff;
}

.hero {
    min-height: 720px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
    padding: 48px 0 72px;
    border-bottom: 1px solid #ececec;
}

.hero__content {
    max-width: 620px;
}

.hero__eyebrow {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #777;
}

.hero__title {
    margin: 0;
    font-size: 80px;
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.hero__subtitle {
    margin: 24px 0 0;
    font-size: 22px;
    font-weight: 600;
    color: #222;
}

.hero__desc {
    margin: 18px 0 0;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.hero__actions {
    display: flex;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn--dark {
    background: #111111;
    color: #ffffff;
}

.btn--light {
    background: #f6f6f6;
    color: #111111;
    border: 1px solid #e5e5e5;
}

.hero__visual {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border-radius: 28px;
    background: #f4f1ef;
}

.hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-head {
    margin-bottom: 24px;
}

.section-head--row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.section-head__label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #8b8b8b;
}

.section-head h2 {
    margin: 0;
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-link {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #111;
}

.style-keyword,
.category-showcase,
.featured-products,
.notice-wrap {
    padding-top: 72px;
}

.keyword-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.keyword-card {
    padding: 28px;
    min-height: 220px;
    border: 1px solid #ececec;
    border-radius: 24px;
    background: #fafafa;
}

.keyword-card__index {
    margin-bottom: 22px;
    font-size: 12px;
    font-weight: 800;
    color: #999;
}

.keyword-card h3 {
    margin: 0 0 12px;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.keyword-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 18px;
}

.product-grid--large .product-card__thumb {
    aspect-ratio: 0.78;
}

.product-card {
    display: block;
}

.product-card__thumb {
    overflow: hidden;
    border-radius: 22px;
    background: #f5f5f5;
    aspect-ratio: 0.75;
}

.product-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__info {
    padding-top: 14px;
}

.product-card__brand {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #666;
}

.product-card__name {
    margin: 0;
    min-height: 48px;
    font-size: 17px;
    line-height: 1.45;
    color: #111;
    letter-spacing: -0.02em;
}

.product-card__summary {
    margin: 8px 0 0;
    min-height: 42px;
    font-size: 14px;
    line-height: 1.55;
    color: #7a7a7a;
}

.product-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 12px;
}

.product-card__price strong {
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.discount {
    color: #ff5d73;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.editorial-banner {
    margin-top: 80px;
    padding: 40px;
    border-radius: 32px;
    background: #f7f4f1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.editorial-banner__left h2 {
    margin: 0;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.editorial-banner__left p:last-of-type {
    margin: 18px 0 28px;
    max-width: 480px;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.editorial-banner__right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.editorial-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    border-radius: 24px;
    background: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.editorial-box--dark {
    background: #111111;
    color: #ffffff;
    grid-column: span 2;
}

.notice-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ececec;
}

.notice-item {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid #ececec;
}

.notice-item__label {
    min-width: 72px;
    font-size: 12px;
    font-weight: 800;
    color: #999;
    letter-spacing: 0.12em;
}

.notice-item__text {
    font-size: 16px;
    color: #222;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__title {
        font-size: 64px;
    }

    .hero__visual {
        min-height: 540px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .keyword-grid {
        grid-template-columns: 1fr;
    }

    .editorial-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-page {
        padding: 0 18px 56px;
    }

    .hero {
        padding: 28px 0 40px;
        gap: 24px;
    }

    .hero__title {
        font-size: 44px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .hero__desc {
        font-size: 14px;
        line-height: 1.7;
    }

    .hero__actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero__visual {
        min-height: 420px;
        border-radius: 20px;
    }

    .section-head h2 {
        font-size: 30px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 12px;
    }

    .product-card__name {
        min-height: 42px;
        font-size: 15px;
    }

    .product-card__summary {
        display: none;
    }

    .product-card__price strong {
        font-size: 22px;
    }

    .discount {
        font-size: 20px;
    }

    .editorial-banner {
        margin-top: 56px;
        padding: 24px;
        border-radius: 22px;
    }

    .editorial-banner__left h2 {
        font-size: 34px;
    }

    .editorial-box {
        min-height: 100px;
        font-size: 16px;
    }

    .notice-item {
        gap: 10px;
        flex-direction: column;
    }
}


/* 추가 */
.floating-consult {
    position: fixed;
    left: 24px;
    bottom: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 190px;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #c88c63 0%, #b9734c 100%);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(86, 45, 23, 0.22);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-consult:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(86, 45, 23, 0.28);
}

.floating-consult__sub {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
}

.floating-consult__title {
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.floating-consult__desc {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .floating-consult {
        left: 16px;
        right: 16px;
        bottom: 16px;
        min-width: auto;
        border-radius: 18px;
        padding: 14px 16px;
    }

    .floating-consult__title {
        font-size: 24px;
    }

    .floating-consult__desc {
        font-size: 12px;
    }
}

/* 추가 */
.floating-consult {
    position: fixed;
    left: 24px;
    bottom: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 200px;
    padding: 16px 18px;
    border: none;
    border-radius: 22px;
    background: linear-gradient(135deg, #c88c63 0%, #b9734c 100%);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(86, 45, 23, 0.22);
    cursor: pointer;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-consult:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(86, 45, 23, 0.28);
}

.floating-consult__sub {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
}

.floating-consult__title {
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.floating-consult__desc {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.95;
}

.consult-panel {
    position: fixed;
    inset: 0;
    z-index: 1200;
    pointer-events: none;
}

.consult-panel.is-open {
    pointer-events: auto;
}

.consult-panel__dim {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.consult-panel.is-open .consult-panel__dim {
    opacity: 1;
}

.consult-panel__drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 24px);
    height: 100%;
    background: #ffffff;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.consult-panel.is-open .consult-panel__drawer {
    transform: translateX(0);
}

.consult-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 28px 24px 20px;
    border-bottom: 1px solid #ece7e2;
}

.consult-panel__eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #b9734c;
}

.consult-panel__header h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #222222;
    letter-spacing: -0.03em;
}

.consult-panel__close {
    border: none;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    color: #444444;
    cursor: pointer;
}

.consult-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 22px 20px 28px;
    background: #faf8f6;
}

.consult-card {
    padding: 18px 16px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 14px;
}

.consult-card__label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #b9734c;
}

.consult-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    color: #222222;
}

.consult-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #666666;
}

.consult-card__link {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: 800;
    color: #222222;
    text-decoration: none;
}

.consult-faq {
    margin: 0;
    padding-left: 18px;
}

.consult-faq li + li {
    margin-top: 10px;
}

.consult-faq a {
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
    text-decoration: none;
}

.consult-faq a:hover {
    color: #b9734c;
}

body.consult-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .floating-consult {
        left: 16px;
        right: 16px;
        bottom: 16px;
        min-width: auto;
        border-radius: 18px;
        padding: 14px 16px;
    }

    .floating-consult__title {
        font-size: 24px;
    }

    .floating-consult__desc {
        font-size: 12px;
    }

    .consult-panel__drawer {
        width: 100%;
        max-width: 100%;
    }

    .consult-panel__header {
        padding: 24px 18px 18px;
    }

    .consult-panel__body {
        padding: 18px 16px 24px;
    }
}

/* ============================
   품절 / 일시품절 스타일 (index)
   ============================ */

/* 썸네일에 position:relative 추가 (오버레이 기준점) */
.product-card__thumb {
    position: relative;
}

/* 품절 카드 전체 - 클릭은 가능하되 시각적으로 구분 */
.product-card--sold-out {
    pointer-events: auto;
}

/* 품절 썸네일 어둡게 */
.product-card__thumb--dimmed img {
    filter: brightness(0.45) grayscale(0.3);
    transition: filter 0.3s ease;
}

/* 품절 오버레이 */
.sold-out-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.sold-out-overlay__box {
    padding: 10px 28px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
}

.sold-out-overlay__text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #ffffff;
}

/* 품절 카드 텍스트 영역 흐리게 */
.product-card--sold-out .product-card__info {
    opacity: 0.5;
}

/* 일시품절 뱃지 */
.product-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    z-index: 2;
}

.product-badge--temp-sold {
    background: rgba(255, 93, 115, 0.92);
    color: #ffffff;
}
/* ============================
   상품 카드 간격 조정
   ============================ */

/* info 영역을 flex column으로 변경 → 내용물 크기에 맞게 자동 조절 */
.product-card__info {
    display: flex;
    flex-direction: column;
    padding-top: 12px;
}

/* 상품명 min-height 제거 → 짧은 이름도 빈 공간 없이 */
.product-card__name {
    min-height: auto;
    margin: 0 0 2px;
}

/* 요약 min-height 제거 + 간격 축소 */
.product-card__summary {
    min-height: auto;
    margin: 4px 0 0;
}

/* 가격 영역: 상품명/요약 바로 아래 밀착 + 세로 정렬 */
.product-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .product-card__name {
        min-height: auto;
    }
}

.product-badge--no-stock {
    background: rgba(60, 60, 60, 0.92);
    color: #ffffff;
}