/* Pretendard 웹폰트를 불러오고 실패하면 설치된 한글 시스템 글꼴을 사용합니다. */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");
/* 흰 배경, 기본 글자 크기와 구분선으로 상품과 주문 정보를 표시합니다. */
:root{--ink:#222;--muted:#666;--line:#ddd;--paper:#fff;--focus:#555}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Pretendard","Malgun Gothic",Arial,sans-serif;font-size:15px;line-height:1.6}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;border:1px solid var(--line);background:#fff;color:inherit;padding:11px 14px;border-radius:0}button,.button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;gap:8px;border:1px solid var(--ink);padding:12px 20px;background:var(--ink);color:white}button.secondary,.button.secondary{background:transparent;color:var(--ink);border-color:var(--line)}button:disabled{opacity:.4;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:0;line-height:1.4}h2{font-size:22px;letter-spacing:0}small,.muted{color:var(--muted)}.wrap{max-width:1280px;margin:auto;padding:0 24px}.top{font-size:12px;border-bottom:1px solid var(--line);padding:9px 0;color:var(--muted)}.top .wrap,.header,.nav,.row{display:flex;align-items:center;justify-content:space-between;gap:20px}.header{padding-top:0;padding-bottom:0;min-height:112px;gap:24px}.logo{font-size:28px;font-weight:700;letter-spacing:0}.logo span{color:inherit}.search{display:flex;flex:1;width:auto;max-width:none;height:48px;border:2px solid #333;background:#fff;min-width:0}.search input{border:0;background:transparent;min-width:0;width:100%;padding:10px 12px}.search button{background:transparent;color:var(--ink);border:0;padding:10px 14px}.account{display:flex;gap:20px;font-size:12px;flex-shrink:0}.nav{justify-content:flex-start;overflow:auto;white-space:nowrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-top:14px;padding-bottom:14px;font-size:14px}.nav a.active{font-weight:700;text-decoration:underline;text-underline-offset:7px}.eyebrow{font-size:13px;font-weight:400;color:var(--muted);margin-bottom:10px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:36px 0 24px}.section-head h1,.section-head h2{margin-bottom:4px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.product-card img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#fff}.product-card .caption{padding:12px 0 0;display:flex;flex-direction:column;align-items:flex-start}.product-card h3{font-size:15px;font-weight:400;line-height:1.6;margin:5px 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.price{font-size:19px;font-weight:700}.normal{font-size:12px;color:var(--muted);margin-left:0}.tag{display:inline-block;font-size:12px;padding:1px 6px;border:1px solid var(--line);background:#fff;margin-top:8px}.empty{padding:70px 24px;text-align:center;border:1px solid var(--line);margin:28px 0}.notice{padding:16px 20px;background:#fff;border:1px solid var(--line);margin:20px 0}.pagination{display:flex;justify-content:center;gap:12px;margin:40px 0}.pagination a{padding:6px 14px;border:1px solid var(--line)}.pagination .active{background:var(--ink);color:#fff}.breadcrumb{font-size:12px;color:var(--muted);margin:30px 0}.detail{display:grid;grid-template-columns:1fr 1fr;gap:40px}.main-image{width:100%;aspect-ratio:1;object-fit:contain;background:#fff}.thumbs{display:flex;gap:10px;margin-top:12px;overflow:auto}.thumbs button{padding:0;background:transparent;border-color:var(--line)}.thumbs img{width:64px;height:64px;object-fit:contain}.detail h1{font-size:28px;margin:12px 0 24px}.detail .price{font-size:29px}.facts{display:grid;grid-template-columns:100px 1fr;gap:12px;margin:24px 0;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px}.facts dt{color:var(--muted)}.facts dd{margin:0}.buy-form{display:grid;gap:14px}.buy-form select{width:100%}.buy-form label{display:block;font-size:13px}.buy-form .row button{flex:1}.qty{width:100px}.tabs{display:flex;gap:40px;border-bottom:1px solid var(--ink);padding:20px 0;margin-top:40px}.content-section{padding:28px 0;border-bottom:1px solid var(--line)}.description{width:100%;height:900px;border:0;background:white}.data-table{width:100%;border-collapse:collapse;font-size:14px}.data-table th,.data-table td{text-align:left;border-bottom:1px solid var(--line);padding:15px}.data-table th{width:25%;background:#fff;font-weight:400}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;margin:24px 0 60px}.panel{border:1px solid var(--line);background:white;padding:28px;margin-bottom:22px}.summary{position:sticky;top:20px;align-self:start}.summary .row{margin-bottom:18px;font-size:14px}.summary .total{border-top:1px solid var(--line);padding-top:20px;margin-top:20px;font-weight:700;font-size:18px}.summary .button,.summary button{width:100%}.cart-line{display:grid;grid-template-columns:90px 1fr auto;gap:22px;align-items:center;padding:24px 0;border-bottom:1px solid var(--line)}.cart-line img{width:90px;height:90px;object-fit:contain;background:#fff}.cart-line h3{font-size:15px;margin-bottom:5px}.inline{display:flex;gap:8px;align-items:center}.inline button{padding:8px 12px;font-size:12px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.fields label{font-size:13px;display:grid;gap:7px}.fields .full{grid-column:1/-1}.fields input,.fields textarea{width:100%}.check{font-size:13px;display:flex;align-items:flex-start;gap:10px;margin:18px 0}.check input{margin-top:5px}.order-row{display:flex;align-items:center;justify-content:space-between;padding:22px 0;border-bottom:1px solid var(--line);gap:20px}.order-number{overflow-wrap:anywhere;font-size:13px}.steps{color:var(--muted);font-size:13px}.steps strong{color:var(--ink)}footer{border-top:1px solid var(--line);margin-top:48px;padding:35px 0 45px;font-size:12px;color:var(--muted)}footer .logo{font-size:23px;color:var(--ink);margin-bottom:12px}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:#fff;padding:12px;z-index:10}.mobile-only{display:none}
/* 검색·카테고리·주문 바로가기를 중심으로 구성한 쇼핑몰 헤더입니다. */
.utility-links{display:flex;align-items:center;gap:16px}.utility-links form{margin:0}.utility-links button{padding:0;background:none;color:inherit;border:0;font-size:12px}
.category-menu{position:relative;align-self:stretch;flex-shrink:0;width:106px;z-index:10}.category-menu summary{list-style:none;cursor:pointer;display:flex;height:100%;min-height:112px;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#333;color:#fff;font-size:13px}.category-menu summary::-webkit-details-marker{display:none}.menu-bars{font-size:27px;line-height:1}.category-dropdown{position:absolute;left:0;top:100%;width:240px;background:#fff;border:1px solid var(--line)}.category-dropdown a{display:block;padding:9px 18px;font-size:13px}.category-dropdown a:hover,.category-dropdown a:focus{background:#f5f5f5;text-decoration:underline}.category-all{border-bottom:1px solid var(--line);font-weight:700}.category-primary{list-style:none;margin:0;padding:7px 0}.category-primary>li{position:static}.category-primary>li>a{display:flex;align-items:center;justify-content:space-between;gap:20px}.category-children{display:none;position:absolute;left:100%;top:0;width:430px;min-height:100%;max-height:65vh;overflow-y:auto;background:#fff;border:1px solid var(--line);padding:20px}.category-primary>li:hover>.category-children,.category-primary>li:focus-within>.category-children{display:block}.category-children strong{display:block;padding-bottom:12px;border-bottom:1px solid var(--line)}.category-children>div{display:grid;grid-template-columns:1fr 1fr;padding-top:7px}.category-children a{padding:8px 6px}.category-menu summary:focus-visible{outline:2px solid #555;outline-offset:3px}
/* 검색 드롭다운은 포커스 외곽선을 내부 배경으로 바꿔 검색창 테두리와 겹치지 않게 합니다. */
.search select{width:110px;flex-shrink:0;padding:0 10px;border:0;border-right:1px solid #ddd;font-size:12px;background:#fff}.search select:focus,.search select:focus-visible{outline:0;outline-offset:0;background:#f5f5f5}.search svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}.account>a{display:flex;flex-direction:column;align-items:center;gap:4px;white-space:nowrap}.account svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6}.account b{font-size:12px}.nav{gap:28px;min-height:45px}.nav a{font-size:13px}.logo{white-space:nowrap;font-size:30px}
/* 좌측 카테고리와 상품 목록을 분리하고 가격·판매자명을 함께 표시합니다. */
.catalog-layout{display:grid;grid-template-columns:175px minmax(0,1fr);gap:28px;margin-top:28px}.catalog-sidebar{border-right:1px solid var(--line);padding-right:20px}.catalog-sidebar h2{font-size:15px;margin:0 0 15px}.catalog-sidebar nav{display:flex;flex-direction:column;gap:2px}.catalog-sidebar a{padding:8px 0;font-size:13px;overflow-wrap:anywhere}.catalog-sidebar a[aria-current=page]{font-weight:700;text-decoration:underline;text-underline-offset:4px}.catalog-sidebar a:hover{text-decoration:underline}#products{min-width:0}#products .section-head{margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid #ccc}#products .section-head h2{font-size:22px}#products .section-head select{font-size:12px;padding:7px 10px}.product-card{padding:18px 14px 22px;border-right:1px solid #eee;border-bottom:1px solid #eee;min-width:0}.product-card:nth-child(4n){border-right:0}.product-card>a{display:block}.product-card a:hover h3{text-decoration:underline}.product-card h3{order:0;min-height:48px;margin:0 0 6px;font-size:14px;font-weight:400}.product-card .normal{order:1}.product-card .price{order:2;font-size:21px;line-height:1.5}.product-card .price-row{order:2;display:flex;align-items:baseline;gap:8px}.product-card .discount-rate{color:#d21f2b;font-size:15px;white-space:nowrap}.product-card .seller-name{order:3;margin-top:7px;font-size:12px;color:#666;overflow-wrap:anywhere}.product-card .caption>div{order:4}.product-card .caption>.price-row{order:2}.detail .normal{margin-left:8px}.detail h1{font-size:25px}.detail .price{font-size:30px}.tabs{background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #999;padding:16px 0}.facts{line-height:1.8}
/* 검색 버튼 문구가 두 줄로 나뉘지 않도록 폭을 유지합니다. */
.search button{white-space:nowrap;flex-shrink:0}
/* 작은 화면에서는 주문 합계와 입력폼이 자연스럽게 한 열로 이어집니다. */
@media(max-width:900px){.wrap{padding-left:22px;padding-right:22px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.detail{gap:28px}.checkout-layout{grid-template-columns:1fr 290px;gap:20px}.account{gap:12px}.panel{padding:20px}}
@media(max-width:640px){.wrap{padding-left:18px;padding-right:18px}.header{flex-wrap:wrap;padding-top:18px;padding-bottom:16px;gap:14px}.logo{font-size:27px}.search{order:3;width:100%;max-width:none}.account{font-size:12px}.top{font-size:10px}.top .wrap span:last-child{display:none}.nav{gap:24px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.section-head{margin:28px 0 18px;align-items:flex-start}.section-head select{font-size:12px;padding:7px}.product-card h3{font-size:13px}.price{font-size:17px}.normal{display:block;margin:0}.detail,.checkout-layout{grid-template-columns:1fr;gap:24px}.detail h1{font-size:24px}.tabs{gap:22px;font-size:13px;margin-top:35px}.summary{position:static}.fields{grid-template-columns:1fr}.fields .full{grid-column:auto}.cart-line{grid-template-columns:65px 1fr;gap:15px}.cart-line img{width:65px;height:65px}.cart-line>strong{grid-column:2}.order-row{flex-wrap:wrap}.description{height:650px}h1{font-size:25px}.data-table th,.data-table td{padding:10px;font-size:12px}.data-table th{width:32%}}

/* 태블릿에서는 목록을 세 열로, 모바일에서는 검색창과 목록을 두 열로 배치합니다. */
@media(max-width:1050px){.header{gap:16px}.category-menu{width:84px}.logo{font-size:26px}.search select{width:84px}.account{gap:12px}.catalog-layout{grid-template-columns:150px minmax(0,1fr);gap:18px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card:nth-child(4n){border-right:1px solid #eee}.product-card:nth-child(3n){border-right:0}}
@media(max-width:760px){.header{display:grid;grid-template-columns:44px 1fr auto;gap:14px;padding-top:14px;padding-bottom:14px;min-height:0}.category-menu{width:44px;align-self:center}.category-menu summary{min-height:40px;background:#fff;color:#333}.category-menu summary>span:last-child{display:none}.category-dropdown{top:calc(100% + 14px)}.search{grid-column:1/-1;grid-row:2;width:100%;height:46px}.search select{width:90px}.account>a{font-size:11px}.account svg{width:26px;height:26px}.catalog-layout{grid-template-columns:1fr;margin-top:20px}.catalog-sidebar{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.product-card{padding:12px 10px 18px}.product-card:nth-child(3n){border-right:1px solid #eee}.product-card:nth-child(2n){border-right:0}.product-card .price{font-size:19px}.product-card h3{min-height:44px;font-size:13px}#products .section-head h2{font-size:20px}.top .wrap{font-size:11px}.top .wrap .utility-links{display:flex;gap:12px}.utility-links button{font-size:11px}.nav{gap:24px}.search input{font-size:14px}.logo{font-size:26px}}

/* 황금빛 반사와 사선 패턴을 겹친 배경 이미지로 프리미엄 큐레이션 영역을 구성합니다. */
.home-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(520px,.95fr);gap:48px;align-items:stretch;min-height:390px;padding:62px 54px;overflow:hidden;border-top:1px solid #e5c46e;border-bottom:1px solid #714407;background-color:#9a6814;background-image:radial-gradient(circle at 78% 12%,rgba(255,247,193,.72) 0,rgba(255,247,193,0) 24%),radial-gradient(circle at 5% 105%,rgba(255,220,117,.48) 0,rgba(255,220,117,0) 34%),linear-gradient(135deg,#6b4308 0%,#a66f11 28%,#dbad43 57%,#f0d17c 73%,#8a570b 100%);color:#fff}
.home-hero:before{content:"";position:absolute;inset:0;background-image:repeating-linear-gradient(115deg,transparent 0,transparent 54px,rgba(255,255,255,.07) 55px,transparent 57px);mix-blend-mode:screen;pointer-events:none}
.home-hero:after{content:"QM";position:absolute;left:39%;bottom:-94px;color:rgba(255,248,210,.1);font-size:260px;font-weight:800;line-height:1;letter-spacing:-.1em;pointer-events:none}
.home-hero-copy,.home-hero nav{position:relative;z-index:1}
.home-hero-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.home-hero .eyebrow{margin-bottom:20px;color:#fff4c9;font-size:12px;font-weight:700;letter-spacing:.2em}
.home-hero .eyebrow span{display:inline-block;margin-right:9px;padding:4px 8px;border:1px solid rgba(255,248,217,.72);background:rgba(83,47,2,.2)}
.home-hero h1{margin-bottom:20px;color:#fff;font-size:45px;line-height:1.23;letter-spacing:-.04em;text-shadow:0 3px 18px rgba(70,38,0,.3)}
.home-hero h1 em{color:#fff1ad;font-style:normal}
.home-hero-copy>p:not(.eyebrow){max-width:500px;margin-bottom:30px;color:rgba(255,255,255,.86);font-size:15px}
.home-hero-date{padding-top:12px;border-top:1px solid rgba(255,248,217,.55);color:#fff4ce;font-size:11px;letter-spacing:.18em}
.home-hero nav{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(255,244,205,.55);border-left:1px solid rgba(255,244,205,.55);background:rgba(62,34,1,.18);box-shadow:0 24px 50px rgba(67,38,0,.25)}
.home-hero nav a{position:relative;display:flex;min-height:132px;padding:20px;flex-direction:column;justify-content:center;border-right:1px solid rgba(255,244,205,.55);border-bottom:1px solid rgba(255,244,205,.55);background:rgba(91,52,3,.2);color:#fff;transition:transform .2s ease,background-color .2s ease,color .2s ease,box-shadow .2s ease}
.home-hero nav a small{margin-bottom:10px;color:#ffeaa4;font-size:10px;letter-spacing:.12em}
.home-hero nav a strong{font-size:18px;line-height:1.35}
.home-hero nav a>span{display:flex;margin-top:8px;align-items:center;justify-content:space-between;color:rgba(255,255,255,.75);font-size:12px}
.home-hero nav a b{font-size:18px;font-weight:400}
.home-hero nav a:after{content:"";position:absolute;inset:-1px;border:4px solid transparent;pointer-events:none;transition:border-color .2s ease,transform .2s ease}
.home-hero nav a:hover,.home-hero nav a:focus-visible{z-index:2;transform:translateY(-6px);outline:0;background:#fff8dd;color:#563300;box-shadow:0 16px 34px rgba(61,34,0,.38)}
.home-hero nav a:hover small,.home-hero nav a:focus-visible small{color:#9b6712}
.home-hero nav a:hover>span,.home-hero nav a:focus-visible>span{color:#79510e}
.home-hero nav a:hover:after,.home-hero nav a:focus-visible:after{border-color:#4b2b00;transform:scale(1.018)}
.home-section{padding:54px 0 20px;scroll-margin-top:20px}.home-section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:20px;border-bottom:2px solid #222;padding-bottom:16px}.home-section-head h2{font-size:26px;margin:0 0 3px}.home-section-head p{margin:0;color:var(--muted)}.home-section-head>a,.home-category-title>a{font-size:13px;white-space:nowrap}.home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.home-grid .product-card:nth-child(4n){border-right:0}.home-empty{padding:48px 20px;text-align:center;border-bottom:1px solid var(--line);color:var(--muted)}.home-category-list{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ccc;border-left:1px solid #ccc}.home-category{padding:24px;border-right:1px solid #ccc;border-bottom:1px solid #ccc}.home-category-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.home-category-title h3{font-size:19px;margin:0}.home-category-grid{display:grid;grid-template-columns:1fr 1fr}.home-category-grid .product-card{padding:12px}.home-category-grid .product-card:nth-child(2n){border-right:0}
@media(max-width:900px){.home-hero{grid-template-columns:1fr;padding:42px 30px}.home-hero nav a{min-height:112px}.home-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-grid .product-card:nth-child(4n){border-right:1px solid #eee}.home-grid .product-card:nth-child(3n){border-right:0}.home-category-list{grid-template-columns:1fr}}
@media(max-width:640px){.home-hero{grid-template-columns:1fr;min-height:0;padding:34px 20px;gap:26px}.home-hero h1{font-size:32px}.home-hero nav a{padding:14px 10px;font-size:13px}.home-section{padding-top:38px}.home-section-head{align-items:flex-start}.home-section-head h2{font-size:22px}.home-section-head p{font-size:13px}.home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-grid .product-card:nth-child(3n){border-right:1px solid #eee}.home-grid .product-card:nth-child(2n){border-right:0}.home-category{padding:14px}.home-category-grid .product-card{padding:10px 7px}}
/* 메인 상품카드의 골드 테두리는 레이아웃을 밀지 않고 키보드 탐색에도 표시합니다. */
.home-section .product-card{position:relative;background:#fff;transition:transform .2s ease,box-shadow .2s ease}
.home-section .product-card:after{content:"";position:absolute;inset:0;border:2px solid transparent;pointer-events:none;transition:border-color .2s ease}
.home-section .product-card>a{overflow:hidden}
.home-section .product-card img{transition:transform .3s ease}
.home-section .product-card:focus-within{z-index:1;transform:translateY(-4px);box-shadow:0 12px 26px rgba(83,55,12,.14)}
.home-section .product-card:focus-within:after{border-color:#b58a30}
.home-section .product-card:focus-within img{transform:scale(1.045)}
@media(hover:hover) and (pointer:fine){.home-section .product-card:hover{z-index:1;transform:translateY(-4px);box-shadow:0 12px 26px rgba(83,55,12,.14)}.home-section .product-card:hover:after{border-color:#b58a30}.home-section .product-card:hover img{transform:scale(1.045)}}
@media(prefers-reduced-motion:reduce){.home-section .product-card,.home-section .product-card:after,.home-section .product-card img{transition:none}.home-section .product-card:hover,.home-section .product-card:focus-within,.home-section .product-card:hover img,.home-section .product-card:focus-within img{transform:none}}
/* 이미지 원본 크기와 썸네일 너비가 그리드의 최소 너비를 늘리지 않게 제한합니다. */
.detail{grid-template-columns:repeat(2,minmax(0,1fr))}
.detail>div,.home-category,.home-category-grid,.home-hero>div,.home-hero nav{min-width:0}
.main-image,.description,.product-card img{max-width:100%}
.thumbs{max-width:100%;min-width:0}
.thumbs button{flex:0 0 66px}
.facts dd,.detail h1,.product-card h3{min-width:0;overflow-wrap:anywhere}
.product-card .price-row{flex-wrap:wrap;column-gap:8px;row-gap:0;max-width:100%}
.buy-form select{min-width:0;max-width:100%}
@media(max-width:640px){.detail{grid-template-columns:minmax(0,1fr)}.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 추석 보름달 아이콘을 메뉴 문구 앞에 정렬합니다. */
.nav .chuseok-icon{display:inline-block;width:26px;height:26px;margin-right:6px;vertical-align:middle;flex-shrink:0}
/* 가로 메뉴의 밑줄은 요소 크기를 바꾸지 않고 마우스와 키보드 초점에 반응합니다. */
.nav>a{position:relative;transition:color .18s ease,transform .18s ease}
.nav>a:after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:2px;background:#0d6efd;transform:scaleX(0);transform-origin:left;transition:transform .18s ease}
.nav>a:focus-visible{color:#0d6efd;transform:scale(1.08)}
.nav>a:focus-visible:after{transform:scaleX(1)}
@media(hover:hover) and (pointer:fine){.nav>a:hover{color:#0d6efd;transform:scale(1.08)}.nav>a:hover:after{transform:scaleX(1)}}
/* 현재 선택된 메뉴는 기존 밑줄을 유지해 강조선이 겹치지 않게 합니다. */
.nav>a.active:after{display:none}
@media(prefers-reduced-motion:reduce){.nav>a,.nav>a:after{transition:none}}
/* 검색어 입력 시 브라우저 기본 외곽선이 검색창 테두리와 겹치지 않게 합니다. */
.search input:focus,.search input:focus-visible{outline:0;outline-offset:0;box-shadow:none}
/* 최상단 모드 선택은 키보드로도 사용할 수 있으며 페이지 전체 색상과 함께 바뀝니다. */
:root{color-scheme:light}
.top .wrap{flex-wrap:wrap}
.top .utility-links{flex-wrap:wrap;align-items:center}
.theme-switch{display:inline-flex;align-items:center;border:1px solid var(--line);flex-shrink:0}
.utility-links .theme-switch button{padding:5px 9px;border:0;background:transparent;color:var(--muted);font-size:11px;line-height:1.4;white-space:nowrap}
.utility-links .theme-switch button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
/* 다크 모드에서도 상품 사진의 색은 변경하지 않고 화면 표면과 글자만 조정합니다. */
html[data-theme=dark]{color-scheme:dark;--ink:#eceef1;--muted:#a8adb5;--line:#3a4049;--paper:#16191e;--focus:#cbd0d8;background:#16191e}
html[data-theme=dark] body{background:var(--paper);color:var(--ink)}
html[data-theme=dark] :is(input,select,textarea,.panel,.notice,.empty,.category-dropdown,.category-children,.tabs,.data-table th,.tag,.skip){background:#20252c;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.search,.search select,.category-menu summary){background:#20252c;color:var(--ink);border-color:#626a75}
html[data-theme=dark] :is(.search select:focus,.search select:focus-visible,.category-dropdown a:hover,.category-dropdown a:focus){background:#303741}
html[data-theme=dark] :is(.home-section .product-card,.product-card,.home-category){background:#1d2127;border-color:var(--line)}
html[data-theme=dark] .product-card .seller-name{color:var(--muted)}
html[data-theme=dark] :is(.catalog-sidebar,.facts,.tabs,.data-table td,.home-category h3,#products .section-head){border-color:var(--line)}
html[data-theme=dark] :is(.description,.main-image,.product-card img){background:#fff}
html[data-theme=dark] :is(.nav>a:hover,.nav>a:focus-visible){color:#80b1ff}
html[data-theme=dark] .nav>a:after{background:#80b1ff}
html[data-theme=dark] .product-card .discount-rate{color:#ff8992}
html[data-theme=dark] :is(button,.button){background:var(--ink);color:var(--paper)}
html[data-theme=dark] :is(button.secondary,.button.secondary,.search button,.utility-links>form button){background:transparent;color:var(--ink)}
html[data-theme=dark] .utility-links .theme-switch button{background:transparent;color:var(--muted)}
html[data-theme=dark] .utility-links .theme-switch button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
/* 전체 판매자 진입 버튼을 가로 메뉴 오른쪽 끝에 배치합니다. */
.nav>a.seller-directory-link{margin-left:auto;flex-shrink:0;padding:7px 14px;border:1px solid var(--ink);font-weight:700}
