/* Petek Raf catalog — scoped to .prf- only. Other Metobuild widgets are untouched. */
.prf-catalog,
.prf-product-page {
    color: #171717;
    background: #fff;
}
.prf-catalog { width: min(1200px, calc(100% - 44px)); margin-inline: auto; padding: 60px 0 84px; }
.prf-catalog--empty { text-align: center; padding: 40px; }
.prf-catalog__intro { text-align: center; max-width: 830px; margin: 0 auto 40px; }
.prf-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #a88700; font-weight: 750; letter-spacing: .11em; font-size: 12px; text-transform: uppercase; }
.prf-eyebrow::before { content: ''; display: inline-block; width: 19px; height: 5px; background: #ffcc00; border-radius: 10px; }
.prf-catalog__heading { color: #171717; font-family: 'Teko', Impact, sans-serif; text-transform: uppercase; font-size: clamp(36px, 5vw, 62px); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin: 13px 0 12px; }
.prf-catalog__lead { color: #616161; font-size: 16px; line-height: 1.7; margin: 0; }
.prf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.prf-card { border: 1px solid #e7e7e7; background: #fff; overflow: hidden; min-width: 0; border-radius: 10px; box-shadow: 0 7px 24px rgba(15,15,15,.035); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.prf-card:hover { transform: translateY(-5px); border-color: #ffcc00; box-shadow: 0 17px 40px rgba(15,15,15,.12); }
.prf-card__link { display: flex; flex-direction: column; height: 100%; color: inherit !important; text-decoration: none !important; }
.prf-card__link:focus-visible { outline: 3px solid #e6b800; outline-offset: -4px; }
.prf-card__media { width: 100%; aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: #eee; }
.prf-card__image { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .45s ease; }
.prf-card:hover .prf-card__image { transform: scale(1.045); }
.prf-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg,#242424,#464646); color: #ffcc00; }
.prf-card__placeholder span { font-family: 'Teko', Impact, sans-serif; font-size: 115px; line-height: 1; font-weight: 700; }
.prf-card__media-label { position: absolute; left: 16px; bottom: 14px; background: #ffcc00; color: #171717; font-size: 10px; letter-spacing: .04em; font-weight: 800; text-transform: uppercase; padding: 8px 10px; border-radius: 3px; }
.prf-card__body { display: flex; flex-direction: column; flex: 1; padding: 23px 22px 24px; }
.prf-card__title { color: #171717 !important; font-family: 'Teko', Impact, sans-serif; font-weight: 600; font-size: 29px; line-height: 1.06; margin: 0 0 13px; text-transform: uppercase; }
.prf-card__excerpt { margin: 0 0 19px; color: #646464; font-size: 14px; line-height: 1.65; min-height: 44px; }
.prf-card__action { margin-top: auto; border-top: 1px solid #e8e8e8; padding-top: 14px; color: #171717; font-size: 13px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.prf-card__arrow { font-size: 20px; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #171717; background: #ffcc00; transition: transform .2s; }
.prf-card:hover .prf-card__arrow { transform: translate(2px,-2px); }
/* 7 main cards = 3 + 3 + 1, with centered seventh card on desktop. */
@media (min-width: 1025px) { .prf-grid--main > .prf-card:nth-child(7):last-child { grid-column: 2; } }
/* Product detail pages — no edits to Metobuild's global .page or .container classes. */
.prf-product-page { padding: 56px 0 96px; min-height: 60vh; }
.prf-page-container { width: min(1220px, calc(100% - 44px)); margin: 0 auto; }
.prf-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 13px; color: #777; margin: 0 0 34px; }
.prf-breadcrumb a { color: #333; text-decoration: none; }
.prf-breadcrumb a:hover { color: #b38f00; }
.prf-detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; border-bottom: 1px solid #ececec; padding-bottom: 48px; }
.prf-detail-hero__title { color: #171717; font-family: 'Teko', Impact, sans-serif; text-transform: uppercase; font-size: clamp(42px,5.2vw,78px); font-weight: 600; line-height: .98; margin: 18px 0 24px; }
.prf-detail-hero__lead { font-size: 17px; line-height: 1.7; color: #606060; margin: 0 0 27px; }
.prf-detail-hero__media { overflow: hidden; border-radius: 10px; aspect-ratio: 5 / 4; background: #eee; }
.prf-detail-hero__image { width: 100% !important; height: 100% !important; object-fit: cover; display: block !important; }
.prf-button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; background: #ffcc00; border-radius: 4px; color: #171717 !important; text-decoration: none !important; padding: 15px 21px; font-size: 13px; font-weight: 850; transition: background .2s; }
.prf-button:hover { background: #e6b800; }
.prf-button:focus-visible { outline: 3px solid #171717; outline-offset: 3px; }
.prf-detail-body { margin: 44px 0 0; color: #333; font-size: 16px; line-height: 1.85; }
.prf-detail-body:empty { display: none; }
.prf-detail-body h2, .prf-detail-body h3 { color: #171717; }
.prf-detail-body img { max-width: 100%; height: auto; }
.prf-subcategories { margin-top: 65px; }
.prf-subcategories .prf-catalog__intro { text-align: left; max-width: none; margin: 0 0 30px; }
.prf-bottom-cta { margin: 72px 0 0; padding: 34px 38px; background: #ffcc00; color: #171717; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-radius: 6px; }
.prf-bottom-cta__eyebrow { font-size: 11px; font-weight: 750; letter-spacing: .1em; }
.prf-bottom-cta h2 { color: #171717; font-family: 'Teko', Impact, sans-serif; font-size: clamp(29px,3vw,40px); text-transform: uppercase; line-height: 1.02; margin: 10px 0 6px; }
.prf-bottom-cta p { margin: 0; font-size: 14px; line-height: 1.65; max-width: 680px; }
.prf-bottom-cta__button { display: inline-flex; flex-shrink: 0; gap: 13px; align-items: center; justify-content: space-between; background: #171717; color: #fff !important; border-radius: 4px; padding: 15px 19px; font-size: 13px; font-weight: 750; text-decoration: none !important; }
.prf-bottom-cta__button:hover { background: #333; }
.prf-bottom-cta__button:focus-visible { outline: 3px solid #171717; outline-offset: 3px; }
@media (max-width: 1024px) {
    .prf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
    .prf-detail-hero { gap: 25px; }
}
@media (max-width: 767px) {
    .prf-catalog { padding: 35px 0 58px; }
    .prf-catalog__intro { margin-bottom: 26px; padding: 0 8px; }
    .prf-grid { grid-template-columns: 1fr; gap: 18px; }
    .prf-card__media { aspect-ratio: 16 / 10; }
    .prf-card__body { padding: 20px 18px; }
    .prf-card__title { font-size: 27px; }
    .prf-product-page { padding: 34px 0 66px; }
    .prf-page-container { width: min(100% - 28px, 1220px); }
    .prf-detail-hero { grid-template-columns: 1fr; gap: 27px; padding-bottom: 28px; }
    .prf-detail-hero__media { aspect-ratio: 16 / 11; }
    .prf-detail-body { margin-top: 28px; }
    .prf-subcategories { margin-top: 45px; }
    .prf-bottom-cta { margin-top: 48px; padding: 28px 22px; flex-direction: column; align-items: stretch; }
    .prf-bottom-cta__button { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
    .prf-card, .prf-card__image, .prf-card__arrow { transition: none; }
}

/* v1.1: editable detail body, gallery template and direct quote form. */
.prf-product-page--v11 { padding: 56px 0 80px; }
.prf-product-page--v11 .prf-elementor-body { min-width: 0; }
.prf-product-page--v11 .prf-editor-intro .elementor-widget-text-editor { color: #414141; font-size: 17px; line-height: 1.8; }
.prf-product-page--v11 .prf-editor-intro .elementor-widget-text-editor p { margin-bottom: 18px; }
.prf-editor-featured { overflow: hidden; border-radius: 10px; }
.prf-editor-featured__image { display:block; width:100%; height:auto; aspect-ratio: 5/4; object-fit:cover; }
.prf-product-page--v11 .prf-editor-gallery { margin-top: 40px; }
.prf-product-page--v11 .prf-editor-gallery .gallery { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 0 !important; }
.prf-product-page--v11 .prf-editor-gallery .gallery > br { display: none; }
.prf-product-page--v11 .prf-editor-gallery .gallery .gallery-item { float:none !important; width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; }
.prf-product-page--v11 .prf-editor-gallery .gallery-icon { overflow:hidden; border-radius:8px; background:#f4f4f4; }
.prf-product-page--v11 .prf-editor-gallery .gallery-icon a { display:block; }
.prf-product-page--v11 .prf-editor-gallery .gallery-icon img { display:block; width:100% !important; height:auto !important; aspect-ratio: 4/3; object-fit:cover; border:0 !important; transition:transform .25s ease; }
.prf-product-page--v11 .prf-editor-gallery .gallery-icon a:hover img { transform:scale(1.04); }
.prf-detail-form { margin: 64px auto 0; padding: 36px clamp(18px,5vw,64px) 42px; max-width: 1020px; border:1px solid #e8e8e8; border-top:4px solid #ffcc00; border-radius:8px; background:#fff; box-shadow:0 8px 32px rgba(0,0,0,.045); scroll-margin-top:120px; }
.prf-detail-form__intro { text-align:center; margin-bottom:28px; }
.prf-detail-form__intro .prf-catalog__heading { font-size:clamp(32px,4vw,52px); }
.prf-detail-form__product { margin:14px 0 0; color:#555; font-size:14px; }
.prf-detail-form__box { width:100%; max-width:800px; margin-inline:auto; }
.prf-detail-form__box .mb-contact-1-form { width:100%; max-width:none; }
@media(max-width:1024px) { .prf-product-page--v11 .prf-editor-gallery .gallery { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) { .prf-product-page--v11 { padding:30px 0 52px; } .prf-product-page--v11 .prf-editor-gallery { margin-top:24px; } .prf-product-page--v11 .prf-editor-gallery .gallery { gap:10px; } .prf-detail-form { margin-top:40px; padding:26px 15px; } }
@media(prefers-reduced-motion:reduce) { .prf-product-page--v11 .prf-editor-gallery .gallery-icon img { transition:none; } }

/* v1.2 — Existing Elementor gallery titles + independent project albums. */
.prf-product-page .prf-editor-gallery .elementor-heading-title {
    font-family: var(--mb-font-2, 'Teko', Impact, sans-serif) !important;
    color:#171717 !important; font-size:clamp(36px,5vw,62px) !important;
    font-weight:600 !important; line-height:1.05 !important;
    text-transform:uppercase; letter-spacing:-.025em; margin:0 0 24px;
}
.prf-project-gallery {margin-top:64px; min-width:0;}
.prf-project-gallery .prf-catalog__heading {font-family:var(--mb-font-2,'Teko',Impact,sans-serif);color:#171717;line-height:1.05;margin:13px 0 12px;}
.prf-album-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch;}
.prf-album-card {min-width:0;background:#fff;border:1px solid #e7e7e7;border-radius:10px;overflow:hidden;box-shadow:0 7px 24px rgba(15,15,15,.045);transition:box-shadow .2s,border-color .2s;}
.prf-album-card[hidden],.prf-album-more[hidden],.prf-lightbox-error[hidden] {display:none!important;}
.prf-album-card:hover {border-color:#ffcc00;box-shadow:0 12px 30px rgba(0,0,0,.1);}
.prf-album-open {display:flex;flex-direction:column;height:100%;color:#171717!important;text-decoration:none!important;}
.prf-album-open:focus-visible {outline:3px solid #e6b800;outline-offset:-4px;}
.prf-album-cover {position:relative;aspect-ratio:4/3;overflow:hidden;background:#eee;}
.prf-album-cover img {width:100%!important;height:100%!important;display:block;object-fit:cover;transition:transform .35s ease;}
.prf-album-open:hover img {transform:scale(1.04);}
.prf-album-count {position:absolute;right:12px;bottom:12px;background:#171717e6;color:#fff;font-size:12px;font-weight:600;padding:6px 11px;border-radius:4px;}
.prf-album-body {padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;flex-wrap:wrap;}
.prf-album-body h3 {font-family:var(--mb-font-2,'Teko',Impact,sans-serif);font-size:30px;font-weight:600;color:#171717;margin:0;line-height:1.1;}
.prf-album-action {font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:9px;}
.prf-album-action span {display:grid;place-items:center;background:#ffcc00;border-radius:50%;width:32px;height:32px;color:#171717;font-size:20px;}
.prf-album-more {display:flex;margin:28px auto 0;border:0;cursor:pointer;}
.prf-lightbox {position:fixed;inset:0;margin:auto;max-width:calc(100% - 24px);width:min(1200px,calc(100% - 24px));max-height:calc(100% - 24px);padding:0;background:#151515;color:#fff;border:1px solid #555;border-radius:10px;overflow:auto;z-index:99999;}
.prf-lightbox:not([open]) {display:none!important;}
.prf-lightbox::backdrop {background:rgba(0,0,0,.9);}
.prf-lightbox-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;background:#171717;}
.prf-lightbox-title {font-family:var(--mb-font-2,'Teko',sans-serif);font-size:28px;line-height:1.1;color:#fff;}
.prf-lightbox-counter {font-size:14px;color:#ddd;margin-left:14px;}
.prf-lightbox-stage {display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:5px;background:#0d0d0d;min-height:200px;padding:8px;}
.prf-lightbox-image {display:block;width:100%;height:min(73vh,850px);object-fit:contain;touch-action:pan-y;}
.prf-lightbox button {border:0;background:#ffcc00;color:#171717;cursor:pointer;width:42px;height:42px;font-size:30px;line-height:1;border-radius:5px;padding:0;display:grid;place-items:center;}
.prf-lightbox button:disabled {opacity:.35;cursor:default;}
.prf-lightbox button:focus-visible {outline:2px solid white;outline-offset:3px;}
.prf-lightbox-error {text-align:center;padding:12px;margin:0;color:white;}
@media(max-width:1024px) {.prf-album-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}}
@media(max-width:767px) {.prf-project-gallery {margin-top:40px;}.prf-album-grid {grid-template-columns:1fr;gap:16px;}.prf-lightbox-stage {grid-template-columns:34px minmax(0,1fr) 34px;padding:3px;gap:3px;}.prf-lightbox-stage button {width:32px;height:40px;}.prf-lightbox-bar {padding:10px 12px;}.prf-lightbox-image {height:65vh;}.prf-album-body h3 {font-size:27px;}}
@media(prefers-reduced-motion:reduce) {.prf-album-card,.prf-album-cover img {transition:none;}}

/* v1.3 — A single album is displayed as a direct photo grid. */
.prf-photo-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.prf-photo-tile {position:relative;display:block;aspect-ratio:4/3;overflow:hidden;border-radius:9px;background:#eee;border:1px solid #e7e7e7;box-shadow:0 5px 18px rgba(15,15,15,.05);}
.prf-photo-tile[hidden] {display:none!important;}
.prf-photo-tile img {display:block;width:100%!important;height:100%!important;object-fit:cover;transition:transform .3s ease;}
.prf-photo-tile:hover img {transform:scale(1.045);}
.prf-photo-zoom {position:absolute;right:12px;bottom:12px;width:34px;height:34px;display:grid;place-items:center;background:#ffcc00;color:#171717;border-radius:50%;font-size:21px;line-height:1;box-shadow:0 2px 8px #0003;}
@media(max-width:1024px) {.prf-photo-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}}
@media(max-width:767px) {.prf-photo-grid {gap:10px;}.prf-photo-zoom {right:7px;bottom:7px;width:28px;height:28px;font-size:18px;}}
@media(prefers-reduced-motion:reduce) {.prf-photo-tile img {transition:none;}}
