/* Optional popular-category redesign. Remove its link in index.php to restore the original. */
.pk { padding: 62px 0 34px; }
.pk-head { margin-bottom: 25px; }
.pk-kicker { font-size: 10px; letter-spacing: 2px; margin-bottom: 10px; }
.pk-title { font-size: 36px; letter-spacing: -1px; color: #293d28; }
.pk-grid { gap: 16px; }
.pk-card:nth-child(n) {
    grid-template-columns: minmax(0, 1fr) 42%;
    min-height: 192px;
    padding: 24px 20px;
    gap: 8px;
    border: 1px solid #e2e7dc;
    border-radius: 18px;
    background: linear-gradient(125deg, #fff 30%, #f5f7f0);
    box-shadow: 0 4px 12px -9px #2b422529;
}
.pk-card:nth-child(4n+2), .pk-card:nth-child(4n+3) { background: linear-gradient(125deg, #fafbf7, #eff3e9); }
.pk-card::before { opacity: 1; width: 175px; height: 175px; top: auto; bottom: -62px; right: -30px; border: 1px solid #dce5d0; background: transparent; }
.pk-info { align-self: stretch; justify-content: center; }
.pk-name { min-height: 36px; margin: 0 0 15px; font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: .15px; }
.pk-price { gap: 5px; flex-wrap: nowrap; }
.pk-price b { font-size: 28px; font-weight: 700; color: #294825; letter-spacing: -1px; }
.pk-price small { font-size: 10px; font-weight: 500; white-space: nowrap; color: #587049; }
.pk-note { margin-top: 8px; font-size: 10px; color: #85907d; letter-spacing: 0; line-height: 1.5; }
.pk-visual { width: 100%; height: 124px; border: 0; border-radius: 0; background: transparent; mix-blend-mode: multiply; }
.pk-visual img { width: 100%; height: 116px; max-width: 150px; max-height: 116px; object-fit: contain; mix-blend-mode: multiply; filter: none; }
.pk-visual::after { display: none; }
.pk-arrow { opacity: 1; transform: none; width: 27px; height: 27px; top: 12px; right: 12px; border: 1px solid #dce5d4; background: #ffffffb3; color: #547343; }
.pk-arrow svg { width: 12px; height: 12px; }
.pk-card:hover { border-color: #a8bd96; box-shadow: 0 14px 25px -18px #3e612d80; transform: translateY(-3px); }
.pk-card:hover .pk-visual { transform: none; }
.pk-card:hover .pk-visual img { transform: translateY(-3px) scale(1.04); }
.pk-card:focus-visible { outline: 3px solid #819e68; outline-offset: 3px; }
@media (min-width: 1024px) and (max-width: 1399px) {
    .pk-card:nth-child(n) { padding: 21px 16px; grid-template-columns: minmax(0, 1fr) 36%; }
    .pk-price b { font-size: 24px; }
    .pk-name { font-size: 11px; }
}
@media (max-width: 1023px) {
    .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .pk { padding: 32px 0 20px; }
    .pk > .wrap { padding: 0 16px; }
    .pk-head { margin-bottom: 18px; }
    .pk-title { font-size: 27px; letter-spacing: -.7px; }
    .pk-kicker { font-size: 9px; }
    .pk-grid { gap: 10px; }
    .pk-card:nth-child(n) { grid-template-columns: minmax(0, 1fr); grid-template-rows: 91px 1fr; min-height: 216px; padding: 16px 12px 14px; gap: 12px; border-radius: 14px; }
    .pk-visual { grid-row: 1; width: 100%; height: 91px; }
    .pk-visual img { width: 100%; height: 86px; max-width: 130px; max-height: 86px; }
    .pk-info { grid-row: 2; justify-content: flex-start; }
    .pk-name { font-size: 10px; min-height: 30px; margin-bottom: 8px; line-height: 1.5; }
    .pk-price b { font-size: 24px; letter-spacing: -.8px; }
    .pk-price small { font-size: 9px; }
    .pk-note { font-size: 9px; margin-top: 5px; }
    .pk-arrow { width: 23px; height: 23px; top: 8px; right: 8px; }
    .pk-card::before { width: 140px; height: 140px; bottom: auto; top: -53px; right: -42px; }
}
@media (max-width: 359px) { .pk-price b { font-size: 21px; } .pk > .wrap { padding: 0 12px; } }
@media (hover: none), (prefers-reduced-motion: reduce) {
    .pk-card:hover, .pk-card:focus, .pk-card:hover .pk-visual img { transform: none; }
}
