/*
 * Portfolio page (T12.10, F6): hero, style chips, works in a grid or a list, and the side panels.
 */
.ec-pf-hero { background: linear-gradient(90deg, #f5efe6 40%, #ece3d6); min-height: 240px; overflow: hidden; position: relative; }
.ec-pf-hero .ec-collection-hero-image { height: 100%; object-fit: cover; position: absolute; right: 0; top: 0; width: 55%; }
.ec-pf-hero-body { padding-bottom: 46px; padding-top: 46px; position: relative; }
.ec-pf-hero-body .ec-page-heading { font-size: 46px; margin: 6px 0 10px; max-width: 420px; }
.ec-pf-hero-body p { color: var(--ec-muted); font-size: 14px; max-width: 360px; }
.ec-pf-page { padding-bottom: 40px; padding-top: 22px; }

.ec-pf-tools { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-bottom: 18px; }
.ec-pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-pf-chips a { border: 1px solid var(--ec-line); border-radius: 20px; font-size: 12px; font-weight: 500; padding: 6px 14px; }
.ec-pf-chips a.is-active, .ec-pf-chips a:hover { background: var(--ec-black); border-color: var(--ec-black); color: #ffffff; }
.ec-pf-controls { align-items: center; display: flex; gap: 6px; }
.ec-pf-controls .form-select { border-color: var(--ec-line); font-size: 12.5px; min-width: 150px; }
.ec-pf-view { background: #ffffff; border: 1px solid var(--ec-line); border-radius: 4px; height: 34px; width: 34px; }
.ec-pf-view.is-active { background: var(--ec-black); border-color: var(--ec-black); color: #ffffff; }

.ec-pf-layout { align-items: start; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) 260px; }
.ec-pf-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ec-pf-card { background: #ffffff; border: 1px solid var(--ec-line); border-radius: var(--ec-radius); overflow: hidden; }
.ec-pf-media { aspect-ratio: 1; background: #f6f3ee; display: block; overflow: hidden; }
.ec-pf-media img { height: 100%; object-fit: cover; transition: transform .3s; width: 100%; }
.ec-pf-card:hover .ec-pf-media img { transform: scale(1.04); }
.ec-pf-body { padding: 10px 12px 12px; }
.ec-pf-body h3 { font-size: 13px; font-weight: 700; margin: 2px 0; }
.ec-pf-body small { color: var(--ec-muted); font-size: 11px; }
.ec-pf-grid.is-list { grid-template-columns: minmax(0, 1fr); }
.ec-pf-grid.is-list .ec-pf-card { align-items: center; display: flex; }
.ec-pf-grid.is-list .ec-pf-media { flex: 0 0 120px; }

.ec-pf-side .ec-cart-card h2 { font-size: 13.5px; text-align: center; text-transform: uppercase; }
.ec-pf-numbers ul { list-style: none; margin: 0; padding: 0; }
.ec-pf-numbers li { border-bottom: 1px solid var(--ec-line); padding: 10px 0; }
.ec-pf-numbers li:last-child { border-bottom: 0; }
.ec-pf-numbers strong { color: var(--ec-gold-dark); display: block; font-size: 20px; }
.ec-pf-numbers span { color: var(--ec-muted); font-size: 12px; }
.ec-pf-social { display: flex; font-size: 18px; gap: 14px; justify-content: center; }
.ec-pf-how, .ec-pf-reviews { margin-top: 36px; }

@media (max-width: 1199.98px) { .ec-pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
    .ec-pf-layout { grid-template-columns: minmax(0, 1fr); }
    .ec-pf-hero .ec-collection-hero-image { opacity: .25; width: 100%; }
    .ec-pf-hero-body .ec-page-heading { font-size: 34px; }
}
@media (max-width: 575.98px) {
    .ec-pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ec-pf-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .ec-pf-chips a { white-space: nowrap; }
}
