/* ── Potiria Catalog — Public Page ── */
.pcat-public {
    --pcat-accent: #E8622A;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    color: #222;
}

/* Header */
.pcat-pub-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 24px;
    background: linear-gradient(135deg, var(--pcat-accent) 0%, #c9521f 100%);
    border-radius: 12px;
    margin-bottom: 28px;
    color: #fff;
    position: relative;
}
.pcat-pub-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255,255,255,.15);
    padding: 6px;
    flex-shrink: 0;
}
.pcat-pub-header-text { flex: 1; }
.pcat-pub-title {
    margin: 0 0 4px;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
    color: #fff;
}
.pcat-pub-subtitle {
    margin: 0;
    font-size: 14px;
    opacity: .85;
    font-style: italic;
}
.pcat-print-btn {
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.5);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background .2s;
    flex-shrink: 0;
}
.pcat-print-btn:hover { background: rgba(255,255,255,.35); }

/* Groups */
.pcat-pub-group {
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.pcat-pub-group-inner { display: flex; gap: 0; }

.pcat-pub-group-img {
    width: 180px;
    flex-shrink: 0;
    overflow: hidden;
}
.pcat-pub-group-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pcat-pub-group-content { flex: 1; padding: 18px 20px; }

.pcat-pub-group-title {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--pcat-accent);
    text-transform: uppercase;
    letter-spacing: .4px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--pcat-accent);
    display: inline-block;
}
.pcat-pub-group-desc {
    margin: 6px 0 12px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Items */
.pcat-pub-items { display: flex; flex-direction: column; gap: 1px; }

.pcat-pub-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 4px;
    border-bottom: 1px solid #f0f0f0;
}
.pcat-pub-item:last-child { border-bottom: none; }
.pcat-pub-item:nth-child(even) { background: #fafafa; }
.pcat-pub-item:hover { background: #fff3ee; }

.pcat-pub-item-img {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}
.pcat-pub-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pcat-pub-item-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.pcat-pub-item-name { font-size: 14px; color: #333; flex: 1; }
.pcat-pub-item-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--pcat-accent);
    white-space: nowrap;
    min-width: 70px;
    text-align: right;
}
.pcat-price-empty { color: #ccc; font-weight: 400; font-size: 14px; }

/* Footer */
.pcat-pub-footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #888;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

/* Print */
@media print {
    .pcat-print-btn { display: none; }
    .pcat-pub-header { background: #333 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .pcat-pub-group { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
    .pcat-pub-item:hover { background: transparent; }
}

/* Mobile */
@media (max-width: 600px) {
    .pcat-pub-header { flex-direction: column; text-align: center; padding: 20px 16px; }
    .pcat-pub-title { font-size: 1.5rem; }
    .pcat-pub-group-inner { flex-direction: column; }
    .pcat-pub-group-img { width: 100%; height: 140px; }
    .pcat-pub-group-content { padding: 14px 14px; }
    .pcat-pub-item-price { min-width: 55px; font-size: 14px; }
}
