.peri-sec {
    padding: 30px 0;
    background-color: #090A10;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
}

/* Header */
.peri-header {
    margin-bottom: 50px;
}

.peri-badge {
    color: #FF1F23;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.peri-badge::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #FF1F23;
    margin-right: 8px;
}

.peri-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.peri-subtitle {
    font-size: 15px;
    color: #8C8F9E;
    margin: 0;
    font-weight: 500;
}

/* Grid */
.peri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Card */
.peri-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background-color: #111218;
    border: 1px solid #1E2028;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}
.peri-card:hover {
    transform: translateY(-4px);
    border-color: #3F4452;
}

/* Image Area */
.peri-img-wrap {
    background-color: #1E1F25;
    overflow: hidden;
    height: 240px;
    position: relative;
}
.peri-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}
.peri-card:hover .peri-img {
    transform: scale(1.07);
}

/* Info area */
.peri-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.peri-category {
    font-size: 12px;
    font-weight: 700;
    color: #FF1F23;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.peri-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.peri-spec {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 12px;
    line-height: 1.5;
}

.peri-discount-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #4ADE80;
    background-color: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 16px;
    width: fit-content;
}

.peri-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.peri-price {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.01em;
}

.peri-btn {
    background-color: #FF1F23;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background-color 0.2s;
    white-space: nowrap;
}
.peri-card:hover .peri-btn {
    background-color: #E01015;
}

/* Footer link */
.peri-footer-link {
    text-align: center;
    margin-top: 10px;
}
.peri-footer-link a {
    color: #FF1F23;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.peri-footer-link a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .peri-sec { padding: 60px 0; }
    .peri-grid { grid-template-columns: repeat(2, 1fr); }
    .peri-title { font-size: 32px !important; }
}
@media (max-width: 768px) {
    .peri-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .peri-title { font-size: 28px !important; }
    .peri-img-wrap { height: 200px; }
}
@media (max-width: 480px) {
    .peri-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .peri-img-wrap { height: 140px; }
    .peri-info { padding: 12px !important; }
    .peri-name { font-size: 15px !important; margin-bottom: 6px !important; line-height: 1.4 !important; }
    .peri-price { font-size: 18px !important; }
    .peri-btn { display: none !important; /* 작은 화면에서 버튼 숨기고 전체 클릭 유도 */ }
    
    /* 모바일 요소 수 제한: 4개만 노출 */
    .peri-card:nth-child(n+5) {
        display: none;
    }
}
