.ph-container{max-width:1260px;width:100%;margin:auto}header.ph-reference-header{background:#ff6500;border:0}.ph-header{grid-template-columns:210px auto minmax(180px,1fr) auto;padding:8px 16px;gap:28px;min-height:64px;color:white}.ph-brand{display:flex;align-items:center}.ph-brand img{display:block;width:196px;height:48px;object-fit:contain}.ph-header .ph-brand img{filter:brightness(0) invert(1)}.ph-address{font-size:13px;border:1px solid #ffffff70;border-radius:24px;padding:9px 13px;color:white}.ph-address .text-brand,.ph-header .ph-actions{color:white}.ph-search{grid-row:auto;grid-column:auto;background:white;color:#344054;padding:9px 18px;height:38px}.ph-search button{display:none}.ph-actions{gap:28px}.ph-cart-count{background:white;color:#ff6500}.ph-nav{max-width:none;background:white;color:#242424;gap:40px;height:36px;align-items:stretch;border-bottom:1px solid #eee}.ph-nav>a{padding:7px 12px;font-weight:700}.ph-nav>a i{display:none}main.ph-container{max-width:none;width:100%}.ph-hero{aspect-ratio:1536/313;border-radius:0}.ph-hero-image{object-fit:cover}.ph-slide.ph-exact-slide img{position:absolute;top:0;left:0;width:100%;height:auto;max-width:none;transform:translateY(-9.668%);object-fit:initial}.ph-inner{max-width:1260px;margin:auto;padding:0 16px}.ph-category{height:96px;padding:8px;background:#faf7f3;gap:4px;border-radius:15px}.ph-category:nth-child(2){background:#fff0eb}.ph-category:nth-child(3){background:#eaf7e8}.ph-category:nth-child(4){background:#e4f5ff}.ph-category:nth-child(5){background:#f2ebff}.ph-category:nth-child(6){background:#f7f7f7}.ph-category>span{width:84px;height:57px}.ph-ref-cat{display:block;background-image:url('../images/banners/approved-page-reference-p2.webp');background-repeat:no-repeat;background-size:768px 512px;font-size:0!important}.ph-ref-cat.c0{background-position:-122px -211px}.ph-ref-cat.c1{background-position:-212px -211px}.ph-ref-cat.c2{background-position:-300px -211px}.ph-ref-cat.c3{background-position:-389px -211px}.ph-ref-cat.c4{background-position:-476px -211px}.ph-section-head{margin-bottom:10px}.ph-section-head h2{font-size:23px}.ph-section{padding-bottom:20px}.ph-card{border:1px solid #f2f2f2;border-radius:9px;box-shadow:0 3px 8px #00000008}.ph-shop-image{aspect-ratio:2.65/1}.ph-product-image{aspect-ratio:2.1/1;background:white}.ph-product-image img{object-fit:contain}.ph-add{border-radius:9px}.ph-reference-join{display:block;position:relative;width:100%;aspect-ratio:1230/91;overflow:hidden;border-radius:15px;margin:12px 0 24px}.ph-reference-join img{position:absolute;width:124.878%;max-width:none;height:auto;left:-12.52%;top:0;transform:translateY(-90.02%)}.ps-global-brand{display:flex;justify-content:center;align-items:center;padding:10px 16px;background:white;border-bottom:1px solid #edf0f4}.ps-global-brand img{display:block;width:180px;height:49px;object-fit:contain}.ps-brand-image{width:190px;height:52px;object-fit:contain;display:block}.ad-brand .ps-brand-image,.ps-brand .ps-brand-image,.rhead .ps-brand-image,.brandNew .ps-brand-image,.loginLogoImg,.side .logo img{filter:brightness(0) invert(1)}.ps-logo-vertical{display:block;width:150px;max-width:100%;height:auto;margin:0 auto 16px}
@media(min-width:768px){.ph-inner>section[aria-label="หมวดหมู่สินค้า"]{max-width:1030px;margin:auto;padding-top:12px;padding-bottom:14px;gap:28px}#shops .grid{grid-template-columns:repeat(4,minmax(0,1fr))}[aria-labelledby="products-title"] .grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(min-width:768px) and (max-width:1100px){.ph-header{gap:14px;grid-template-columns:180px auto 1fr auto}.ph-brand img{width:165px}.ph-actions{gap:18px}.ph-actions>a:first-child span{display:none}.ph-address{max-width:170px}}
@media(max-width:767px){.ph-header{grid-template-columns:1fr auto;gap:10px;padding:10px 16px}.ph-brand img{width:165px;height:43px}.ph-address{grid-row:2;grid-column:1/-1;font-size:12px;max-width:none;width:100%}.ph-search{grid-row:3;grid-column:1/-1;height:42px}.ph-nav{display:none}.ph-inner{padding:0 12px}.ph-hero{aspect-ratio:1536/313}.ph-category{height:89px}.ph-reference-join{aspect-ratio:3.2/1;background:#fff0e1}.ph-reference-join img{width:235%;left:-5%;transform:translateY(-90.02%)}.ph-shop-image{aspect-ratio:1.65/1}.ph-product-image{aspect-ratio:1.45/1}.ph-section-head h2{font-size:20px}}
.ph-brand img{object-fit:cover}
.ph-ref-cat{background-size:1536px 1024px}
.ph-ref-cat.c0{background-position:-284px -424px}.ph-ref-cat.c1{background-position:-461px -424px}.ph-ref-cat.c2{background-position:-634px -424px}.ph-ref-cat.c3{background-position:-810px -424px}.ph-ref-cat.c4{background-position:-986px -424px}
@media(max-width:767px){.ph-reference-join{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;aspect-ratio:auto;min-height:130px}.ph-reference-join img{display:none}.ph-reference-join:before{content:"เปิดร้านกับ PromptSen";font-weight:800;color:#ff6500;font-size:22px}.ph-reference-join:after{content:"ทดลองใช้งานฟรี 45 วัน  ›";background:#ff6500;border-radius:12px;color:white;padding:10px 20px;font-weight:700}}

.ps-mobile-brand{display:none}@media(max-width:1050px){.ps-mobile-brand{display:flex;align-items:center;justify-content:center;background:white;padding:6px 12px;border-bottom:1px solid #f1f1f1}.ps-mobile-brand img{width:145px;height:40px;object-fit:cover}}

/* Full banner artwork and icon navigation */
.ph-hero{aspect-ratio:var(--ph-banner-ratio,3/1);height:auto;transition:aspect-ratio .25s ease;background:#fff7ed}
.ph-hero-image{object-fit:contain;object-position:center}
.ph-slide.ph-exact-slide img{object-fit:initial}
.ph-nav{height:auto;min-height:60px;padding:8px 16px;gap:10px;align-items:center;box-shadow:0 3px 12px #17203308;position:relative;z-index:2}
.ph-nav>a{border:0;display:inline-flex;gap:9px;padding:10px 19px;border-radius:12px;font-size:14px;font-weight:700;color:#475467;transition:background .18s,color .18s,box-shadow .18s;min-height:44px}
.ph-nav>a i{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;font-size:19px;color:#ff6500}
.ph-nav>a.active{color:#fff;background:linear-gradient(135deg,#ff6500,#ff841a);box-shadow:0 4px 12px #ff650030}
.ph-nav>a.active i{color:#fff}
.ph-nav>a:hover{background:#fff0e5;color:#e65700}
.ph-nav>a.active:hover{background:#ed5d00;color:#fff}
.ph-nav>a:focus-visible{outline:3px solid #ffb67f;outline-offset:3px}
.ph-nav>a:nth-last-child(-n+2){border:1px solid #ffe2cc;background:#fff9f4}
.ph-nav>a:nth-last-child(-n+2):hover{background:#ffeddf}
@media(max-width:767px){.ph-nav{display:flex;justify-content:flex-start;overflow-x:auto;gap:7px;padding:8px 12px;min-height:54px;scrollbar-width:none}.ph-nav::-webkit-scrollbar{display:none}.ph-nav>a{padding:8px 12px;font-size:12px;min-height:38px;gap:6px;white-space:nowrap}.ph-nav>a i{font-size:17px;width:21px;height:21px}}
@media(prefers-reduced-motion:reduce){.ph-hero,.ph-nav>a{transition:none}}

/* Vector logos: no bitmap edges or cropping */
.ph-brand img,.ps-brand-image,.ps-global-brand img,.ps-mobile-brand img,.loginLogoImg{object-fit:contain!important;object-position:center;image-rendering:auto}.ps-logo-vertical{object-fit:contain;image-rendering:auto}

/* Mobile uses the bottom navigation */
@media(max-width:767px){.ph-nav{display:none}}

/* P mark: retain white lettering and gold speed details on dark backgrounds */
.ph-header .ph-brand img,.ad-brand .ps-brand-image,.ps-brand .ps-brand-image,.rhead .ps-brand-image,.brandNew img,.loginLogoImg,.side .logo img{content:url("../brand/promptsen-logo-white.svg?v=p2");filter:none!important}
