@media (max-width:1100px){.ph-header-main{grid-template-columns:220px 1fr 80px}.ph-nav ul{gap:18px}.ph-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:768px){.dt-container{width:min(100% - 28px,var(--ph-container))}.dt-py-default{padding:48px 0}.ph-topbar-inner{flex-direction:column;align-items:flex-start;padding:10px 0}.ph-header-main{display:flex;min-height:86px;justify-content:space-between}.ph-search,.ph-actions,.ph-nav{display:none}.ph-logo img,.ph-logo .custom-logo{max-width:190px}.ph-mobile-toggle{display:inline-flex;background:var(--ph-primary);color:#fff;border:0;border-radius:999px;padding:12px 18px;font-weight:800}.ph-header-main--mobile.is-open{display:block;padding:0 20px 24px}.ph-header-main--mobile ul{list-style:none;margin:18px 0 0;padding:0}.ph-header-main--mobile li{border-bottom:1px solid rgba(0,54,97,.1)}.ph-header-main--mobile a{display:block;padding:13px 0;text-decoration:none;font-weight:800;color:var(--ph-secondary)}.ph-course-hero{min-height:470px}.ph-front-info-card,.dt-container[style*="background:#e9edf5"]{padding:42px 24px!important;border-radius:28px!important}.ph-info-grid{grid-template-columns:1fr!important}.ph-card-grid{grid-template-columns:1fr}.ph-footer-grid{grid-template-columns:1fr 1fr}.ph-footer-title{font-size:44px}.ph-partner-row{justify-content:flex-start;overflow-x:auto;padding-bottom:12px}.ph-partner-logo{width:120px;height:120px}}
@media (max-width:520px){.ph-footer-grid{grid-template-columns:1fr}.ph-course-hero h1{font-size:38px}.ph-course-hero p{font-size:17px}}

/* PressureHub 0.6.7 – Mobile overflow stabilization */
*,*::before,*::after{box-sizing:border-box;}
html,body{max-width:100%;overflow-x:hidden;}
img,video,iframe,embed,object{max-width:100%;height:auto;}

.ph-unified-hero,
.ph-shop-hero,
.ph-page-hero,
.ph-course-hero,
.ph-product-layout,
.ph-shop-layout,
.ph-shop-content,
.ph-shop-sidebar,
.ph-product-single,
.ph-product-top,
.ph-product-gallery,
.ph-product-buybox,
.ph-product-related,
.ph-product-tabs,
.woocommerce,
.woocommerce-page,
.site-main,
.entry-content{
  max-width:100%;
}

@media (max-width: 900px){
  .dt-container,
  .ph-container,
  .ph-unified-hero .dt-container,
  .ph-shop-hero .dt-container,
  .ph-shop-layout,
  .ph-product-layout .dt-container{
    width:min(100% - 28px, 1180px)!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .ph-shop-layout{
    display:block!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  .ph-shop-sidebar{
    position:relative!important;
    top:auto!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 24px!important;
    padding:16px!important;
  }

  .ph-shop-content{
    width:100%!important;
    min-width:0!important;
  }

  .ph-shop-content ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;
  }

  .ph-shop-content ul.products li.product,
  .woocommerce ul.products li.product{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .ph-shop-content ul.products li.product img{
    height:190px!important;
  }

  .ph-shop-content ul.products li.product .button,
  .woocommerce ul.products li.product .button,
  .ph-product-card .button{
    width:calc(100% - 28px)!important;
    max-width:calc(100% - 28px)!important;
    margin-left:14px!important;
    margin-right:14px!important;
    padding-left:10px!important;
    padding-right:10px!important;
    white-space:normal!important;
  }

  .woocommerce-pagination ul.page-numbers{
    padding-left:0!important;
  }

  .ph-shop-price-notes,
  .ph-product-footnotes,
  .woocommerce-info,
  .woocommerce-message,
  .woocommerce-error{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}

@media (max-width: 640px){
  .dt-container,
  .ph-container,
  .ph-unified-hero .dt-container,
  .ph-shop-hero .dt-container,
  .ph-shop-layout,
  .ph-product-layout .dt-container{
    width:min(100% - 24px, 1180px)!important;
  }

  .ph-unified-hero,
  .ph-shop-hero,
  .ph-page-hero{
    padding-left:0!important;
    padding-right:0!important;
  }

  .ph-unified-hero-inner,
  .ph-page-hero-inner,
  .ph-shop-hero-inner,
  .ph-product-top,
  .ph-product-single .summary,
  .ph-product-single .woocommerce-product-gallery{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .ph-shop-content ul.products{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }

  .ph-shop-content ul.products li.product img{
    height:220px!important;
  }

  .ph-shop-content .woocommerce-ordering,
  .ph-shop-content .woocommerce-result-count{
    float:none!important;
    width:100%!important;
    max-width:100%!important;
  }

  .ph-shop-content .orderby{
    width:100%!important;
    max-width:100%!important;
  }

  .ph-filter-search .woocommerce-product-search,
  .ph-shop-sidebar .woocommerce-product-search{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:8px!important;
    max-width:100%!important;
  }

  .ph-filter-search input[type=search],
  .ph-shop-sidebar input[type=search],
  .ph-shop-sidebar input[type=text]{
    min-width:0!important;
  }

  .ph-filter-search button,
  .ph-shop-sidebar button:not(.ph-filter-toggle):not(.ph-cat-toggle):not(.ph-shop-filter-close){
    white-space:nowrap!important;
  }

  .woocommerce-pagination .page-numbers{
    min-width:36px!important;
    height:36px!important;
  }

  .ph-shop-price-notes,
  .ph-product-footnotes{
    padding:18px!important;
    border-radius:16px!important;
  }
}

@media (max-width: 380px){
  .dt-container,
  .ph-container,
  .ph-unified-hero .dt-container,
  .ph-shop-hero .dt-container,
  .ph-shop-layout,
  .ph-product-layout .dt-container{
    width:min(100% - 18px, 1180px)!important;
  }

  .ph-shop-sidebar{padding:12px!important;border-radius:18px!important;}
  .ph-shop-content ul.products li.product img{height:200px!important;}
}


/* PressureHub 0.6.8: Mobile overflow hardening + booking page single hero */
*,*::before,*::after{box-sizing:border-box;}
html,body{max-width:100%;overflow-x:hidden;}
img,video,iframe,embed,object{max-width:100%;height:auto;}
.ph-entry-content,
.ph-content,
.ph-page-wrap,
.ph-page-hero-content,
.ph-unified-hero .ph-page-hero-content{
  min-width:0;
  max-width:100%;
  overflow-wrap:break-word;
}
.ph-checkout-page .ph-checkout-subtitle,
.ph-checkout-page .ph-checkout-kicker{color:rgba(255,255,255,.88)!important;}
.ph-checkout-page .ph-checkout-subtitle{max-width:760px!important;}
@media (max-width: 767.98px){
  .ph-unified-hero,
  .ph-page-hero,
  .ph-shop-hero,
  .ph-checkout-hero{
    overflow:hidden!important;
  }
  .ph-unified-hero .ph-page-hero-grid,
  .ph-page-hero-grid,
  .ph-checkout-hero-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:min(100% - 28px,var(--ph-container,1180px))!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    gap:22px!important;
  }
  .ph-unified-hero .ph-page-hero-content,
  .ph-page-hero-content,
  .ph-checkout-hero-grid > div{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .ph-unified-hero h1,
  .ph-page-hero h1,
  .ph-checkout-hero h1{
    font-size:clamp(30px,9.2vw,38px)!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    hyphens:auto!important;
  }
  .ph-unified-hero .ph-page-hero-subtitle,
  .ph-page-hero-subtitle,
  .ph-checkout-subtitle{
    font-size:clamp(16px,4.4vw,18px)!important;
    line-height:1.5!important;
    max-width:100%!important;
    overflow-wrap:break-word!important;
  }
  .ph-unified-hero .ph-page-hero-media,
  .ph-page-hero-media,
  .ph-checkout-hero-img{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .ph-unified-hero .ph-page-hero-media img,
  .ph-page-hero-media img,
  .ph-checkout-hero-img img{
    width:100%!important;
    max-width:100%!important;
  }
  .ph-entry-content h1,
  .ph-entry-content h2,
  .ph-entry-content h3{
    overflow-wrap:anywhere!important;
    hyphens:auto!important;
  }
}
@media (max-width: 420px){
  .ph-unified-hero h1,
  .ph-page-hero h1,
  .ph-checkout-hero h1{
    font-size:clamp(28px,8.6vw,34px)!important;
  }
}
