:root{--ink:#152337;--accent:#204be9;--surface:#f3f5f8}
.applano-wp-header{position:relative;z-index:20}
.wp-head{display:grid;grid-template-columns:auto minmax(170px,1fr) auto;gap:28px;align-items:center;padding-block:18px}
.wp-head .brand img,.wp-head .applano-logo,.wp-head .custom-logo{width:245px;height:auto;max-width:100%;display:block}
.wp-head .atelier-search{margin:0;max-width:none}
.wp-actions,.wp-nav,.wp-extra-nav{display:flex;gap:20px;align-items:center}
.wp-actions a,.wp-nav a,.wp-nav summary{font-size:13px;font-weight:700}
.wp-actions a:hover,.wp-nav a:hover{color:var(--accent)}
.wp-nav{min-height:54px;flex-wrap:wrap}
.wp-nav .departments{position:relative}
.wp-nav .departments summary{cursor:pointer}
.wp-nav .mega{z-index:40;min-width:280px}
.wp-extra-nav,.applano-wp-footer ul{list-style:none;padding:0;margin:0}
.wp-mobile-toggle{display:none}
.applano-wp-footer{background:#152337;color:#fff;padding:48px 0 22px}
.wp-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px}
.wp-footer-grid strong{font-size:30px;letter-spacing:-.05em}
.wp-footer-grid h2{font-size:15px;margin:0 0 12px}
.wp-footer-grid a{display:block;padding:3px 0}
.wp-footer-grid p,.wp-footer-bottom{color:#d7deeb}
.wp-footer-bottom{border-top:1px solid #ffffff35;margin-top:27px;padding-top:18px;font-size:13px}
.wp-shop .woocommerce-products-header__title,.wp-content h1{font-size:clamp(30px,5vw,54px)}
.woocommerce ul.products li.product{background:#fff;border:1px solid #dce3ec;border-radius:14px;overflow:hidden;padding:14px}
.woocommerce ul.products li.product a img{height:205px;object-fit:contain;background:#f6f7f9;border-radius:8px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;line-height:1.45;color:var(--ink)}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-weight:700}
.woocommerce div.product .product_title{font-size:clamp(28px,3.5vw,44px);line-height:1.14}
.woocommerce div.product div.images img{background:#f6f7f9;border-radius:10px}
.woocommerce div.product div.images .flex-control-thumbs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:0}
.woocommerce div.product div.images .flex-control-thumbs li{flex:0 0 25%;float:none;min-width:0;padding:3px}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.wc-block-components-button:not(.is-link){border-radius:8px}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.wc-block-components-button.contained{background:var(--accent);color:white}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background:#1737bb;color:white}
.wp-content{min-height:55vh}
.wp-content article{max-width:100%;overflow-wrap:anywhere}
:focus-visible{outline:2px solid #204be9;outline-offset:4px}
@media(max-width:850px){
 .wp-head{grid-template-columns:auto 1fr auto;gap:10px;padding-block:12px}
 .wp-head .brand img,.wp-head .applano-logo,.wp-head .custom-logo{width:175px}
 .wp-header-search{grid-column:1/-1}
 .wp-actions{gap:10px}.wp-actions a{font-size:12px}
 .wp-mobile-toggle{display:block;padding:7px;background:#e9eef9;border:0;border-radius:7px;font-weight:700}
 .applano-wp-header .navline{display:none}
 .applano-wp-header .navline.is-open{display:block}
 .wp-nav,.wp-extra-nav{align-items:flex-start;flex-direction:column;padding-block:10px;gap:12px}
 .wp-nav .mega{position:static;min-width:0;max-width:100%;display:grid;gap:6px}
 .wp-footer-grid{grid-template-columns:1fr 1fr}.wp-footer-grid>div:first-child{grid-column:1/-1}
 .woocommerce ul.products li.product a img{height:150px}
}
@media(max-width:480px){
 .wp-head .brand img,.wp-head .applano-logo,.wp-head .custom-logo{width:142px}
 .wp-actions a{font-size:11px}.wp-actions{gap:7px}
 .woocommerce ul.products li.product{padding:9px}
 .woocommerce ul.products li.product a img{height:120px}
}

.wp-faq details{border-bottom:1px solid #dce3ec;padding:16px 0}.wp-faq summary{cursor:pointer;font-weight:700}.wp-faq p{margin:12px 0 0}.wp-faq p a{text-decoration:underline}

.applano-tracking{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.track-panel{min-width:0;border:1px solid #dce3ec;border-radius:14px;padding:clamp(16px,3vw,28px);background:#f7f9fc}
.track-panel h2{font-size:clamp(22px,3vw,30px);margin-top:0}
.track-panel label{display:block;font-weight:700;margin:14px 0 6px}
.track-panel input,.track-panel select{width:100%;box-sizing:border-box;padding:12px;min-height:46px;background:#fff;border:1px solid #9aa8bd;border-radius:8px;font-size:16px;color:#152337}
.track-panel button,.track-panel .button{margin-top:14px;background:#204be9;color:white;min-height:44px}
.track-panel .form-row{width:100%!important;float:none!important}
.track-carrier-links{display:flex;flex-wrap:wrap;gap:14px}
.track-carrier-links a,.applano-tracking a{text-decoration:underline;text-underline-offset:3px}
.wp-actions{flex-wrap:wrap}
@media(max-width:850px){.wp-head{grid-template-columns:auto minmax(0,1fr) auto}.wp-actions{justify-content:flex-end}}
@media(max-width:600px){.applano-tracking{grid-template-columns:1fr}.wp-actions{gap:5px 8px}.wp-actions a{display:inline-block;padding-block:5px}.wp-head .applano-logo{width:min(142px,100%)}}
@media(max-width:850px){
 .wp-head .wp-actions{grid-column:3;grid-row:1}
 .wp-head .wp-header-search{grid-row:2}
 .wp-mobile-toggle{min-height:44px;justify-self:start}
}
@media(max-width:600px){
 .wp-head>.brand,.wp-head>.custom-logo-link{grid-column:2/-1;justify-self:center}
 .wp-head .wp-actions{grid-column:1/-1;grid-row:2;justify-content:center;gap:8px 18px}
 .wp-head .wp-actions a{font-size:12px;min-height:36px;padding:8px 3px}
 .wp-head .wp-header-search{grid-row:3}
}

/* Keep the supplied wordmark proportional in every header layout. */
.wp-head>.brand,.wp-head>.custom-logo-link{min-width:0;max-width:100%}
.wp-head .applano-logo,.wp-head .custom-logo{display:block;width:clamp(190px,22vw,300px);max-width:100%;height:auto}
@media(max-width:850px){
 .wp-head .applano-logo,.wp-head .custom-logo{width:clamp(175px,30vw,230px)}
}
@media(max-width:600px){
 .wp-head .applano-logo,.wp-head .custom-logo{width:clamp(175px,57vw,235px)}
}

/* Native WooCommerce controls must fit narrow product and checkout panels. */
.wp-shop,.wp-content{min-width:0;overflow-wrap:anywhere}
.wp-shop img,.wp-content img{max-width:100%;height:auto}
.wp-shop input,.wp-shop textarea,.wp-shop select,
.wp-content input,.wp-content textarea,.wp-content select{max-width:100%;box-sizing:border-box}
.woocommerce #review_form input:not([type=checkbox]):not([type=submit]),
.woocommerce #review_form textarea{display:block;width:100%;max-width:100%}
.woocommerce div.product form.cart{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.woocommerce div.product form.variations_form{display:block}
.woocommerce div.product form.cart .button{white-space:normal;max-width:100%}
