/* Pizzaro theme for OpenCart 4.0.2+ — colors come from theme settings via :root variables */
:root{--ph-primary:#e63946;--ph-secondary:#ff9800;--ph-dark:#0d0d0d;--ph-yellow:#ffc107;--ph-ink:#1a1a1a;--ph-muted:#6b6b6b;--ph-line:#e8e8e8;--ph-soft:#f6f4f1;--ph-radius:12px;--bs-primary:var(--ph-primary);--bs-link-color:var(--ph-primary);--bs-link-hover-color:#b8232f}
body{font-family:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;color:var(--ph-ink);background:#fff;font-size:15px}
a{color:var(--ph-primary)}
h1,h2,h3,h4{font-weight:700;letter-spacing:-.01em}
.container{max-width:1240px}
.btn-primary,.ph-btn{--bs-btn-bg:var(--ph-primary);--bs-btn-border-color:var(--ph-primary);--bs-btn-hover-bg:#c92d3a;--bs-btn-hover-border-color:#c92d3a;--bs-btn-active-bg:#b8232f;--bs-btn-active-border-color:#b8232f;--bs-btn-disabled-bg:var(--ph-primary);--bs-btn-disabled-border-color:var(--ph-primary);background:var(--ph-primary);border:1px solid var(--ph-primary);color:#fff;border-radius:8px;font-weight:600}
.ph-btn{display:inline-block;padding:.6rem 1.4rem;text-decoration:none;cursor:pointer;line-height:1.3}
.ph-btn:hover{background:#c92d3a;border-color:#c92d3a;color:#fff}
.ph-btn-lg{padding:.8rem 2rem;font-size:1.05rem}
:focus-visible{outline:3px solid var(--ph-secondary);outline-offset:2px}
.btn-light,.btn-outline-primary{border-radius:8px}

/* announcement + header */
.ph-announce{background:#000;color:#fff;font-size:.8rem;text-align:center;padding:.4rem 0}
.ph-header{background:var(--ph-dark);color:#fff;position:relative;z-index:50}
.ph-header-in{display:flex;align-items:center;gap:1.25rem;padding-top:.8rem;padding-bottom:.8rem}
.ph-logo{display:inline-flex;align-items:center;color:#fff;text-decoration:none;font-weight:800;font-size:1.5rem;font-style:italic}
.ph-logo img{max-height:46px;width:auto}
.ph-burger{display:none;background:none;border:0;color:#fff;font-size:1.4rem;padding:.25rem .5rem}
.ph-search{flex:1;max-width:520px;margin:0 auto}
.ph-search #search{margin:0;width:100%}
.ph-search .form-control{background:#222;border:1px solid #3a3a3a;color:#fff;border-radius:8px 0 0 8px;height:42px}
.ph-search .form-control::placeholder{color:#9a9a9a}
.ph-search .btn{background:var(--ph-primary);border-color:var(--ph-primary);color:#fff;border-radius:0 8px 8px 0;height:42px}
.ph-actions{display:flex;align-items:center;gap:1rem;margin-left:auto}
.ph-actions a,.ph-actions .dropdown-toggle{color:#fff;font-size:1.15rem;text-decoration:none}
.ph-actions .dropdown-toggle::after{display:none}
#header-cart{position:relative}
#header-cart .btn,#header-cart button.dropdown-toggle{background:transparent;border:0;color:#fff;padding:.25rem .4rem;font-size:1rem}
#header-cart .btn:hover{background:transparent;color:var(--ph-secondary)}
#header-cart .dropdown-menu{min-width:340px;max-width:92vw;background:#fff;color:var(--ph-ink);border:0;border-radius:var(--ph-radius);box-shadow:0 18px 40px rgba(0,0,0,.35);padding:1rem}
#header-cart .dropdown-menu .table{margin-bottom:.5rem}
#header-cart .dropdown-menu a{color:var(--ph-ink);font-size:.9rem}
#header-cart .dropdown-menu .btn{color:#fff;font-size:.9rem}
#header-cart .dropdown-menu .btn-light,#header-cart .dropdown-menu .btn-outline-primary{background:#fff;color:var(--ph-primary);border:1px solid var(--ph-primary)}
.ph-search-toggle{display:none}
.ph-nav{background:var(--ph-nav,#000);border-top:1px solid rgba(255,255,255,.12)}
.ph-menu{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:.25rem;flex-wrap:wrap}
.ph-menu>li{position:relative}
.ph-menu a{display:block;color:var(--ph-nav-text,#fff);text-decoration:none;font-weight:600;font-size:.9rem;padding:.8rem 1.1rem}
.ph-menu a:hover,.ph-menu a:focus-visible{color:var(--ph-secondary)}
.ph-sub{display:none;list-style:none;margin:0;padding:.4rem 0;position:absolute;left:0;top:100%;min-width:200px;background:#111;border-radius:0 0 10px 10px;box-shadow:0 12px 28px rgba(0,0,0,.4)}
.ph-has-sub:hover>.ph-sub,.ph-has-sub:focus-within>.ph-sub{display:block}
.ph-sub a{padding:.5rem 1.1rem;font-weight:500}

/* page banner (category pages) */
.ph-banner{background:linear-gradient(90deg,#0d0d0d 0%,rgba(13,13,13,.75) 55%,rgba(230,57,70,.55) 100%),var(--ph-dark);color:#fff;padding:3.2rem 0}
.ph-banner-title{font-size:clamp(2rem,4vw,3rem);font-weight:800}

/* breadcrumb */
.breadcrumb{font-size:.85rem;margin:1rem 0;padding:0;background:none}
.breadcrumb-item+.breadcrumb-item::before{content:"/"}

/* hero */
.ph-hero{position:relative;background:var(--ph-dark);color:#fff;overflow:hidden;min-height:360px;display:flex;align-items:center}
.ph-hero-bg{position:absolute;inset:0;background-size:cover;background-position:right center;background-repeat:no-repeat}
.ph-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,13,13,var(--ph-ov,.7)) 8%,rgba(13,13,13,calc(var(--ph-ov,.7) * .8)) 42%,rgba(13,13,13,0) 78%);z-index:1}
.ph-hero-in{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;padding-top:3rem;padding-bottom:3rem;gap:2rem}
.ph-hero-copy{max-width:560px}
.ph-hero h1{font-size:clamp(2.2rem,5.4vw,4rem);font-weight:800;line-height:1.05;margin:0 0 1rem}
.ph-hero h1 span{display:block}
.ph-hero h1 em{display:block;font-style:normal;color:var(--ph-yellow)}
.ph-hero p{font-size:1.05rem;color:#ddd;margin-bottom:1.5rem}
.ph-badge{flex:none;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#ff5a66,var(--ph-primary) 70%);border:4px solid var(--ph-yellow);display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-8deg);box-shadow:0 10px 30px rgba(0,0,0,.45);text-align:center}
.ph-badge small{font-size:.8rem;font-weight:700}
.ph-badge strong{font-size:2.6rem;line-height:1;font-weight:800}
.ph-badge span{font-size:1.2rem;font-weight:800}

/* sections */
.ph-section{padding-top:1.6rem;padding-bottom:.6rem}
.ph-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:1rem}
.ph-head h2{font-size:1.5rem;margin:0}
.ph-head a{font-size:.85rem;font-weight:700;text-decoration:none;color:var(--ph-primary)}
.ph-cats{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem}
.ph-cat{display:block;text-align:center;text-decoration:none;color:var(--ph-ink);background:#fff;border:1px solid var(--ph-line);border-radius:var(--ph-radius);padding:.75rem;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.ph-cat img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:50%;margin-bottom:.5rem}
.ph-cat span{font-weight:600;font-size:.9rem}
.ph-cat:hover{border-color:var(--ph-primary)}
.ph-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}

/* native product cards (home grid, category, related) */
.product-thumb{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--ph-line);border-radius:var(--ph-radius);overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.06);margin:0}
.product-thumb .image{margin:0;background:#f3efe9}
.product-thumb .image img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;display:block;border:0;border-radius:0}
.product-thumb .content{display:flex;flex-direction:column;flex:1;padding:.9rem}
.product-thumb .description{flex:1}
.product-thumb h4{font-size:1rem;margin:0 0 .35rem}
.product-thumb h4 a{color:var(--ph-ink);text-decoration:none}
.product-thumb p{color:var(--ph-muted);font-size:.85rem;margin:0 0 .5rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-thumb .price{font-weight:800;font-size:1.1rem;color:var(--ph-ink)}
.product-thumb .price-new{color:var(--ph-ink)}
.product-thumb .price-old{color:#999;text-decoration:line-through;font-weight:500;font-size:.9rem;margin-left:.35rem}
.product-thumb .price-tax{display:block;font-size:.75rem;font-weight:400;color:var(--ph-muted)}
.product-thumb .rating{color:var(--ph-secondary);font-size:.8rem;margin:.25rem 0}
.product-thumb .rating .fa-regular{color:#ccc}
.product-thumb .button-group{display:flex;gap:.5rem;margin-top:.75rem}
.product-thumb .button-group button{flex:0 0 auto;min-width:42px;height:42px;border:1px solid var(--ph-line);background:#fff;border-radius:8px;color:var(--ph-ink)}
.product-thumb .button-group button:first-child{flex:1;background:var(--ph-primary);border-color:var(--ph-primary);color:#fff;font-weight:700;font-size:.9rem}
.product-thumb .button-group button:first-child:hover{background:#c92d3a}
.product-thumb .button-group button:nth-child(2):hover{color:var(--ph-primary);border-color:var(--ph-primary)}
.product-thumb .button-group button:nth-child(n+3){display:none}
.product-thumb .button-group .btn{flex:1}
.ph-cell{height:100%}
.ph-cell>.product-thumb{height:100%}

/* build your own + promos */
.ph-byo{background:linear-gradient(90deg,#0d0d0d 30%,rgba(13,13,13,.55) 70%,rgba(13,13,13,.2) 100%),var(--ph-byo,none) right center/cover no-repeat,#1a1a1a;color:#fff;border-radius:var(--ph-radius);padding:2.4rem 2rem;min-height:170px;display:flex;align-items:center}
.ph-byo h2{font-size:1.8rem;margin:0 0 .4rem}
.ph-byo p{color:#ddd;margin-bottom:1rem;max-width:460px}
.ph-promos{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.ph-promo{display:flex;flex-direction:column;justify-content:center;min-height:130px;padding:1.2rem 1.4rem;border-radius:var(--ph-radius);text-decoration:none;color:#3b1d00;background:linear-gradient(120deg,#ffe0b3,#ffc27a);background-image:linear-gradient(90deg,rgba(255,224,179,.95) 40%,rgba(255,224,179,.1)),var(--ph-promo,none);background-size:cover;background-position:right center}
.ph-promo-2{background-color:#ffd9a0}
.ph-promo-3{background-color:#ffcfae}
.ph-promo h3{font-size:1.1rem;margin:0 0 .15rem}
.ph-promo span{color:var(--ph-primary);font-weight:700;font-size:.9rem}
.ph-promo strong{font-size:.95rem}

/* reviews + benefits */
.ph-reviews{background:var(--ph-dark);color:#fff;margin-top:2rem;padding:2.4rem 0}
.ph-reviews h2{text-align:center;font-size:1.3rem;margin-bottom:1.4rem}
.ph-rev-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.2rem;max-width:900px;margin:0 auto}
.ph-rev{margin:0;background:#1b1b1b;border-radius:var(--ph-radius);padding:1.2rem 1.4rem}
.ph-rev blockquote{margin:0 0 .75rem;color:#e6e6e6;font-size:.95rem}
.ph-rev figcaption{font-weight:700;font-size:.9rem;display:flex;justify-content:space-between;align-items:center;gap:.5rem}
.ph-stars{color:var(--ph-secondary);font-size:.8rem;white-space:nowrap}
.ph-benefits{background:#fff;border-bottom:1px solid var(--ph-line)}
.ph-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;padding-top:1.4rem;padding-bottom:1.4rem}
.ph-benefit-grid div{display:grid;grid-template-columns:auto 1fr;column-gap:.8rem;align-items:center}
.ph-benefit-grid i{grid-row:span 2;font-size:1.6rem;color:var(--ph-primary)}
.ph-benefit-grid strong{font-size:.95rem}
.ph-benefit-grid span{font-size:.8rem;color:var(--ph-muted)}

/* newsletter + footer */
.ph-footer{background:var(--ph-dark);color:#cfcfcf;margin-top:0}
.ph-newsletter{text-align:center;padding:2.4rem 0 2rem;border-bottom:1px solid #222}
.ph-newsletter h2{color:#fff;font-size:1.2rem;margin-bottom:.3rem}
.ph-newsletter p{margin-bottom:1rem;font-size:.9rem}
.ph-news{display:flex;max-width:520px;margin:0 auto}
.ph-news input[type=email]{flex:1;min-width:0;height:44px;border:0;border-radius:8px 0 0 8px;padding:0 1rem;background:#fff}
.ph-news .ph-btn{border-radius:0 8px 8px 0}
.ph-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.ph-news-msg{min-height:1.4rem;margin:.6rem 0 0!important;color:var(--ph-yellow)}
.ph-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.4fr;gap:2rem;padding-top:2.4rem;padding-bottom:2rem}
.ph-footer h3{color:#fff;font-size:1rem;margin-bottom:.9rem}
.ph-footer ul{list-style:none;padding:0;margin:0}
.ph-footer li{margin-bottom:.45rem;font-size:.88rem}
.ph-footer a{color:#cfcfcf;text-decoration:none}
.ph-footer a:hover{color:var(--ph-secondary)}
.ph-foot-brand p{margin-top:.5rem;font-size:.85rem}
.ph-contact i{width:1.4rem;color:var(--ph-secondary)}
.ph-social{display:flex;gap:.6rem;margin-top:.8rem}
.ph-social a{width:34px;height:34px;border-radius:50%;background:#222;display:inline-flex;align-items:center;justify-content:center}
.ph-copy{border-top:1px solid #222;text-align:center;padding:1rem 0;font-size:.8rem;color:#8c8c8c}
.ph-footer-band{height:120px;background-size:cover;background-position:center}
.ph-wa{position:fixed;right:16px;bottom:20px;width:54px;height:54px;border-radius:50%;background:#25d366;color:#fff!important;display:flex;align-items:center;justify-content:center;font-size:1.8rem;box-shadow:0 8px 20px rgba(0,0,0,.3);z-index:90;text-decoration:none}
.ph-bottom{display:none}

/* category page */
.ph-ph-category #content>h1,.ph-product-category #content>h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#product-list,.ph-product-category .row[class*="row-cols"]{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin:0}
#product-list>.col,.ph-product-category .row[class*="row-cols"]>.col{width:auto;max-width:none;padding:0;margin:0!important}
.list-group{border-radius:var(--ph-radius);overflow:hidden;border:1px solid var(--ph-line)}
.list-group-item{border-color:var(--ph-line);font-size:.9rem}
.list-group-item.active{background:var(--ph-primary);border-color:var(--ph-primary)}
.page-link{color:var(--ph-primary);border-radius:6px;margin:0 2px}
.active>.page-link,.page-link.active{background:var(--ph-primary);border-color:var(--ph-primary)}
.form-select,.form-control{border-radius:8px}
.form-control:focus,.form-select:focus{border-color:var(--ph-primary);box-shadow:0 0 0 .2rem rgba(230,57,70,.18)}

/* product page */
.ph-product-product #product-info>.row>#content>.row.mb-3,.ph-product-product #content>.row.mb-3{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:2rem}
.ph-product-product #content>.row.mb-3>.col-sm{width:auto;max-width:none;padding:0}
.ph-product-product .img-thumbnail{border-radius:var(--ph-radius);border:0;box-shadow:0 8px 30px rgba(0,0,0,.12)}
.ph-product-product h1{font-size:1.8rem}
.ph-product-product .price-new,.ph-product-product h2{color:var(--ph-primary);font-weight:800}
.ph-product-product .list-unstyled li h2{font-size:1.9rem}
.ph-product-product #product .form-label{font-weight:700;margin-bottom:.4rem}
.ph-product-product #product [id^="input-option"]:has(input[type=radio]){display:flex;flex-wrap:wrap;gap:.5rem}
.ph-product-product #product .form-check:has(input[type=radio]){padding:0;margin:0}
.ph-product-product #product .form-check:has(input[type=radio]) input{position:absolute;opacity:0;pointer-events:none}
.ph-product-product #product .form-check:has(input[type=radio]) label{display:inline-block;padding:.55rem 1rem;border:1.5px solid var(--ph-line);border-radius:8px;cursor:pointer;font-size:.88rem;background:#fff}
.ph-product-product #product .form-check:has(input[type=radio]) input:checked+label{border-color:var(--ph-primary);color:var(--ph-primary);background:#fff3f4;font-weight:700}
.ph-product-product #product .form-check:has(input[type=radio]) input:focus-visible+label{outline:3px solid var(--ph-secondary)}
.ph-product-product #product .form-check:has(input[type=checkbox]){border-bottom:1px solid var(--ph-line);padding:.45rem 0 .45rem 1.6rem;margin:0}
.ph-product-product #button-cart{width:100%;padding:.85rem;font-size:1.05rem;font-weight:700}
.ph-product-product #input-quantity{max-width:90px}
.nav-tabs{border-bottom:2px solid var(--ph-line)}
.nav-tabs .nav-link{color:var(--ph-muted);border:0;font-weight:600}
.nav-tabs .nav-link.active{color:var(--ph-primary);border-bottom:3px solid var(--ph-primary);background:none}
.ph-product-product #content .row[class*="row-cols"]{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;margin:0}
.ph-product-product #content .row[class*="row-cols"]>.col{width:auto;max-width:none;padding:0;margin:0!important}

/* cart + checkout skin (native behavior untouched) */
.ph-checkout-cart .table thead,.ph-checkout-cart .table-light{background:var(--ph-soft)}
.ph-checkout-checkout h1,.ph-checkout-cart h1{font-size:1.6rem}
.ph-checkout-checkout .card,.ph-checkout-cart .card{border-radius:var(--ph-radius);border-color:var(--ph-line)}
.ph-checkout-checkout #button-confirm,.ph-checkout-checkout .btn-primary{width:auto}
.ph-checkout-checkout legend,.ph-checkout-checkout h2{font-size:1.15rem}

/* tablet */
@media (max-width:991.98px){
  .ph-grid,.ph-product-product #content .row[class*="row-cols"]{grid-template-columns:repeat(2,1fr)}
  #product-list,.ph-product-category .row[class*="row-cols"]{grid-template-columns:repeat(2,1fr)}
  .ph-footer-grid{grid-template-columns:1fr 1fr}
  .ph-benefit-grid{grid-template-columns:repeat(2,1fr)}
  .ph-product-product #content>.row.mb-3{grid-template-columns:1fr}
}
/* mobile */
@media (max-width:767.98px){
  body{padding-bottom:64px}
  .ph-header-in{gap:.5rem;padding-top:.6rem;padding-bottom:.6rem}
  .ph-burger{display:block}
  .ph-logo{font-size:1.25rem}
  .ph-search{display:none;position:absolute;left:0;right:0;top:100%;background:var(--ph-dark);padding:.6rem 1rem;max-width:none;z-index:60}
  .ph-search.open{display:block}
  .ph-search-toggle{display:inline-block}
  .ph-actions{gap:.7rem}
  .ph-account,#wishlist-total{display:none}
  #header-cart .dropdown-menu{position:fixed!important;left:8px!important;right:8px!important;top:64px!important;transform:none!important;min-width:0}
  .ph-nav{display:none}
  .ph-nav-open .ph-nav{display:block}
  .ph-menu{flex-direction:column;gap:0}
  .ph-menu a{padding:.8rem 1rem;border-bottom:1px solid #1c1c1c}
  .ph-sub{position:static;display:block;background:#0a0a0a;box-shadow:none;border-radius:0}
  .ph-sub a{padding-left:2rem}
  .ph-hero{min-height:300px}
  .ph-hero::before{background:linear-gradient(180deg,rgba(13,13,13,.55),var(--ph-dark) 90%)}
  .ph-hero-in{flex-direction:column;align-items:flex-start;padding-top:2rem;padding-bottom:2rem}
  .ph-badge{width:104px;height:104px;position:absolute;right:16px;top:14px}
  .ph-badge strong{font-size:1.7rem}
  .ph-cats{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:.75rem;padding-bottom:.5rem;-webkit-overflow-scrolling:touch}
  .ph-cat{flex:0 0 120px;scroll-snap-align:start}
  .ph-grid,#product-list,.ph-product-category .row[class*="row-cols"],.ph-product-product #content .row[class*="row-cols"]{grid-template-columns:1fr}
  .product-thumb .button-group button:first-child{min-height:46px}
  .ph-promos{grid-template-columns:1fr}
  .ph-footer-grid{grid-template-columns:1fr}
  .ph-benefit-grid{grid-template-columns:1fr 1fr}
  .ph-byo{padding:1.6rem 1.2rem}
  .ph-bottom{display:flex;position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--ph-line);z-index:95;padding-bottom:env(safe-area-inset-bottom,0)}
  .ph-bottom a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:.5rem 0;font-size:.7rem;color:var(--ph-muted);text-decoration:none}
  .ph-bottom a i{font-size:1.2rem}
  .ph-bottom a:first-child{color:var(--ph-primary)}
  .ph-wa{bottom:76px}
  html,body{overflow-x:hidden}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* fixes: neutralise OpenCart's default heading/footer rules inside dark sections */
.ph-home{display:block;position:relative}
.ph-hero{height:auto;flex:none}
.ph-hero h1,.ph-hero h1 span{color:#fff}
.ph-hero h1 em{color:var(--ph-yellow)}
.ph-hero p{color:#ddd}
.ph-banner h1,.ph-banner h2,.ph-banner-title{color:#fff}
.ph-newsletter h2,.ph-reviews h2,.ph-footer h2,.ph-footer h3{color:#fff}
.ph-newsletter p{color:#cfcfcf}
.ph-byo h2{color:#fff}
.ph-promo h3{color:#3b1d00}
footer.ph-footer{position:relative;clear:both;margin-top:0;padding-top:0;padding-bottom:0;border-top:0;background:var(--ph-dark);color:#cfcfcf}
footer.ph-footer a{color:#cfcfcf}
footer.ph-footer a:hover{color:var(--ph-secondary)}
.ph-benefits,.ph-reviews{position:relative;clear:both}
body{line-height:1.5;font-size:15px}

/* customizer variables */
[hidden]{display:none!important}
body{font-family:var(--ph-font,"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif)}
.ph-btn,.btn-primary{border-radius:calc(var(--ph-radius,12px) * .66)}
.ph-preview a{cursor:default}

/* ===== Pizzaro page builder blocks ===== */
.ph-blk{position:relative;clear:both}
@media(max-width:767.98px){.ph-hide-m{display:none!important}}
@media(min-width:768px){.ph-hide-d{display:none!important}}
.ph-empty{padding:1.5rem;text-align:center;color:var(--ph-muted,#777);background:rgba(0,0,0,.04);border-radius:var(--ph-radius,12px);margin:0}
.ph-head-block{display:block}
.ph-subhead{margin:.25rem 0 0;color:var(--ph-muted,#777)}
.ph-caption{margin:.6rem 0 0;text-align:center;font-size:.9rem;color:var(--ph-muted,#777)}

/* hero options */
.ph-hero-bg{background-position:center}
.ph-hero-plain::before{display:none}
.ph-hero-link{position:absolute;inset:0;z-index:3}
.ph-hero-center::before{background:rgba(13,13,13,calc(var(--ph-ov,.7) * .8))}
.ph-hero-center .ph-hero-in{justify-content:center;text-align:center}
.ph-hero-center .ph-hero-copy{margin:0 auto}
.ph-hero-center .ph-badge{position:absolute;right:5%;top:1.2rem;transform:rotate(10deg)}
.ph-hero-right::before{background:linear-gradient(270deg,rgba(13,13,13,var(--ph-ov,.7)) 8%,rgba(13,13,13,calc(var(--ph-ov,.7) * .8)) 42%,rgba(13,13,13,0) 78%)}
.ph-hero-right .ph-hero-in{flex-direction:row-reverse;text-align:right}
.ph-hero-right .ph-hero-copy{margin-left:auto}
.ph-hero h1{color:#fff}

/* categories */
.ph-catgrid{display:grid;grid-template-columns:repeat(var(--ph-cols,6),minmax(0,1fr));gap:1rem}
.ph-catgrid.is-scroll{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:.6rem;-webkit-overflow-scrolling:touch}
.ph-catgrid.is-scroll .ph-cat2{flex:0 0 calc((100% - (var(--ph-cols,6) - 1) * 1rem) / var(--ph-cols,6));scroll-snap-align:start}
.ph-cat2{position:relative;display:block;text-decoration:none;color:var(--ph-ink,#222);text-align:center;min-width:0}
.ph-cat2 img,.ph-cat2-ph{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
.ph-cat2-ph{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--ph-primary),var(--ph-secondary));color:#fff;font-size:1.4rem}
.ph-cat2-name{display:block;font-weight:700;font-size:.95rem;line-height:1.25}
.ph-cat2-name small{opacity:.6}
.ph-cat-card .ph-cat2{background:#fff;border:1px solid var(--ph-line,#e5e5e5);border-radius:var(--ph-radius,12px);padding:.6rem;box-shadow:0 2px 10px rgba(0,0,0,.05);transition:transform .18s,box-shadow .18s}
.ph-cat-card .ph-cat2:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.12);border-color:var(--ph-primary)}
.ph-cat-card .ph-cat2 img,.ph-cat-card .ph-cat2-ph{border-radius:calc(var(--ph-radius,12px) * .7);margin-bottom:.55rem}
.ph-cat-circle .ph-cat2 img,.ph-cat-circle .ph-cat2-ph{border-radius:50%;margin-bottom:.6rem;border:3px solid #fff;box-shadow:0 4px 14px rgba(0,0,0,.15);transition:transform .18s,box-shadow .18s}
.ph-cat-circle .ph-cat2:hover img,.ph-cat-circle .ph-cat2:hover .ph-cat2-ph{transform:scale(1.05);box-shadow:0 8px 20px rgba(0,0,0,.25)}
.ph-cat-overlay .ph-cat2{overflow:hidden;border-radius:var(--ph-radius,12px);aspect-ratio:4/3;box-shadow:0 4px 14px rgba(0,0,0,.14)}
.ph-cat-overlay .ph-cat2 img,.ph-cat-overlay .ph-cat2-ph{position:absolute;inset:0;height:100%;aspect-ratio:auto;transition:transform .35s}
.ph-cat-overlay .ph-cat2:hover img,.ph-cat-overlay .ph-cat2:hover .ph-cat2-ph{transform:scale(1.08)}
.ph-cat-overlay .ph-cat2::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.78))}
.ph-cat-overlay .ph-cat2-name{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:.6rem .5rem;color:#fff;font-size:.9rem;text-shadow:0 1px 6px rgba(0,0,0,.5)}
.ph-cat-overlay .ph-cat2-name::after{content:"";display:block;width:28px;height:3px;border-radius:2px;background:var(--ph-secondary);margin:.45rem auto 0;transition:width .25s}
.ph-cat-overlay .ph-cat2:hover .ph-cat2-name::after{width:56px}

/* products */
.ph-pgrid{grid-template-columns:repeat(var(--ph-cols,4),minmax(0,1fr))}

/* banner */
.ph-banner{position:relative;display:flex;align-items:center;overflow:hidden;color:#fff;border-radius:var(--ph-radius,12px);background:#1a1a1a var(--ph-ban,none) center/cover no-repeat}
.ph-banner::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,13,13,var(--ph-ov,.6)),rgba(13,13,13,calc(var(--ph-ov,.6) * .35)))}
.ph-banner-in{position:relative;z-index:1;padding:2rem 2.2rem;max-width:620px}
.ph-banner h2{font-size:1.9rem;margin:0 0 .4rem;color:#fff}
.ph-banner p{color:#e8e8e8;margin:0 0 1rem}
.ph-banner-center{justify-content:center;text-align:center}
.ph-banner-center::before{background:rgba(13,13,13,var(--ph-ov,.6))}
.ph-banner-right{justify-content:flex-end;text-align:right}
.ph-banner-right::before{background:linear-gradient(270deg,rgba(13,13,13,var(--ph-ov,.6)),rgba(13,13,13,calc(var(--ph-ov,.6) * .35)))}
.ph-banner-full{border-radius:0}
.ph-promo{min-height:130px}

/* video */
.ph-video{position:relative;margin:0;aspect-ratio:var(--ph-ratio,16/9);background:#000;border-radius:var(--ph-radius,12px);overflow:hidden}
.ph-video iframe,.ph-video video{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover;background:#000}
.ph-video .ph-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#111;color:#aaa;border-radius:0}
.ph-video-full{border-radius:0}

/* text + image */
.ph-text{margin:0 auto}
.ph-text-narrow{max-width:760px}
.ph-text-wide{max-width:1100px}
.ph-text h2{font-size:1.8rem;margin-bottom:.8rem}
.ph-text-body{font-size:1.02rem;line-height:1.7}
.ph-text-body p,.ph-text-body ul,.ph-text-body ol{margin-bottom:1rem}
.ph-ta-left{text-align:left}.ph-ta-center{text-align:center}.ph-ta-right{text-align:right}
.ph-text-body ul,.ph-text-body ol{display:inline-block;text-align:left}
.ph-img{margin:0}
.ph-img img{display:block;width:100%;height:auto}
.ph-img-round img{border-radius:var(--ph-radius,12px)}
.ph-spacer-line{border-top:1px solid var(--ph-line,#e5e5e5);box-sizing:content-box}
.ph-blk-features .ph-benefits{border-top:1px solid var(--ph-line,#e5e5e5)}
.ph-blk-reviews .ph-reviews{margin-top:0}

/* heading colours inside builder blocks (OpenCart sets h1-h6 to grey) */
.ph-blk h2,.ph-blk h3{color:inherit}
.ph-blk-banner h2,.ph-blk-hero h1{color:#fff}

/* live-edit helpers (only inside the admin preview) */
.ph-preview [data-ph-block]{cursor:pointer}
.ph-preview [data-ph-block]:hover{outline:2px dashed rgba(255,152,0,.9);outline-offset:-2px}
.ph-preview [data-ph-block].ph-focus{outline:2px solid #0d6efd;outline-offset:-2px}

@media(max-width:991.98px){.ph-catgrid:not(.is-scroll){grid-template-columns:repeat(4,minmax(0,1fr))}.ph-pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767.98px){
  .ph-catgrid:not(.is-scroll){grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
  .ph-cat-overlay .ph-cat2{aspect-ratio:16/10}
  .ph-catgrid.is-scroll .ph-cat2{flex-basis:42%}
  .ph-pgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
  .ph-banner-in{padding:1.4rem 1.2rem}
  .ph-hero-right .ph-hero-in{flex-direction:column;align-items:flex-end}
  .ph-hero-center .ph-hero-in{align-items:center}
}

/* ===== language switcher ===== */
.ph-lang>a{display:inline-flex;align-items:center;gap:.35rem;color:inherit;text-decoration:none;font-weight:600;font-size:.9rem;padding:.4rem .5rem}
.ph-lang .dropdown-menu .active{background:var(--ph-primary);color:#fff}

/* ===== right-to-left languages (Urdu, Arabic) ===== */
[dir="rtl"] body{text-align:right}
[dir="rtl"] .ph-hero-copy,[dir="rtl"] .ph-banner-in,[dir="rtl"] .ph-text-body{text-align:right}
[dir="rtl"] .ph-hero-center .ph-hero-copy,[dir="rtl"] .ph-banner-center .ph-banner-in,[dir="rtl"] .ph-ta-center{text-align:center}
[dir="rtl"] .ph-hero::before{background:linear-gradient(270deg,rgba(13,13,13,var(--ph-ov,.7)) 8%,rgba(13,13,13,calc(var(--ph-ov,.7) * .8)) 42%,rgba(13,13,13,0) 78%)}
[dir="rtl"] .ph-banner::before{background:linear-gradient(270deg,rgba(13,13,13,var(--ph-ov,.6)),rgba(13,13,13,calc(var(--ph-ov,.6) * .35)))}
[dir="rtl"] .ph-footer ul{padding-right:0}
[dir="rtl"] .dropdown-menu-end{--bs-position:start}

/* ===== restaurant mode: remove online-shop clutter ===== */
.ph-restaurant [formaction*="compare"],
.ph-restaurant [formaction*="wishlist"] ~ [formaction*="compare"],
.ph-restaurant #product-compare,
.ph-restaurant a[href*="product/compare"],
.ph-restaurant a[href*="product/manufacturer"],
.ph-restaurant a[href*="account/voucher"],
.ph-restaurant a[href*="affiliate"],
.ph-restaurant a[href*="account/returns"],
.ph-restaurant a[href*="account/download"],
.ph-restaurant a[href*="account/reward"],
.ph-restaurant a[href*="account/transaction"],
.ph-restaurant #content .list-unstyled li:has(a[href*="product/manufacturer"]),
.ph-restaurant #product .list-unstyled li:has(a[href*="product/manufacturer"]){display:none!important}

/* ===== menu-style category page ===== */
.ph-cathero{position:relative;min-height:300px;display:flex;align-items:flex-end;color:#fff;background:#111 center/cover no-repeat}
.ph-cathero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.75))}
.ph-cathero-in{position:relative;z-index:1;padding-top:2rem;padding-bottom:1.6rem}
.ph-cathero h1,.ph-cathead h1{margin:0;color:#fff;font-size:2.3rem;font-weight:800;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.ph-cathero p,.ph-cathead p{margin:.4rem 0 0;color:#eee;max-width:720px}
.ph-cathead{background:var(--ph-dark);color:#fff;padding:1.6rem 0}
.ph-catbody{padding-top:1.5rem;padding-bottom:3rem}
.ph-catdesc{margin-bottom:1rem}
.ph-subcats{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.2rem}
.ph-subcats a{padding:.35rem .9rem;border-radius:999px;background:#f1f1f1;color:#222;text-decoration:none;font-weight:600;font-size:.9rem}
.ph-subcats a:hover{background:var(--ph-primary);color:#fff}
.ph-mi{display:flex;align-items:center;gap:.6rem;padding:.7rem 1rem;border-top:1px solid #eee;cursor:pointer;transition:background .15s}
.ph-mi:nth-child(odd){background:#fafafa}
.ph-mi:hover{background:#fff4f4}
.ph-mi-head{background:var(--ph-primary)!important;color:#fff;cursor:default;font-weight:700;border-top:0}
.ph-mi-head:hover{background:var(--ph-primary)}
.ph-mi-main{flex:1 1 auto;display:flex;align-items:center;gap:.8rem;min-width:0}
.ph-mi-img{width:56px;height:56px;border-radius:10px;object-fit:cover;flex:none}
.ph-mi-name{min-width:0}
.ph-mi-name strong{display:block;font-size:1.02rem}
.ph-mi-name small{display:block;color:#777;font-size:.85rem;line-height:1.3}
.ph-mi-cell{flex:0 0 108px;text-align:center}
.ph-mi-head .ph-mi-cell{font-size:.9rem}
.ph-mi-btn{display:inline-flex;align-items:center;gap:.4rem;border:0;background:transparent;color:var(--ph-primary);font-weight:800;padding:.35rem .5rem;border-radius:8px;text-decoration:none;cursor:pointer;white-space:nowrap}
.ph-mi-btn:hover{background:var(--ph-primary);color:#fff}
@media(max-width:767.98px){
  .ph-mi{flex-wrap:wrap}
  .ph-mi-head .ph-mi-cell{display:none}
  .ph-mi-main{flex:1 1 100%}
  .ph-mi-cell{flex:1 1 0;min-width:70px}
  .ph-mi-cell[data-label]::before{content:attr(data-label);display:block;font-size:.72rem;color:#888;margin-bottom:2px}
  .ph-cathero{min-height:220px}
  .ph-cathero h1,.ph-cathead h1{font-size:1.7rem}
}

/* ===== size + toppings popup ===== */
body.ph-pop-open{overflow:hidden}
.ph-pop{position:fixed;inset:0;z-index:2000;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:1rem}
.ph-pop-box{position:relative;background:#fff;color:#222;width:100%;max-width:560px;max-height:92vh;display:flex;flex-direction:column;border-radius:var(--ph-radius,12px);box-shadow:0 20px 60px rgba(0,0,0,.4);overflow:hidden}
.ph-pop-box h3{margin:0;padding:1.2rem 3rem .4rem 1.4rem;font-size:1.3rem;font-weight:800;color:#222}
.ph-pop-box h3 span{font-weight:600;color:#666}
.ph-pop-x{position:absolute;top:.6rem;right:.8rem;border:0;background:transparent;font-size:1.8rem;line-height:1;color:#444;cursor:pointer}
.ph-pop-desc{margin:0;padding:0 1.4rem .8rem;color:#666;font-size:.92rem;border-bottom:1px solid #eee}
.ph-pop-body{overflow-y:auto;padding:.4rem 1.4rem;flex:1}
.ph-pop-title{font-weight:700;margin:.8rem 0 .3rem}
.ph-pop-title small{font-weight:400;color:#888;margin-left:.4rem}
.ph-opt{display:flex;align-items:center;gap:.7rem;padding:.45rem 0;cursor:pointer;border-bottom:1px solid #f3f3f3}
.ph-opt span{flex:1}
.ph-opt b{font-weight:600;color:#444;white-space:nowrap}
.ph-opt input{width:18px;height:18px;accent-color:var(--ph-primary)}
.ph-pop-foot{display:flex;gap:.8rem;align-items:center;padding:.9rem 1.4rem;border-top:1px solid #eee;background:#fff}
.ph-qty{display:flex;align-items:center;border:1px solid #ccc;border-radius:8px}
.ph-qty button{border:0;background:transparent;width:36px;height:40px;font-size:1.2rem;cursor:pointer}
.ph-qty span{min-width:30px;text-align:center;font-weight:700}
.ph-pop-add{flex:1;justify-content:center;text-align:center}
.ph-pop-err{margin:0 1.4rem 1rem;padding:.6rem .8rem;border-radius:8px;background:#fdecee;color:#b3261e;font-size:.9rem}
.ph-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:#1f2933;color:#fff;padding:.7rem 1.2rem;border-radius:999px;opacity:0;transition:.25s;z-index:2100;font-weight:600}
.ph-toast.show{opacity:1;transform:translate(-50%,0)}
[dir="rtl"] .ph-pop-box h3{padding:1.2rem 1.4rem .4rem 3rem}
[dir="rtl"] .ph-pop-x{right:auto;left:.8rem}

/* ===== Pizzaro menu page: list look (cart sidebar + red price table) ===== */
.ph-shop{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:1rem;align-items:start;margin:1rem 0 2rem}
.ph-side{position:sticky;top:12px}
.ph-side-title{background:#000;color:#fff;font-weight:800;text-transform:uppercase;padding:.6rem .9rem;letter-spacing:.02em}
.ph-side-cart{background:#fff;padding:.8rem .9rem;min-height:72px}
.ph-side-empty{margin:0;color:#222}
.ph-side-min{background:rgba(0,0,0,.06);text-align:center;padding:.8rem .5rem;font-size:1.05rem}
.ph-side-img{display:block;width:100%;height:auto;margin-top:0}
.ph-sl{display:flex;gap:.5rem;align-items:flex-start;padding:.4rem 0;border-bottom:1px solid #eee}
.ph-sl-main{flex:1;min-width:0}
.ph-sl-main b{display:block;font-size:.92rem}
.ph-sl-main small{display:block;color:#777;font-size:.78rem;line-height:1.25}
.ph-sl-price{font-weight:700;white-space:nowrap;font-size:.92rem}
.ph-sl-x{border:0;background:transparent;color:#888;font-size:1.2rem;line-height:1;cursor:pointer;padding:0 .2rem}
.ph-sl-x:hover{color:var(--ph-primary)}
.ph-sl-total{display:flex;justify-content:space-between;padding:.6rem 0 .4rem;font-size:1.02rem}
.ph-sl-warn{background:#fdecee;color:#b3261e;padding:.5rem .6rem;font-size:.85rem;border-radius:4px}
.ph-sl-go{display:block;text-align:center;border-radius:0}

.ph-list{min-width:0;background:rgba(255,255,255,.78)}
.ph-list-title{margin:0;background:#000;color:#fff;text-align:center;text-transform:uppercase;font-weight:800;letter-spacing:.06em;font-size:2rem;padding:.15rem .5rem}
.ph-list-note{padding:.3rem 1.5rem .35rem;font-size:1.02rem;color:#222}
.ph-shop .ph-mi{display:flex;align-items:center;gap:.6rem;padding:.8rem .8rem;border-top:0;background:rgba(240,240,240,.85);cursor:pointer}
.ph-shop .ph-mi:nth-of-type(even){background:rgba(250,250,250,.85)}
.ph-shop .ph-mi:hover{background:#fff}
.ph-shop .ph-mi-head{background:color-mix(in srgb,var(--ph-primary) 72%,#000)!important;color:#fff;padding:.4rem .8rem;cursor:default}
.ph-shop .ph-mi-head .ph-mi-name strong{color:#fff;font-size:1.02rem}
.ph-shop .ph-mi-head .ph-mi-cell{font-weight:800;font-size:.92rem}
.ph-mi-num{flex:0 0 44px;font-size:1.25rem;text-align:center;color:#111}
.ph-shop .ph-mi-name strong{font-weight:500;font-size:1.22rem;color:#111}
.ph-shop .ph-mi-name small{color:#222;font-size:1rem;margin-top:1px}
.ph-shop .ph-mi-cell{flex:0 0 100px;text-align:center}
.ph-shop .ph-mi-btn{color:var(--ph-primary);font-weight:700;font-size:1.05rem;padding:.2rem .1rem;border-radius:0;gap:2px}
.ph-shop .ph-mi-btn i{color:#111;font-size:.95rem;margin-left:1px}
.ph-shop .ph-mi-btn:hover{background:transparent;color:#111}
.ph-shop .ph-mi-btn:hover i{color:var(--ph-primary)}
@media (max-width:900px){
  .ph-shop{grid-template-columns:1fr}
  .ph-side{position:static}
  .ph-side-img{display:none}
  .ph-list-title{font-size:1.4rem}
  .ph-shop .ph-mi{flex-wrap:wrap}
  .ph-shop .ph-mi-main{flex:1 1 calc(100% - 60px)}
  .ph-shop .ph-mi-cell{flex:1 1 0;min-width:64px}
  .ph-shop .ph-mi-head .ph-mi-cell{display:none}
  .ph-shop .ph-mi-head .ph-mi-main{display:block}
  .ph-mi-num{flex:0 0 36px}
}

/* ===== Pizzaro options popup (toppings) ===== */
.ph-pop{background:rgba(0,0,0,.6)}
.ph-pop-box{max-width:520px;border-radius:0;box-shadow:0 10px 40px rgba(0,0,0,.45)}
.ph-pop-box h3{font-family:Georgia,"Times New Roman",serif;font-weight:900;font-size:1.55rem;padding:1.1rem 3rem .5rem 1.3rem;color:#111}
.ph-pop-box h3 span{font-weight:900;color:#111}
.ph-pop-desc{padding:0 1.3rem 1rem;color:#222;font-size:1rem;margin:0 0 0;border-bottom:1px solid #ddd}
.ph-pop-body{padding:.8rem 1.3rem}
.ph-pop-title{font-weight:400;font-size:1rem;margin:.3rem 0 0;color:#111}
.ph-pop-sub{color:#777;font-size:.95rem;margin:0 0 .5rem}
.ph-opt{border-bottom:0;padding:.35rem 0;gap:.8rem;color:#555}
.ph-opt b{font-weight:400;color:#555}
.ph-opt input[type=checkbox]{appearance:none;-webkit-appearance:none;width:17px;height:17px;border:1px solid #888;border-radius:2px;background:#fff;display:inline-grid;place-content:center;flex:none;margin:0}
.ph-opt input[type=checkbox]:checked{background:var(--ph-primary);border-color:var(--ph-primary)}
.ph-opt input[type=checkbox]:checked::after{content:"";width:9px;height:5px;border:2px solid #fff;border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px)}
.ph-pop-foot{border-top:1px solid #ddd;padding:.9rem 1.3rem}
.ph-qty{border:1px solid #333;border-radius:0}
.ph-qty button{color:#555}
.ph-pop-add{border-radius:0;background:var(--ph-primary);color:#fff;font-weight:500;padding:.7rem 1rem}

/* ===== Pizzaro v2: polished menu list (desktop + mobile) ===== */
.ph-shop{gap:1.25rem;margin:1.5rem 0 2.5rem}
.ph-side{background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.08);border-radius:var(--ph-radius,12px);overflow:hidden}
.ph-side-title{display:flex;align-items:center;gap:.5rem;background:var(--ph-dark,#0d0d0d);font-size:.95rem}
.ph-side-title::before{content:"\f07a";font-family:"Font Awesome 6 Free";font-weight:900;color:var(--ph-primary)}
.ph-side-empty{display:flex;align-items:center;gap:.5rem;color:#666!important;font-size:.92rem}
.ph-side-empty i{color:#bbb}
.ph-side-min{background:#faf6f0;border-top:1px solid #eee;font-size:.92rem;color:#444}
.ph-side-img{border-radius:0}
.ph-list{background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.08);border-radius:var(--ph-radius,12px);overflow:hidden}
.ph-list-title{background:var(--ph-dark,#0d0d0d);font-size:clamp(1.4rem,3.4vw,2rem);padding:.55rem 1rem;border-bottom:3px solid var(--ph-primary)}
.ph-list-note{background:#faf6f0;padding:.55rem 1.1rem;font-size:.95rem;color:#444;border-bottom:1px solid #eee}
.ph-shop .ph-mi{background:#fff!important;border-top:1px solid #f0ebe4;padding:.75rem 1rem;transition:background .15s}
.ph-shop .ph-mi:nth-of-type(even){background:#fcfaf7!important}
.ph-shop .ph-mi:hover{background:#fff4f4!important}
.ph-shop .ph-mi-head{background:color-mix(in srgb,var(--ph-primary) 78%,#000)!important;border-top:0;padding:.5rem 1rem}
.ph-mi-num{color:#999;font-size:1rem;font-weight:600;flex:0 0 40px}
.ph-shop .ph-mi-name strong{font-size:1.08rem;font-weight:600}
.ph-shop .ph-mi-name small{color:#666;font-size:.9rem;line-height:1.35}
.ph-shop .ph-mi-btn{display:inline-flex;align-items:center;gap:.3rem;padding:.35rem .6rem;border-radius:999px;transition:all .15s;font-size:1rem}
.ph-shop .ph-mi-btn i{font-size:.8rem;color:var(--ph-primary)}
.ph-shop .ph-mi-btn:hover{background:var(--ph-primary);color:#fff}
.ph-shop .ph-mi-btn:hover i{color:#fff}
.ph-list[data-cols="4"] .ph-mi-cell,.ph-list[data-cols="5"] .ph-mi-cell{flex-basis:88px}

@media (max-width:900px){
  .ph-shop{grid-template-columns:1fr;gap:.9rem;margin:1rem 0 2rem}
  .ph-side:not(.ph-side-has){display:none}
  .ph-side-img{display:none}
}
.ph-mi-prices{display:contents}
@media (max-width:640px){
  .ph-shop{margin-left:-.5rem;margin-right:-.5rem}
  .ph-list{border-radius:10px}
  .ph-shop .ph-mi{flex-wrap:wrap;align-items:flex-start;gap:.35rem .5rem;padding:.7rem .75rem}
  .ph-shop .ph-mi-head{display:none}
  .ph-mi-num{flex:0 0 32px;font-size:.9rem;text-align:left;padding-top:2px}
  .ph-shop .ph-mi-main{flex:1 1 calc(100% - 44px);min-width:0}
  .ph-shop .ph-mi-name strong{font-size:1.02rem}
  .ph-mi-prices{display:flex;flex:1 1 100%;gap:.4rem;padding-left:40px}
  .ph-shop .ph-mi-cell{display:flex;flex-direction:column;align-items:stretch;flex:1 1 0;min-width:0;max-width:130px;text-align:center}
  .ph-shop .ph-mi-cell.is-empty{display:none}
  .ph-shop .ph-mi:not([data-cols="1"]) .ph-mi-cell::before{content:attr(data-label);font-size:.66rem;font-weight:700;color:#888;text-transform:uppercase;letter-spacing:.03em;margin-bottom:2px}
  .ph-shop .ph-mi-btn{justify-content:center;padding:.35rem .4rem;font-size:.98rem;background:#fff4f4;border:1px solid #f3d3d3;border-radius:8px}
  .ph-shop .ph-mi[data-cols="1"] .ph-mi-main{flex:1 1 0}
  .ph-shop .ph-mi[data-cols="1"] .ph-mi-prices{flex:0 0 auto;padding-left:0;align-self:center}
  .ph-shop .ph-mi[data-cols="1"] .ph-mi-cell{max-width:none}
  .ph-list-title{font-size:1.35rem}
}

/* ===== Hero background video ===== */
.ph-hero-video{position:absolute;inset:0;z-index:0;overflow:hidden;container-type:size;pointer-events:none}
.ph-hero-video iframe{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:max(100cqw,177.78cqh);height:max(100cqh,56.25cqw);border:0}
.ph-hero-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ph-hero-bg{z-index:0}
.ph-hero::before{z-index:1}

/* ===== Footer v2 ===== */
.ph-newsletter{text-align:left;padding:1.6rem 0;background:linear-gradient(90deg,color-mix(in srgb,var(--ph-primary) 85%,#000),var(--ph-primary));border-bottom:0}
.ph-news-wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
.ph-news-copy h2{margin:0 0 .2rem;font-size:1.3rem;color:#fff}
.ph-news-copy p{margin:0!important;color:rgba(255,255,255,.88);font-size:.92rem}
.ph-news{flex:1 1 360px;max-width:520px;margin:0}
.ph-news input[type=email]{height:46px;border-radius:999px 0 0 999px;padding:0 1.2rem}
.ph-news .ph-btn{border-radius:0 999px 999px 0;background:#111;color:#fff;padding:0 1.4rem;height:46px}
.ph-news .ph-btn:hover{background:#000}
.ph-news-msg{color:#fff!important;margin:.4rem 0 0!important;min-height:1.2rem;font-size:.88rem}
.ph-footer-grid{grid-template-columns:1.4fr 1fr 1fr 1.4fr;gap:2.2rem;padding-top:2.8rem;padding-bottom:2.2rem}
.ph-footer h3{position:relative;font-size:1rem;margin-bottom:1.1rem;padding-bottom:.6rem;text-transform:uppercase;letter-spacing:.05em}
.ph-footer h3::after{content:"";position:absolute;left:0;bottom:0;width:34px;height:3px;border-radius:3px;background:var(--ph-primary)}
.ph-footer li{margin-bottom:.55rem}
.ph-footer ul:not(.ph-contact) a{display:inline-block;transition:transform .15s,color .15s}
.ph-footer ul:not(.ph-contact) a:hover{transform:translateX(4px)}
.ph-foot-brand .ph-logo img{max-height:64px;width:auto}
.ph-foot-brand p{line-height:1.6;color:#b5b5b5}
.ph-foot-cta{margin-top:1rem;display:inline-flex;align-items:center;gap:.5rem}
.ph-contact li{display:flex;gap:.7rem;align-items:flex-start}
.ph-contact i{color:var(--ph-primary);width:18px;text-align:center;margin-top:3px}
.ph-social{display:flex;gap:.55rem;margin-top:1rem}
.ph-social a{width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.08);color:#fff;transition:background .15s,transform .15s}
.ph-social a:hover{background:var(--ph-primary);color:#fff;transform:translateY(-2px)}
.ph-copy{border-top:1px solid rgba(255,255,255,.1);padding:1rem 0;text-align:center;font-size:.84rem;color:#9a9a9a}
@media (max-width:900px){
  .ph-footer-grid{grid-template-columns:1fr 1fr;gap:1.8rem}
  .ph-foot-brand{grid-column:1 / -1}
}
@media (max-width:600px){
  .ph-newsletter{padding:1.3rem 0}
  .ph-news-wrap{flex-direction:column;align-items:stretch;text-align:center}
  .ph-news{max-width:none;flex-basis:auto}
  .ph-footer-grid{grid-template-columns:1fr 1fr;gap:1.5rem 1rem;padding-top:2rem}
  .ph-contact-col,.ph-footer-grid>div:last-child{grid-column:1 / -1}
  .ph-foot-brand{text-align:center}
  .ph-foot-brand .ph-logo{display:inline-block}
  .ph-footer h3{font-size:.92rem}
  .ph-copy{padding-bottom:5rem}
}

/* ===== Pizzaro v3: mobile-first ordering UX ===== */
/* nav bar reset (always dark bar, readable links) */
.ph-nav .ph-menu{background:transparent;border:0;border-radius:0;overflow:visible}
/* hero image: desktop + phone version + focus point */
.ph-hero-bg{background-image:var(--ph-bg,none);background-position:var(--ph-pos,center)}
@media (max-width:767.98px){
  .ph-hero-bg{background-image:var(--ph-bg-m,var(--ph-bg,none))}
}
/* header: no search bar by default, tidy cart on phones */
@media (max-width:767.98px){
  .ph-header-in{justify-content:space-between}
  .ph-logo{margin-right:auto}
  #header-cart>.btn,#header-cart>button,#header-cart>a{font-size:0!important;padding:.35rem .5rem!important;background:transparent!important;border:0!important}
  #header-cart i{font-size:1.35rem}
  .ph-cathead{padding:.7rem 0}
  .ph-cathead h1{font-size:1.3rem}
  .ph-catbody{padding-top:.6rem;padding-bottom:5rem}
}

/* category tabs (sticky chips) */
.ph-tabs{position:sticky;top:0;z-index:40;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08);margin:0 -.75rem .9rem}
.ph-tabs-in{display:flex;gap:.45rem;overflow-x:auto;padding:.6rem .75rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ph-tabs-in::-webkit-scrollbar{display:none}
.ph-tabs a{flex:0 0 auto;padding:.45rem .95rem;border-radius:999px;background:#f2efeb;color:#222;text-decoration:none;font-weight:600;font-size:.9rem;white-space:nowrap}
.ph-tabs a.active{background:var(--ph-primary);color:#fff}
@media (min-width:768px){.ph-tabs{margin:0 0 1rem;border-radius:var(--ph-radius,12px)}}

/* cart sidebar rows with quantity buttons */
.ph-sl{display:grid;grid-template-columns:1fr auto auto;gap:.1rem .6rem;align-items:center;padding:.6rem 0;border-bottom:1px solid #eee}
.ph-sl-main b{font-size:.93rem;font-weight:600}
.ph-q{display:inline-flex;align-items:center;border:1px solid #ddd;border-radius:999px;overflow:hidden}
.ph-q span{min-width:24px;text-align:center;font-weight:700;font-size:.9rem}
.ph-q-b{width:30px;height:30px;border:0;background:#faf6f0;color:#222;font-size:1.1rem;line-height:1;cursor:pointer}
.ph-q-b:hover{background:var(--ph-primary);color:#fff}
.ph-sl-price{min-width:64px;text-align:right}
.ph-sl-go{margin-top:.4rem;border-radius:8px;padding:.8rem}

/* floating cart bar (phones) */
.ph-cartbar{display:none}
@media (max-width:900px){
  .ph-cartbar{position:fixed;left:10px;right:10px;bottom:calc(68px + env(safe-area-inset-bottom,0px));z-index:90;display:flex;align-items:center;gap:.7rem;border:0;border-radius:14px;background:var(--ph-primary);color:#fff;padding:.85rem 1rem;box-shadow:0 6px 20px rgba(0,0,0,.3);font-weight:700;font-size:1rem}
  .ph-cartbar[hidden]{display:none}
  .ph-cartbar-l{display:inline-flex;align-items:center;gap:.4rem;background:rgba(0,0,0,.22);border-radius:999px;padding:.2rem .7rem}
  .ph-cartbar-t{flex:1;text-align:left}
}

/* bottom sheets: categories + cart */
.ph-catsheet,.ph-cartsheet{position:fixed;inset:0;z-index:200}
.ph-catsheet[hidden],.ph-cartsheet[hidden]{display:none}
.ph-sheet-bg{position:absolute;inset:0;background:rgba(0,0,0,.55);opacity:0;transition:opacity .2s}
.ph-sheet-panel{position:absolute;left:0;right:0;bottom:0;max-height:86vh;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -8px 30px rgba(0,0,0,.3);transform:translateY(100%);transition:transform .22s ease;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom,0)}
.open .ph-sheet-bg{opacity:1}
.open .ph-sheet-panel{transform:none}
.ph-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.1rem .6rem;font-size:1.15rem}
.ph-sheet-x{border:0;background:#f2efeb;width:36px;height:36px;border-radius:50%;font-size:1.4rem;line-height:1;cursor:pointer}
.ph-sheet-body{overflow-y:auto;padding:0 1.1rem 1.1rem}
.ph-catgrid{overflow-y:auto;display:grid;grid-template-columns:1fr 1fr;gap:.7rem;padding:.4rem 1rem 1.2rem}
.ph-cattile{display:flex;align-items:center;gap:.6rem;padding:.85rem .9rem;border-radius:12px;background:#faf6f0;border:1px solid #eee;color:#111;text-decoration:none;font-weight:700;font-size:1rem;min-height:56px}
.ph-cattile img{width:44px;height:44px;border-radius:10px;object-fit:cover;flex:none}
.ph-cattile:active,.ph-cattile:hover{background:var(--ph-primary);color:#fff;border-color:var(--ph-primary)}
@media (min-width:768px){
  .ph-sheet-panel{left:50%;right:auto;width:min(560px,92vw);bottom:auto;top:50%;border-radius:16px;transform:translate(-50%,-40%);opacity:0;transition:transform .2s,opacity .2s}
  .open .ph-sheet-panel{transform:translate(-50%,-50%);opacity:1}
}
.ph-noscroll,.ph-noscroll body{overflow:hidden}

/* mobile list refinements */
@media (max-width:640px){
  .ph-shop .ph-mi-name strong{font-size:1.05rem}
  .ph-list-note{font-size:.88rem;padding:.5rem .8rem}
  .ph-list-title{font-size:1.2rem;padding:.5rem .8rem}
  .ph-shop .ph-mi-btn{min-height:40px}
  .ph-pop-box{width:calc(100vw - 16px);max-height:92vh}
}
@media (max-width:640px){
  .ph-pop{align-items:flex-end;padding:0}
  .ph-pop-box{width:100%;max-width:none;border-radius:18px 18px 0 0;max-height:90vh}
}

/* ===== separate header / footer colors ===== */
.ph-header{background:var(--ph-header,var(--ph-dark));color:var(--ph-header-text,#fff)}
.ph-header a,.ph-header .ph-logo span,.ph-burger,.ph-header .ph-icon,.ph-header #header-cart>button,.ph-header #header-cart>a,.ph-header .dropdown-toggle{color:var(--ph-header-text,#fff)}
.ph-header .dropdown-menu a{color:#222}
@media (max-width:767.98px){.ph-search{background:var(--ph-header,var(--ph-dark))}}
footer.ph-footer,.ph-footer{background:var(--ph-footer,var(--ph-dark));color:var(--ph-footer-text,#d9d9d9)}
footer.ph-footer .ph-footer-main,footer.ph-footer .ph-footer-main a,footer.ph-footer .ph-footer-main li,footer.ph-footer .ph-footer-main p,footer.ph-footer .ph-footer-main h3{color:var(--ph-footer-text,#d9d9d9)}
footer.ph-footer .ph-footer-main a:hover{color:var(--ph-secondary)}
footer.ph-footer .ph-footer-main h3{color:var(--ph-footer-text,#fff);filter:none}
.ph-foot-brand p{color:inherit;opacity:.85}
.ph-footer .ph-social a{background:color-mix(in srgb,var(--ph-footer-text,#fff) 14%,transparent);color:var(--ph-footer-text,#fff)}
.ph-footer .ph-social a:hover{background:var(--ph-primary);color:#fff}
.ph-footer .ph-copy{border-top-color:color-mix(in srgb,var(--ph-footer-text,#fff) 20%,transparent);color:var(--ph-footer-text,#d9d9d9)}
.ph-foot-brand .ph-logo img{max-height:70px;width:auto;max-width:220px}
.ph-footer .ph-foot-cta{color:#fff!important}

/* ===== install-as-app banner (phones only) ===== */
.ph-install{display:none}
@media (max-width:900px){
  .ph-install{position:fixed;left:8px;right:8px;top:calc(8px + env(safe-area-inset-top,0px));z-index:300;display:flex;align-items:center;gap:.7rem;background:#fff;color:#222;border-radius:14px;padding:.65rem .8rem;box-shadow:0 8px 28px rgba(0,0,0,.28)}
  .ph-install[hidden]{display:none}
  .ph-install img{border-radius:10px;flex:none}
  .ph-install-t{flex:1;min-width:0;line-height:1.25}
  .ph-install-t b{display:block;font-size:.95rem}
  .ph-install-t small{display:block;color:#666;font-size:.78rem}
  .ph-install .ph-btn{padding:.5rem .9rem;border-radius:8px;font-size:.9rem}
  .ph-install-x{border:0;background:transparent;font-size:1.5rem;line-height:1;color:#888;padding:0 .2rem}
}

/* ===== v3.1: nav text color + header icons/cart follow their own colors ===== */
.ph-header .ph-nav .ph-menu a{color:var(--ph-nav-text,#fff)}
.ph-header .ph-nav .ph-menu a:hover,.ph-header .ph-nav .ph-menu a:focus-visible{color:var(--ph-secondary)}
.ph-header .ph-nav .ph-sub{background:var(--ph-nav,#000);border-top:1px solid color-mix(in srgb,var(--ph-nav-text,#fff) 18%,transparent)}
@media (max-width:767.98px){
  .ph-nav .ph-menu a{border-bottom-color:color-mix(in srgb,var(--ph-nav-text,#fff) 15%,transparent)}
  .ph-nav .ph-sub{background:color-mix(in srgb,var(--ph-nav,#000) 88%,#000)}
}
.ph-header .ph-actions a,.ph-header .ph-actions .dropdown-toggle,.ph-header .ph-actions i,
.ph-header #header-cart .dropdown-toggle,.ph-header #header-cart .dropdown-toggle *,
.ph-header #header-cart>a,.ph-header #header-cart>a *,
.ph-header .ph-search-toggle,.ph-header .ph-burger,.ph-header .ph-lang a{color:var(--ph-header-text,#fff)}
.ph-header .ph-actions .dropdown-menu a,.ph-header #header-cart .dropdown-menu a{color:var(--ph-ink,#222)}
.ph-header #header-cart .dropdown-menu .btn{color:#fff}
.ph-header #header-cart .dropdown-menu .btn-light,.ph-header #header-cart .dropdown-menu .btn-outline-primary{color:var(--ph-primary)}
.ph-header .ph-actions a:hover,.ph-header #header-cart .dropdown-toggle:hover,.ph-header #header-cart .dropdown-toggle:hover *{color:var(--ph-secondary)}


/* ===== faster scrolling ===== */
:root{scroll-behavior:auto!important}
.ph-tabs{will-change:transform;transform:translateZ(0)}
.ph-tabs-in{scroll-behavior:auto!important;overscroll-behavior-x:contain;scroll-snap-type:none;cursor:grab;will-change:scroll-position;-webkit-tap-highlight-color:transparent}
.ph-tabs-in.is-drag{cursor:grabbing;user-select:none}
.ph-tabs-in.is-drag a{pointer-events:none}
.ph-cats,.ph-catgrid.is-scroll{scroll-behavior:auto!important;overscroll-behavior-x:contain}

/* ===== Download App buttons ===== */
.ph-is-app .ph-getapp,.ph-is-app .ph-appsheet{display:none!important}
.ph-actions a.ph-getapp-top{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;font-weight:700;background:var(--ph-secondary);color:#fff!important;border-radius:999px;padding:.38rem .8rem;white-space:nowrap}
.ph-actions a.ph-getapp-top i{font-size:1rem}
@media (max-width:575.98px){.ph-actions a.ph-getapp-top span{display:none}.ph-actions a.ph-getapp-top{padding:.4rem .55rem}}
.ph-appbtns{margin-top:1rem}
.ph-appbtns-t{font-weight:700;margin-bottom:.5rem}
.ph-appbtns-row{display:flex;gap:.6rem;flex-wrap:wrap}
.ph-appbtn{display:inline-flex;align-items:center;gap:.6rem;flex:1 1 150px;min-width:140px;background:#111;color:#fff!important;border:1px solid rgba(255,255,255,.25);border-radius:12px;padding:.55rem .9rem;text-decoration:none;line-height:1.15}
.ph-appbtn i{font-size:1.7rem}
.ph-appbtn small{display:block;font-size:.68rem;opacity:.8}
.ph-appbtn b{display:block;font-size:1.05rem}
.ph-appbtn:hover,.ph-appbtn:active{background:var(--ph-primary)}
.ph-app-help{margin:.9rem 0 0;padding:.75rem .9rem;background:#faf6f0;border-radius:10px;color:#222;font-size:.95rem}

/* iPhone install guide */
.ph-ios-guide{margin-top:1rem}
.ph-ios-steps{list-style:none;margin:0;padding:0;display:grid;gap:.6rem;counter-reset:s}
.ph-ios-steps li{display:flex;align-items:center;gap:.75rem;background:#faf6f0;border-radius:12px;padding:.7rem .8rem;font-size:.95rem;color:#222;line-height:1.3;counter-increment:s}
.ph-ios-steps li::before{content:counter(s);flex:none;width:24px;height:24px;border-radius:50%;background:var(--ph-primary);color:#fff;font-weight:700;font-size:.8rem;display:flex;align-items:center;justify-content:center}
.ph-ios-ico{flex:none;width:40px;height:40px;border-radius:10px;background:#fff;border:1px solid #e2ddd6;color:#007aff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem}
.ph-ios-add{color:#007aff}
.ph-ios-safari{margin:.8rem 0 0;font-size:.82rem;color:#666;text-align:center}
.ph-ios-arrow{display:none}
@media (max-width:767.98px){
  .ph-show-ios .ph-sheet-panel{padding-bottom:calc(5.2rem + env(safe-area-inset-bottom,0px))}
  .ph-show-ios.open .ph-ios-arrow{display:flex;position:fixed;left:0;right:0;bottom:calc(4px + env(safe-area-inset-bottom,0px));z-index:5;flex-direction:column;align-items:center;gap:0;color:#007aff;font-weight:700;font-size:.85rem;animation:phBounce 1s ease-in-out infinite;pointer-events:none;text-shadow:0 1px 0 #fff}
  .ph-show-ios.open .ph-ios-arrow span{background:#fff;border-radius:999px;padding:.15rem .7rem;box-shadow:0 2px 10px rgba(0,0,0,.2)}
}
@keyframes phBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}

/* floating Download App button (always visible) */
.ph-appfab{position:fixed;left:14px;bottom:20px;z-index:150;display:inline-flex;align-items:center;gap:.5rem;background:var(--ph-primary);color:#fff!important;font-weight:700;font-size:.95rem;text-decoration:none;border-radius:999px;padding:.7rem 1.1rem;box-shadow:0 6px 20px rgba(0,0,0,.35);animation:phPulse 2s ease-in-out infinite}
.ph-appfab i{font-size:1.05rem}
body.ph-restaurant .ph-appfab{background:var(--ph-primary)}
@media (max-width:767.98px){.ph-appfab{bottom:calc(76px + env(safe-area-inset-bottom,0px));left:12px}}
@keyframes phPulse{0%,100%{box-shadow:0 6px 20px rgba(0,0,0,.35),0 0 0 0 rgba(255,255,255,.0)}50%{box-shadow:0 6px 20px rgba(0,0,0,.35),0 0 0 8px rgba(220,60,40,.18)}}
@media (prefers-reduced-motion:reduce){.ph-appfab{animation:none}}
.ph-actions a.ph-getapp-top{display:inline-flex!important}

/* ===== App install page ===== */
.ph-app-page{padding:1.5rem 0 5.5rem}
.ph-app-h1{font-size:1.7rem;font-weight:800;margin:0 0 .4rem}
.ph-app-intro{color:var(--ph-muted,#666);max-width:640px;margin:0 0 1.2rem}
.ph-app-done{background:#e7f6ec;color:#17692f;border-radius:10px;padding:.7rem 1rem;font-weight:600}
.ph-app-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media (max-width:767.98px){.ph-app-grid{grid-template-columns:1fr}}
.ph-appcard{position:relative;background:#fff;border:1px solid var(--ph-line,#e5e5e5);border-radius:var(--ph-radius,12px);padding:1.2rem;box-shadow:0 2px 14px rgba(0,0,0,.07)}
.ph-appcard h2{font-size:1.25rem;font-weight:800;margin:0 0 .9rem;display:flex;align-items:center;gap:.5rem}
.ph-appcard h2 i{font-size:1.5rem}
.ph-appcard-rec{display:none;position:absolute;top:-.7rem;right:1rem;background:var(--ph-primary);color:#fff;font-size:.72rem;font-weight:700;border-radius:999px;padding:.2rem .7rem}
.is-ios .ph-appcard-ios .ph-appcard-rec,.is-android .ph-appcard-android .ph-appcard-rec{display:block}
.is-ios .ph-appcard-ios,.is-android .ph-appcard-android{order:-1;border-color:var(--ph-primary);box-shadow:0 4px 22px rgba(0,0,0,.14)}
.is-ios .ph-appcard-android,.is-android .ph-appcard-ios{opacity:.85}
.ph-appbtn-big{display:flex;margin-bottom:1rem;justify-content:center;padding:.85rem 1rem;background:var(--ph-primary);border-color:var(--ph-primary)}
.ph-appbtn-big b{font-size:1.1rem}
.ph-app-steps{margin:0;padding:0;list-style:none;counter-reset:s;display:grid;gap:.6rem}
.ph-app-steps li{counter-increment:s;display:flex;align-items:center;gap:.75rem;background:#faf6f0;border-radius:12px;padding:.7rem .8rem;line-height:1.35;font-size:.95rem;color:#222}
.ph-app-steps li::before{content:counter(s);flex:none;width:26px;height:26px;border-radius:50%;background:var(--ph-primary);color:#fff;font-weight:700;font-size:.85rem;display:flex;align-items:center;justify-content:center}
.ph-app-steps li.ph-flash{outline:3px solid var(--ph-secondary);animation:phFlash 1s ease 2}
@keyframes phFlash{50%{background:#fff3cd}}
.ph-app-page .ph-ios-ico{width:44px;height:44px}
.ph-bottom a.ph-bottom-app{color:var(--ph-primary);font-weight:700}
.ph-bottom a.ph-bottom-app i{color:var(--ph-secondary)}

/* ===== v3.5.2 category top banner (Option 2) + cart image (Option 1) ===== */
.ph-catbanner{position:relative;height:clamp(180px,26vw,340px);background:#111;overflow:hidden;display:flex;align-items:flex-end}
.ph-catbanner-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center}
.ph-catbanner::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.6))}
.ph-catbanner-in{position:relative;z-index:1;padding-top:1rem;padding-bottom:1.2rem}
.ph-catbanner h1{margin:0;color:#fff;font-size:2.3rem;font-weight:800;text-shadow:0 2px 10px rgba(0,0,0,.45)}
@media(max-width:767.98px){
  .ph-catbanner{height:190px}
  .ph-catbanner-img{object-position:var(--ph-bpos,left center)} /* phone: side to keep is set per category (default: right side gets cut) */
  .ph-catbanner h1{font-size:1.6rem}
}
.ph-side-img{object-fit:cover;aspect-ratio:1/1;border-radius:0 0 8px 8px}

/* smaller category cards */
.ph-catgrid{gap:.75rem}

.ph-list-title.ph-list-title-img{display:flex;align-items:center;justify-content:center;min-height:clamp(120px,18vw,220px);padding:1rem;text-shadow:0 2px 10px rgba(0,0,0,.55)}
@media(max-width:768px){.ph-list-title.ph-list-title-img{min-height:110px}}

/* category / menu page follows the customizer (colors, font, radius) */
.ph-catpage{font-family:var(--ph-font,inherit)}
.ph-catbanner,.ph-cathero{background-color:var(--ph-dark,#111)}
.ph-side-title{background:var(--ph-dark,#000);border-bottom:3px solid var(--ph-primary);border-radius:var(--ph-radius,12px) var(--ph-radius,12px) 0 0}
.ph-side-cart{border-radius:0}
.ph-side-img{border-radius:0 0 var(--ph-radius,12px) var(--ph-radius,12px)}
.ph-tabs{border-radius:var(--ph-radius,12px)}
.ph-tabs a:hover,.ph-subcats a:hover{background:var(--ph-primary);color:#fff}
.ph-mi-btn{border-radius:var(--ph-radius,8px)}
.ph-list-title{border-bottom-color:var(--ph-primary)}

/* Menu list: size / price header row (was washed out by the even-row and hover rules) */
.ph-shop .ph-list .ph-mi.ph-mi-head,.ph-shop .ph-list .ph-mi.ph-mi-head:nth-of-type(n),.ph-shop .ph-list .ph-mi.ph-mi-head:hover{background:#1c1c1c!important;color:#fff!important;border-top:0;border-bottom:3px solid var(--ph-primary);padding:.6rem 1rem;cursor:default}
.ph-shop .ph-list .ph-mi-head .ph-mi-name strong,.ph-shop .ph-list .ph-mi-head .ph-mi-cell{color:#fff!important;font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.ph-shop .ph-list .ph-mi-head .ph-mi-cell{color:var(--ph-yellow)!important}

/* Category banner without a title: show the whole picture, sharp, never cropped (desktop and mobile) */
.ph-list-title.ph-list-title-full{display:block;padding:0;min-height:0;background:#000;line-height:0;font-size:0}
.ph-list-title.ph-list-title-full img{display:block;width:100%;height:auto;max-width:100%}
/* Banner with a title: lighter dark layer so the photo stays crisp */
.ph-list-title.ph-list-title-img{image-rendering:auto}

.ph-gridmenu .product-thumb{cursor:pointer}
.ph-gridmenu .product-thumb.ph-loading{opacity:.55;pointer-events:none;transition:opacity .15s}

/* ===== v3.9.16: grid pages get the cart sidebar, cleaner product cards, Delivery / Pickup switch ===== */
.ph-shop-grid .ph-list-grid{background:transparent}
.ph-shop-grid .ph-pgrid{gap:1.1rem}
.ph-shop-grid .ph-side{align-self:start}
.ph-shop-grid .ph-side-title{border-radius:14px 14px 0 0;border-bottom:3px solid var(--ph-primary)}
.ph-shop-grid .ph-side-cart{border-radius:0 0 14px 14px;box-shadow:0 6px 22px rgba(0,0,0,.08)}

.product-thumb{position:relative;border:0;border-radius:18px;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.05),0 10px 26px rgba(20,20,20,.07);transition:transform .22s ease,box-shadow .22s ease}
.product-thumb::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;z-index:2;background:linear-gradient(90deg,var(--ph-primary),var(--ph-secondary));opacity:0;transition:opacity .2s}
.product-thumb:hover{transform:translateY(-4px);box-shadow:0 4px 10px rgba(0,0,0,.06),0 18px 38px rgba(20,20,20,.13)}
.product-thumb:hover::before{opacity:1}
.product-thumb .image{overflow:hidden;background:linear-gradient(135deg,#fbf3e6,#f1e4cf)}
.product-thumb .image img{transition:transform .4s ease}
.product-thumb:hover .image img{transform:scale(1.06)}

/* title + text on top, price on the left and the cart icon on the right (like the list view) */
.product-thumb .content{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:.6rem;padding:1rem 1.05rem 1.05rem}
.product-thumb .description{display:contents}
.product-thumb h4,.product-thumb .description>p{grid-column:1/-1}
.product-thumb h4{font-size:1.06rem;font-weight:800;line-height:1.25;margin:0 0 .3rem}
.product-thumb .description>p{margin:0 0 .7rem}
.product-thumb .price{grid-column:1;margin:0;font-size:1.2rem;font-weight:800;color:var(--ph-primary)}
.product-thumb .price-new{color:var(--ph-primary)}
.product-thumb .price-tax{display:none}
.product-thumb .button-group{grid-column:2;margin:0;gap:.4rem;align-items:center}
.product-thumb .button-group button,.product-thumb .button-group .ph-card-add{flex:0 0 auto;width:42px;min-width:42px;height:42px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;transition:transform .15s,background .15s,color .15s}
.product-thumb .button-group button:first-child,.product-thumb .button-group .ph-card-add{background:var(--ph-primary);border:0;color:#fff;font-size:1rem;box-shadow:0 4px 12px color-mix(in srgb,var(--ph-primary) 45%,transparent)}
.product-thumb .button-group button:first-child:hover,.product-thumb .button-group .ph-card-add:hover{background:#111;color:#fff;transform:scale(1.08)}
.product-thumb .button-group button:nth-child(2){background:#fff;border:1px solid var(--ph-line);color:#999}
.product-thumb .button-group button:nth-child(2):hover{color:var(--ph-primary);border-color:var(--ph-primary)}
.product-thumb .price:empty{display:none}
@media(max-width:575.98px){
  .product-thumb .content{padding:.75rem .8rem .85rem}
  .product-thumb h4{font-size:.96rem}
  .product-thumb .price{font-size:1.05rem}
  .product-thumb .button-group button,.product-thumb .button-group .ph-card-add{width:38px;min-width:38px;height:38px}
  .product-thumb .button-group button:nth-child(2){display:none}
}

/* Delivery / Pickup switch in the cart */
.ph-mode .ph-mode-b{transition:all .15s}
.ph-mode .ph-mode-b:hover{border-color:var(--ph-primary)!important}

/* cart sidebar: delivery cost above the total, clearer total */
.ph-side-cart .ph-sl-grand{border-top:2px solid #111;margin-top:6px;padding-top:8px;font-size:1.08rem}
.ph-side-cart .ph-zone-sel{width:100%}

/* === Pass 2 — Pizzeria Cortina palette (logo green #22A04B / red #E6000D on black) === */
.ph-hero h1 em{color:#22A04B}
.btn-primary,.ph-btn{--bs-btn-hover-bg:#1B7F3B;--bs-btn-hover-border-color:#1B7F3B;--bs-btn-active-bg:#166B31;--bs-btn-active-border-color:#166B31}
.btn-primary:hover,.ph-btn:hover{background:#1B7F3B;border-color:#1B7F3B}
.btn-primary:active,.ph-btn:active{background:#166B31;border-color:#166B31}
.form-control:focus,.form-select:focus{border-color:#22A04B;box-shadow:0 0 0 .2rem rgba(34,160,75,.18)}
.ph-badge{background:radial-gradient(circle at 30% 25%,#ff4d55,#E6000D 70%);border-color:#E6000D}
::selection{background:#22A04B;color:#fff}
.ph-product-product #product .form-check:has(input[type=radio]) input:checked+label{background:#eefaf1}
