/* Faraz Portfolio Gallery - long cards, no product links, load more. */
.fzpg-section {
    --fzpg-brown: #8b4a2f;
    --fzpg-columns: 5;
    --fzpg-gap: 17px;
    position: relative;
    width: 100%;
    padding: 72px 24px 86px;
    background: transparent;
    direction: rtl;
    isolation: isolate;
}
.fzpg-section *, .fzpg-section *::before, .fzpg-section *::after,
.fzpg-lightbox *, .fzpg-lightbox *::before, .fzpg-lightbox *::after { box-sizing: border-box; }
.fzpg-header { max-width: 780px; margin: 0 auto 30px; text-align: center; }
.fzpg-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--fzpg-brown); font-size: 13px; font-weight: 700; }
.fzpg-eyebrow::before, .fzpg-eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .65; }
.fzpg-heading { margin: 11px 0 8px !important; color: #1d1c1b !important; font-size: clamp(27px,3vw,40px) !important; font-weight: 900 !important; line-height: 1.5 !important; }
.fzpg-description { margin: 0; font-size: 14px; line-height: 1.9; color: #777; }
.fzpg-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1300px; margin: 0 auto 24px; }
.fzpg-filter { cursor: pointer; color: #555; border: 1px solid rgba(139,74,47,.18); background: rgba(255,255,255,.65); border-radius: 4px; padding: 8px 15px; font-size: 13px; line-height: 1.7; font-family: inherit; transition: background .25s, color .25s, border-color .25s; }
.fzpg-filter:hover, .fzpg-filter[aria-pressed="true"] { background: var(--fzpg-brown); border-color: var(--fzpg-brown); color: white; }
.fzpg-filter:focus-visible { outline: 3px solid var(--fzpg-brown); outline-offset: 3px; }
.fzpg-grid { width: min(100%,1550px); margin: 0 auto; display: grid; grid-template-columns: repeat(var(--fzpg-columns), minmax(0,1fr)); gap: var(--fzpg-gap); }
.fzpg-grid--filtering { opacity: .55; pointer-events: none; }
.fzpg-card {
    min-width: 0;
    width: 100%;
    aspect-ratio: 9 / 16; /* taller portrait cards */
    display: block;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    appearance: none;
    -webkit-appearance: none;
    text-align: right;
    border: 0 !important;
    border-radius: 5px !important;
    background: #24201e !important;
    color: #fff !important;
    cursor: zoom-in;
    font-family: inherit;
    box-shadow: 0 8px 24px rgba(26,19,15,.10);
}
.fzpg-card img.fzpg-image { display: block; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; object-fit: cover; object-position: center; transform: scale(1.005); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.fzpg-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.15) 28%, transparent 65%); }
.fzpg-info { position: absolute; right: 0; left: 0; bottom: 0; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding: 14px; direction: rtl; color: white; }
.fzpg-text { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.fzpg-category { font-size: 11px; font-weight: 500; color: #efc5b1; line-height: 1.6; }
.fzpg-name { font-size: clamp(13px,1vw,17px); line-height: 1.65; font-weight: 800; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.fzpg-zoom { flex: 0 0 34px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(0,0,0,.28); backdrop-filter: blur(5px); }
.fzpg-zoom svg { width: 18px; height: 18px; }
.fzpg-empty { grid-column: 1/-1; text-align: center; padding: 32px 12px; color: #777; line-height: 1.9; }
.fzpg-card:focus-visible { outline: 3px solid var(--fzpg-brown); outline-offset: 3px; }
@media (hover:hover) and (pointer:fine) { .fzpg-card:hover img.fzpg-image { transform: scale(1.065); } .fzpg-card:hover .fzpg-zoom { background: var(--fzpg-brown); border-color: var(--fzpg-brown); } }

/* Load more - fetches another 10 in-place instead of linking to product page. */
.fzpg-more-wrap { margin: 32px auto 0; text-align: center; }
.fzpg-more[hidden] { display: none !important; }
.fzpg-more { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 175px; padding: 13px 25px; border: 1px solid var(--fzpg-brown); border-radius: 2px; background: var(--fzpg-brown); color: white; font-family: inherit; font-size: 14px; font-weight: 800; line-height: 1.8; cursor: pointer; transition: background .25s ease, border-color .25s ease; }
.fzpg-more:hover { background: #6f3924; border-color: #6f3924; }
.fzpg-more:disabled { opacity: .55; cursor: wait; }
.fzpg-more:focus-visible { outline: 3px solid #d5aa93; outline-offset: 3px; }
.fzpg-more-icon { font: 400 24px/1 Arial,sans-serif; }
.fzpg-status { margin: 9px 0 0; color: #8b4a2f; font-size: 13px; line-height: 1.8; }
.fzpg-status:empty { display: none; }

/* Image enlargement without any product URL. */
.fzpg-lightbox[hidden] { display: none !important; }
.fzpg-lightbox { position: fixed; inset: 0; z-index: 2147483000; background: rgba(10,9,8,.95); display: flex; align-items: center; justify-content: center; padding: 42px 80px 26px; direction: rtl; color: #fff; }
.fzpg-lightbox-dialog { position: relative; width: 100%; height: 100%; max-width: 1650px; min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; }
.fzpg-lightbox-image { display: block; width: auto; height: auto; max-width: 100%; max-height: min(77vh, calc(100dvh - 150px)); object-fit: contain; box-shadow: 0 12px 40px rgba(0,0,0,.20); }
.fzpg-lightbox-bottom { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; text-align: center; }
.fzpg-lightbox-title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.8; }
.fzpg-lightbox-counter { font-size: 12px; color: #eabca6; }
.fzpg-lightbox-close, .fzpg-lightbox-prev, .fzpg-lightbox-next { border: 1px solid rgba(255,255,255,.4); cursor: pointer; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.45); color: white; display: grid; place-items: center; font-family: inherit; font-size: 26px; transition: background .25s; }
.fzpg-lightbox-close:hover, .fzpg-lightbox-prev:hover, .fzpg-lightbox-next:hover { background: #8b4a2f; }
.fzpg-lightbox-close:focus-visible, .fzpg-lightbox-prev:focus-visible, .fzpg-lightbox-next:focus-visible { outline: 3px solid #eabca6; outline-offset: 3px; }
.fzpg-lightbox-close { position: absolute; z-index: 3; right: 22px; top: 18px; }
.fzpg-lightbox-prev, .fzpg-lightbox-next { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); }
/* User-requested correction: RIGHT is next; LEFT is previous. */
.fzpg-lightbox-next { right: 22px; }
.fzpg-lightbox-prev { left: 22px; }
@media (max-width:1100px) { .fzpg-grid { grid-template-columns: repeat(min(3,var(--fzpg-columns)),minmax(0,1fr)); gap: 14px; } }
@media (max-width:600px) {
    .fzpg-section { padding: 50px 12px 58px; --fzpg-gap: 11px; }
    .fzpg-grid { grid-template-columns: repeat(min(2,var(--fzpg-columns)),minmax(0,1fr)); }
    .fzpg-info { padding: 10px; gap: 5px; }
    .fzpg-zoom { flex-basis: 28px; width: 28px; height: 28px; }
    .fzpg-zoom svg { width: 15px; height: 15px; }
    .fzpg-name { font-size: 12px; }
    .fzpg-category { font-size: 10px; }
    .fzpg-lightbox { padding: 55px 14px 36px; }
    .fzpg-lightbox-image { max-height: min(75vh, calc(100dvh - 150px)); }
    .fzpg-lightbox-prev, .fzpg-lightbox-next { width: 37px; height: 37px; top: auto; bottom: 16px; transform: none; }
    .fzpg-lightbox-next { right: 14px; }
    .fzpg-lightbox-prev { left: 14px; }
    .fzpg-lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
    .fzpg-lightbox-title { font-size: 14px; }
}
@media (prefers-reduced-motion:reduce) { .fzpg-section *, .fzpg-lightbox * { transition: none !important; animation: none !important; } }
