/* PAHM — FINAL PRODUCTION OVERRIDE
   One approved PAHM BY PHAM lockup. No duplicate header logo. */

.header>.brand{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:500!important;width:180px!important;min-width:180px!important;height:72px!important;margin:0 auto!important;padding:0!important;flex:none!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;overflow:visible!important;background:none!important;color:transparent!important;font-size:0!important;line-height:0!important}
.header>.brand>*{display:none!important;visibility:hidden!important;width:0!important;height:0!important;max-width:0!important;max-height:0!important;margin:0!important;padding:0!important;opacity:0!important;pointer-events:none!important}
.header>.brand::before{content:""!important;display:block!important;visibility:visible!important;opacity:1!important;width:174px!important;height:63px!important;flex:none!important;background:url('/pahm-wordmark.svg?v=20260816-approved-lockup-final') center center/contain no-repeat!important}
.header>.brand::after{display:none!important;content:none!important}

.hero .hero-monogram,.hero .hero-monogram-img,.hero .monogram-svg,.hero-monogram,.hero-monogram-img{display:none!important;visibility:hidden!important;width:0!important;height:0!important;max-width:0!important;max-height:0!important;opacity:0!important;pointer-events:none!important;background:none!important}
.hero{position:relative!important;display:block!important;overflow:visible!important}
.hero-photo{position:relative!important;z-index:1!important;width:100%!important;overflow:hidden!important;background:#e4dacf!important}
.hero-photo video{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center top!important;transform:none!important}
.hero-content{position:relative!important;z-index:20!important;background:rgba(250,248,244,.985)!important;border:1px solid rgba(17,17,17,.10)!important;box-sizing:border-box!important}
.hero .eyebrow{display:block!important;width:auto!important;height:auto!important;margin:0 auto 18px!important;padding:0!important;background:none!important;color:#111!important;font-family:Inter,Arial,sans-serif!important;font-size:11px!important;line-height:1.2!important;letter-spacing:.30em!important;text-align:center!important;white-space:nowrap!important}

@media(min-width:901px){
.header{height:88px!important;min-height:88px!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;padding:0 28px!important;box-sizing:border-box!important}
.header>.brand{width:190px!important;min-width:190px!important;height:76px!important}
.header>.brand::before{width:184px!important;height:67px!important}
.hero-photo{height:min(72vh,760px)!important;min-height:560px!important}
.hero-photo video{object-position:center top!important}
.hero-content{margin:-27vh auto 0!important;width:min(86%,1080px)!important;padding:46px 7vw 44px!important;text-align:center!important}
}

@media(max-width:900px){
.header{height:82px!important;min-height:82px!important;padding:0 16px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px!important;align-items:center!important;box-sizing:border-box!important}
.header>.brand{grid-column:2!important;grid-row:1!important;width:142px!important;min-width:142px!important;height:70px!important;justify-self:center!important}
.header>.brand::before{width:138px!important;height:51px!important}
.hero-photo{height:calc(100svh - 112px)!important;min-height:540px!important}
.hero-photo video{object-position:center top!important}
.hero-content{margin:-31vh auto 0!important;width:92%!important;padding:42px 8vw 34px!important;text-align:center!important}
.hero .eyebrow{font-size:10px!important;letter-spacing:.25em!important;margin-bottom:14px!important}
}

@media(max-width:420px){
.header>.brand{width:130px!important;min-width:130px!important;height:64px!important}
.header>.brand::before{width:126px!important;height:47px!important}
.hero-photo{min-height:520px!important}
.hero-content{margin:-34vh auto 0!important;width:92%!important;padding:38px 7vw 32px!important}
}

.product-image{position:relative!important;aspect-ratio:3/4!important;height:auto!important;overflow:hidden!important;background:#f3f1ed!important}
.product-image>img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#f3f1ed!important;transform:none!important}
.product-modal .modal-image,.product-modal .modal-gallery,.product-modal .modal-main-image{min-width:0!important;background:#f3f1ed!important}
.product-modal .modal-main-image{overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important}
.product-modal .modal-main-image>img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
@media(max-width:900px){.product-modal{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;min-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important}.product-modal .modal-main-image{height:min(74svh,720px)!important}}

.header>.brand>.brand-pahm,.header>.brand>.brand-monogram,.header>.brand>.brand-bypham{display:none!important;visibility:hidden!important;opacity:0!important}

/* FINAL NO-CROP GALLERY GUARD */
.product-modal .modal-image,.product-modal .modal-gallery,.product-modal .modal-main-image{overflow:visible!important;min-height:0!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important}
.product-modal .modal-main-image{display:block!important;position:relative!important;width:100%!important;background:#f3f1ed!important}
.product-modal .modal-main-image>img,.product-modal #modalImg{display:block!important;width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center center!important;transform:none!important}
.product-modal .gallery-nav{position:absolute!important;inset:0!important;pointer-events:none!important}
.product-modal .gallery-nav button{pointer-events:auto!important}
@media(max-width:900px){.product-modal{grid-template-rows:auto auto!important;overflow-y:auto!important;overflow-x:hidden!important}.product-modal .modal-image,.product-modal .modal-gallery,.product-modal .modal-main-image{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important}.product-modal .modal-main-image>img,.product-modal #modalImg{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}}
