/* Approved main-site mobile refinements, 2026-10-12. Original content remains intact. */
.ty-mobile-product-entry,.ty-mobile-table-hint,#ty-mobile-controls-area{display:none}
.ty-mobile-table-scroll{max-width:100%;min-width:0}
@media(max-width:1024px){
 body.ty-layout-main{padding-top:var(--ty-layout-header-height,64px)!important;padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))!important}
 body.ty-layout-main .elementor-location-header{position:fixed!important;inset:0 0 auto!important;width:100%!important;transform:none!important;opacity:1!important;visibility:visible!important;z-index:99980!important}
 body.ty-layout-main.admin-bar .elementor-location-header{top:var(--ty-layout-admin-top,46px)!important}
 body.ty-layout-main .elementor-150 .elementor-element-fc8e81a{position:relative!important;top:auto!important;left:auto!important;transform:none!important;transition:none!important;width:100%!important;min-height:64px!important;padding:8px 16px!important;background:#463B27!important}
 body.ty-layout-main .elementor-150 .elementor-sticky__spacer{display:none!important}
 body.ty-layout-main .elementor-150 .elementor-widget-wrap{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;padding:0!important;gap:12px}
 body.ty-layout-main .elementor-150 .elementor-element-828566b{width:170px!important;margin:0!important}
 body.ty-layout-main .elementor-150 .elementor-element-828566b img{max-height:40px!important;width:170px!important;object-fit:contain}
 body.ty-layout-main .elementor-150 .elementor-element-967a1c8{display:none!important}
 body.ty-layout-main .elementor-150 .elementor-element-835be53{width:44px!important;margin:0!important}
 body.ty-layout-main .pp-menu-toggle{width:44px!important;height:44px!important;display:flex!important;align-items:center;justify-content:center}
 body.ty-layout-main .pp-menu-off-canvas{width:360px!important;max-width:calc(100vw - 24px)!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain;padding:60px 0 calc(24px + env(safe-area-inset-bottom,0px))!important}
 body.ty-layout-main .pp-menu-off-canvas :is(a.pp-menu-item,a.pp-sub-item){position:relative;display:flex!important;align-items:center;min-height:48px!important;padding-top:10px!important;padding-bottom:10px!important;padding-right:58px!important;font-size:16px!important;line-height:1.4!important;white-space:normal}
 body.ty-layout-main .pp-menu-off-canvas .sub-arrow{position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important;width:44px!important;height:44px!important;display:flex!important;align-items:center;justify-content:center;margin:0!important;padding:0!important}
 body.ty-layout-main .pp-menu-close{width:44px!important;height:44px!important}
 body.ty-layout-main .pp-menu-off-canvas .ty-mobile-quote{margin:0 16px 12px!important}
 body.ty-layout-main .pp-menu-off-canvas .ty-mobile-quote>a{justify-content:center;padding:12px 14px!important;margin:0!important;min-height:48px!important;background:#957A56!important;color:#fff!important;border-radius:3px}
 /* Keep bottom spacing and floating controls without an opaque overlay strip. */
 body.ty-layout-main #ty-mobile-controls-area{display:none!important}
 body.ty-layout-main.topyou-floating-controls #ht-ctc-chat{left:12px!important;right:auto!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;z-index:99963!important}
 body.ty-layout-main #ht-ctc-chat .ht_ctc_style .ht_ctc_padding{padding:9px!important;box-shadow:none!important}
 body.ty-layout-main #ht-ctc-chat .ht_ctc_style .ht_ctc_padding>svg{width:26px!important;height:26px!important}
 body.ty-layout-main #ht-ctc-chat .ctc_greetings_close_btn{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
 body.ty-layout-main #ht-ctc-chat .ht_ctc_chat_greetings_box{position:relative!important;left:0!important;right:auto!important;bottom:0!important;min-width:0!important;width:min(360px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important}
 body.ty-layout-main #ht-ctc-chat .ctc_greetings_close_btn{left:auto!important;right:0!important;top:0!important;margin:0!important}
 body.ty-layout-main #ht-ctc-chat .ht_ctc_greetings{position:absolute!important;bottom:52px!important;left:0!important}
 body.ty-layout-main #ht-ctc-chat .ht_ctc_chat_greetings_box_layout{max-height:calc(100dvh - var(--ty-layout-header-height,64px) - 80px)!important;overflow-y:auto!important}
 body.ty-layout-main.topyou-floating-controls #gt_float_wrapper{right:12px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;z-index:99961!important}
 body.ty-layout-main #gt_float_wrapper .gt_float_switcher{font-size:14px!important;border-radius:3px;box-shadow:none!important}
 body.ty-layout-main #gt_float_wrapper .gt-current-lang{display:flex!important;align-items:center;gap:6px;padding:10px 8px!important;min-height:44px;box-sizing:border-box}
 body.ty-layout-main #gt_float_wrapper .gt-selected img{width:22px!important;height:auto!important;margin:0!important}
 body.ty-layout-main #gt_float_wrapper .gt_float_switcher-arrow{width:12px!important;height:12px!important;margin:0!important;background-size:12px!important}
 body.ty-layout-main #gt_float_wrapper .gt_options{max-height:calc(100dvh - 150px)!important;overflow-y:auto!important}
 body.ty-layout-main #gt_float_wrapper .gt_options a{min-height:44px;display:flex;align-items:center}
 body.ty-layout-main.topyou-floating-controls .ty-back-to-top{right:112px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;width:44px!important;height:44px!important;z-index:99960!important;box-shadow:none!important}
 body.ty-layout-main .elementor-location-footer{padding-bottom:24px!important}
 body.ty-layout-main.ty-mobile-editing :is(#ty-mobile-controls-area,#ht-ctc-chat,#gt_float_wrapper,.ty-back-to-top){display:none!important;visibility:hidden!important;pointer-events:none!important}
 body.ty-layout-main :is(.ty-mobile-product-target,section[id],.ty-prose h2,.ty-prose h3){scroll-margin-top:calc(var(--ty-layout-header-height,64px) + 16px)}
 body.ty-layout-main :is(input,textarea,select,button,[tabindex]){scroll-margin-bottom:80px}
 body.ty-layout-main .e-con:has(>.ty-mobile-product-entry){flex-direction:column!important;min-width:0!important}
 body.ty-layout-main .ty-mobile-product-entry{display:block;width:100%;flex:0 0 auto;min-width:0;padding:0 0 4px}
 body.ty-layout-main .ty-mobile-product-entry a{display:flex;align-items:center;justify-content:center;gap:12px;min-height:46px;width:100%;padding:10px 16px;border:1px solid #957A56;border-radius:3px;background:#957A56;color:#fff;font-size:16px;line-height:1.5;text-decoration:none}
 body.ty-layout-main .ty-mobile-product-entry a:focus-visible{outline:2px solid #463B27;outline-offset:3px}
 body.ty-layout-main .ty-mobile-table-hint{display:block;font-size:13px;line-height:1.5;color:#786A54;margin:18px 0 6px}
 body.ty-layout-main .ty-mobile-table-scroll{width:100%;max-width:100%;overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;margin:0 0 24px;border:1px solid #E6DFD4;border-radius:3px}
 body.ty-layout-main .ty-mobile-table-scroll>table{display:table!important;width:100%!important;min-width:var(--ty-table-width,600px)!important;max-width:none!important;table-layout:fixed!important;overflow:visible!important;margin:0!important}
 body.ty-layout-main .ty-mobile-table-scroll :is(th,td){padding:12px 14px!important;min-width:0!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;vertical-align:top}
 body.ty-layout-main .ty-mobile-table-scroll:focus-visible{outline:2px solid #957A56;outline-offset:3px}
 body.ty-layout-main .pp-testimonials .pp-arrow-next{right:0!important;left:auto!important;transform:translateY(-50%)!important}
 body.ty-layout-main .pp-testimonials .pp-arrow-prev{left:0!important;right:auto!important;transform:translateY(-50%)!important}
}
@media(max-width:767px),(max-width:1024px) and (max-height:600px) and (orientation:landscape){
 body.ty-layout-main.home .ty-layout-short-grid,
 body.ty-layout-main.home .ty-layout-short-grid>.e-con-inner,
 body.ty-layout-main.home .ty-layout-short-grid>.elementor-container,
 body.ty-layout-main.home .elementor-element-a19968b>.elementor-container{grid-template-columns:minmax(0,1fr)!important}
 body.ty-layout-main.home .elementor-element-a19968b .elementor-widget-heading .elementor-heading-title{min-height:0!important;font-size:20px!important;line-height:1.4!important}
 body.ty-layout-main.home .elementor-element-a19968b>.elementor-container>.elementor-column>.elementor-widget-wrap{padding:20px!important;gap:12px!important}
 body.ty-layout-main.home [data-elementor-type="wp-page"]>.elementor-element-c392c03{padding:22px 16px calc(52.25vw + 20px)!important;min-height:0!important;background-color:#29251E!important;background-image:url('https://topyoupackaging.com/wp-content/uploads/2026/11/topyou-home-hero-1200x627.webp')!important;background-size:100% auto!important;background-position:center bottom!important;background-repeat:no-repeat!important}
 body.ty-layout-main.home .elementor-element-c392c03>.elementor-background-video-container{display:none!important}
 body.ty-layout-main.home .elementor-element-c392c03>.elementor-background-overlay{background:none!important;opacity:0!important}
 body.ty-layout-main.home .elementor-element-c392c03 .elementor-widget-wrap{padding:0!important;gap:12px!important}
 body.ty-layout-main.home .elementor-element-c392c03 .elementor-widget-heading h1.elementor-heading-title{font-size:24px!important;line-height:1.2!important;text-shadow:none!important}
 body.ty-layout-main.home .elementor-element-c392c03 .elementor-widget-heading h3.elementor-heading-title{font-size:16px!important;line-height:1.45!important;text-shadow:none!important}
 body.ty-layout-main.home .elementor-element-c392c03 .elementor-icon-list-text{font-size:15px!important;line-height:1.5!important;text-shadow:none!important}
 body.ty-layout-main.home .elementor-element-c392c03 .elementor-icon-list-item{margin-top:0!important;margin-bottom:8px!important;padding:0!important;align-items:flex-start!important}
 body.ty-layout-main.home .elementor-element-c392c03 .elementor-icon-list-icon{padding-top:5px!important}
 body.ty-layout-main.home .elementor-element-c392c03 .elementor-icon-list-icon :is(i,svg){font-size:8px!important;width:8px!important;height:8px!important}
 body.ty-layout-main.home .elementor-element-c392c03 .elementor-button{font-size:15px!important;min-height:46px!important;padding:13px 22px!important}
}
@media(max-width:359px){body.ty-layout-main.home .elementor-element-c392c03 .elementor-widget-heading h1.elementor-heading-title{font-size:22px!important}}
@media(max-width:767px){
 body.ty-layout-main.home [data-elementor-type="wp-page"]>.elementor-element-c392c03{padding:22px 16px!important;background-image:none!important}
 body.ty-layout-main.home .elementor-element-c392c03 .elementor-element-5dc09a8::after{content:"";display:block;width:calc(100% + 32px);aspect-ratio:1200 / 627;margin:16px -16px 0;background:url('https://topyoupackaging.com/wp-content/uploads/2026/11/topyou-home-hero-1200x627.webp') center / cover no-repeat}
}
@media(min-width:768px) and (max-width:1024px) and (max-height:600px) and (orientation:landscape){
 body.ty-layout-main.home [data-elementor-type="wp-page"]>.elementor-element-c392c03{padding:24px 48% 24px 24px!important;background-size:48% auto!important;background-position:right center!important}
 body.ty-layout-main.home .elementor-element-c392c03>.elementor-background-video-container{width:48%!important;left:auto!important;right:0!important;top:0!important;height:100%!important}
}

/* Foldable category: remove the legacy -323px mobile background offset. */
@media(max-width:1024px){
 body.ty-layout-main.page-id-3622 .elementor-element-74e9359b{background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important}
}

/* Audited category and information banners: eliminate legacy pixel offsets on phones. */
@media(max-width:1024px){
body.ty-layout-main.page-id-14555 .elementor-element-bf6ad0b,
body.ty-layout-main.page-id-14704 .elementor-element-6ea47646,
body.ty-layout-main.page-id-14268 .elementor-element-29493dee,
body.ty-layout-main.page-id-14270 .elementor-element-29493dee,
body.ty-layout-main.page-id-14266 .elementor-element-29493dee,
body.ty-layout-main.page-id-14273 .elementor-element-29493dee,
body.ty-layout-main.page-id-10181 .elementor-element-541e96b6,
body.ty-layout-main.page-id-9886 .elementor-element-b2812e9,
body.ty-layout-main.page-id-9867 .elementor-element-251c800,
body.ty-layout-main.page-id-9723 .elementor-element-bf6ad0b,
body.ty-layout-main.page-id-9705 .elementor-element-623856d,
body.ty-layout-main.page-id-7903 .elementor-element-2a1588dd,
body.ty-layout-main.page-id-3641 .elementor-element-4d937378,
body.ty-layout-main.page-id-3640 .elementor-element-3ea25ae7,
body.ty-layout-main.page-id-3639 .elementor-element-3c12c49a,
body.ty-layout-main.page-id-3638 .elementor-element-6272f0c4,
body.ty-layout-main.page-id-3637 .elementor-element-f9c23fc,
body.ty-layout-main.page-id-3636 .elementor-element-29493dee,
body.ty-layout-main.page-id-3632 .elementor-element-3638710f,
body.ty-layout-main.page-id-3633 .elementor-element-65b27911,
body.ty-layout-main.page-id-3631 .elementor-element-69a6335c,
body.ty-layout-main.page-id-3629 .elementor-element-3dc280ac,
body.ty-layout-main.page-id-3628 .elementor-element-2b91255a,
body.ty-layout-main.page-id-3627 .elementor-element-59d4065d,
body.ty-layout-main.page-id-3626 .elementor-element-1766dfd8,
body.ty-layout-main.page-id-3625 .elementor-element-7e515128,
body.ty-layout-main.page-id-3624 .elementor-element-7ccf13a8,
body.ty-layout-main.page-id-3623 .elementor-element-7957aecc,
body.ty-layout-main.page-id-3620 .elementor-element-53056e36,
body.ty-layout-main.page-id-3619 .elementor-element-243c474e,
body.ty-layout-main.page-id-3635 .elementor-element-44424b51,
body.ty-layout-main.page-id-1096 .elementor-element-ee3ea54,
body.ty-layout-main.page-id-80 .elementor-element-30113f70,
body.ty-layout-main.page-id-79 .elementor-element-6ea47646,
body.ty-layout-main.page-id-77 .elementor-element-587343f9,
body.ty-layout-main.page-id-71 .elementor-element-1433636,
body.ty-layout-main.page-id-69 .elementor-element-be1fda3{background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important}
}

/* BEGIN TOPYOU MOBILE TESTIMONIAL DOTS 20261125 */
@media (max-width:767px){
 body.ty-layout-main .elementor-widget-pp-testimonials :is(.slick-dots,.swiper-pagination){display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap;gap:0!important;list-style:none!important;padding:0!important;margin:16px 0!important}
 body.ty-layout-main .elementor-widget-pp-testimonials .slick-dots li{position:relative!important;display:block!important;flex:0 0 36px!important;width:36px!important;height:44px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
 body.ty-layout-main .elementor-widget-pp-testimonials :is(.slick-dots button,.swiper-pagination-bullet){position:relative!important;display:block!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important;margin:0!important;border:0!important;border-radius:4px!important;background:transparent!important;color:transparent!important;box-shadow:none!important;font-size:0!important;line-height:0!important;opacity:1!important;cursor:pointer}
 body.ty-layout-main .elementor-widget-pp-testimonials :is(.slick-dots button,.swiper-pagination-bullet)::before{content:""!important;position:absolute!important;display:block!important;left:50%!important;top:50%!important;width:8px!important;height:8px!important;margin:0!important;padding:0!important;transform:translate(-50%,-50%)!important;border:0!important;border-radius:50%!important;background:#725735!important;opacity:.4!important}
 body.ty-layout-main .elementor-widget-pp-testimonials :is(.slick-active button,.swiper-pagination-bullet-active)::before{width:10px!important;height:10px!important;opacity:1!important}
 body.ty-layout-main .elementor-widget-pp-testimonials :is(.slick-dots button,.swiper-pagination-bullet):focus-visible{outline:2px solid #725735!important;outline-offset:-3px!important}
}
/* END TOPYOU MOBILE TESTIMONIAL DOTS 20261125 */
