* { min-width: 0; box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }
img:not([src]), img[src=""] { display: none !important; }
[style*="nowrap"], div[class*="title"], p[class*="title"], a[class*="title"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

:root {
    --ply-bg: #f2ede0;
    --ply-red: #ce3524;
    --ply-black: #111111;
    --ply-white: #ffffff;
    --ply-border: #111111;
}

body { background-color: var(--ply-bg); color: var(--ply-black); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.5; }
a { color: inherit; text-decoration: none; transition: 0.2s; }
a:hover { color: var(--ply-red); }

.ply-header { background: var(--ply-black); color: var(--ply-white); padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--ply-red); }
.ply-logo { font-size: 24px; font-weight: 900; letter-spacing: -1px; text-transform: uppercase; }
.ply-nav { display: flex; gap: 20px; font-weight: 700; text-transform: uppercase; font-size: 12px; }
.ply-nav a:hover { color: var(--ply-red); }

/* 核心三栏布局 (1:2:1) */
.ply-container { max-width: 1440px; margin: 30px auto; padding: 0 20px; display: grid; grid-template-columns: 260px 1fr 260px; gap: 30px; align-items: start; }

.ply-col-left { border: 2px solid var(--ply-border); background: var(--ply-white); padding: 20px; }
.ply-col-right { border: 2px solid var(--ply-border); background: var(--ply-red); color: var(--ply-white); padding: 20px; }
.ply-col-title { font-size: 18px; font-weight: 900; text-transform: uppercase; margin-bottom: 20px; border-bottom: 2px solid currentColor; padding-bottom: 10px; }

.ply-cat-item { display: block; padding: 10px 0; border-bottom: 1px solid #ddd; font-weight: 700; font-size: 13px; text-transform: uppercase; }
.ply-cat-item:last-child { border-bottom: none; }
.ply-cat-item:hover { color: var(--ply-red); padding-left: 5px; }

.ply-notice-p { font-size: 13px; font-weight: 600; line-height: 1.6; margin-bottom: 15px; }

/* 商品网格 */
.ply-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.ply-card { background: var(--ply-white); border: 2px solid var(--ply-border); position: relative; transition: 0.2s; display: flex; flex-direction: column; }
.ply-card:hover { transform: translate(-4px, -4px); box-shadow: 4px 4px 0 var(--ply-red); }
.ply-card-badge { position: absolute; top: 0; left: 0; background: var(--ply-red); color: var(--ply-white); font-size: 11px; font-weight: 800; padding: 4px 10px; text-transform: uppercase; }
.ply-card-thumb { height: 160px; display: flex; align-items: center; justify-content: center; border-bottom: 2px solid var(--ply-border); background: #fafafa; padding: 15px; }
.ply-card-thumb img { max-width: 120px; max-height: 120px; object-fit: contain; }
.ply-card-info { padding: 15px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.ply-card-title { font-size: 14px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; line-height: 1.3; height: 36px; overflow: hidden; }
.ply-card-price { font-size: 18px; font-weight: 900; color: var(--ply-red); margin-bottom: 15px; }
.ply-btn { display: block; background: var(--ply-black); color: var(--ply-white); text-align: center; padding: 10px; font-weight: 800; text-transform: uppercase; border: 2px solid var(--ply-black); cursor: pointer; }
.ply-btn:hover { background: var(--ply-red); border-color: var(--ply-red); color: var(--ply-white); }

/* 单页详情 */
.ply-single-panel { max-width: 900px; margin: 40px auto; background: var(--ply-white); border: 3px solid var(--ply-border); display: flex; flex-wrap: wrap; }
.ply-single-img { flex: 0 0 350px; border-right: 3px solid var(--ply-border); display: flex; align-items: center; justify-content: center; padding: 30px; background: #f9f9f9; }
.ply-single-img img { max-width: 250px; max-height: 250px; object-fit: contain; }
.ply-single-info { flex: 1; min-width: 300px; padding: 40px; }
.ply-single-title { font-size: 26px; font-weight: 900; text-transform: uppercase; margin-bottom: 15px; line-height: 1.2; }
.ply-single-price { font-size: 32px; font-weight: 900; color: var(--ply-red); margin-bottom: 30px; }
.ply-input { width: 100%; border: 2px solid var(--ply-border); padding: 12px; font-size: 14px; font-weight: 700; font-family: inherit; margin-bottom: 20px; outline: none; }
.ply-input:focus { border-color: var(--ply-red); }

.ply-desc { border-top: 3px solid var(--ply-border); padding: 40px; font-size: 14px; font-weight: 500; line-height: 1.8; background: var(--ply-bg); }
.ply-desc p { margin-bottom: 15px; word-break: break-word; }

.ply-footer { background: var(--ply-black); color: var(--ply-white); text-align: center; padding: 30px; font-weight: 700; text-transform: uppercase; font-size: 12px; margin-top: 50px; border-top: 4px solid var(--ply-red); }

@media (max-width: 1024px) {
    .ply-container { grid-template-columns: 220px 1fr; }
    .ply-col-right { grid-column: span 2; }
    .ply-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ply-container { grid-template-columns: 1fr; display: flex; flex-direction: column; }
    .ply-col-left, .ply-col-right { width: 100%; }
    .ply-grid-3 { grid-template-columns: 1fr; }
    .ply-single-img { flex: 0 0 100%; border-right: none; border-bottom: 3px solid var(--ply-border); }
}
