/* 규리밀 메인 시안 v01 — 장신몰 메인 구성(상단 안내·헤더/메뉴·대표 배너·바로가기·패널형 상품 진열)을 규리밀 상세 v16 디자인으로 재구성 */
:root{--panel:#fbf7f1;--panel-line:#ece3d6}
body.main-page{background:#f6f2ec}
.main-page .store-head>p{font-size:15px}
.main-nav{display:flex;gap:36px;height:58px;align-items:center;font-size:16px;border-bottom:1px solid var(--ink);overflow-x:auto;scrollbar-width:none}
.main-nav::-webkit-scrollbar{display:none}
.main-nav a{white-space:nowrap;flex:none}
.main-nav a:hover{color:var(--red)}
.main-nav .nav-all{font-weight:800;color:var(--red);display:flex;align-items:center;gap:8px}
.main-nav .nav-all svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.site-header{background:#fff}

/* 대표 배너 */
.hero{position:relative;background:var(--cream);overflow:hidden}
.hero-track{display:grid}
.hero-slide{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility .5s}
.hero-slide.is-active{opacity:1;visibility:visible}
.hero-brand{position:relative;aspect-ratio:2.4/1;min-height:440px;max-height:720px;display:flex;align-items:center}
.hero-product{max-height:720px}
.hero-brand>picture,.hero-brand>picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center}
.hero-copy{position:relative;z-index:1;width:min(1200px,calc(100% - 64px));margin-inline:auto}
.hero-copy-inner{max-width:440px;text-align:center}
.hero-badge{width:96px;height:96px;margin:0 auto 18px}
.hero-kicker{font-size:19px;font-weight:800;color:var(--muted);letter-spacing:-.04em}
.hero-title{font-size:64px;line-height:1.12;letter-spacing:-.07em;margin:10px 0 18px}
.hero-title span{color:var(--red);display:block}
.hero-sub{font-size:19px;line-height:1.7;letter-spacing:-.04em;color:#3d3833}
.hero-cta{display:inline-flex;align-items:center;justify-content:center;margin-top:28px;min-height:54px;padding:0 34px;background:var(--red);color:#fff;font-size:17px;font-weight:800;border-radius:999px}
.hero-cta:hover{background:#962220}
.hero-product{min-height:520px;display:grid;grid-template-columns:1fr 1fr;align-items:center;width:min(1200px,calc(100% - 64px));margin-inline:auto;gap:56px}
.hero-product .hero-copy-inner{margin:0 auto}
.hero-product img{width:100%;max-width:470px;aspect-ratio:1;object-fit:cover;justify-self:center;box-shadow:0 14px 40px #4a33201f}
.hero-tag{display:inline-block;background:var(--red);color:#fff;font-size:14px;font-weight:800;padding:5px 14px;border-radius:999px;margin-bottom:16px}
.hero-price{margin-top:18px;font-size:16px;color:var(--muted)}
.hero-price del{margin-right:8px}
.hero-price b{color:var(--red);font-size:22px;margin-right:6px}
.hero-price strong{color:var(--ink);font-size:26px}
.hero-controls{position:absolute;z-index:3;left:50%;bottom:20px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;background:#ffffffd9;border-radius:999px;padding:6px 12px;box-shadow:0 2px 10px #0000001a}
.hero-controls button{border:0;background:none;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;font-size:15px;font-weight:800;color:var(--ink)}
.hero-controls button:hover{background:#f1ebe3}
.hero-dots{display:flex;gap:7px}
.hero-dots button{width:9px;height:9px;padding:0;border-radius:50%;background:#cfc5b9}
.hero-dots button[aria-current=true]{background:var(--red);width:22px;border-radius:999px}
.hero-count{font-size:13px;color:var(--muted);min-width:34px;text-align:center}

/* 바로가기 */
.shortcut{padding:44px 0 8px}
.section-title{font-size:26px;line-height:1.35;letter-spacing:-.05em;display:flex;align-items:center;gap:10px}
.section-title .dot{width:10px;height:10px;border-radius:50%;background:var(--red);flex:none}
.shortcut-list{list-style:none;padding:0;margin:22px 0 0;display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.shortcut-list a{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;font-size:15px;font-weight:800;letter-spacing:-.04em}
.shortcut-list .thumb{width:96px;height:96px;border-radius:50%;overflow:hidden;background:#fff;border:1px solid var(--panel-line);display:grid;place-items:center;transition:transform .2s ease,box-shadow .2s ease}
.shortcut-list a:hover .thumb{transform:translateY(-3px);box-shadow:0 8px 18px #4a332022}
.shortcut-list .thumb img{width:100%;height:100%;object-fit:cover}
.shortcut-list .thumb.icon img{width:54px;height:54px;object-fit:contain}

/* 패널 */
.panel{background:#fff;border-radius:24px;padding:40px 40px 44px;margin-top:36px;box-shadow:0 1px 0 var(--panel-line)}
.panel-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}
.panel-head p{font-size:15px;color:var(--muted);margin-top:6px}
.panel-more{font-size:14px;border:1px solid var(--line);border-radius:999px;padding:8px 16px;white-space:nowrap}
.panel-more:hover{border-color:var(--red);color:var(--red)}

/* 상품 카드 */
.product-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,1fr);gap:28px 22px}
.product-card{display:flex;flex-direction:column;height:100%}
.product-card .card-image{position:relative;display:block;aspect-ratio:1;overflow:hidden;border-radius:14px;background:#f2f0ed}
.product-card .card-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.product-card:hover .card-image img{transform:scale(1.04)}
.card-cart{position:absolute;right:10px;bottom:10px;width:40px;height:40px;border-radius:50%;background:#ffffffe8;display:grid;place-items:center;box-shadow:0 2px 8px #0000002a}
.card-cart svg{width:21px;height:21px;fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.card-tags{display:flex;gap:6px;margin:14px 0 8px}
.card-tags span{font-size:12px;font-weight:800;padding:3px 9px;border-radius:999px;background:#f4ece2;color:#7c2926}
.card-tags span.sauce-soy{background:#efe7dc;color:#5b4632}
.card-name{font-size:18px;line-height:1.45;letter-spacing:-.05em;font-weight:800}
.card-name a:hover{color:var(--red)}
.card-desc{font-size:14px;color:var(--muted);margin-top:4px;line-height:1.6}
.card-price{margin-top:auto;padding-top:12px}
.card-price del{display:block;font-size:13px;color:#9b938a}
.card-price .price-line{display:flex;align-items:baseline;gap:8px}
.card-price b{color:var(--red);font-size:20px;letter-spacing:-.03em}
.card-price strong{font-size:22px;letter-spacing:-.04em}
.card-price strong small{font-size:15px;margin-left:2px}
.card-chip{display:inline-block;margin-top:10px;background:var(--red);color:#fff;font-size:12px;font-weight:800;padding:4px 11px;border-radius:999px}
.price-note{font-size:13px;color:var(--muted);margin-top:22px;text-align:right}

/* 고르기 가이드 */
.choose-grid{display:grid;grid-template-columns:120px 1fr 1fr;gap:12px}
.choose-grid .axis{display:grid;place-items:center;text-align:center;font-weight:800;font-size:16px;border-radius:14px;background:var(--cream);padding:12px}
.choose-grid .axis small{display:block;font-weight:400;font-size:13px;color:var(--muted);margin-top:4px}
.choose-grid .corner{background:none}
.choose-cell{display:grid;grid-template-columns:96px 1fr;gap:16px;align-items:center;border:1px solid var(--panel-line);border-radius:14px;padding:14px;transition:border-color .2s ease}
.choose-cell:hover{border-color:var(--red)}
.choose-cell img{width:96px;height:96px;border-radius:10px;object-fit:cover}
.choose-cell h3{font-size:18px;line-height:1.4;letter-spacing:-.05em}
.choose-cell p{font-size:14px;color:var(--muted);line-height:1.6;margin-top:4px}
.choose-cell span{display:inline-block;margin-top:6px;font-size:13px;color:var(--red);font-weight:800}

/* 브랜드 */
.brand-panel{background:#242220;color:#fff;border-radius:24px;margin-top:36px;display:grid;grid-template-columns:1fr 1fr;overflow:hidden}
.brand-panel .brand-text{padding:64px 56px;display:flex;flex-direction:column;justify-content:center;text-align:center}
.brand-panel .brand-seal{width:120px;height:120px;margin:0 auto 22px}
.brand-panel .chapter-label{color:#e6b8a4;margin-bottom:14px}
.brand-panel h2{font-size:40px;line-height:1.3;letter-spacing:-.06em}
.brand-panel h2 span{color:#ff8a7f}
.brand-panel p.body{font-size:17px;line-height:1.85;color:#e3ded7;margin-top:20px}
.brand-panel .brand-photo{position:relative;min-height:420px}
.brand-panel .brand-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 20%}
.brand-panel .brand-photo p{position:absolute;left:0;right:0;bottom:0;padding:14px 18px;background:linear-gradient(transparent,#242220e6 40%);font-size:18px;font-weight:800;text-align:center}

/* 즐기는 방법 */
.serve-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.serve-grid li{text-align:left}
.serve-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px}
.serve-grid span{display:block;color:var(--red);font-weight:800;font-size:15px;margin-top:14px}
.serve-grid h3{font-size:18px;line-height:1.45;letter-spacing:-.05em;margin-top:4px}
.serve-grid p{font-size:14px;color:var(--muted);line-height:1.6;margin-top:6px}
.serve-note{font-size:13px;color:var(--muted);margin-top:22px}

/* 배송·보관 */
.guide-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:36px;align-items:center}
.guide-grid>img{width:100%;border-radius:16px;aspect-ratio:3/2;object-fit:cover}
.guide-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.guide-list li{display:grid;grid-template-columns:64px 1fr;gap:16px;align-items:center;background:var(--cream);border-radius:14px;padding:16px 18px}
.guide-list img{width:52px;height:52px}
.guide-list h3{font-size:17px;line-height:1.4}
.guide-list p{font-size:14px;color:#514b44;line-height:1.65;margin-top:2px}
.guide-note{font-size:13px;color:var(--muted);margin-top:12px;text-align:center}

.main-end{height:56px}
.main-page .faq-item,.main-page .faq-item h3,.main-page .faq-item p{text-align:left}
.main-page .faq-item:first-of-type{border-top:0;padding-top:0}
.notice-dialog .dialog-copy{margin:8px 0 20px}

@media(max-width:1023px){
  .hero-product{min-height:440px}
  .hero-title{font-size:50px}
  .hero-copy-inner{max-width:360px}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .shortcut-list{grid-template-columns:repeat(3,1fr);row-gap:22px}
  .serve-grid{grid-template-columns:repeat(2,1fr)}
  .brand-panel{grid-template-columns:1fr}
  .brand-panel .brand-photo{min-height:460px}
  .guide-grid{grid-template-columns:1fr}
  .choose-grid{grid-template-columns:90px 1fr 1fr}
  .choose-cell{grid-template-columns:72px 1fr}.choose-cell img{width:72px;height:72px}
}
@media(max-width:767px){
  .wrap{width:calc(100% - 32px)}
  .main-nav{gap:22px;height:50px;font-size:15px}
  .hero-brand{min-height:0;aspect-ratio:auto;display:block}
  .hero-brand>picture{position:relative;display:block}
  .hero-brand>picture img{position:relative;height:auto;aspect-ratio:4/5}
  .hero-brand .hero-copy{position:absolute;top:0;left:0;right:0;padding-top:26px;width:100%}
  .hero-copy-inner{max-width:none;padding:0 16px}
  .hero-brand .hero-badge{display:none}
  .hero-kicker{font-size:15px}
  .hero-title{font-size:36px;margin:4px 0 8px}
  .hero-title span{display:inline}
  .hero-sub{font-size:15px}
  .hero-brand .hero-cta{display:none}
  .hero-product{grid-template-columns:1fr;gap:0;padding:0;min-height:0;width:100%}
  .hero-product img{order:-1;max-width:none;width:100%;box-shadow:none}
  .hero-product .hero-copy-inner{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 12px;text-align:left;padding:14px 16px 60px}
  .hero-product .hero-tag,.hero-product .hero-kicker,.hero-product .hero-sub{display:none}
  .hero-product .hero-title{font-size:24px;margin:0;grid-column:1}
  .hero-product .hero-price{margin:0;grid-column:1;font-size:13px}
  .hero-product .hero-price b{font-size:17px}.hero-product .hero-price strong{font-size:19px}
  .hero-product .hero-cta{grid-column:2;grid-row:1/3;margin:0;min-height:44px;padding:0 18px;font-size:14px}
  .hero-cta{min-height:46px;padding:0 26px;font-size:15px;margin-top:16px}
  .hero-controls{bottom:14px;padding:4px 10px}
  .shortcut{padding-top:32px}
  .section-title{font-size:21px}
  .shortcut-list{grid-template-columns:repeat(3,1fr);gap:18px 8px}
  .shortcut-list .thumb{width:76px;height:76px}
  .shortcut-list a{font-size:13px}
  .panel{padding:26px 16px 30px;border-radius:18px;margin-top:24px}
  .panel-head{margin-bottom:20px}
  .panel-head p{font-size:13px}
  .product-grid{gap:24px 12px}
  .card-name{font-size:15px}
  .card-desc{font-size:12px}
  .card-price b{font-size:16px}.card-price strong{font-size:18px}
  .card-cart{width:34px;height:34px;right:8px;bottom:8px}.card-cart svg{width:18px;height:18px}
  .price-note{text-align:left;font-size:12px}
  .choose-grid{grid-template-columns:1fr 1fr;gap:10px}
  .choose-grid .axis.col,.choose-grid .corner{display:none}
  .choose-grid .axis.row{grid-column:1/-1;padding:8px;font-size:15px}
  .choose-grid .axis.row small{display:inline;margin-left:6px}
  .choose-grid{align-items:stretch}
  .choose-cell{grid-template-columns:1fr;text-align:center;padding:12px;align-content:start;align-items:start}
  .choose-cell img{width:100%;height:auto;aspect-ratio:1}
  .choose-cell h3{font-size:15px}
  .choose-cell p{font-size:12px}
  .brand-panel{border-radius:18px;margin-top:24px}
  .brand-panel .brand-text{padding:40px 22px}
  .brand-panel h2{font-size:30px}
  .brand-panel p.body{font-size:15px}
  .brand-panel .brand-photo{min-height:380px}
  .serve-grid{gap:16px 12px}
  .serve-grid h3{font-size:15px}.serve-grid p{font-size:12px}
  .guide-list li{grid-template-columns:48px 1fr;padding:14px}
  .guide-list img{width:42px;height:42px}
}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}.product-card .card-image img,.shortcut-list .thumb{transition:none}}
