@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: "Cormorant Infant";
    src: url("../fonts/cormorant-infant-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Infant";
    src: url("../fonts/cormorant-infant-500-italic.woff2") format("woff2");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Infant";
    src: url("../fonts/cormorant-infant-600-italic.woff2") format("woff2");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Bellota Text";
    src: url("../fonts/bellota-text-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("../fonts/playfair-display-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Font reference
Bellota Text: 700
Cormorant Infant: 500 / 500 italic / 600 italic
Pretendard: 300 / 350 / 400 / 500 / 700
*/


/* 기본 초기화 */
*,
*::before,
*::after {box-sizing: border-box;}

html, body{margin: 0; padding: 0; color: #121212;}
body {font-family: 'Pretendard', sans-serif;}

/* 메인배너 min-height: 상단(탑공지+유틸+메인헤더) 실제 높이에 맞춤 — 값이 크면 배너가 짧아져 뷰포트 하단에 흰 여백이 생김 */
:root {
    --stack-above-mainbanner: 145px;
}
button, input, select, textarea {font: inherit;}
a{text-decoration: none; color: #121212;}
ul,ol {margin: 0; padding: 0; list-style: none;}
p{margin: 0;}

/* 공통 폰트 유틸 */
.serif {font-family: 'Noto Serif KR', serif; }
.title_serif {font-family: 'Cormorant Infant', 'Noto Serif KR', serif;}

/* =========================
   HEADER: TOP NOTICE
========================= */
.top-notice-inner {
    width: 100%;
    margin: auto;
    max-width: 1200px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-notice-bar {
    letter-spacing: 0.75px;
    width: 100%;
    background-color: #ff8989;
    padding: 10px;
    color: #fff;
    font-weight: 400;
}

.top-notice-text {
    text-align: center;
}

/* =========================
   HEADER
========================= */
.header-slot {width: 100%;}

/* 사이트 머리글 랜드마크: 유틸 + GNB 묶음 (고정 대상은 자식 #header) */
.header-root {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* 상단 유틸(로그인 등): 일반 흐름 — 스크롤 시 #header만 고정되므로 함께 위로 스크롤아웃 */
.header-util {
    background: #FCFCFC;
}

.header-util-inner {
    width: 1200px;
    margin: 0 auto;
    padding: 20px 0 0px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-util-nav ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-util-nav li {
    display: flex;
    align-items: center;
}

.header-util-nav li:not(:last-child)::after {
    content: "";
    display: block;
    width: 1px;
    height: 11px;
    margin: 0 12px;
    background: #ccc;
}

.header-util-nav a {
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-decoration: none;
    line-height: 1.2;
}

.header-util-nav a:hover {
    color: #000;
}

#header {
    position: relative;
    background: #FCFCFC;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* 스크롤로 헤더가 상단에 닿은 뒤: JS가 #header에 is-fixed 부여 */
#header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@supports (backdrop-filter: blur(6px)) {
    #header.is-fixed {
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
}

.header_inner {
    width: 1200px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* 로고 */
.logo {
    flex: 0 0 auto;
    margin: 0 48px 0 0;
    max-width: 200px;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -8px;
}

/* 메뉴 */
.gnb {
    flex: 1;
}

.gnb ul {
    display: flex;
    align-items: center;
    gap: 43px;
}

.gnb li a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    white-space: nowrap;
}

.new_badge {
    font-size: 13px;
    font-weight: 700;
    color: #e33b3b;
    display: inline-block;
    line-height: 1;
    animation: ctBlink 1.2s steps(1, end) infinite;
}

@keyframes ctBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .new_badge {
        animation: none;
    }
}

/* 아이콘 */
.header_icons {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 32px;
}

.header_icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.header_icons img {
    display: block;
    width: 35px;
    height: auto;
}

/* =========================
   MAIN BANNER
========================= */
/* =========================
   MAIN BANNER
========================= */
#mainbanner {
    position: relative;
    width: 100%;
    min-height: calc(100vh - var(--stack-above-mainbanner));
    min-height: calc(100svh - var(--stack-above-mainbanner));
    min-height: calc(100dvh - var(--stack-above-mainbanner));
    background: none; /* 배너 배경은 ::before/::after로 교차 페이드 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

#mainbanner::before,
#mainbanner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: opacity 800ms ease-in-out;
}

/* 현재 보이는 레이어 */
#mainbanner::before {
    opacity: 1;
    background-image: var(--banner-img-1, url('../images/banner01.png'));
}
#mainbanner::after {
    opacity: 0;
    background-image: var(--banner-img-2, url('../images/banner02.png'));
}

/* after 레이어를 보이게 전환 */
#mainbanner.use-after::before {
    opacity: 0;
}
#mainbanner.use-after::after {
    opacity: 1;
}


/* 텍스트 위로 올리기 (배너 타이틀/설명: h1, h2, p 공통) */
#mainbanner h1,
#mainbanner h2,
#mainbanner p {
    position: relative;
    z-index: 2;
    color: #fff;
}

.number{
    font-family: 'Playfair Display', serif !important;
    font-weight: 300;
}

/* 상단 작은 타이틀 */
#mainbanner .banner_heading {
    margin: 220px auto 183px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    top: -16px;
}

#mainbanner .banner_title_group,
#mainbanner .banner_desc_group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    font-weight: inherit;
}

#mainbanner .banner_title_group {
    margin-bottom: 80px;
}

#mainbanner .banner_desc_group {
    gap: 10px;
}

#mainbanner .banner_kicker {
    color: #FFF;
    font-family: 'KoPub Batang', serif !important;
    font-size: 28px;
    font-weight: 200;
    font-style: normal;
    margin-bottom: -13px;
    line-height: 1.1;
}

#mainbanner .banner_kicker .number {
    color: #FFF;
    font-family: 'Playfair Display', serif !important;
    font-weight: 300;
}

/* 메인 타이틀 */
#mainbanner .banner_main {
    color: #FFF;
    text-align: center;
    font-family: "Cormorant Infant", "Times New Roman", serif;
    font-size: 148px;
    font-weight: 500;
    letter-spacing: -2.8px;
    line-height: 0.95;
    margin-bottom: 8px;
}

/* FOR MAY */
#mainbanner .banner_sub {
    color: #FFF;
    text-align: center;
    font-family: "Bellota Text", "Arial Narrow", Arial, sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 14px;
    margin-bottom: 0;
    opacity: 0.92;
}

#mainbanner .banner_desc {
    color: #FFF;
    font-size: 20px;
    font-weight: 300;
    font-family: 'KoPub Batang', serif !important;
    line-height: 1.55;
    margin-bottom: 0;
    letter-spacing: -0.25px;
}

#mainbanner .banner_desc_sub {
    color: #FFF;
    font-size: 27px;
    font-weight: 400;
    font-family: 'KoPub Batang', serif !important;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

/* 하단 설명 */
#mainbanner .banner_mark {
    position: absolute;
    left: 50%;
    bottom: calc(clamp(42px, 6vh, 72px) - 16px);
    transform: translateX(-50%);
    z-index: 2;
    font-size: 15px;
    opacity: 0.9;
    letter-spacing: 1.5px;
    font-weight: 200;
    color: #FFF;
    margin: 0;
    text-align: center;
    pointer-events: none;
}


/* =========================
   INTRO
========================= */
#intro .intro_text{
    text-align: center;
    margin: 130px 0 70px ;
    
}


/* 인트로 : 상단 소제목 타이포 */
.intro_title  {
    font-weight: 400;
    color: #464646;
    font-size: 35px;
    font-weight: 400;
}

.special{
    font-family: 'Cormorant Infant', serif !important;
    font-weight: 600 !important;
    font-style: italic;
    font-size: 37px;
}


#intro .intro_ment {
    text-align: center;
    font-size: 18px;
    font-weight: 350;
    line-height: 32px; /* 176.471% */
    margin-top: 45px;
}

/* 인트로 캘린더 */

.calendar_title {
    font-weight: 400;
    font-size: 21px;
    margin: 70px 0 0px ;
    font-style: italic;
    text-align: center;
    color: #b9b9b9 !important ; 
}

.inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* =========================
   INTRO: CARD NAV SLIDER LAYOUT
   - 카드 폭/간격/peek 변수
   - 뷰포트/트랙 기본 레이아웃
========================= */
.cardnav-slider {
    --cardnav-w: 275px;
    --cardnav-gap: 16px;
    /* 4번째 카드가 뷰포트에 걸치는 폭(절반 이상 보이게 ≈ 카드폭의 55~60%) */
    --cardnav-peek: 196px;
    max-width: min(100%, calc(3 * var(--cardnav-w) + 2 * var(--cardnav-gap) + var(--cardnav-peek)));
    width: min(100%, calc(3 * var(--cardnav-w) + 2 * var(--cardnav-gap) + var(--cardnav-peek)));
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    position: relative;
    padding: 0;
}

.cardnav-viewport {
    flex: 0 0 auto;
    /* 3장 풀 노출 + 4번째 살짝: 3*w + 2*gap + peek */
    width: 100%;
    overflow: hidden;
}

.cardnavi {
    display: flex;
    gap: var(--cardnav-gap);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cardnavi.no-transition {
    transition: none;
}

/* 카드 아이템 기본 */
.cardnavi .cardnavi_item {
    position: relative;
    flex: 0 0 var(--cardnav-w);
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    width: var(--cardnav-w);
    aspect-ratio: 275/402;
    padding: 10px 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

/* 카드 hover 오버레이: 확대/이동 없이 밝기만 */
.cardnavi .cardnavi_item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.cardnavi .cardnavi_item:hover::after {
    background: rgba(255, 255, 255, 0.08);
}

.cardnavi .cardnavi_item > * {
    position: relative;
    z-index: 2;
}

/* 카드별 배경 이미지 (순서와 무관하게 기념일 키로 매핑) */
.cardnavi .cardnavi_item[data-holiday="parents-day"] {background-image: url('../images/cardnavi_08bg.jpg');}
.cardnavi .cardnavi_item[data-holiday="rose-day"] {background-image: url('../images/cardnavi_14bg.jpg');}
.cardnavi .cardnavi_item[data-holiday="teachers-day"] {background-image: url('../images/cardnavi_15bg.jpg');}
.cardnavi .cardnavi_item[data-holiday="coming-of-age-day"] {background-image: url('../images/cardnavi_18bg.jpg');}
.cardnavi .cardnavi_item[data-holiday="couples-day"] {background-image: url('../images/cardnavi_21bg.jpg');}
/* 카드 텍스트 영역: 제목 + 종료배지 한 줄, 해시태그는 다음 줄 */
.cardnavi .cardnavi_item_text {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 4px;
}

/* 종료 카드 뱃지 — 제목 오른쪽 인라인 */
.cardnavi .cardnavi_badge {
    position: static;
    flex-shrink: 0;
    z-index: 2;
    font-size: 11px;
    line-height: 1;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    letter-spacing: -0.02em;
}


.cardnav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease;
}

.cardnav-arrow::before {
    content: "";
    width: 10px;
    height: 10px;
    display: block;
    border-top: 0.5px solid #121212;
    border-right: 0.5px solid #121212;
}

.cardnav-arrow--prev {
    left: -60px;
}

.cardnav-arrow--prev::before {
    transform: rotate(-135deg);
}

.cardnav-arrow--next {
    right: -60px;
}

.cardnav-arrow--next::before {
    transform: rotate(45deg);
}

.cardnav-arrow.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/* 2단계 라인 인디케이터 */
.cardnav-indicator {
    --indicator-step: 0%;
    width: 80px;
    height: 1px;
    margin: 60px auto;
    position: relative;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.18);
}

.cardnav-indicator::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    border-radius: 999px;
    background: #121212;
    transform: translateX(var(--indicator-step));
    transition: transform 0.35s ease;
}

/* 종료 안내 토스트 */
.cardnav-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 1200;
    background: rgba(35, 35, 35, 0.92);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: none;
}

.cardnav-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%);
}

.cardnavi_item_date{
    font-size: 53px;
    font-weight: 400;
    margin: 0;
}
.cardnavi_item_month{
    font-family: "Bellota Text";
    font-size: 17px;
    margin: 10px 0;
    padding-left: 5px;
}

.cardnavi_item_title {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}

.cardnavi_item_description {
    font-size: 15px;
    font-weight: 300;
    margin: 6px 0 0;
    flex: 0 0 100%;
    width: 100%;
}

#sec-best .best_heading {
    margin: 0;
    font-weight: inherit;
    line-height: normal;
}

.best_title{
    display: block;
    font-size: 42px;
    font-weight: 500;
    margin: 0 auto;
}

.best_title_desc{
    display: block;
    font-size: 20px;
    font-weight: 400;
    margin: 0 auto 50px;
    border-bottom: 1px solid #b3b3b3;
    padding: 8px 0 30px;
}

#sec-best{
    text-align: center;
    margin: 160px auto 250px;
}

/* 고정 헤더에 섹션 시작이 가려지지 않도록 앵커 여백 */
#sec-best{
    scroll-margin-top: 100px;
}
#sec-parents,
#sec-teacher,
#sec-rose,
#sec-comingofage,
#sec-couple,
#sec-service,
#sec-QA { scroll-margin-top: 70px; }

/* BEST 아이템 그리드 (Figma 기준) */
.best_item_group {
    display: grid;
    height: 630px;
    max-width: 1200px;
    max-height: 630px;
    width: 100%;
    margin: 24px auto 0;
    row-gap: 30px;
    column-gap: 10px;
    align-self: stretch;
    aspect-ratio: 40 / 21;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-sizing: border-box;
}


.best_item {
    width: 100%;
  }
  
  .best_item a {
    display: flex;
  }
  
  /* 이미지 */
  .best_item_img {
    width: 52%;
    flex-shrink: 0;
    overflow: hidden;
  }
  
  .best_item_img img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
    transform-origin: center;
  }

  .best_item a:hover .best_item_img img {
    transform: scale(1.02);
  }
  
  /* 텍스트 */
  .best_item_info {
    display: flex;
    padding: 20px ;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    text-align: left;
  }
  
  /* 상품코드 */
  .item_code {
    font-size: 15px;
    color: #888;
  }
  
  /* 상품명 */
  .item_name {
    font-size: 20px;
    font-weight: 600;
  }
  
  /* 뱃지 */
  .item_badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    color: #999;
    line-height: 1;
    margin: 10px 0;
  }

  .item_badge img {
    width: 17px;
    height: 17px;
    display: block;
    flex: 0 0 auto;
  }
  
  /* 가격 영역 */
  .item_price_box {
    display: flex;
    gap: 15px;
  }

  .item_name_box{
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .price_column {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
  }
  
  /* 라벨 */
  .price_label {
    flex-shrink: 0;
    font-size: 13px;
    color: #666;
    height: 20px; 
    display: flex;
    align-items: center;
  }
  
  /* 가격 */
  .price_original {
    font-size: 16px;
    color: #666;
  }
  
  /* 할인 영역 */
  .price_sale {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 20px; 
  }

  
  .discount {
    color: #ff8989;
    font-weight: 700;
    font-size: 20px;
  }
  
  .price_final {
    font-size: 20px;
    font-weight: 700;
  }


/* =========================
   기념일 상세 섹션
========================= */

 /* 배너 */
.sub_banner {
    width: 100%;
    background: var(--banner-bg, #FFF4ED);
    overflow: hidden;
    /* max-height만 두면 와이드에서 이미지 폭이 커질 때 행 높이가 불필요하게 커졌다가 잘리며 텍스트가 아래로 밀려 보일 수 있음 */
    height: 450px;
    max-height: 450px;
}
  
  .banner_inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    height: 100%;
    min-height: 0;
  }
  
  /* 배너 좌측 텍스트 타이틀
     - stretch 높이 안에서 중앙정렬하면 행 높이(이미지/뷰포트)에 따라 위치가 크게 흔들림
     - 본문 높이만 갖는 박스를 행의 세로 중앙에 두고, 살짝 위는 clamp로 고정 범위 */
  .banner_text {
    flex: 0.8;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    transform: translateY(calc(-1 * clamp(6px, 1vmin, 12px)));
  }
  
  .banner_text_title {
    margin: 0;
    font-size: 90px;
    font-style: italic;
    font-weight: 600;
    letter-spacing: -1.2px;
    line-height: 83px;
    display: block;
}
  
  .banner_text_desc {
    color: var(--banner-text-color, #555);
    font-size: 24px;
    font-weight: 500;
    margin-top: 13px;
    display: block;
  }

  /* 섹션별 배너 배경 색상(여기 값만 바꾸면 됨) */
  #sec-parents .sub_banner {
    --banner-bg: #fff9f6;
  }

  #sec-teacher .sub_banner {
    --banner-bg: #FFF8E8;
  }

  #sec-rose .sub_banner {
    --banner-bg: #fff8f3;
  }

  #sec-comingofage .sub_banner {
    --banner-bg: #FAFAFA;
  }

  #sec-couple .sub_banner {
    --banner-bg: #fbfbfc;
  }
  
  /* 배너 우측 이미지 */
  .banner_img {
    flex: 1.2;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    margin-right: calc(50% - 50vw); /* 우측 끝까지 붙이기 */
  }
  
  .banner_img img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: left center; /* 왼쪽이 먼저 잘리도록 기준 변경 */
    display: block;
  }


  /* 쿠폰배너 */
.coupon_banner_wrap{
    width: 100%;
    background-color:#FFF3F3;
}

.coupon_banner{
    display: flex;
    max-width: 1200px;
    justify-content:space-between;
    align-items: center;
    margin: 15px auto;
    padding: 10px 0px;
}
  
.coupon_banner_title{
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}
.coupon_banner_desc{
    font-size: 16px;
    font-weight: 400;
    margin-top: 10px;
}


 /* 기념일_인트로 */
 .content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 40px 200px 40px;
    box-sizing: border-box;
 }

.content_title{
    color: #121212;
    font-size: 35px;
    font-weight: 500;
    letter-spacing: -1px;

}

.content_desc  p{
    font-size: 18px;
    font-style: normal;
    font-weight: 450;
    line-height: 40px;
    margin-top: 50px;
    letter-spacing: -0.2px;
}

.content_story{
    margin: 60px 0 50px 0;
    border-top: 1px solid #afafaf;
    padding: 20px 0;
}

.content_story_title{
    color: #474747;
    font-family: "Bellota Text";
    font-size: 19px;
    font-weight: 700;
}

.content_story_desc{
    padding: 12px 0;
    color: #474747;
    font-size: 16px;
    font-weight: 400;
    line-height: 29px;
}



 /* 기념일_상품리스트 */

.content_item_group {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

.content_item_m a{
    display: flex;
}

.content_item_m_img {
    width: 45%;
    flex-shrink: 0;
    overflow: hidden;
} 
.content_item_m_img img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.content_item_m a:hover .content_item_m_img img {
    transform: scale(1.02);
}

  
.content_item_m_info {
    width: 55%;
    display: flex;
    padding: 20px ;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    text-align: left;
    padding: 10px 65px;
}

.content_item_m_text{
    display: flex;
    flex-direction: column;
    gap: 47px;
}

.content_item_m_badge{
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.content_item_m_badge_b{
    padding: 5px 13px;
    background: #373737;
    color: #fff;
    font-size: 15px;
}

.content_item_m_badge_p{
    padding: 5px 13px;
    background: #ff8989;
    color: #fff;
    font-size: 15px;
}

.plus_btn{
    width: 40px;
    height: 40px;
    padding: 10px 15px;
    align-items: center;
    border: 1px solid #A8A8A8;
}

.plus_btn:hover{
    border: 1px solid #8a8a8a;
}


.item_m_name{
    font-size: 21px;
    font-weight: 600;
}

.item_m_code{
    color: #A8A8A8;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.9px;
    margin-bottom: 10px;
}

.content_item_grid {
    display: grid;
    width: 100%;
    row-gap: 40px;
    column-gap: 15px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
}

.content_item_s {
    min-width: 0;
}

.content_item_s a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.content_item_s_img {
    width: 100%;
    overflow: hidden;
}

.content_item_s_img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.content_item_s a:hover .content_item_s_img img {
    transform: scale(1.02);
}

.content_item_s_info {
    padding: 23px 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item_name_s_box{
    display: flex;
    justify-content: space-between;
    align-items:flex-start
}

.content_item_s_badge_p{
    padding: 5px 13px;
    background: #ff8989;
    color: #fff;
    font-size: 14px;
    border-radius: 100px;
    text-align: center;
}

.event_banner{
    background-image: url('../images/eventbanner.png');
    background-size: cover;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    margin: 40px 0;
}

.event_banner_title{
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 7px;
}
 .event_banner_desc{
    font-size: 14px;
    font-weight: 400;
 }

.more_btn{
    display: block;
    width: 160px;
    margin: auto;
    text-align: center;
    background: 0;
    border-radius: 7px;
    border: 1px solid #A8A8A8;
    padding: 11px 0;
    font-size: 16px;
}

.more_btn:hover{
    border: 1px solid #8a8a8a;
}



/* 어버이날 공지 (상품 그리드·더보기 하단) */
.parents_notice{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 65px 50px 0px;
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #ececec;
    align-self: stretch;
}

.parents_notice_list{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    margin-top: 50px;
    align-items: stretch;
}

.notice_item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 60px 27px;
    min-height: 260px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.2s ease;
}

.notice_item:hover{
    border-color: #bfbfbf;
}

.notice_icon{
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.notice_title{
    margin: 0;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.35;
}

.notice_01{
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.notice_02{
    display: block;
    text-align: center;
    font-size: 19px;
    font-weight: 500;
    margin-top: 10px;
}

.notice_03{
    color: #3D3D3D;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
}

@media (max-width: 767px) {
    .parents_notice {
        padding: 32px 20px 48px;
        margin-bottom: 80px;
    }

    .parents_notice_list {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 24px;
    }

    .notice_item {
        min-height: auto;
        padding: 24px 18px;
        border-radius: 12px;
    }
}


/* 서비스안내 */

#sec-service {
    padding: 0;
}

#sec-service .service_inner {

    margin: 0 auto;
    background: #FCFCFC;
}

#sec-service .service_top {
    background: #F9F9F9;
    width: 100%;
    display: grid;
    /* 이미지(배너) 조금 좁게, 인트로 텍스트 영역 넓게 — 와이드에서 가독성↑ */
    grid-template-columns: 1fr 1fr;
    min-height: 430px;
    box-sizing: border-box;
}

#sec-service .service_visual {
    position: relative;
    overflow: hidden;
}

#sec-service .service_visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#sec-service .service_visual_text {
    position: absolute;
    top: 60px;
    right: 70px;
    text-align: right;
    color: #fff;
    z-index: 2;
    margin: 0;
    font-weight: inherit;
    line-height: normal;
}

#sec-service .service_en_sub {
    display: block;
    font-family: 'Cormorant Infant', serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 6px;
}

#sec-service .service_en_title {
    display: block;
    font-family: 'Cormorant Infant', serif;
    font-size: 73px;
    font-style: italic;
    font-weight: 500;
    line-height: 0.9;
    margin: 0;
}

#sec-service .service_intro {
    padding: 60px 80px 70px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#sec-service .service_intro_text {
    font-size: 17px;
    line-height: 1.9;
    letter-spacing: -0.02em;
    margin: 0 0 26px;
    word-break: keep-all;
}

#sec-service .service_intro_text:last-of-type {
    margin-bottom: 0;
}

#sec-service .service_call {
    margin-top: 40px;
}

#sec-service .service_call_label {
    font-size: 17px;
    margin: 30px 0 5px 0;
}

#sec-service .service_call_num {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    line-height: 1;
    margin: 0;
}

#sec-service .service_bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 56px 40px 62px;
    max-width: 1200px;
    margin: auto;
}

#sec-service .service_item {
    text-align: left;
}

#sec-service .service_num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    line-height: 1;
    margin-bottom: 22px;
}

#sec-service .service_title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

#sec-service .service_desc {
    font-size: 15.5px;
    line-height: 1.8;
    color: #333333;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

/* 배송안내 하단: 아래 FAQ 안내 */
#sec-service .service_faq_hint {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 10px;
    text-align: center;
}

#sec-service .service_faq_hint_link {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 36em;
    color: #3a3a3a;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}


#sec-service .service_faq_hint_text {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.5;
}

#sec-service .service_faq_hint_text em {
    font-style: normal;
    font-weight: 600;
}

#sec-service .service_faq_hint_sub {
    font-size: 13px;
    font-weight: 400;
    color: #777;
    letter-spacing: -0.02em;
}

#sec-service .service_faq_hint_link::after {
    content: "↓";
    flex: 0 0 auto;
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    color: #888;
    transition: transform 0.2s ease, color 0.2s ease;
}

#sec-service .service_faq_hint_link:hover::after {
    color: #444;
    transform: translateY(3px);
}

/* 자주 묻는 질문 */
#sec-QA {
    padding: 100px 0 180px;
}

#sec-QA .qa_inner {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 10px;
}

#sec-QA .qa_title {
    font-family: 'Noto Serif KR', serif;
    font-size: 35px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.03em;
    color: #222;
    margin: 0 0 52px ;
}

#sec-QA .qa_list {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

#sec-QA .qa_item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

#sec-QA .qa_question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 29px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: #222;
    transition: opacity 0.2s ease;
}

#sec-QA .qa_question:hover {
    opacity: 0.72;
}

#sec-QA .qa_item.active .qa_question,
#sec-QA .qa_item.active .qa_question:hover {
    opacity: 1;
}

#sec-QA .qa_question .qa_question_title {
    font-size: 17.5px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.025em;
    word-break: keep-all;
    margin: 0;
}

#sec-QA .qa_icon {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background: url('../images/qa_icon_plus.svg') center / contain no-repeat;
}

/* 열린 상태: - 아이콘으로 교체 */
#sec-QA .qa_item.active .qa_icon {
    background: url('../images/qa_icon_minus.svg') center / contain no-repeat;
}

#sec-QA .qa_answer {
    display: none;
    padding: 0 56px 34px 0;
}

#sec-QA .qa_item.active .qa_answer {
    display: block;
}

#sec-QA .qa_answer p {
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: -0.02em;
    color: #4e4e4e;
    word-break: keep-all;
}

/* footer */
#footer {
    background: #f9f9f9;
    padding: 68px 0 42px;
    color: #2b2b2b;
}

#footer .footer_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 320px 1fr;
    grid-template-areas:
        "left right"
        "left info";
    column-gap: 56px;
    row-gap: 34px;
}

#footer .footer_left {
    grid-area: left;
}

#footer .footer_cs_label {
    font-size: 14px;
    line-height: 1.4;
    color: #444;
    margin-bottom: 3px;
    letter-spacing: -0.02em;
}

#footer .footer_cs_num {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    line-height: 1;
    font-weight: 500;
    color: #222;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

#footer .footer_time p {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    letter-spacing: -0.01em;
}

#footer .footer_btn_wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    width: fit-content;
}

#footer .footer_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: transparent;
    font-size: 12px;
    line-height: 1;
    color: #333;
    letter-spacing: -0.02em;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#footer .footer_btn:hover {
    background: #fcfcfc;
    border-color: rgba(0, 0, 0, 0.3);
    color: #111;
}

#footer .footer_right {
    grid-area: right;
    display: flex;
    justify-content: flex-end;
    gap: 72px;
    padding-top: 2px;
    text-align: right;
}

#footer .footer_menu_title {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    color: #222;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

#footer .footer_menu_group ul li + li {
    margin-top: 8px;
}

#footer .footer_menu_group a {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

#footer .footer_info {
    grid-area: info;
    align-self: end;
    padding-top: 6px;
    /* 메뉴 열(.footer_right)과 같은 2열 — 오른쪽 끝을 한 줄로 맞춤 */
    text-align: right;
}

#footer .footer_info p {
    font-size: 13px;
    line-height: 1.9;
    color: #666;
    letter-spacing: -0.01em;
    word-break: keep-all;
}

#footer .footer_info p strong {
    font-weight: 600;
}

/* ---------- 반응형: 1280px 이하 ---------- */
@media (max-width: 1280px) {

    .header-util-inner {
        width: calc(100% - 70px);
    }

    .header_inner {
        width: calc(100% - 70px);
    }

    .cardnav-slider {
        --cardnav-w: 250px;
        --cardnav-gap: 14px;
        --cardnav-peek: 156px;
    }

    .best_item_group {
        height: 560px;
        max-height: 560px;
        padding: 0 40px;
        row-gap: 0;
        column-gap: 10px;
        max-width: 1100px;
    }

    .best_item_info {
        padding: 18px 28px 18px 20px;
    }

    .item_name {
        font-size: 19px;
    }

    .price_original {
        font-size: 15px;
    }

    .discount,
    .price_final {
        font-size: 19px;
    }

    .coupon_banner {
        padding: 10px 80px;
    }

    .content {
        padding: 100px 100px;
    }

    .banner_text {
        flex: 1;
        padding: 0 40px 0 90px;
    }

    .banner_img {
        flex: 1;
        overflow: hidden;
        margin-right: calc(50% - 50vw);
    }

    .more_btn {
        width: 145px;
        font-size: 15px;
    }

    .banner_text_title {
        font-size: 83px;
    }

    .banner_text_desc {
        font-size: 21px;
    }

    #sec-service .service_top {
        grid-template-columns: 1fr;
    }

    #sec-service .service_visual {
        height: 420px;
    }

    #sec-service .service_intro {
        padding-left: 110PX;
    }

    #sec-service .service_bottom {
        padding: 56px 80px 62px;
        justify-content: space-between;
    }

    #sec-QA {
        padding: 110px 0;
    }

    #sec-QA .qa_inner {
        padding: 0 60px;
    }

    #sec-QA .qa_title {
        font-size: 36px;
        margin-bottom: 42px;
    }

    #sec-QA .qa_question {
        padding: 26px 0 24px;
    }

    #sec-QA .qa_question .qa_question_title {
        font-size: 19px;
    }

    #sec-QA .qa_answer {
        padding: 0 40px 28px 0;
    }

    #sec-QA .qa_answer p {
        font-size: 14px;
        line-height: 1.9;
    }

    #footer {
        padding: 60px 0 38px;
    }

    #footer .footer_inner {
        padding: 0 32px;
        grid-template-columns: 280px 1fr;
        column-gap: 40px;
    }

    #footer .footer_right {
        gap: 52px;
    }

    #footer .footer_cs_num {
        font-size: 40px;
    }
}


/* ---------- 반응형: 767px 이하 ---------- */
@media (max-width: 767px) {
    :root {
        /* 모바일: GNB 줄바꿈 등 — 과대하면 배너 아래 흰 줄이 보일 수 있음 */
        --stack-above-mainbanner: 268px;
    }

    #mainbanner {
        min-height: calc(100svh - var(--stack-above-mainbanner));
        min-height: calc(100dvh - var(--stack-above-mainbanner));
    }

    .header-util-inner {
        width: calc(100% - 32px);
        padding: 8px 0 10px;
    }

    .header-util-nav a {
        font-size: 12px;
    }

    .header-util-nav li:not(:last-child)::after {
        margin: 0 10px;
        height: 10px;
    }

    .header_inner {
        height: auto;
        flex-wrap: wrap;
        row-gap: 12px;
        padding: 12px 0;
    }

    .logo {
        margin-right: 16px;
    }

    .gnb {
        flex: 1 1 100%;
        order: 3;
    }

    .gnb ul {
        flex-wrap: wrap;
        gap: 16px 24px;
    }

    .header_icons {
        margin-left: auto;
    }

    .cardnav-slider {
        --cardnav-gap: 14px;
        max-width: none;
        gap: 0;
    }

    .cardnav-arrow {
        display: none;
    }

    .cardnav-indicator {
        display: none;
    }

    .cardnav-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cardnav-viewport::-webkit-scrollbar {
        display: none;
    }

    .cardnavi {
        transition: none !important;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
    }

    .cardnavi .cardnavi_item {
        flex-basis: 78vw;
        max-width: 290px;
        width: min(78vw, 290px);
        scroll-snap-align: start;
    }

    .best_item_group {
        height: auto;
        max-height: none;
        aspect-ratio: auto;
        padding: 0 16px;
        row-gap: 12px;
        column-gap: 12px;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .content_item_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    #sec-service .service_visual {
        height: 340px;
    }

    #sec-service .service_visual_text {
        top: 28px;
        right: 24px;
    }

    #sec-service .service_en_sub {
        font-size: 24px;
    }

    #sec-service .service_en_title {
        font-size: 52px;
    }

    #sec-service .service_intro {
        padding: 28px 24px;
    }

    #sec-service .service_intro_text {
        font-size: 15px;
    }

    #sec-service .service_call_num {
        font-size: 34px;
    }

    #sec-service .service_bottom {
        padding: 40px 24px 46px;
    }

    #sec-service .service_num {
        font-size: 32px;
        margin-bottom: 16px;
    }

    #sec-QA {
        padding: 72px 0;
    }

    #sec-QA .qa_inner {
        padding: 0 20px;
    }

    #sec-QA .qa_title {
        font-size: 28px;
        margin-bottom: 28px;
    }

    #sec-QA .qa_question {
        padding: 20px 0 18px;
        gap: 16px;
    }

    #sec-QA .qa_question .qa_question_title {
        font-size: 16px;
        line-height: 1.55;
    }

    #sec-QA .qa_icon {
        flex: 0 0 15px;
        width: 15px;
        height: 15px;
    }

    #sec-QA .qa_answer {
        padding: 0 8px 20px 0;
    }

    #sec-QA .qa_answer p {
        font-size: 13px;
        line-height: 1.85;
    }

    #footer {
        padding: 52px 0 32px;
    }

    #footer .footer_inner {
        padding: 0 20px;
        display: block;
    }

    #footer .footer_left {
        margin-bottom: 40px;
    }

    #footer .footer_cs_num {
        font-size: 36px;
        margin-bottom: 18px;
    }

    #footer .footer_time p {
        font-size: 12px;
        line-height: 1.8;
    }

    #footer .footer_btn_wrap {
        margin-top: 22px;
        gap: 8px;
    }

    #footer .footer_btn {
        min-width: 88px;
        height: 32px;
        font-size: 11px;
    }

    #footer .footer_right {
        justify-content: flex-start;
        gap: 36px;
        margin-bottom: 32px;
        flex-wrap: wrap;
    }

    #footer .footer_menu_title {
        margin-bottom: 10px;
    }

    #footer .footer_menu_group a {
        font-size: 11px;
    }

    #footer .footer_info {
        text-align: left;
    }

    #footer .footer_info p {
        font-size: 10px;
        line-height: 1.8;
    }
}