/* Pipwink launch polish: visible controls, tighter mobile browsing. */
body.tm-studio .tm-search-inline form{border:2px solid #1b2440;border-radius:8px;background:#fff;overflow:visible;box-shadow:0 3px 0 #1b244012;min-height:48px}
body.tm-studio .tm-search-inline input[type=search]{background:#fff;color:#1b2440;border:0;border-radius:6px 0 0 6px;padding:12px 16px;font-size:16px;box-shadow:none;min-height:48px}
body.tm-studio .tm-search-inline input[type=search]::placeholder{color:#4d5670;opacity:1}
body.tm-studio .tm-search-inline button[type=submit]{background:#ff7a3d;color:#1b2440;border:0;border-left:2px solid #1b2440;border-radius:0 6px 6px 0;font-size:15px;font-weight:750;padding:10px 22px;min-height:48px}
body.tm-studio .tm-search-inline form:focus-within{outline:3px solid #ff7a3d;outline-offset:3px}
body.tm-studio .tm-search-inline input[type=search]:focus{outline:0}
body.tm-studio .tm-search-inline button:hover{background:#ffc83d}
body.tm-studio .tm-category-links a{background:#fff;border:2px solid #1b2440;border-radius:8px;color:#1b2440;box-shadow:0 3px 0 #1b244012;min-height:64px;padding:10px 16px;font-size:14px;font-weight:700;transition:background .15s,transform .15s;gap:12px}
body.tm-studio .tm-category-links a>span{display:flex;align-items:center;justify-content:center;flex:0 0 32px;height:32px;border-radius:50%;background:#ff7a3d;color:#1b2440;font-size:22px;line-height:1}
body.tm-studio .tm-category-links a:hover{background:#ffc83d;text-decoration:none;transform:translateY(-2px)}
body.tm-studio .tm-category-links a:active{transform:translateY(1px);box-shadow:none}
@media(max-width:767px){
body.tm-studio .tm-header-inner{padding:12px 0;gap:12px;row-gap:10px}
body.tm-studio .tm-search-inline input[type=search]{padding:10px 12px;min-height:44px}
body.tm-studio .tm-search-inline button[type=submit]{padding:9px 16px;min-height:44px;font-size:14px}
body.tm-studio .tm-search-inline form{min-height:44px}
body.tm-studio .tm-mobile-nav summary{padding:8px 0;min-height:36px}
body.tm-studio .tm-category-links a{padding:9px 10px;gap:8px;min-height:56px;font-size:13px}
body.tm-studio .tm-category-links a>span{flex-basis:26px;height:26px;font-size:20px}
body.tm-studio .site-content{padding-top:18px}
body.tm-studio .storefront-breadcrumb{margin-bottom:12px}
body.tm-studio .woocommerce-products-header{padding:0 0 12px;text-align:left}
body.tm-studio .woocommerce-products-header__title{font-size:32px;margin-bottom:0}
body.tm-studio .tm-shop-categories{flex-wrap:nowrap;overflow:auto;gap:8px;margin-bottom:16px;padding-bottom:4px}
body.tm-studio .tm-shop-categories a{white-space:nowrap;flex-shrink:0;min-height:44px;padding:10px 12px;background:#fff;border:1px solid #647088;color:#1b2440;font-size:13px}
body.tm-studio .storefront-sorting{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:18px;padding-bottom:12px}
body.tm-studio .woocommerce-ordering{margin:0;float:none}
body.tm-studio .woocommerce-ordering select{min-height:44px;font-size:14px;background:#fff;border-color:#647088}
body.tm-studio .woocommerce-result-count{margin:0;font-size:12px}
body.tm-studio .storefront-sorting:not(:last-child) .woocommerce-pagination{display:none}
body.tm-studio .tm-hero-copy p,body.tm-studio .tm-section-head p,body.tm-studio .tm-feature p{font-size:15px}
}
@media(prefers-reduced-motion:reduce){body.tm-studio .tm-category-links a{transition:none}}

/* One compact header on phones and tablets; all navigation remains available. */
.tm-search-inline button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.tm-search-inline button svg{width:19px;height:19px;flex-shrink:0}
.tm-category-links a>span svg{width:21px;height:21px;stroke-width:1.8}
body.tm-studio .tm-header .tm-mobile-nav{display:none}
body.tm-studio .tm-card-picture,body.tm-studio ul.products li.product img{background:#fff;border:1px solid #d9deea;border-radius:10px}
body.tm-studio .tm-card-picture img{object-fit:contain;padding:14px;background:#fff}
body.tm-studio .tm-hero-photo>img{object-fit:contain;background:#fff;padding:24px}
body.tm-studio .tm-feature-photo img{object-fit:contain;padding:20px;background:#fff}
body.tm-studio .tm-card-info h3{font-size:16px;line-height:1.35}
body.tm-studio .tm-card-info .price{font-size:15px;font-weight:650}
body.tm-studio ul.products li.product .button{font-size:13px;min-height:44px;padding:10px 16px;border:1.5px solid #1b2440;background:#fff;color:#1b2440;border-radius:6px}
body.tm-studio ul.products li.product .button:hover{background:#ffc83d}
body.tm-studio .tm-footer-top>div>a:not(.tm-logo):not(.tm-text-link){min-height:44px;display:flex;align-items:center}

/* Reserve the final gallery shape before FlexSlider starts. */
body.tm-studio.single-product div.product .woocommerce-product-gallery{position:relative;opacity:1!important;transition:none!important}
body.tm-studio.single-product .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{display:flex;overflow:hidden;aspect-ratio:1;margin:0}
body.tm-studio.single-product .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image{flex:0 0 100%;min-width:100%;max-width:100%}
body.tm-studio.single-product .woocommerce-product-gallery .flex-viewport{aspect-ratio:1;height:auto!important;max-height:none}
body.tm-studio.single-product .woocommerce-product-gallery__image img{display:block;width:100%;height:auto!important;aspect-ratio:1;object-fit:contain}
body.tm-studio.single-product .woocommerce-product-gallery__trigger{font-size:0!important}
body.tm-studio.single-product .woocommerce-product-gallery__trigger:before{font-family:inherit!important;content:''!important;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2440' stroke-width='2'%3E%3Ccircle cx='10' cy='10' r='6'/%3E%3Cpath d='m15 15 6 6M10 7v6M7 10h6'/%3E%3C/svg%3E") center/contain no-repeat}
body.tm-studio.single-product .woocommerce-product-gallery__trigger:after{display:none!important}

@media(max-width:980px){
body.tm-studio .tm-header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;width:calc(100% - 32px);gap:10px;row-gap:10px;padding:10px 0 12px}
body.tm-studio .tm-header .tm-mobile-nav{display:block;grid-column:2;grid-row:1;width:auto;margin:0}
body.tm-studio .tm-header .tm-mobile-nav summary{display:flex;align-items:center;justify-content:center;gap:6px;border:1.5px solid #1b2440;border-radius:6px;background:#fff;padding:8px;min-height:44px;font-size:13px;font-weight:700;list-style:none;cursor:pointer}
body.tm-studio .tm-mobile-nav summary::-webkit-details-marker{display:none}
body.tm-studio .tm-mobile-nav summary svg{width:18px;height:18px;flex-shrink:0}
body.tm-studio .tm-mobile-nav nav{position:absolute;top:100%;left:16px;right:16px;padding:12px;z-index:30;border:2px solid #1b2440;border-radius:8px;background:#fff;box-shadow:0 8px 24px #1b244020;display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.tm-studio .tm-mobile-nav nav a{min-height:44px;display:flex;align-items:center;padding:10px 12px;background:#fff6e9;border:1px solid #647088;border-radius:5px;font-size:14px}
body.tm-studio .tm-search-inline{grid-column:1/-1;grid-row:2;order:4;width:100%}
body.tm-studio .tm-logo{grid-column:1;grid-row:1;font-size:27px!important;justify-self:start}
body.tm-studio .tm-header-actions{grid-column:3;grid-row:1;gap:6px}
body.tm-studio .tm-header-actions a{min-width:40px;min-height:44px;justify-content:center;gap:4px}
body.tm-studio .tm-header-actions a>span:not(.tm-cart-count){display:none}
body.tm-studio .tm-desktop-nav{display:none}
}
@media(max-width:767px){
body.tm-studio .tm-search-inline button svg{display:none}
body.tm-studio .tm-hero-copy{padding:24px}
body.tm-studio .tm-hero-photo{min-height:285px}
body.tm-studio .tm-hero-photo>img{padding:20px 20px 70px}
body.tm-studio .tm-hero h1{font-size:42px!important}
body.tm-studio .tm-card-info h3{font-size:14px}
body.tm-studio .tm-card-info .price{font-size:14px}
body.tm-studio .tm-category-links a{font-size:13px}
body.tm-studio .tm-category-links a>span svg{width:18px;height:18px}
body.tm-studio .tm-product-grid{gap:22px 12px}
body.tm-studio ul.products li.product .woocommerce-loop-product__title{font-size:14px;min-height:40px}
body.tm-studio ul.products li.product .price{font-size:14px;font-weight:650}
}
@media(max-width:359px){
body.tm-studio .tm-logo{font-size:24px!important}
body.tm-studio .tm-menu-label{display:none}
body.tm-studio .tm-header .tm-mobile-nav summary{width:44px}
body.tm-studio .tm-header-inner{gap:8px;row-gap:10px}
body.tm-studio .tm-category-links a{font-size:12px;padding:8px;gap:6px}
body.tm-studio .tm-hero h1{font-size:36px!important}
}
.pw-refill-addon{display:flex;align-items:center;gap:16px;padding:16px;margin:14px 0 20px;border:1px solid #647088;border-radius:8px;background:#fff6e9}
.pw-refill-addon>img{width:76px;height:76px;object-fit:contain;flex-shrink:0}
body.tm-studio .pw-refill-addon p{font-size:14px;line-height:1.5;margin:4px 0}
.pw-refill-addon a{font-weight:700;text-decoration:underline!important;min-height:44px;display:inline-flex;align-items:center;font-size:14px}
@media(max-width:980px){body.tm-studio .tm-mobile-nav summary .tm-menu-label{font:inherit;line-height:1.2}}
@media(max-width:980px){body.tm-studio .tm-header-inner .tm-search-inline{margin:0}}
.pw-delivery-note{font-size:14px;line-height:1.5;padding:14px 0;border-top:1px solid #eadfcc}
.pw-delivery-note a{text-decoration:underline!important}
@media(max-width:767px){body.tm-studio .tm-hero-bottom{display:block;margin-top:16px;padding-top:0;font-size:12px;line-height:1.5;color:#1b2440}}
/* Avoid selecting 1000px originals for a gallery only a few pixels over 600px. */
@media(min-width:981px){body.tm-studio.single-product div.product .woocommerce-product-gallery{max-width:600px}}
/* The breadcrumb uses the same SVG language as the header, without an icon-font download. */
body.tm-studio .woocommerce-breadcrumb a:first-of-type:before{content:'';font-family:inherit;display:inline-block;width:14px;height:14px;margin-right:6px;vertical-align:-2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d5670' stroke-width='1.8'%3E%3Cpath d='m3 11 9-8 9 8M5 10v11h14V10M9 21v-7h6v7'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:980px){body.tm-studio .tm-header-actions a{min-width:44px}}
body.tm-studio.single-product .woocommerce-product-gallery__trigger{width:44px!important;height:44px!important;top:8px!important;right:8px!important;display:flex!important;align-items:center;justify-content:center;background:#fff;border:1px solid #647088;border-radius:6px}
body.tm-studio.single-product .woocommerce-product-gallery__trigger:before{position:static!important;display:block!important;margin:0!important}
body.tm-studio.single-product .pw-gallery-enlarge{position:absolute;top:8px;right:8px;z-index:5;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid #647088;border-radius:6px;background:#fff;color:#1b2440;cursor:pointer}
body.tm-studio.single-product .pw-gallery-enlarge svg{width:22px;height:22px}
body.tm-studio.single-product .pw-gallery-enlarge:hover{background:#ffc83d;color:#1b2440}

/* The existing header bag opens the native mini-cart. */
body.tm-studio .site{overflow-x:clip;overflow-y:visible}
body.tm-studio .tm-header{position:sticky;top:0;z-index:40;box-shadow:0 2px 8px #1b24400a}
body.admin-bar.tm-studio .tm-header{top:32px}
body.tm-studio .tm-header .tm-cart{min-height:44px;min-width:44px;border-radius:8px}
body.tm-studio .tm-header .tm-cart:focus-visible,body.tm-studio .pw-cart-panel :focus-visible{outline:3px solid #ff7a3d;outline-offset:4px}
@media(max-width:782px){body.admin-bar.tm-studio .tm-header{top:46px}}
@media(max-width:600px){body.admin-bar.tm-studio .tm-header{top:0}}
body.tm-studio .pw-cart-panel :focus{outline-color:#ff7a3d}
body.pw-cart-open{overflow:hidden}
body.tm-studio .pw-cart-panel{position:fixed;inset:0 0 0 auto;margin:0;padding:24px;width:min(440px,100%);max-width:100%;height:100dvh;max-height:none;border:0;border-left:2px solid #1b2440;background:#fff6e9;color:#1b2440;overflow:auto;overscroll-behavior:contain;box-shadow:-12px 0 48px #1b244026}
body.tm-studio .pw-cart-panel:not([open]){display:none}
body.tm-studio .pw-cart-panel[open]{display:flex;flex-direction:column;animation:pw-cart-arrive .16s ease-out}
.pw-cart-panel::backdrop{background:#1b244075}
body.tm-studio .pw-cart-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
body.tm-studio .pw-cart-heading h2{font-size:30px;line-height:1.15;margin:0}
body.tm-studio .pw-cart-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:10px;border:1px solid #1b2440;border-radius:50%;background:#fff6e9;color:#1b2440}
body.tm-studio .pw-cart-close:hover{background:#ff7a3d;color:#1b2440}
body.tm-studio .pw-cart-close svg{width:22px;height:22px}
body.tm-studio .pw-cart-delivery{font-size:13px;line-height:1.5;margin:20px 0 24px;padding:12px 14px;background:#e3f6ed;border-radius:8px}
body.tm-studio .pw-cart-panel .widget_shopping_cart{margin:0;flex:1}
body.tm-studio .pw-cart-panel ul.product_list_widget{list-style:none;margin:0;padding:0}
body.tm-studio .pw-cart-panel ul.product_list_widget li{position:relative;min-height:112px;margin:0;padding:0 44px 20px 100px;border-bottom:1px solid #eadfcc;margin-bottom:20px}
body.tm-studio .pw-cart-panel ul.product_list_widget li>a:not(.remove){display:block;padding:0;color:#1b2440;font-size:16px;line-height:1.4;font-weight:650}
body.tm-studio .pw-cart-panel ul.product_list_widget li img{position:absolute;left:0;top:0;width:84px;height:84px;max-width:none;margin:0;float:none;object-fit:contain;border:1px solid #eadfcc;border-radius:10px;background:#fff}
body.tm-studio .pw-cart-panel ul.product_list_widget li .remove{position:absolute;inset:0 0 auto auto;display:grid;place-items:center;width:44px;height:44px;padding:0;margin:0;background:transparent;color:#4d5670;border:0;border-radius:50%;font-size:24px;line-height:1;text-indent:0;overflow:visible}
body.tm-studio .pw-cart-panel ul.product_list_widget li .remove:before{display:none}
body.tm-studio .pw-cart-panel ul.product_list_widget li .remove:hover{background:#eadfcc;color:#1b2440;text-decoration:none}
body.tm-studio .pw-cart-panel .variation{margin:6px 0;padding:0;border:0;font-size:13px;color:#4d5670}
body.tm-studio .pw-cart-panel .variation dt,body.tm-studio .pw-cart-panel .variation dd,body.tm-studio .pw-cart-panel .variation dd p{font-size:13px;margin:0 4px 0 0;padding:0;line-height:1.5}
body.tm-studio .pw-cart-panel .quantity{display:block;margin-top:8px;float:none;font-size:15px;color:#4d5670}
body.tm-studio .pw-cart-panel .woocommerce-mini-cart__total{display:flex;align-items:center;justify-content:space-between;gap:16px;border:0;padding:4px 0;margin:24px 0;font-size:20px;color:#1b2440}
body.tm-studio .pw-cart-panel .woocommerce-mini-cart__buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
body.tm-studio .pw-cart-panel .woocommerce-mini-cart__buttons a{display:flex;align-items:center;justify-content:center;float:none;width:auto;min-height:50px;margin:0;padding:12px 10px;border:2px solid #1b2440;border-radius:10px;font-size:15px;line-height:1.3;background:#fff6e9;color:#1b2440;text-decoration:none}
body.tm-studio .pw-cart-panel .woocommerce-mini-cart__buttons a.checkout{background:#1b2440;color:#fff6e9}
body.tm-studio .pw-cart-panel .woocommerce-mini-cart__buttons a:hover{background:#ff7a3d;color:#1b2440}
body.tm-studio .pw-cart-panel .woocommerce-mini-cart__empty-message{margin:32px 0;padding:32px 16px;border:1px solid #eadfcc;border-radius:12px;text-align:center;font-size:18px;line-height:1.5}
body.tm-studio .pw-cart-continue{display:flex;align-items:center;justify-content:center;min-height:48px;flex-shrink:0;margin-top:24px;font-size:15px;font-weight:650;text-decoration:underline;text-underline-offset:4px;color:#1b2440}
@keyframes pw-cart-arrive{from{transform:translateX(40px);opacity:.5}to{transform:translateX(0);opacity:1}}
@media(max-width:767px){
body.tm-studio .pw-cart-panel{padding:20px 20px calc(20px + env(safe-area-inset-bottom));border-left:0}
body.tm-studio .pw-cart-heading h2{font-size:28px}
}
@media(prefers-reduced-motion:reduce){body.tm-studio .pw-cart-panel[open]{animation:none}}
