/* 자동 생성: node scripts/build-monotone-css.js — 직접 고치지 않는다. 원본: ../storefront.css */
/* CURETICS storefront · 2026.09
   공통 화면 스타일. 상세 iframe은 자체 디자인을 유지한다. */
:root {
  --ink:#1b1b1b; --text:#454545; --muted:#757575; --white:#fff;
  --page-bg:#fff; --bg:#f7f7f7; --bg-gray:#f3f3f3; --bg-soft:#f7f7f7;
  --line:#e8e8e8; --line-soft:#eeeeee;
  --forest:#353535; --forest-soft:#f3f3f3; --accent:#d32e37;
  --red:#d32e37; --red-bright:#d32e37; --red-dark:#bf2b38; --red-tint:#f3f3f3;
  --black:#1b1b1b; --brown:#353535; --brown-dark:#303030; --brown-mid:#454545;
  --green-900:#303030; --green-800:#353535; --green-700:#454545;
  --green-600:#666666; --green-500:#666666; --green-100:#e8e8e8; --green-50:#f3f3f3;
  --cream:#eeeeee; --cream-soft:#f7f7f7; --cream-deep:#e8e8e8; --ivory:#f7f7f7;
  --gold:#919191; --gold-dark:#757575; --gold-light:#e8e8e8; --blue:#666666;
  --radius:18px; --radius-sm:10px; --container:1280px;
  --shadow:0 5px 22px #30303008; --shadow-lg:0 18px 48px #30303012;
}
html{font-size:16px;scroll-padding-top:136px}body{font-size:18px;line-height:1.75;color:var(--ink);word-break:keep-all;overflow-wrap:anywhere;background:#fff}
a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}button,input,select,textarea{font-family:var(--font-sans)}
button,a,input,select,textarea{touch-action:manipulation}img{max-width:100%}a{color:inherit}button:disabled{cursor:not-allowed}
:focus-visible{outline:3px solid #000000;outline-offset:4px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px}
.container{max-width:var(--container);padding-inline:32px}.section{padding:88px 0}.section-tight{padding:54px 0}
.section-head{margin-bottom:32px}.section-title{font-family:var(--font-sans);font-size:clamp(30px,3.15vw,42px);font-weight:750;letter-spacing:-.045em;line-height:1.35;color:var(--ink)}
.section-sub{font-size:18px;line-height:1.8;color:var(--muted)}.eyebrow{font-size:14px;font-weight:700;letter-spacing:.14em;color:var(--forest);text-transform:uppercase;margin-bottom:10px}
.btn{min-height:48px;padding:13px 22px;border-radius:8px;font-size:17px;font-weight:650;line-height:1.4;letter-spacing:-.02em;box-shadow:none;transition:background .18s,color .18s,border-color .18s;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn:hover{transform:none;box-shadow:none}.btn-primary{background:var(--forest);border-color:var(--forest);color:#fff}.btn-primary:hover{background:#303030;border-color:#303030;color:#fff}
.btn-outline{border:1px solid #b9b9b9;color:var(--forest);background:transparent}.btn-outline:hover{background:var(--forest-soft);border-color:var(--forest);color:var(--forest)}.btn-lg{min-height:56px;font-size:18px;padding:16px 28px}.btn-sm{min-height:42px;font-size:16px;padding:9px 17px}
.badge{border-radius:4px;font-size:12px;font-weight:700;letter-spacing:.06em;padding:5px 8px}.badge-best,.badge-new{background:var(--forest);color:#fff}.price{font-family:var(--font-sans);font-weight:750;color:var(--ink);letter-spacing:-.03em}.discount-rate{color:var(--red);font-weight:800}.price-original{font-size:15px;color:#919191}
/* 선명한 안내 한 줄 + 로고 + 간결한 탐색 */
#site-header{position:sticky;top:-39px;z-index:100}.topbar{background:var(--forest);font-size:14px;letter-spacing:0;line-height:1.5}.topbar-inner{min-height:39px;padding:9px 20px}.topbar a{gap:10px}.topbar .tb-dot{width:18px;height:18px;background:#ffffff1f;font-size:11px}.topbar strong{font-weight:650}
.site-header{position:relative;top:auto;background:#fffffffa;border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}.header-top{border-bottom:0}.header-top-inner{height:78px;padding-top:0;padding-bottom:0;gap:24px}.logo{display:flex;flex-direction:row;gap:17px;align-items:center}.logo-en{font-size:33px;font-weight:850;letter-spacing:-.055em;line-height:1;color:var(--forest)}.logo-caption{font-size:11px;line-height:1.3;letter-spacing:.18em;color:var(--muted);border-left:1px solid #d3d3d3;padding-left:17px;max-width:104px}.header-util{gap:13px;font-size:13px}.header-util a{color:#666666}.header-util .sep{opacity:.6}.header-util .util-badge{border-radius:4px;font-size:11px;background:var(--red-tint);color:var(--red);padding:4px 8px}
.header-inner{grid-template-columns:minmax(0,1fr) auto;min-height:54px;height:auto;padding:0 32px 10px;gap:20px}.nav-left{gap:9px}.mobile-toggle{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:9px;flex-shrink:0;border-radius:8px;color:var(--forest)}.mobile-toggle svg{width:24px;height:24px}.mobile-toggle:hover{background:var(--forest-soft)}.gnb{display:flex;gap:6px;overflow-x:auto;align-items:center}.gnb a{padding:10px 13px;font-size:16px;font-weight:600;letter-spacing:-.025em;line-height:1.6}.gnb a.active{font-weight:750;color:var(--forest)}.gnb a.active::after{content:'';position:absolute;bottom:3px;left:13px;right:13px;height:2px;background:var(--forest)}.gnb a:hover{color:var(--red)}.gnb a .nav-new{font-size:7px;top:5px;right:6px}.gnb a.nav-blue{color:var(--forest)}
.header-actions{gap:9px;display:flex;align-items:center}.header-actions .icon-btn{width:42px;height:42px;display:flex;align-items:center;justify-content:center;padding:8px;color:var(--forest);border-radius:8px}.header-actions .icon-btn:hover{background:var(--forest-soft)}.header-actions .icon-btn svg{width:25px;height:25px}.cart-badge{background:var(--red);font-size:11px;min-width:17px;height:17px;top:0;right:0}.search-box{display:flex;width:238px;min-height:40px;border:0;border-radius:999px;background:#f3f3f3;padding:0 12px 0 17px;align-items:center}.search-box input{background:transparent;border:0;font-size:14px;min-width:0;width:100%;height:40px;color:var(--ink);outline:none}.search-box button{width:28px;height:36px;display:grid;place-items:center;color:var(--forest);flex-shrink:0}.search-box svg{width:20px;height:20px}.search-box:focus-within{box-shadow:0 0 0 2px #757575}
.mobile-nav{top:100%;left:max(20px,calc((100% - var(--container))/2 + 32px));width:360px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 165px);padding:26px;background:#fff;border:1px solid var(--line);border-radius:0 0 18px 18px;box-shadow:0 18px 40px #3030301a;overscroll-behavior:contain}.mobile-nav.open{display:flex}.mobile-nav a{font-size:18px;padding:12px 2px;font-weight:600}.mobile-nav a+a{border-top:1px solid var(--line-soft)}.mobile-nav-heading{display:flex;flex-direction:column;gap:5px;margin-bottom:18px}.mobile-nav-heading span{font-size:14px;color:var(--muted)}.mobile-nav-heading b{font-size:24px;color:var(--forest);letter-spacing:-.035em}.mobile-search{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;margin-bottom:18px;padding:0 12px;min-height:48px}.mobile-search input{border:0;outline:none;min-width:0;width:100%;font-size:17px;background:transparent}.mobile-search button{width:36px;height:42px;display:grid;place-items:center}.mobile-search svg{width:21px;height:21px}.mobile-search:focus-within{outline:2px solid #757575}.menu-open{overflow:hidden}body.menu-open::before{z-index:99;background:#30303052;backdrop-filter:blur(2px)}
/* 상품 사진, 정보, 가격을 같은 위치에서 읽도록 */
.product-grid,.product-grid.cols-3{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:44px 22px}.product-card{position:relative;background:transparent;overflow:visible;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;min-width:0;transition:none}.product-card:hover{transform:none;box-shadow:none}.product-card-image{position:relative;overflow:hidden;border-radius:18px;background:#f3f3f3}.product-card .product-visual{border-radius:18px;aspect-ratio:1/1.08;background:#f3f3f3;box-shadow:none;transform:none}.product-card .product-visual .product-photo{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;padding:6%;background:transparent;transition:transform .4s}.product-card:hover .product-photo{transform:scale(1.04)}.product-label{position:absolute;top:14px;left:14px;background:var(--forest);color:white;font-size:11px;font-weight:700;letter-spacing:.06em;padding:5px 9px;border-radius:4px;pointer-events:none}.product-quick-add{position:absolute;bottom:14px;right:14px;width:44px;height:44px;border:1px solid #fff;border-radius:50%;background:#fff;color:var(--forest);display:grid;place-items:center;box-shadow:0 3px 12px #35353510}.product-quick-add svg{width:23px;height:23px}.product-quick-add:hover{color:#fff;background:var(--forest);border-color:var(--forest)}.product-card-body{display:flex;flex-direction:column;flex:1;padding:19px 1px 0;min-width:0}.product-card-cat{font-size:13px;font-weight:650;letter-spacing:.015em;color:var(--forest);margin-bottom:6px}.product-card-name{font-family:var(--font-sans);font-size:22px;font-weight:750;line-height:1.45;letter-spacing:-.035em;margin:0;color:var(--ink)}.product-card-name a{display:block}.product-card-desc{font-size:16px;line-height:1.7;color:var(--muted);margin:8px 0 15px;min-height:3.4em}.product-card-meta{display:flex;flex-wrap:wrap;gap:5px 9px;align-items:baseline;margin:0}.product-card-meta .price,.product-card-meta .discount-rate{font-size:24px;line-height:1.4}.product-card-meta .price-original{width:100%;font-size:14px;margin-top:1px}.product-card .rating-row{margin:12px 0 0;padding:0;gap:5px;display:flex;align-items:center;font-size:13px;color:var(--muted)}.rating-star{color:var(--forest);font-size:15px}.rating-row b{font-weight:650;color:var(--ink)}
/* 공통 정보와 폼 */
.info-banner{background:#f7f7f7;border:1px solid var(--line);border-radius:12px;padding:19px 23px;font-size:15px;line-height:1.85;color:#666666}.field input,.field select,.field textarea{font-size:17px;min-height:50px;border:1px solid #d3d3d3;border-radius:9px;padding:13px 15px;background:#fff;color:var(--ink)}.field label{font-size:16px;font-weight:650;color:var(--ink);margin-bottom:8px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--forest)}.field .hint,.field .error{font-size:14px}.qty-stepper{border-radius:8px;border-color:var(--line);min-height:44px}.qty-stepper button{min-width:40px;min-height:42px}.qty-stepper input{font-size:17px}.tabs{border-bottom-color:var(--line);gap:8px}.tab-btn{font-size:17px;font-weight:650;padding:17px 20px;min-height:52px}.tab-btn.active{color:var(--forest);border-bottom:2px solid var(--forest)}.data-table{box-shadow:none;border-color:var(--line);border-radius:12px;font-size:17px}.data-table th{background:var(--bg-gray)}.toast{background:var(--forest);color:#fff;border-radius:12px;padding:17px 24px;font-size:16px;max-width:calc(100vw - 32px)}.empty-state h2{font-size:29px}.empty-state p{font-size:18px;line-height:1.8}.page-hero{background:#f7f7f7;border:0;padding:68px 0}.page-hero h1{font-size:clamp(34px,4.2vw,48px);font-weight:750;letter-spacing:-.05em;line-height:1.3}.page-hero p{font-size:18px;color:var(--muted)}.page-hero .eyebrow{color:var(--forest);font-size:13px}.breadcrumb{font-size:14px;color:var(--muted)}.breadcrumb.container{padding:22px 32px}.accordion-btn{font-size:18px}.accordion-body{font-size:17px;line-height:1.85}
/* 차분하고 명확한 푸터 */
.site-footer{background:#f3f3f3;margin-top:80px;padding:60px 0 28px;border-top:1px solid var(--line);color:var(--text);font-size:15px}.footer-grid{grid-template-columns:1.6fr .9fr 1.1fr;gap:36px;padding-bottom:34px;border-bottom:1px solid #e8e8e8}.footer-logo .logo-en{font-size:36px;color:var(--forest)}
/* 로고 이미지 (assets/brand/logo.svg, 가로:세로 약 6:1) — 높이만 정하면 폭은 비율대로 */
.logo-img{display:block;height:28px;width:auto;max-width:none}
.footer-logo .logo-img{height:30px;margin-bottom:6px}.footer-tagline{display:block;font-size:19px;font-weight:650;margin-top:22px;letter-spacing:-.035em;color:var(--forest)}.footer-desc{font-size:15px;color:var(--muted);line-height:1.9;margin-top:9px}.footer-col h4{color:var(--forest);font-size:13px;font-weight:750;letter-spacing:.08em;margin-bottom:17px}.footer-col a{font-size:15px;line-height:1.6;min-height:34px;padding:6px 0;color:#666666}.footer-col a:hover{color:var(--forest);text-decoration:underline;text-underline-offset:4px}.footer-cs-tel{font-size:27px;font-weight:750;letter-spacing:-.03em;color:var(--forest);line-height:1.4;margin-bottom:10px}.footer-col p{font-size:14px;line-height:1.9;color:var(--muted)}.footer-policy{display:flex;flex-wrap:wrap;gap:24px;margin-top:26px;font-size:14px;color:#454545}.footer-policy a{min-height:32px}.footer-policy strong{font-weight:650}.footer-meta{padding-top:12px;font-size:12px;line-height:1.9;color:#757575;overflow-wrap:anywhere}.footer-notice{padding:0;margin-top:15px;border:0;border-radius:0;background:transparent;font-size:12px;color:#757575;line-height:1.8}
@media(max-width:1100px){.header-inner{gap:14px}.search-box{width:190px}.gnb a{padding-inline:10px}.gnb{gap:0}.logo-caption{display:none}.product-grid,.product-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-grid{gap:24px;grid-template-columns:1.3fr .9fr 1.1fr}}
@media(max-width:860px){.search-box{display:none}.header-util{font-size:13px}.header-inner{grid-template-columns:minmax(0,1fr) auto}.product-grid,.product-grid.cols-3{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 20px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.footer-logo{grid-column:1/-1}.footer-desc{max-width:400px}.section{padding-block:66px}}
@media(max-width:600px){
 html{scroll-padding-top:126px}.container{padding-inline:20px}body{font-size:18px}.section{padding-block:52px}.section-tight{padding-block:36px}.section-head{margin-bottom:26px}.section-title{font-size:30px}.section-sub{font-size:17px}.eyebrow{font-size:13px}#site-header{top:-38px}.topbar{font-size:13px}.topbar-inner{min-height:38px;padding:9px 16px}.topbar .tb-dot{display:none}.header-top-inner{height:65px;justify-content:center;padding-inline:68px}.logo-en{font-size:30px}.header-util,.logo-caption{display:none}.header-inner{display:block;height:48px;min-height:48px;padding:0 20px}.nav-left{display:block}.mobile-toggle{position:absolute;top:11px;left:12px;width:44px;height:44px}.header-actions{position:absolute;right:12px;top:11px;gap:0}.header-actions #user-link{display:none}.header-actions .icon-btn{width:44px;height:44px}.gnb{gap:22px;width:100%;display:flex;height:48px;align-items:stretch}.gnb a{padding:10px 0;font-size:15px;display:flex;align-items:center;min-height:46px}.gnb a.active::after{left:0;right:0;bottom:0}.gnb a .nav-new{right:-7px;top:4px}.mobile-nav{left:12px;width:calc(100vw - 24px);max-width:none;max-height:calc(100dvh - 150px);padding:25px 24px;border-radius:0 0 18px 18px}.mobile-nav a{min-height:48px}.mobile-nav-heading b{font-size:28px}
 .product-grid,.product-grid.cols-3{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 14px}.product-card-image,.product-card .product-visual{border-radius:12px}.product-label{top:10px;left:10px;font-size:10px;padding:4px 7px}.product-quick-add{bottom:10px;right:10px;width:40px;height:40px}.product-quick-add svg{width:21px;height:21px}.product-card-body{padding-top:15px}.product-card-cat{font-size:12px}.product-card-name{font-size:20px}.product-card-desc{font-size:15px;line-height:1.6;min-height:3.2em;margin:7px 0 11px}.product-card-meta{gap:3px 6px}.product-card-meta .price,.product-card-meta .discount-rate{font-size:21px}.product-card-meta .price-original{font-size:13px}.product-card .rating-row{font-size:12px;gap:4px}
 .page-hero{padding:42px 0}.page-hero h1{font-size:34px}.page-hero p{font-size:17px;max-width:320px;margin-inline:auto}.breadcrumb.container{padding:18px 20px}.info-banner{font-size:14px;padding:18px}.btn{min-height:48px;font-size:17px;padding:13px 18px}.btn-sm{min-height:42px;font-size:15px;padding:10px 15px}.tabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;gap:0}.tab-btn{white-space:nowrap;flex:0 0 auto;padding:15px 14px;font-size:16px}.field label{font-size:17px}.field input,.field select,.field textarea{font-size:17px}
 .site-footer{margin-top:56px;padding:40px 0 26px}.footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px;padding-bottom:26px}.footer-logo{grid-column:1/-1}.footer-logo .logo-en{font-size:34px}.footer-col:last-child{grid-column:1/-1}.footer-tagline{font-size:20px;margin-top:19px}.footer-col h4{font-size:13px;margin-bottom:12px}.footer-col a{font-size:15px;min-height:36px}.footer-cs-tel{font-size:29px}.footer-col p{font-size:14px}.footer-policy{font-size:13px;gap:18px;margin-top:22px}.footer-meta,.footer-notice{font-size:12px}.toast{bottom:96px}
}
.product-card-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.product-card-basis{font-size:13px;line-height:1.6;color:var(--muted);margin:7px 0 8px}

/* 배경이 포함된 대표 사진은 색을 섞거나 안쪽 여백을 추가하지 않는다. */
.product-card .product-visual .product-photo{object-fit:cover;mix-blend-mode:normal;padding:0}
@media(max-width:600px){.product-quick-add{width:44px;height:44px}}
@media(max-width:359px){.gnb{gap:18px}.product-card-meta .price,.product-card-meta .discount-rate{font-size:19px}.product-card-name{font-size:19px}.product-card-desc{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.product-card:hover .product-photo{transform:none}}

@media(max-width:600px){.logo-img{height:22px}.footer-logo .logo-img{height:26px}}

/* Mobile audit: navigation and transient actions remain easy to reach. */
.footer-col .footer-cs-tel { display:inline-block; font-size:27px; font-weight:750; min-height:44px; color:var(--forest); }
.toast { display:flex; align-items:center; flex-wrap:wrap; justify-content:center; gap:8px 12px; }
.toast-action { display:inline-flex; align-items:center; min-height:44px; font-weight:700; text-decoration:underline; text-underline-offset:4px; white-space:nowrap; }
.toast-action:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.catalog-search { display:flex; flex-wrap:wrap; gap:10px; align-items:center; max-width:680px; margin-bottom:24px; }
.catalog-search input { flex:1; min-width:0; width:160px; min-height:50px; border:1px solid var(--line); border-radius:10px; padding:12px 15px; font:inherit; font-size:17px; background:#fff; }
.catalog-search input:focus-visible { outline:2px solid var(--green-600); outline-offset:2px; }
.catalog-search label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.catalog-search > a { display:flex; align-items:center; min-height:44px; font-size:15px; text-decoration:underline; text-underline-offset:4px; }
@media(max-width:600px) {
  .footer-col a, .footer-policy a { min-height:44px; display:inline-flex; align-items:center; }
  .footer-col > a { display:flex; }
  .footer-policy { gap:6px 18px; }
  .footer-col .footer-cs-tel { font-size:29px; }
  .mobile-search input { font-size:17px; }
  .catalog-search > a { flex-basis:100%; }
  body[data-page="products"] .catalog-hero { padding:18px 0; text-align:left; }
  body[data-page="products"] .catalog-hero .eyebrow { display:none; }
  body[data-page="products"] .catalog-hero h1 { font-size:28px; line-height:1.35; }
  body[data-page="products"] .catalog-hero p { display:none; }
  body[data-page="products"] .catalog-hero + .breadcrumb { display:none; }
  body[data-page="products"] .section-tight { padding-top:20px; }
  .gnb { gap:0; justify-content:space-between; }
  .gnb .nav-blue, .gnb #gnb-admin { display:none; }
  .toast { bottom:calc(24px + env(safe-area-inset-bottom)); padding:12px 18px; width:max-content; }
  .product-page .toast { bottom:calc(24px + env(safe-area-inset-bottom)); }
}

/* Mobile bottom navigation keeps text labels alongside icons. */
.mobile-dock { display:none; }
@media(max-width:600px) {
  body.has-mobile-dock { padding-bottom:calc(74px + env(safe-area-inset-bottom)); }
  .mobile-dock { position:fixed; z-index:70; inset:auto 0 0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:7px 8px calc(7px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:#fffffff7; box-shadow:0 -3px 15px #30303008; }
  .mobile-dock > a { min-height:56px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; color:#757575; font-size:13px; font-weight:600; border-radius:9px; }
  .mobile-dock > a[aria-current="page"] { background:var(--forest-soft); color:var(--forest); font-weight:750; }
  .mobile-dock-icon { position:relative; display:flex; }
  .mobile-dock-icon svg { width:23px; height:23px; }
  .dock-cart-badge { position:absolute; top:-5px; left:17px; min-width:17px; height:17px; padding:0 4px; border-radius:9px; background:var(--red); color:white; font-size:10px; line-height:17px; text-align:center; }
  .has-mobile-dock .toast { bottom:calc(90px + env(safe-area-inset-bottom)); }
}

/* Every purchase option can be compared without opening a truncated select. */
.pd-price-basis { font-size:14px; line-height:1.6; color:var(--muted); margin-top:22px; }
.pd-info .pd-price-row { margin-top:6px; }
.pd-choices { border:0; padding:0; margin:0; min-width:0; scroll-margin-top:155px; }
.pd-choices legend { font-size:18px; font-weight:700; padding:0; }
.pd-choice-help { font-size:15px; color:var(--muted); margin:6px 0 14px; }
.pd-choice { display:grid; grid-template-columns:20px minmax(0,1fr); align-items:center; gap:12px; padding:14px; margin-top:10px; border:1px solid #d3d3d3; border-radius:10px; background:#fff; cursor:pointer; }
.pd-choice:has(input:checked) { border:2px solid var(--forest); padding:13px; background:#f7f7f7; }
.pd-choice input { width:20px; height:20px; margin:0; accent-color:var(--forest); }
.pd-choice-copy { display:block; min-width:0; }
.pd-choice-top { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 12px; }
.pd-choice-top strong { font-size:17px; }
.pd-choice-top b { font-size:18px; color:var(--forest); }
.pd-choice-description { display:block; font-size:14px; line-height:1.7; color:var(--muted); margin-top:4px; }
.pd-choices:disabled .pd-choice { opacity:.55; cursor:not-allowed; }
.pd-selection { font-size:15px; line-height:1.65; color:var(--muted); padding:14px 0 0; }
@media(max-width:600px) {
  .pd-choice { padding:12px; gap:9px; }
  .pd-choice:has(input:checked) { padding:11px; }
  .pd-choice-top { gap:2px 10px; }
  .pd-choice-top strong { font-size:16px; }
  .pd-choice-top b { font-size:17px; }
  .product-page #pd-tabs { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); overflow:visible; gap:0; }
  .product-page #pd-tabs .tab-btn { grid-column:span 2; padding:12px 5px; font-size:15px; min-height:48px; white-space:normal; line-height:1.5; }
  .product-page #pd-tabs .tab-btn:nth-last-child(-n+2) { grid-column:span 3; }
}

/* 카드 전체가 상세로 이어진다 (이름 링크를 카드 크기로 확장) */
.product-card-name a::after{content:"";position:absolute;inset:0;z-index:1}
.product-card:hover .product-card-name a{text-decoration:underline;text-underline-offset:4px}
.product-card .product-visual{transition:opacity .2s}.product-card:hover .product-visual{opacity:.92}
/* 홈은 마지막 안내 띠가 바로 푸터와 이어진다 */
body[data-page="home"] .site-footer{margin-top:0}
/* 오른쪽 아래 '맨 위로' 버튼 — 모바일에서는 하단 메뉴 위로 띄운다 */
.to-top{position:fixed;z-index:80;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));width:52px;height:52px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #d3d3d3;border-radius:50%;background:#fffffff2;color:var(--forest);box-shadow:0 6px 20px #3030301f;cursor:pointer;animation:to-top-in .2s ease-out;transition:background .18s,color .18s,border-color .18s}
.to-top:hover{background:var(--forest);border-color:var(--forest);color:#fff}
.to-top:focus-visible{outline:3px solid var(--forest);outline-offset:3px}
@keyframes to-top-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:600px){
 .to-top{right:16px;bottom:calc(16px + env(safe-area-inset-bottom));width:46px;height:46px}
 body.has-mobile-dock .to-top{bottom:calc(88px + env(safe-area-inset-bottom))}
}
/* 구매 구성 선택: '인기'·'최저가' 표시를 붉은 글씨로 강조 */
.pd-choice-tag{display:inline-block;margin-left:6px;padding:2px 8px;border:1px solid #efc5bd;border-radius:999px;background:#fdf2ef;color:#d32e37;font-style:normal;font-size:13px;font-weight:800;line-height:1.5;vertical-align:2px;letter-spacing:0}

/* 푸터 사업자 정보 — 평소에는 접고 '사업자 정보'를 누르면 펼친다 */
.footer-biz{margin-top:14px}
.footer-biz summary{display:inline-flex;align-items:center;gap:6px;min-height:32px;font-size:13px;font-weight:650;color:#454545;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}
.footer-biz summary::-webkit-details-marker{display:none}
.footer-biz summary::marker{content:''}
.footer-biz summary svg{width:14px;height:14px;flex:none;transition:transform .2s ease}
.footer-biz[open] summary svg{transform:rotate(180deg)}
.footer-biz summary:hover{color:var(--forest)}
.footer-biz summary:focus-visible{outline:2px solid var(--forest);outline-offset:3px;border-radius:2px}
.footer-biz .footer-meta{padding-top:4px}
.footer-copy{margin-top:8px;font-size:12px;line-height:1.9;color:#757575}
@media(max-width:600px){.footer-biz summary{min-height:44px}}
@media(prefers-reduced-motion:reduce){.footer-biz summary svg{transition:none}}
.search-box input{font-size:16px}

/* Keep product names, money and short actions readable on narrow screens. */
.product-card-name,.section-title,.page-hero h1{text-wrap:balance}
.product-card-desc,.product-card-basis,.pd-tagline,.pd-selection{text-wrap:pretty}
.product-card-meta .price,.product-card-meta .discount-rate,.pd-choice-top b,.pd-total-row .amount{white-space:nowrap}
.pd-choice-top strong{min-width:0;word-break:keep-all}.pd-choice-tag{white-space:nowrap}
@media(max-width:600px){
  .pd-choice-description{font-size:15px;line-height:1.7;color:#666666}
  .product-card-basis{font-size:14px;line-height:1.65}
  .pd-actions .btn{word-break:keep-all;white-space:normal;text-wrap:balance}
}

/* 관리자 로그인 시 눈에 띄는 관리 메뉴 */
.gnb a.admin-nav-link, .mobile-nav a.admin-nav-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px;
  padding: 8px 14px; border: 1px solid #454545; border-radius: 8px;
  background: #454545; color: #fff; font-weight: 750; flex-shrink: 0;
}
.gnb a.admin-nav-link:hover, .mobile-nav a.admin-nav-link:hover,
.gnb a.admin-nav-link.active, .mobile-nav a.admin-nav-link.active { background: #353535; color: #fff; border-color: #353535; }
.gnb a.admin-nav-link.active::after { display: none; }
.gnb a.admin-nav-link:focus-visible, .mobile-nav a.admin-nav-link:focus-visible { outline: 3px solid #b9b9b9; outline-offset: 3px; }
.mobile-nav a.admin-nav-link { margin-top: 12px; }
@media (max-width: 600px) {
  .gnb #gnb-admin { display:none; }
  .gnb { justify-content:space-between; gap:6px; }
  .gnb > a { flex:0 0 auto; white-space:nowrap; }
}

/* Account actions sit before the long product list in the expanded menu. */
.header-util .header-logout { padding:6px 0; font:inherit; color:#666666; cursor:pointer; }
.header-util .header-logout:hover { color:var(--forest); }
.header-logout:disabled { cursor:wait; opacity:.65; }
.mobile-account { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-bottom:18px; }
.mobile-nav .mobile-account > a,.mobile-nav .mobile-account > button { min-width:0; min-height:48px; margin:0; padding:10px 8px; display:flex; align-items:center; justify-content:center; border:1px solid #d3d3d3; border-radius:8px; background:#f7f7f7; color:var(--forest); font:inherit; font-size:16px; font-weight:650; text-align:center; word-break:keep-all; cursor:pointer; }
.mobile-nav .mobile-account .header-logout { background:#fff; }
.mobile-nav .mobile-account > a:hover,.mobile-nav .mobile-account > button:hover { border-color:#757575; background:#eeeeee; }
.mobile-nav .mobile-account > a.admin-nav-link { grid-column:1 / -1; border-color:#454545; background:#454545; color:white; }
.mobile-nav .mobile-account > a.admin-nav-link:hover { background:#353535; }
.mobile-account :focus-visible,.header-util .header-logout:focus-visible { outline:3px solid #757575; outline-offset:3px; }

/* Compact mobile footer; business information and policy links remain separate. */
.footer-fold { min-width: 0; }
.footer-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; color: var(--forest); font-size: 13px; font-weight: 750; letter-spacing: .08em; line-height: 1.5; list-style: none; cursor: default; }
.footer-fold > summary::-webkit-details-marker { display: none; }
.footer-fold > summary::marker { content: ''; }
.footer-fold > summary svg { display: none; width: 16px; height: 16px; flex: none; }
.footer-title-mobile { display: none; }
.footer-fold-content > a { display: block; }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 0; border-bottom: 0; }
  .footer-logo { margin-bottom: 24px; }
  .footer-fold { border-top: 1px solid #e8e8e8; }
  .footer-fold:last-child { border-bottom: 1px solid #e8e8e8; }
  .footer-fold > summary { min-height: 52px; margin: 0; padding: 14px 0; font-size: 15px; letter-spacing: -.015em; cursor: pointer; user-select: none; }
  .footer-fold > summary:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; border-radius: 4px; }
  .footer-fold > summary svg { display: block; transition: transform .2s ease; }
  .footer-fold[open] > summary svg { transform: rotate(180deg); }
  .footer-title-desktop { display: none; }
  .footer-title-mobile { display: inline; }
  .footer-fold-content { padding: 0 0 14px; }
  .footer-fold-content > a { display: flex; min-height: 44px; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .footer-fold > summary svg { transition: none; } }
