/* Category product cards. Overrides only; keep the shared stylesheet intact. */
.catelist{container-type:inline-size;container-name:category-products}
.catelist #listmain.list_masonry{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;float:none;width:100%;margin:0;padding:0;background:transparent;align-items:stretch}
.catelist #listmain>.listeach{box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;float:none;width:100%;min-width:0;min-height:0;margin:0;padding:6px 6px 9px;border:1px solid #f3e5dc;border-radius:13px;background:linear-gradient(180deg,#fff 75%,#fffaf7);box-shadow:0 3px 12px rgb(80 55 35 / 5%);line-height:20px;transition:border-color .2s,box-shadow .2s,transform .2s}
.catelist #listmain>.listeach:hover{border-color:#ffd8c1;box-shadow:0 6px 18px rgb(80 55 35 / 12%);transform:translateY(-2px)}
.catelist #listmain .result7{float:none;width:100%;padding:0}
.catelist #listmain .result7 dl{display:flex;flex-direction:column;align-items:stretch;float:none;width:100%;min-height:0;margin:0;padding:0}
.catelist #listmain .list_boxshot{display:block;float:none;width:100%;height:auto;min-height:0;margin:0;padding:0;border:0;overflow:hidden;border-radius:7px;background:#faf8f6;aspect-ratio:8/5}
.catelist #listmain .list_boxshot>a{display:block;width:100%;height:100%}
.catelist #listmain .list_boxshot img{display:block;float:none;width:100%;height:100%;max-width:none;max-height:none;margin:0;border-radius:7px;object-fit:contain}
.catelist #listmain .result7 dd.the1new{display:flex;flex-direction:column;float:none;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:9px 6px 0;text-align:left}
.catelist #listmain .list_softname{float:none;width:100%;min-width:0;margin:0;line-height:22px}
.catelist #listmain .list_softname a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;float:none;width:100%;height:22px;overflow:hidden;text-overflow:ellipsis;white-space:normal;overflow-wrap:anywhere;color:#111;font-size:14px;font-weight:700;line-height:22px;text-decoration:none}
.catelist #listmain .list_softname a:hover{color:#ff7a1a}
.catelist #listmain .list_middle{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;float:none;width:100%;height:40px;margin:3px 0 9px;overflow:hidden;text-overflow:ellipsis;white-space:normal;overflow-wrap:anywhere;color:#666;font-size:13px;line-height:20px}
/* Keep real usage data as a small pill beneath the description. */
.catelist #listmain .month_rank{order:1;align-self:flex-start;float:none;width:auto;max-width:100%;box-sizing:border-box;margin:0 0 8px;padding:3px 8px;border-radius:20px;background:#fff4ed;color:#a86636;font-size:10px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.catelist #listmain .month_rank .lucide-icon{width:12px;height:12px;margin-right:3px;vertical-align:-2px;color:inherit}
.catelist #listmain .cata-top{display:none}
.catelist #listmain .result9.the1{position: absolute;right: 2px;width: auto;top: 1px}
.catelist #listmain .result9:empty{display:none}
.catelist #listmain .list-discount{position:static;display:block;flex:0 0 auto;float:none;box-sizing:border-box;width:auto;height:auto;padding:1px 6px;border:1px solid #eadfd6;border-radius:5px;background:#faf6f2;box-shadow:none;color:#887563;font-size:10px;font-weight:500;line-height:16px;text-align:center;white-space:nowrap}
.catelist #listmain .result11{position:static;display:flex;align-items:center;justify-content:flex-end;float:none;box-sizing:border-box;width:100%;min-width:0;margin:auto 0 0;padding:0 3px;border:0;background:none}
.catelist #listmain .result11 .tableshow_buynow{width:100%;margin:0}
.catelist #listmain .result11 a.info_buynow{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:6px;float:none;box-sizing:border-box;width:100%;min-height:32px;margin:0;padding:0 40px 0 8px;border:0;border-radius:18px;background:transparent;color:#ff7a1a;font-size:11px;font-weight:500;line-height:16px;text-align:left;text-decoration:none;filter:none}
.catelist #listmain .result11 a.info_buynow::after{content:"";position:absolute;right:0;top:50%;display:block;box-sizing:border-box;width:32px;height:32px;margin:0;padding:0;border:1px solid #ffd8c1;border-radius:50%;background-color:#fffaf7;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");background-position:center;background-size:16px 16px;background-repeat:no-repeat;transform:translateY(-50%)}
.catelist #listmain .result11 a.info_buynow:hover{background:#fff4ed;opacity:1}
.catelist #listmain .result11 a.info_buynow:hover::after{border-color:#ff7a1a;background-color:#ff7a1a;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E")}
.catelist #listmain .tableshow_buynow_copycode{font-size:8px;line-height:11px}
.catelist #listmain .tableshow_buynow_code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:16px}
.catelist #listmain a:focus-visible{outline:2px solid #ff7a1a;outline-offset:2px}
.catelist #listmain>.showpages{grid-column:1/-1;width:100%}
/* Five columns only when the product area fits five 240px cards plus gaps. */
@container category-products (min-width:1248px){.catelist #listmain.list_masonry{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px){.catelist #listmain.list_masonry{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.catelist #listmain.list_masonry{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 0}.catelist #listmain .result7 dd.the1new{padding-right:3px;padding-left:3px}.catelist #listmain .result9.the1{padding:8px}.catelist #listmain .result11 a.info_buynow{gap:4px;padding-left:3px}}
@media(max-width:359px){.catelist #listmain.list_masonry{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.catelist #listmain>.listeach{transition:none}.catelist #listmain>.listeach:hover{transform:none}}
