:root{color-scheme:light;--paper:#f7f4ec;--green:#1f3a2e;--gold:#7a5f33}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--green);font:15px/1.6 "Malgun Gothic",system-ui,sans-serif}a{color:inherit}header,main,footer{width:min(1120px,calc(100% - 32px));margin:auto}header{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:76px;border-bottom:1px solid #dfd9ca}header>a:first-child{font:bold 22px Georgia,serif;text-decoration:none}header>a:last-child{font-size:12px}h1{font:700 36px "Batang",serif;margin-bottom:8px}h2{font-size:21px}.disclosure{font-size:12px;color:#5a6359;padding:12px;background:#eee9dd;border-radius:10px}#categories{display:flex;gap:8px;overflow:auto;position:sticky;top:0;z-index:2;padding:12px 0;background:var(--paper)}button,select,input{font:inherit;min-height:44px;border:1px solid #b9c7bb;border-radius:10px;padding:8px 12px;background:#fffdf8;color:var(--green)}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button[aria-pressed=true]{background:var(--green);color:#fff}#categories button{white-space:nowrap;flex:none}#filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:12px 0}label{display:flex;flex-direction:column;gap:4px;font-size:12px}input{width:145px}select{max-width:100%}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b08d57;outline-offset:3px}#products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.shop-item{min-width:0;display:flex;flex-direction:column;border:1px solid #dfd9ca;border-radius:16px;overflow:hidden;background:#fffdf8}.product-card{display:flex;flex-direction:column;flex:1;text-decoration:none}.product-card img{width:100%;height:180px;object-fit:contain;background:#fff}.product-info{padding:13px;display:flex;flex-direction:column;gap:7px;flex:1}.product-info h3{font-size:15px;margin:0}.product-info small,.product-info s{font-size:11px;color:#62675d}.price{font-size:19px;font-weight:800;color:#111}.price.discounted{color:#ba2536}.sale{margin-right:6px}.product-action{margin-top:auto;border-top:1px solid #dfd9ca;padding-top:10px;font-weight:700}.choose{flex-direction:row;align-items:center;padding:8px 12px;min-height:44px;border-top:1px solid #dfd9ca}.choose input{width:20px;height:20px;min-height:20px}#more{display:block;margin:24px auto}footer{padding:30px 0 130px}#compare-bar{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);width:min(660px,calc(100% - 24px));padding:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;border-radius:16px;background:#1f3a2ef5;color:white;box-shadow:0 6px 24px #1234;z-index:4}dialog{width:min(940px,calc(100% - 24px));max-height:88dvh;overflow:auto;border:1px solid #b08d57;border-radius:20px;background:var(--paper);color:var(--green)}dialog::backdrop{background:#152a2388}.dialog-heading{display:flex;justify-content:space-between;align-items:center}#comparison-table{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{border:1px solid #d5d7c9;padding:12px;text-align:left;vertical-align:top;min-width:140px}th{min-width:80px;background:#ede9db}td a{display:inline-flex;align-items:center;min-height:44px}[hidden]{display:none!important}@media(max-width:700px){#products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card img{height:145px}.product-info{padding:10px}.product-info h3{font-size:13px}.price{font-size:17px}#filters label{width:calc(50% - 6px)}#filters input{width:100%}header>a:first-child{font-size:19px}h1{font-size:30px}}

.shopping-guides{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.shopping-guides a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border-radius:10px;border:1px solid #c9dcd0;background:#edf5f0;font-size:14px;text-decoration:none}

.product-image-fallback{display:grid;place-content:center;min-height:145px;padding:16px;color:#59635c;background:#f4f6f3;font-size:13px;text-align:center}

/* Compact merchandise: supplier, photo, product name and price; conditions remain accessible. */
.product-tile{min-width:0;display:flex;flex-direction:column}
.product-tile .compact-product{min-width:0;text-decoration:none}
.product-tile .product-seller{display:block;padding:8px 10px;font-size:12px;font-weight:700;color:#1f3a2e}
.product-tile .product-info{padding:10px;gap:6px;flex:1}
.product-tile .product-info h3{margin:0;font-size:14px;line-height:1.5;min-height:4.5em;max-height:4.5em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.product-tile .price{font-size:18px;font-weight:800;line-height:1.5;color:#111}
.product-tile .price.discounted{color:#ba2536}
.product-conditions{margin-top:auto;border-top:1px solid #dfd9ca;font-size:11px;color:#5a6359}
.product-conditions summary{min-height:44px;display:flex;align-items:center;padding:8px 10px;cursor:pointer}
.product-conditions summary::after{content:'+';margin-left:auto;font-size:16px}
.product-conditions[open] summary::after{content:'−'}
.product-conditions>div{display:grid;gap:6px;padding:0 10px 12px;overflow-wrap:anywhere}
.product-conditions small{font-size:11px;line-height:1.6}

#products{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
.shop-item .product-tile{flex:1}.shop-item .compact-product{flex:1}
.shop-item .compact-product img{height:190px}
@media(max-width:700px){#products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shop-item .compact-product img{height:auto;aspect-ratio:1}.product-tile .price{font-size:16px}.product-tile .product-info h3{font-size:13px}}

.product-tile .price{display:flex;flex-wrap:wrap;gap:0 4px;align-items:baseline}
.product-tile .price-amount,.product-tile .sale{white-space:nowrap}
.product-tile .sale{margin:0}
@media(max-width:680px){#living .product-tile .product-info h3,.product-tile .product-info h3{font-size:12px;line-height:18px}#living .product-tile .price,.product-tile .price{font-size:15px;line-height:22px}}

.product-card .price-basis,#living .product-card .price-basis{font-size:10px;line-height:1.4;font-weight:500;white-space:nowrap;color:#617066}

/* Compact product cards: full purchase conditions remain in the disclosure. */
#living .product-tile .product-card,#products .product-tile .product-card{min-height:0}
#living .product-tile .compact-product img{height:160px;aspect-ratio:1;flex:none}
#living .product-tile .product-info,#products .product-tile .product-info{padding:8px 10px;gap:4px;flex:0 0 auto;height:auto}
#living .product-tile .product-info h3,#products .product-tile .product-info h3{font:600 13px/19px "Malgun Gothic",system-ui,sans-serif;min-height:38px;max-height:38px;-webkit-line-clamp:2}
#living .product-tile .product-seller,#products .product-tile .product-seller{padding:5px 10px;font-size:11px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#living .product-tile .price,#products .product-tile .price{font-size:17px;line-height:24px;gap:0 4px}
#living .product-tile .price-basis,#products .product-tile .price-basis{font-size:10px;line-height:14px}
#living .product-tile .product-conditions summary,#products .product-tile .product-conditions summary{min-height:44px;padding:6px 10px;font-size:11px;line-height:16px}
@media(max-width:680px){#living .product-tile .compact-product img{height:auto;max-height:150px;aspect-ratio:1}#living .product-tile .price,#products .product-tile .price{font-size:15px;line-height:22px}#living .product-tile .product-info h3,#products .product-tile .product-info h3{font-size:12px;line-height:18px;min-height:36px;max-height:36px}}

#products{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.shop-item .compact-product img{height:160px}.shop-item .product-tile{flex:0 0 auto}.shop-item .choose{margin-top:auto}
@media(max-width:700px){#products{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-item .compact-product img{height:auto;aspect-ratio:1;max-height:160px}}
