/* Keep PerfumeHubs' original white, black and navy identity. */
body{background:#fff!important;color:#111}
.ph-discovery{--ph-ink:#111;--ph-muted:#333;--ph-line:#e5e7eb;max-width:1200px;margin:0 auto;padding:28px 24px 48px;background:#fff;color:#111;font-size:16px;line-height:1.6}
.ph-discovery *,.ph-site-header *{box-sizing:border-box}
.ph-discovery [hidden],.ph-notification-link [hidden]{display:none!important}
.ph-discovery h1,.ph-discovery h2,.ph-discovery h3,.ph-discovery p{margin:0;color:#111}
.ph-discovery a{text-decoration:none;color:inherit}
.ph-discovery button,.ph-discovery input,.ph-discovery select{font:inherit}
.ph-discovery a:focus-visible,.ph-discovery button:focus-visible,.ph-discovery input:focus-visible,.ph-discovery select:focus-visible,.mobile-bottom-nav :focus-visible,.drawer-content :focus-visible,.ph-site-header :focus-visible{outline:2px solid #001f3f;outline-offset:3px}
.ph-home{padding-top:16px}
.ph-discovery-search{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}
.ph-search-line{display:flex;align-items:center;gap:10px;padding:7px 12px}
.ph-search-line>svg{flex:none;color:#001f3f}
.ph-search-line input[type=search]{flex:1;min-width:0;border:0!important;padding:4px 0;height:38px;box-shadow:none;background:#fff;color:#111}
.ph-search-line button,.ph-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #001f3f;border-radius:6px;background:#001f3f;color:#fff!important;padding:9px 18px;font-size:14px;font-weight:700;line-height:1.4;text-decoration:none;cursor:pointer;white-space:nowrap}
.ph-primary-button:hover,.ph-search-line button:hover{background:#003366}
.ph-search-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #e5e7eb}
.ph-search-filters label{padding:6px 14px;margin:0;min-width:0}
.ph-search-filters label+label{border-inline-start:1px solid #e5e7eb}
.ph-search-filters label>span,.ph-store-filter-form label>span{display:block;font-size:12px;color:#333;margin-bottom:2px}
.ph-search-filters select{border:0!important;box-shadow:none!important;height:30px;min-height:0;padding:0;padding-inline-end:22px;width:100%;font-size:13px;background-color:#fff;color:#111}
.ph-category-pills{display:flex;gap:20px;margin-top:10px;padding:8px 0;overflow-x:auto;border-bottom:1px solid #eee;scrollbar-width:thin}
.ph-category-pills a{padding:5px 6px;font-size:14px;line-height:1.5;white-space:nowrap;border-bottom:2px solid transparent;color:#111}
.ph-category-pills a[aria-current=true]{border-bottom-color:#001f3f;font-weight:700}
.ph-category-pills a:hover{color:#001f3f}
.ph-discovery section+section{margin-top:24px}
.ph-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.ph-section-heading h2{font-size:22px;line-height:1.4;font-weight:700}
.ph-feed-caption{font-size:12px;margin-top:4px!important}
.ph-text-link{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:700;white-space:nowrap;color:#001f3f!important}
.ph-text-link svg{width:18px;height:18px;flex:none}
.ph-store-strip{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,1fr);grid-auto-columns:195px;gap:8px;overflow-x:auto;padding:4px 2px 8px;scrollbar-width:thin;justify-content:start;scroll-snap-type:x proximity}
.ph-store-mini{position:relative;display:flex;align-items:center;gap:12px;min-height:85px;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;font-size:13px;font-weight:600;color:#111;scroll-snap-align:start;box-shadow:0 2px 4px rgb(0 0 0 / 6%)}
.ph-store-mini>span:nth-child(2){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:1.4}
.ph-store-mini>.ph-mini-verified{position:absolute;top:5px;inset-inline-end:5px;width:16px;height:16px;display:grid;place-items:center;border-radius:50%;background:#001f3f;color:#fff}
.ph-store-mini>.ph-mini-verified svg{width:12px;height:12px}
.ph-store-mini>.ph-store-avatar{flex-shrink:0;width:58px;height:58px;border-radius:8px}
.ph-store-avatar{display:flex;width:62px;height:62px;flex:none;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:50%;background:#fff;overflow:hidden}
.ph-store-avatar img{width:100%;height:100%;object-fit:cover}
.ph-avatar-placeholder{color:#001f3f;display:flex;align-items:center;justify-content:center}
.ph-avatar-placeholder svg{width:29px;height:29px}
.ph-mini-verified{display:flex;align-items:center;gap:3px;font-weight:400;font-size:10px;color:#001f3f}
.ph-mini-verified svg{width:13px;height:13px}
.ph-result-count{color:#333;font-size:13px;white-space:nowrap}
/* Reuse the original horizontal ad card, including individual sellers. */
.ph-perfume-grid{display:block}
.ph-home .custom-card-item{display:flex;align-items:flex-start;padding:12px;margin-bottom:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;box-shadow:none;transform:none;cursor:default}
.ph-home .custom-card-item:hover{border-color:#b4bfca;box-shadow:none;transform:none}
.ph-home .custom-card-img-box{width:150px;height:140px;margin-inline-end:14px;margin-inline-start:0;background:#fff;border-radius:6px}
.ph-home .custom-card-content{min-width:0;min-height:140px;padding-inline-end:36px}
.ph-home .custom-card-title{font-size:17px;line-height:1.5;height:auto;min-height:0;margin:0 30px 7px 0;color:#111;padding-inline-end:22px;margin-inline-start:0}
.ph-home .custom-card-title a{color:#111}
.ph-home .custom-card-short-desc{font-size:13px;color:#333;height:auto;max-height:2.8em;margin:0 0 8px}
.ph-home .custom-card-price{font-size:18px;color:#111;margin-bottom:8px}
.ph-home .custom-card-meta{margin-bottom:8px;gap:10px}
.ph-home .custom-meta-txt,.ph-home .custom-cat-badge,.ph-home .custom-stats{color:#333}
.ph-home .custom-card-footer{gap:12px;flex-wrap:wrap;border-top:1px solid #eee;padding-top:7px}
.ph-home .custom-card-fav{color:#001f3f;width:30px;height:30px;display:flex;align-items:center;justify-content:center;min-height:0;border-radius:4px;top:8px;left:8px}
.ph-home .custom-card-fav svg{width:20px;height:20px}
.ph-home .custom-card-fav.directorist-added-to-favorite svg{fill:#001f3f}
.ph-home .custom-card-fav:hover{color:#001f3f;transform:none;background:#f4f6f8}
.ph-home .ph-add-to-cart-btn{top:48px!important;left:8px!important;right:auto!important;width:30px!important;height:30px!important;min-height:0;border:1px solid #001f3f!important;border-radius:5px!important;box-shadow:none!important;background:#001f3f!important;padding:6px!important}
.ph-home .custom-seller-avatar{display:flex;width:24px;height:24px;flex:none;align-items:center;justify-content:center}
.ph-home .custom-seller-avatar svg{width:21px;height:21px}
.ph-home .custom-card-meta .verified-badge{position:static;box-shadow:none;background:none;color:#001f3f}
.ph-home .custom-author-pill{color:#111}
.ph-home .custom-author-pill .author-name{color:#111;font-size:12px}
.ph-home .verified-label{color:#001f3f}
.ph-home .visit-store-btn{color:#fff;background:#001f3f;border-radius:5px;padding:5px 10px;font-size:11px}
.custom-individual-seller{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#111}
.custom-seller-label{font-size:10px;padding:2px 7px;border:1px solid #d8dee5;border-radius:4px;color:#111;background:#fff}
.custom-author-pill{min-height:44px}
.custom-author-pill .custom-store-link{display:flex;align-items:center;gap:5px;min-height:24px;color:#001f3f;font-size:11px;line-height:1.5;font-weight:600}
.custom-author-pill .custom-store-link svg{width:14px;height:14px}
.custom-author-pill:focus-visible{outline:2px solid #001f3f;outline-offset:3px}
.custom-author-pill:hover .custom-store-link{text-decoration:underline;text-underline-offset:3px}
.ph-request-link{padding:14px 0;font-size:13px}
.ph-request-link a{color:#001f3f;text-decoration:underline;text-underline-offset:3px}
.ph-filter-summary{display:flex;justify-content:space-between;gap:12px;background:#fff;border-bottom:1px solid #eee;padding:8px 0;margin:0 0 16px;font-size:13px}
.ph-filter-summary a{text-decoration:underline;text-underline-offset:4px;white-space:nowrap;color:#001f3f}
.ph-pagination{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin-top:22px}
.ph-pagination .page-numbers{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;border:1px solid #e5e7eb;padding:6px 12px;border-radius:6px;font-size:14px}
.ph-pagination .current{background:#001f3f;color:#fff;border-color:#001f3f}
.ph-empty-state{text-align:center;border:1px solid #e5e7eb;background:#fff;border-radius:10px;padding:32px 20px}
.ph-empty-state>svg{width:32px;height:32px;color:#001f3f;margin-bottom:12px}
.ph-empty-state h3{font-size:20px;margin-bottom:6px}
.ph-empty-state p{font-size:14px;color:#333;margin-bottom:18px}
.ph-outline-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;border:1px solid #ccd4dc;color:#001f3f!important;border-radius:6px;padding:9px 15px;min-height:42px;font-size:14px;text-decoration:none}
#ph-latest,#ph-store-results,.directorist-tab__pane{scroll-margin-top:90px}
/* Store directory layout is retained; only the brand palette is restored. */
.ph-directory-intro{padding:12px 0 30px;border-bottom:1px solid #e5e7eb;position:relative}
.ph-directory-intro h1{font-size:36px;line-height:1.5}
.ph-directory-intro p{color:#333;margin-top:5px}
.ph-directory-intro>.ph-text-link{position:absolute;left:0;bottom:32px}
.ph-store-subscription-cta{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr) auto;align-items:center;gap:22px;margin:22px 0 28px;padding:22px 24px;border:1px solid #d8e0e8;border-radius:12px;background:#f7f9fb}
.ph-store-cta-eyebrow{display:block;margin-bottom:4px;color:#001f3f;font-size:12px;font-weight:700}
.ph-store-subscription-cta h2{margin:0;color:#111;font-size:22px;line-height:1.45}
.ph-store-subscription-cta p{margin:5px 0 0;color:#333;font-size:14px;line-height:1.7}
.ph-store-subscription-cta ul{display:grid;gap:8px;margin:0;padding:0;list-style:none;color:#111;font-size:13px}
.ph-store-subscription-cta li{display:flex;align-items:center;gap:7px}
.ph-store-subscription-cta li svg{width:17px;height:17px;flex:none;color:#001f3f}
.ph-store-subscription-cta .ph-primary-button{white-space:nowrap}
.ph-store-filter-form{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:12px;align-items:end;margin:24px 0 30px;padding:20px;background:#fff;border:1px solid #e5e7eb;border-radius:12px}
.ph-store-filter-form label{min-width:0;margin:0}
.ph-store-filter-form input,.ph-store-filter-form select{width:100%;height:44px;border:1px solid #d8dee5;border-radius:6px;background-color:#fff;font-size:14px;padding:8px 12px;color:#111}
.ph-store-filter-form select{padding-inline-end:28px}
.ph-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ph-directory-card{min-width:0;padding:24px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;display:flex;flex-direction:column}
.ph-directory-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.ph-verified-label{display:flex;align-items:center;gap:4px;font-size:12px;background:#fff;color:#001f3f;border:1px solid #d8e0e8;border-radius:6px;padding:3px 8px}
.ph-verified-label svg{width:15px;height:15px}
.ph-directory-card h3{font-size:21px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.ph-directory-card .ph-store-location{font-size:13px;color:#333;margin:5px 0}
.ph-directory-card .ph-directory-rating{font-size:13px;color:#111;min-height:25px}
.ph-directory-rating span{font-size:12px;color:#333}
.ph-store-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:18px 0;min-height:80px}
.ph-store-preview a{background:#fff;border:1px solid #eee;border-radius:8px;overflow:hidden;aspect-ratio:1}
.ph-store-preview img{width:100%;height:100%;object-fit:cover}
.ph-photo-placeholder{height:100%;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#001f3f;gap:8px;font-size:12px}
.ph-store-preview .ph-photo-placeholder svg{width:28px;height:28px}
.ph-store-no-listings{grid-column:1/-1;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #eee;border-radius:8px;color:#333;font-size:13px}
.ph-store-card-actions{display:flex;align-items:start;justify-content:space-between;gap:10px;border-top:1px solid #e5e7eb;padding-top:16px;margin-top:auto}
.ph-store-card-actions>.ph-text-link{min-height:40px}
.ph-store-card-actions [data-ph-follow-control]{max-width:58%}
.ph-store-card-actions .ph-button{display:inline-flex;background:#fff;border:1px solid #001f3f;border-radius:6px;color:#001f3f;min-height:40px;font-size:12px;line-height:1.5;white-space:normal;padding:7px 10px;text-align:center;text-decoration:none}
.ph-store-card-actions [aria-pressed=true]{background:#001f3f;color:#fff}
.ph-store-card-actions [data-ph-notice]:empty{display:none}
.ph-store-card-actions [data-ph-notice]{font-size:12px;line-height:1.5;margin-top:6px}
/* Original navy header, with the new working account shortcuts. */
.ph-site-header{margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 38px;background:#001f3f;color:#fff;position:relative;z-index:101}
.ph-site-header a{color:inherit;text-decoration:none}
.ph-brand{display:flex;align-items:center;gap:10px;flex:none;font-size:19px;font-weight:700}
.ph-brand img{width:48px;height:48px;object-fit:contain}
.ph-desktop-links{display:flex;gap:26px;align-items:center;font-size:15px}
.ph-desktop-more{position:relative;border:0;padding:0;margin:0}
.ph-desktop-more summary{cursor:pointer;list-style:none;padding:8px 0}
.ph-desktop-more summary:after{content:'⌄';margin-inline-start:8px}
.ph-desktop-more-panel{position:absolute;top:100%;left:-100px;display:grid;grid-template-columns:repeat(2,minmax(170px,1fr));gap:20px;max-height:70vh;overflow:auto;background:#fff;color:#111;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 10px 24px #001f3f14;padding:24px;min-width:410px;z-index:200}
.ph-desktop-more-panel strong{display:block;font-size:13px;color:#111;margin-bottom:8px}
.ph-desktop-more-panel a{display:block;font-size:14px;padding:8px;border-radius:5px;color:#111}
.ph-desktop-more-panel a:hover{background:#f4f6f8}
.ph-site-actions{display:flex;align-items:center;gap:17px}
.ph-account-link{display:flex;align-items:center;gap:7px;font-size:14px}
.ph-site-actions .ph-cart-icon-wrapper{border:0;background:transparent;padding:4px;min-height:0;color:#fff}
.ph-site-actions>.ph-primary-button{border-color:#fff}
.ph-notification-link{display:flex;align-items:center;justify-content:center;position:relative;width:36px;height:36px;color:inherit}
.ph-notification-link [data-ph-notification-count]{position:absolute;top:0;right:-2px;background:#fff;border:2px solid #001f3f;color:#001f3f;min-width:17px;height:17px;line-height:14px;text-align:center;border-radius:9px;font-size:10px;padding:0 2px}
.header-actions-left{display:flex;align-items:center;gap:8px}
.ph-more-group h3{font-size:13px;color:#111;margin:0 4px 9px}
.ph-more-group+.ph-more-group{margin-top:22px}
.drawer-content .more-menu-list li a{background:#fff;color:#111;border:1px solid #e5e7eb;padding:9px 12px;font-size:14px;transition:background-color .2s ease,color .2s ease}
.drawer-content .more-menu-list .menu-icon{box-shadow:none;background:#fff;color:#001f3f;width:32px;height:32px;margin-inline-end:10px;margin-inline-start:0;flex:none}
.drawer-content .more-menu-list a>svg{width:16px;height:16px;margin-inline-start:auto;color:#001f3f}
.drawer-content .drawer-header{margin:0 0 18px;padding:0}
.drawer-header h2{font-size:24px;margin:0;color:#111}
.drawer-content .close-drawer{width:40px;height:40px;padding:8px;flex:none;color:#001f3f;background:#fff;border:1px solid #e5e7eb}
.mobile-more-drawer.is-active{transition:none}
.mobile-header{background:#001f3f;color:#fff;box-shadow:none}
.mobile-header .header-icon,.mobile-header .mobile-icon-link,.mobile-header .ph-notification-link{color:#fff}
.mobile-header .header-logo{top:30px}
.mobile-header .mobile-search-bar{background:#001f3f;border-color:#334c65}
.mobile-header .search-field{color:#111;background:#fff;border-color:#d8dee5}
.mobile-header .search-field::placeholder{color:#333}
.mobile-header .search-submit{color:#001f3f}
@media(min-width:768px) and (max-width:1050px){.ph-site-header{padding:12px 22px;gap:15px}.ph-brand>span{display:none}.ph-desktop-links{gap:18px}.ph-site-actions{gap:10px}.ph-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ph-store-filter-form{grid-template-columns:repeat(3,minmax(0,1fr))}.ph-store-search{grid-column:span 2}}
@media(max-width:767px){
.ph-discovery{padding:12px 12px 28px;font-size:14px}.ph-discovery section+section{margin-top:18px}.ph-search-line{padding:5px 8px;gap:8px}.ph-search-line>svg{width:18px}.ph-search-line input[type=search]{font-size:16px;height:36px}.ph-search-line button{padding:8px 12px;min-height:38px;font-size:13px}.ph-search-line button svg{display:none}.ph-search-filters label{padding:5px 8px}.ph-search-filters select{font-size:12px;height:28px;padding-inline-end:14px}.ph-search-filters label>span{font-size:10px}.ph-category-pills{gap:14px;margin-top:5px;padding:5px 0}.ph-category-pills a{font-size:13px;padding:5px 7px}.ph-section-heading{gap:10px;margin-bottom:12px}.ph-section-heading h2{font-size:18px}.ph-section-heading .ph-text-link{font-size:12px;gap:3px}.ph-result-count{font-size:11px}.ph-store-strip{grid-auto-columns:170px}.ph-store-avatar{width:53px;height:53px}
.ph-home .custom-card-item{padding:9px;border-radius:8px;margin-bottom:10px}.ph-home .custom-card-img-box{width:100px;height:110px;margin-inline-end:10px}.ph-home .custom-card-content{min-height:110px}.ph-home .custom-card-title{font-size:14px;line-height:1.4;margin:0 0 5px;padding-inline-end:23px}.ph-home .custom-card-short-desc{font-size:11px;line-height:1.4;margin-bottom:5px}.ph-home .custom-card-price{font-size:16px;margin-bottom:5px}.ph-home .custom-card-meta{gap:6px;margin-bottom:6px}.ph-home .custom-card-footer{gap:5px;padding-top:5px}.ph-home .custom-stats{font-size:9px;gap:7px}.ph-home .custom-cat-badge{font-size:9px}.ph-home .custom-author-pill.verified-merchant img{width:22px;height:22px}.ph-home .custom-author-pill .author-name{font-size:11px}.ph-home .visit-store-btn{font-size:10px;padding:4px 7px}.custom-individual-seller{font-size:11px;gap:5px}.custom-seller-label{font-size:9px;padding:1px 5px}
.ph-directory-intro{padding:8px 0 20px}.ph-directory-intro h1{font-size:32px}.ph-directory-intro p{font-size:13px}.ph-directory-intro>.ph-text-link{position:static;margin-top:12px}.ph-store-filter-form{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px;margin:20px 0 26px}.ph-store-search{grid-column:1/-1}.ph-store-filter-form input{font-size:16px}.ph-store-filter-form .ph-primary-button{height:44px;align-self:end}.ph-store-grid{grid-template-columns:1fr;gap:14px}.ph-directory-card{padding:20px}.ph-directory-card-top{margin-bottom:12px}.ph-directory-card h3{font-size:23px}.ph-store-preview{min-height:70px;max-height:120px}.ph-store-preview a{aspect-ratio:1.2;max-height:120px}.ph-store-card-actions .ph-button{font-size:13px;padding:9px 13px}.ph-empty-state{padding:28px 16px}.ph-empty-state h3{font-size:19px}.ph-empty-state p{font-size:13px}.ph-outline-button{padding:8px 10px;font-size:12px}.mobile-bottom-nav{height:calc(70px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.mobile-bottom-nav button.nav-item{border:0;border-radius:0;background:transparent;padding:0;line-height:normal;min-height:0;font-weight:400}.mobile-bottom-nav .nav-item{font-size:11px;color:#111}.mobile-bottom-nav .nav-item.active{color:#001f3f}.mobile-bottom-nav .add-perfume-item .add-button{background:#001f3f}.mobile-more-drawer .drawer-content{box-sizing:border-box;max-height:88dvh;padding:22px 20px calc(22px + env(safe-area-inset-bottom));display:flex;flex-direction:column;overflow:hidden}.drawer-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 4px 4px}.mobile-more-drawer .drawer-header{flex:none}.mobile-more-drawer .drawer-overlay{backdrop-filter:blur(2px)}
}
@media(max-width:360px){.ph-home .custom-card-img-box{width:85px;height:100px}.ph-home .visit-store-btn{margin-right:0}.ph-home .custom-card-footer{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.ph-discovery *,.mobile-more-drawer,.mobile-more-drawer *{transition:none!important;scroll-behavior:auto!important}}

/* Riyal glyph ships locally; the site's text font stays unchanged. */
@font-face{font-family:'PH Riyal';src:url('../fonts/saudi-riyal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+20C1}
.ph-money{display:inline-flex;direction:ltr;align-items:baseline;gap:.3em;white-space:nowrap}
.ph-riyal{font-family:'PH Riyal',sans-serif!important;font-style:normal;font-weight:400;line-height:1;display:inline-block}
.ph-request-callout{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #e5e7eb;border-radius:10px;padding:18px;margin-top:24px;background:#fff}
.ph-request-callout h2{font-size:19px;margin-bottom:4px}.ph-request-callout p{font-size:13px;color:#333}
/* Give the seller a full readable line and keep controls clear of the text. */
.ph-home .custom-card-content{justify-content:flex-start;gap:0;padding-inline-end:40px}
.ph-home .custom-card-title{padding:0;margin:0 0 6px;font-size:17px;line-height:1.5}
.ph-home .custom-card-meta{align-items:center;gap:6px 14px}
.ph-home .custom-author-pill{min-width:0;max-width:100%;padding:0;background:#fff;gap:7px}
.ph-home .custom-author-pill .author-info{margin:0;min-width:0;line-height:1.5}
.ph-home .custom-author-pill .author-name{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-home .custom-seller-avatar{width:22px;height:22px}.ph-home .custom-card-meta .verified-badge{font-size:11px}
.ph-home .custom-meta-txt{font-size:12px}.ph-home .custom-card-footer{margin-top:auto;gap:6px 16px}.ph-home .custom-stats{font-size:11px;gap:10px;flex-wrap:wrap;color:#333}.ph-home .view-label{font-size:inherit;color:inherit}
.ph-home .custom-card-short-desc{line-height:1.5;max-height:3em}.ph-home .custom-cat-badge{font-size:10px;background:#fff}
/* Native modal top layer prevents guest banners from covering its controls. */
dialog.mobile-more-drawer{margin:0;padding:0;border:0;inset:0;max-width:none;max-height:none;width:100%;height:100%;height:100dvh;background:transparent;overflow:hidden;z-index:100001}
dialog.mobile-more-drawer:not([open]){display:none}dialog.mobile-more-drawer[open]{display:block;visibility:visible}dialog.mobile-more-drawer::backdrop{background:transparent}
dialog.mobile-more-drawer .drawer-content{z-index:1;transform:none;max-height:88vh;max-height:88dvh;display:flex;flex-direction:column;overflow:hidden}
dialog.mobile-more-drawer .drawer-body{overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;min-height:0}
dialog.mobile-more-drawer .drawer-header{flex:none}.mobile-more-drawer .close-drawer{min-width:44px;min-height:44px}
@media(max-width:767px){
.ph-category-pills{flex-wrap:wrap;gap:3px 10px;overflow:visible}.ph-category-pills a{font-size:12px;padding:7px 4px}
.ph-request-callout{align-items:stretch;flex-direction:column;gap:12px;padding:16px}.ph-request-callout .ph-primary-button{align-self:flex-start}
.ph-store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ph-directory-card{padding:12px;border-radius:10px}.ph-directory-card-top{gap:6px;margin-bottom:10px}.ph-directory-card .ph-store-avatar{width:40px;height:40px}.ph-directory-card .ph-verified-label{font-size:10px;padding:2px 4px;gap:1px}.ph-directory-card .ph-verified-label svg{width:12px;height:12px}.ph-directory-card h3{font-size:16px;line-height:1.5}.ph-directory-card .ph-store-location,.ph-directory-card .ph-directory-rating,.ph-directory-card .ph-directory-rating span{font-size:11px}.ph-directory-card .ph-store-preview{min-height:44px;margin:12px 0;gap:4px}.ph-directory-card .ph-store-preview a{aspect-ratio:1}.ph-directory-card .ph-store-no-listings{font-size:10px;text-align:center;padding:6px}.ph-store-card-actions{flex-direction:column;align-items:stretch;gap:7px;padding-top:10px}.ph-store-card-actions>.ph-text-link{font-size:12px;min-height:36px;justify-content:space-between}.ph-store-card-actions [data-ph-follow-control]{max-width:none;width:100%}.ph-store-card-actions .ph-button{width:100%;font-size:11px;padding:6px;min-height:40px}.ph-store-card-actions [data-ph-notice]{font-size:11px}
.ph-home .custom-card-img-box{width:100px;height:112px}.ph-home .custom-card-content{min-height:132px;padding-inline-end:30px}.ph-home .custom-card-title{font-size:14px;line-height:1.5;margin-bottom:5px}.ph-home .custom-card-short-desc{font-size:12px;margin-bottom:6px}.ph-home .custom-card-price{font-size:17px;margin-bottom:7px}.ph-home .custom-card-meta{gap:4px;margin-bottom:7px;align-items:flex-start;flex-direction:column}.ph-home .custom-author-pill .author-name{font-size:12px}.ph-home .custom-meta-txt{font-size:11px}.ph-home .custom-card-footer{padding-top:6px;gap:5px}.ph-home .custom-stats{font-size:10px;gap:7px}.ph-home .custom-card-fav{left:5px;width:28px;height:32px}.ph-home .ph-add-to-cart-btn{left:5px!important;width:28px!important;height:32px!important}.ph-home .custom-cat-badge{font-size:9px;padding:1px 4px}.ph-home .custom-seller-avatar{display:none}
}
@media(max-width:360px){.ph-home .custom-card-img-box{width:82px;height:104px}.ph-directory-card{padding:10px}.ph-directory-card-top{align-items:flex-start;flex-direction:column}.ph-directory-card h3{font-size:15px}}
@media(max-width:767px){.ph-store-mini{min-height:75px;font-size:12px;padding:10px;gap:10px}.ph-store-mini>.ph-store-avatar{width:52px;height:52px}}
/* Keep the visitor notice clear of navigation and use the same site colors. */
#ph-consent-banner{background:#fff!important;color:#111!important;border:1px solid #d8e0e8;box-shadow:0 4px 24px #001f3f18!important}#ph-consent-banner p{color:#111!important}#ph-consent-banner #ph-consent-accept{background:#001f3f;color:#fff}#ph-consent-banner #ph-consent-decline{background:#fff;color:#001f3f;border-color:#ccd4dc!important}
.ph-riyal{font-size:1.25em}
@media(max-width:767px){#ph-consent-banner{bottom:calc(88px + env(safe-area-inset-bottom))!important}}
@media(max-width:767px){.ph-store-subscription-cta{grid-template-columns:1fr;gap:14px;margin:16px 0 22px;padding:18px}.ph-store-subscription-cta h2{font-size:19px}.ph-store-subscription-cta p{font-size:13px}.ph-store-subscription-cta .ph-primary-button{width:100%}}
#main>.ct-container-full:has(.directorist-user-dashboard),#main>.ct-container-full:has(.ph-storefront){padding-top:20px;padding-bottom:24px}
