.stylook-portfolio{--stylook-ink:#242424;--stylook-muted:#777;--stylook-accent:#c56954;color:var(--stylook-ink);max-width:1240px;margin:40px auto;padding:0 20px;font-family:inherit}.stylook-portfolio-heading{text-align:center;margin:0 auto 28px}.stylook-eyebrow{font-size:11px;letter-spacing:3px;color:var(--stylook-accent);font-weight:700}.stylook-portfolio-heading h2{font-size:clamp(30px,4vw,48px);line-height:1.15;margin:12px 0;color:var(--stylook-ink)}.stylook-portfolio-heading p{color:var(--stylook-muted);margin:0}.stylook-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:28px 0 32px}.stylook-filters button{border:1px solid #ddd;background:#fff;color:#444;border-radius:30px;padding:10px 19px;cursor:pointer;font:inherit;font-size:13px;transition:.2s}.stylook-filters button:hover,.stylook-filters button.is-active{background:var(--stylook-ink);border-color:var(--stylook-ink);color:#fff}.stylook-project-grid{display:grid;grid-template-columns:repeat(var(--stylook-columns,3),minmax(0,1fr));gap:25px}.stylook-project-card[hidden]{display:none}.stylook-project-open{display:block;width:100%;padding:0;border:0;background:none;text-align:left;cursor:pointer;color:inherit}.stylook-project-image{display:block;position:relative;overflow:hidden;background:#eee;aspect-ratio:4/3}.stylook-project-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .55s ease}.stylook-project-open:hover .stylook-project-image img{transform:scale(1.055)}.stylook-view-label{position:absolute;left:14px;bottom:14px;background:rgba(255,255,255,.94);padding:9px 13px;font-size:12px;opacity:0;transform:translateY(5px);transition:.25s}.stylook-project-open:hover .stylook-view-label{opacity:1;transform:none}.stylook-view-label b{margin-left:12px;color:var(--stylook-accent)}.stylook-project-info{display:flex;flex-direction:column;gap:5px;padding:15px 2px 3px}.stylook-project-category{font-size:10px;text-transform:uppercase;letter-spacing:1.6px;color:var(--stylook-accent);font-weight:700}.stylook-project-info strong{font-size:18px;font-weight:600}.stylook-project-location{font-size:12px;color:var(--stylook-muted)}.stylook-no-image{display:grid;place-items:center;height:100%;color:#777;font-size:13px;padding:20px;text-align:center}.stylook-empty{text-align:center;grid-column:1/-1;padding:35px;color:var(--stylook-muted)}.stylook-portfolio-cta{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;margin:45px auto 10px;padding:25px;background:#f7f3f0}.stylook-portfolio-cta span{font-size:18px;font-weight:600}.stylook-portfolio-cta a{background:var(--stylook-accent);color:#fff!important;text-decoration:none;padding:12px 20px;border-radius:3px;font-size:13px}.stylook-lightbox{display:none;position:fixed;z-index:999999;inset:0;background:rgba(0,0,0,.94);align-items:center;justify-content:center;padding:60px 70px}.stylook-lightbox.is-open{display:flex}.stylook-lightbox img{max-width:90vw;max-height:78vh;object-fit:contain}.stylook-lightbox button{position:absolute;border:0;background:transparent;color:#fff;cursor:pointer;font-size:42px;line-height:1}.stylook-lightbox-close{right:25px;top:18px}.stylook-lightbox-prev{left:20px;top:50%;transform:translateY(-50%)}.stylook-lightbox-next{right:20px;top:50%;transform:translateY(-50%)}.stylook-lightbox-caption{position:absolute;bottom:20px;left:0;right:0;text-align:center;color:#fff;font-size:13px}.stylook-lightbox-active{overflow:hidden}@media(max-width:800px){.stylook-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.stylook-lightbox{padding:55px 40px}}@media(max-width:520px){.stylook-project-grid{grid-template-columns:1fr}.stylook-project-image{aspect-ratio:5/4}.stylook-filters{gap:6px}.stylook-filters button{padding:8px 13px;font-size:12px}.stylook-portfolio{padding:0 14px}.stylook-portfolio-cta{flex-direction:column;text-align:center}}
.stylook-single-project-gallery{margin-top:38px}.stylook-single-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stylook-single-photo-grid .stylook-project-image{aspect-ratio:4/3}.stylook-single-photo-grid .stylook-project-info{padding:0}.stylook-single-photo-grid .stylook-project-info strong{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:800px){.stylook-single-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.stylook-single-photo-grid{grid-template-columns:1fr}}

/* Keep the single-project page focused on the project gallery; avoid a duplicate theme featured image above it. */
body.single-stylook_project img.wp-post-image{display:none!important}
body.single-stylook_project .entry-meta{display:none!important}


/* v2.0.4: cleaner single-project presentation and theme-title cleanup. */
body.single-stylook_project .entry-header,
body.single-stylook_project header.entry-header,
body.single-stylook_project .entry-title,
body.single-stylook_project h1.entry-title,
body.single-stylook_project .post-title,
body.single-stylook_project .entry-meta,
body.single-stylook_project .byline,
body.single-stylook_project .posted-on,
body.single-stylook_project .author,
body.single-stylook_project .post-author,
body.single-stylook_project .author-name{display:none!important}
body.single-stylook_project .stylook-single-project-gallery{margin:22px auto 60px!important;padding-top:0}
body.single-stylook_project .stylook-single-project-gallery .stylook-portfolio-heading{margin-bottom:30px}
body.single-stylook_project .stylook-single-project-gallery .stylook-project-grid{gap:22px}
body.single-stylook_project .stylook-single-project-gallery .stylook-project-image{aspect-ratio:4/3;background:#f4f2f0}
body.single-stylook_project .stylook-single-project-gallery .stylook-project-image img{image-rendering:auto}
body.single-stylook_project .stylook-single-project-gallery .stylook-project-open:focus-visible{outline:3px solid var(--stylook-accent);outline-offset:4px}
.stylook-lightbox img{width:auto;height:auto;max-width:92vw;max-height:82vh}
@media(max-width:520px){body.single-stylook_project .stylook-single-project-gallery{margin-top:14px!important}.stylook-lightbox{padding:52px 18px}.stylook-lightbox img{max-width:94vw;max-height:78vh}}

/* v2.0.5: hide common WordPress theme title and author blocks on project detail pages. */
body.single-stylook_project .wp-block-post-title,
body.single-stylook_project .wp-block-post-author,
body.single-stylook_project .wp-block-post-author-name,
body.single-stylook_project .wp-block-post-date,
body.single-stylook_project .wp-block-post-terms,
body.single-stylook_project .post-meta,
body.single-stylook_project .post-author,
body.single-stylook_project .author-bio,
body.single-stylook_project .single-post-header,
body.single-stylook_project .post-header,
body.single-stylook_project .wp-block-post-featured-image,
body.single-stylook_project main article > h1:first-child { display:none !important; }
body.single-stylook_project .stylook-single-project-gallery { margin-top:18px !important; }


/* v2.0.6: Twenty Twenty-Five and block-theme single-project cleanup.
   Keep the site header, but remove the theme's post byline and excess content spacing. */
body.single-stylook_project .wp-block-post-author,
body.single-stylook_project .wp-block-post-author-name,
body.single-stylook_project .wp-block-post-author-biography,
body.single-stylook_project .wp-block-post-author__byline,
body.single-stylook_project .wp-block-post-date,
body.single-stylook_project .wp-block-post-terms,
body.single-stylook_project .wp-block-post-author__content,
body.single-stylook_project .wp-block-post-author__name,
body.single-stylook_project .wp-block-post-author__bio,
body.single-stylook_project .wp-block-post-author__avatar,
body.single-stylook_project .wp-block-query-title,
body.single-stylook_project .wp-block-post-featured-image { display:none !important; }
body.single-stylook_project .wp-site-blocks > main,
body.single-stylook_project main.wp-block-group,
body.single-stylook_project main > article,
body.single-stylook_project .wp-block-post-content,
body.single-stylook_project .entry-content {
  margin-block-start:0 !important;
  padding-block-start:0 !important;
}
body.single-stylook_project .wp-site-blocks > main { padding-top:0 !important; }
body.single-stylook_project .stylook-single-project-gallery { margin:10px auto 60px !important; }
body.single-stylook_project .stylook-single-project-gallery .stylook-portfolio-heading { margin-top:0 !important; }


/* v2.0.7: render project details in a clean plugin template. The theme header/footer remain intact, while its title/byline wrappers and spacer blocks are bypassed. */
body.single-stylook_project .stylook-pg-single-template,
body.single-stylook_project main.stylook-pg-single-template {
  display:block; width:100%; max-width:none; margin:0 !important; padding:0 !important;
}
body.single-stylook_project .stylook-pg-single-article,
body.single-stylook_project .stylook-pg-single-content {
  width:100%; max-width:none; margin:0 !important; padding:0 !important;
}
body.single-stylook_project .stylook-pg-single-content > :first-child { margin-block-start:0 !important; }
body.single-stylook_project .stylook-single-project-gallery { margin:8px auto 60px !important; padding:0 20px !important; }
body.single-stylook_project .stylook-single-project-gallery .stylook-portfolio-heading { margin:0 auto 28px !important; padding-top:0 !important; }
@media(max-width:520px){body.single-stylook_project .stylook-single-project-gallery{margin:8px auto 40px!important;padding:0 14px!important}}


/* v2.0.8: replace the theme's default site-name header with the approved STYLOOK DECORS logo. */
body.single-stylook_project .wp-site-blocks > header.wp-block-template-part,
body.single-stylook_project .wp-site-blocks > header.site-header {
  display:none !important;
}
body.single-stylook_project .stylook-brand-header {
  width:100%; min-height:112px; box-sizing:border-box; display:flex;
  align-items:center; justify-content:center; padding:10px 24px;
  background:#080808; border-bottom:1px solid #b58a3b;
}
body.single-stylook_project .stylook-brand-link {
  display:flex; align-items:center; justify-content:center; max-width:100%;
  text-decoration:none; border:0; line-height:0;
}
body.single-stylook_project .stylook-brand-link img {
  display:block; width:min(390px, 82vw); height:auto; max-height:94px;
  object-fit:contain; border:0; box-shadow:none;
}
@media(max-width:520px){
  body.single-stylook_project .stylook-brand-header { min-height:82px; padding:8px 14px; }
  body.single-stylook_project .stylook-brand-link img { width:min(280px, 86vw); max-height:66px; }
}

/* Category-wise project detail gallery */
.stylook-single-category-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:26px 0 30px}
.stylook-single-category-tabs button{border:1px solid #ddd;background:#fff;color:#333;border-radius:28px;padding:10px 18px;font:inherit;font-size:13px;cursor:pointer;transition:.2s}
.stylook-single-category-tabs button:hover,.stylook-single-category-tabs button.is-active{background:#242424;border-color:#242424;color:#fff}
.stylook-single-category-tabs button span{display:inline-block;margin-left:6px;opacity:.7;font-size:11px}
.stylook-single-category-panel[hidden]{display:none}
.stylook-single-category-panel h3{text-align:center;font-size:20px;font-weight:600;margin:0 0 18px}
.stylook-single-category-panel .stylook-single-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.stylook-single-category-panel .stylook-project-image{aspect-ratio:4/3}
.stylook-single-category-panel .stylook-project-open{overflow:hidden}
@media(max-width:800px){.stylook-single-category-panel .stylook-single-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:520px){.stylook-single-category-tabs{gap:6px}.stylook-single-category-tabs button{padding:8px 12px;font-size:12px}.stylook-single-category-panel .stylook-single-photo-grid{grid-template-columns:1fr}}


/* v2.1.9: compact, balanced portfolio page spacing */
.stylook-portfolio { margin-top: 18px; margin-bottom: 28px; }
.stylook-portfolio-heading { margin-bottom: 20px; }
.stylook-filters { margin: 20px 0 24px; }
.stylook-project-grid { column-gap: 22px; row-gap: 28px; }
.stylook-project-info { padding-top: 11px; }
.stylook-project-card .stylook-project-image { background: #f4f2ef; }
@media (max-width: 800px) {
  .stylook-portfolio { margin-top: 14px; margin-bottom: 22px; }
  .stylook-project-grid { row-gap: 22px; }
}


/* v2.2.0 – wider, premium project index and category-aware project navigation */
.stylook-portfolio:not(.stylook-single-project-gallery){
  --stylook-ink:#171717;--stylook-muted:#777;--stylook-accent:#b58a3b;
  width:min(100% - 48px,1440px);max-width:1440px;margin:28px auto 48px;padding:0;
}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-portfolio-heading{margin:0 auto 26px;max-width:760px}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-eyebrow{color:#a77c31;letter-spacing:3.2px;font-size:11px}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-portfolio-heading h2{font-size:clamp(34px,4vw,52px);font-weight:600;letter-spacing:-.7px;margin:10px 0 9px}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-portfolio-heading p{font-size:15px;line-height:1.65}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-filters{gap:10px;margin:25px 0 30px}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-filters button{border:1px solid #dedbd5;background:#fff;color:#353535;border-radius:4px;padding:11px 21px;font-size:13px;letter-spacing:.15px}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-filters button:hover,
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-filters button.is-active{background:#171717;border-color:#b58a3b;color:#fff}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-grid{gap:30px 26px}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-card{min-width:0;background:#fff;border:1px solid #eeece8;border-radius:7px;overflow:hidden;box-shadow:0 5px 20px rgba(25,22,17,.055);transition:transform .25s ease,box-shadow .25s ease}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(25,22,17,.11)}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-open{display:block;color:inherit;text-decoration:none;height:100%}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-image{aspect-ratio:5/4;background:#efede8}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-image img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-info{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-category{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#a77c31;font-weight:700}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-info strong{font-size:18px;line-height:1.3;font-weight:600;color:#202020}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-location{font-size:12px;color:#777}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-view-label{opacity:1;transform:none;background:rgba(12,12,12,.78);color:#fff;border-radius:3px}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-view-label b{color:#d7b56d}
.stylook-back-link{display:inline-block;margin-top:12px;color:#8b682b;text-decoration:none;font-size:13px;border-bottom:1px solid #c6a76c;padding-bottom:3px}
.stylook-back-link:hover{color:#171717}
.stylook-single-project-gallery{max-width:1440px;width:calc(100% - 48px);margin:30px auto 64px!important;padding:0!important}
.stylook-single-project-gallery .stylook-portfolio-heading h2{font-size:clamp(32px,4vw,48px)}
.stylook-single-category-panel .stylook-single-photo-grid{gap:24px}
.stylook-single-category-panel .stylook-project-card{border-radius:6px;overflow:hidden;background:#f4f2ee}
.stylook-single-category-panel .stylook-project-image{aspect-ratio:4/3}
@media(max-width:800px){.stylook-portfolio:not(.stylook-single-project-gallery),.stylook-single-project-gallery{width:calc(100% - 32px)}.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-grid{gap:22px 18px}}
@media(max-width:520px){.stylook-portfolio:not(.stylook-single-project-gallery),.stylook-single-project-gallery{width:calc(100% - 28px)}.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-grid{gap:20px}.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-info{padding:12px 13px 14px}.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-info strong{font-size:16px}}

/* v2.2.2: All category overview and project walkthrough video gallery */
.stylook-single-category-panel[data-gallery-panel="all"]{display:block}
/* Ensure the All panel is hidden when a specific room tab is selected. */
.stylook-single-category-panel[data-gallery-panel="all"][hidden]{display:none}
.stylook-single-category-panel[data-gallery-panel="all"] h3:not(:first-child){margin-top:34px}
.stylook-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.stylook-video-item{min-width:0;background:#111;border-radius:7px;overflow:hidden}
.stylook-video-frame{position:relative;aspect-ratio:16/9;background:#090909}
.stylook-video-frame iframe,.stylook-video-frame video{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:contain}
@media(max-width:700px){.stylook-video-grid{grid-template-columns:1fr}}


/* v2.2.3: reliable full-screen photo viewer on project detail pages. */
.stylook-lightbox{
  position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;
  max-width:none!important;max-height:none!important;margin:0!important;
  z-index:2147483000!important;background:rgba(0,0,0,.96)!important;
  align-items:center!important;justify-content:center!important;box-sizing:border-box!important;
}
.stylook-lightbox.is-open{display:flex!important;}
.stylook-lightbox img{
  display:block!important;width:auto!important;height:auto!important;
  max-width:calc(100vw - 140px)!important;max-height:calc(100vh - 120px)!important;
  object-fit:contain!important;margin:auto!important;
}
.stylook-lightbox button{z-index:2!important;}
body.stylook-lightbox-active{overflow:hidden!important;}
@media(max-width:600px){
  .stylook-lightbox{padding:48px 12px!important;}
  .stylook-lightbox img{max-width:calc(100vw - 36px)!important;max-height:calc(100vh - 110px)!important;}
  .stylook-lightbox-close{right:12px!important;top:10px!important;}
  .stylook-lightbox-prev{left:5px!important;}
  .stylook-lightbox-next{right:5px!important;}
}

/* v2.2.5: enforce category tab visibility against theme/plugin display rules. */
.stylook-single-project-gallery .stylook-single-category-panel[hidden]{display:none!important}
.stylook-single-project-gallery .stylook-single-category-panel:not([hidden]){display:block!important}


/* v2.2.8: five-column photo grid on desktop project detail pages. */
.stylook-single-project-gallery .stylook-single-category-panel .stylook-single-photo-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
}
.stylook-single-project-gallery .stylook-single-category-panel .stylook-project-image{
  aspect-ratio:1/1;
}
@media(max-width:1000px){
  .stylook-single-project-gallery .stylook-single-category-panel .stylook-single-photo-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
  }
}
@media(max-width:600px){
  .stylook-single-project-gallery .stylook-single-category-panel .stylook-single-photo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
}


/* v2.3.6: single-project pages retain the active theme header and use a compact gallery introduction. */
body.single-stylook_project .wp-site-blocks > header.wp-block-template-part,
body.single-stylook_project .wp-site-blocks > header.site-header { display:initial !important; }
body.single-stylook_project .stylook-brand-header { display:none !important; }
body.single-stylook_project .stylook-single-project-gallery {
  margin: 8px auto 48px !important;
  padding: 0 20px !important;
}
body.single-stylook_project .stylook-single-project-gallery .stylook-portfolio-heading {
  margin: 0 auto 14px !important;
  padding: 0 !important;
}
body.single-stylook_project .stylook-single-project-gallery .stylook-portfolio-heading h2 {
  font-size: clamp(26px, 3vw, 36px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.45px;
  margin: 0 0 5px !important;
}
body.single-stylook_project .stylook-single-project-gallery .stylook-portfolio-heading p {
  margin: 0 !important;
  line-height: 1.35;
}
body.single-stylook_project .stylook-single-category-tabs {
  margin: 14px 0 18px !important;
}
body.single-stylook_project .stylook-single-category-panel h3 {
  margin: 0 0 12px !important;
}
@media(max-width:520px) {
  body.single-stylook_project .stylook-single-project-gallery { margin: 6px auto 36px !important; padding: 0 14px !important; }
  body.single-stylook_project .stylook-single-project-gallery .stylook-portfolio-heading h2 { font-size: 27px !important; }
  body.single-stylook_project .stylook-single-category-tabs { margin: 12px 0 16px !important; }
}


/* v2.3.8: compact project index heading and predictable card grid. */
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-portfolio-heading{margin-top:0!important;padding-top:0!important}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-portfolio-heading h2{margin-top:0}
.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
@media(max-width:900px){.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.stylook-portfolio:not(.stylook-single-project-gallery) .stylook-project-grid{grid-template-columns:1fr}}
