/* WordPress and WooCommerce glue for the ported design. Keep design rules in design.css. */
body.admin-bar header.top{top:32px}
body.admin-bar .drawer{top:32px}
@media (max-width:782px){body.admin-bar header.top{top:46px}body.admin-bar .drawer{top:46px}}
.fnote{color:var(--muted);font:500 12px var(--mono);text-transform:uppercase;margin-top:16px}
.theme-btn{background:none;border:1px solid var(--line2);color:var(--ink);padding:8px 12px;margin-top:12px;cursor:pointer;font:500 12px var(--mono);text-transform:uppercase}
.pic.photo img{width:100%;height:100%;object-fit:contain;display:block}
.cat .pic.photo img,.story .art img,.guide .pic img,.pic.photo.life img{object-fit:cover}
/* WooCommerce price markup */
.price del,.pr del{color:var(--muted);font-weight:400;margin-left:8px;text-decoration:line-through}
.price ins,.pr ins{text-decoration:none}
.woocommerce-Price-currencySymbol{font:inherit}
/* notices */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{list-style:none;margin:16px 0;padding:14px 16px;border:1px solid var(--line2);background:var(--soft);font-size:15px}
.woocommerce-error{border-color:var(--signal)}
.woocommerce-message .button,.woocommerce-info .button{float:right;font:500 12px var(--mono);text-transform:uppercase}
/* search live results inside the form */
.search{display:none}.search.on{display:block}
/* screen reader */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
/* journal */
.post-body img{max-width:100%;height:auto}
.post-body .prose{max-width:none}
.lp-3{border-left:0}.lp-3>div:first-child{border-left:1px solid var(--line)}
/* Phone hero: the dog's head sits at the top of the photo, so the words go to the bottom over the pavement. */
@media (max-width:760px){
  .hero{align-items:flex-end}
  .hero .copy{padding-top:0;padding-bottom:36px;gap:18px}
  .hero .shade{background:linear-gradient(0deg,rgb(5 8 18 / .9) 0%,rgb(5 8 18 / .62) 42%,rgb(5 8 18 / .05) 72%)}
  .hero .bgimg{object-position:78% center}
}
/* Product thumbnails: one row that scrolls sideways when a gallery has more than five photos. */
.thumbs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:4px}
.thumbs button{flex:0 0 calc((100% - 40px) / 5);scroll-snap-align:start}
.thumbs .pic.photo img{object-fit:cover}
/* Journal: topic tabs and page links. */
.jr-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 28px}
.jr-tabs a{border:1px solid var(--line2);padding:9px 14px;font:500 12px var(--mono);text-transform:uppercase;letter-spacing:.06em;text-decoration:none;color:var(--ink)}
.jr-tabs a[aria-current="page"]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.navigation.pagination{margin:40px 0 0}
.navigation.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.navigation.pagination .page-numbers{border:1px solid var(--line2);padding:9px 14px;font:500 13px var(--mono);text-decoration:none;color:var(--ink)}
.navigation.pagination .page-numbers.current{background:var(--ink);color:var(--bg)}
.navigation.pagination .page-numbers.dots{border:0}
/* WooCommerce forms in the design's look: tracking (own template), plus sign in, register, lost and reset password. */
.vb-form{display:grid;gap:18px;max-width:560px}
.vb-form-intro{color:var(--muted);font-size:16px;margin:0}
.vb-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:600px){.vb-fields{grid-template-columns:1fr}}
.vb-form .btn{justify-self:start;background:var(--ink);color:var(--bg)}
.vb-form .btn:hover{background:transparent;color:var(--ink)}
.vb-form-note{font-size:14px;color:var(--muted);margin:0}
.vb-form-note a{color:var(--ink)}
.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword,.lost_reset_password{display:grid;gap:14px;max-width:560px}
.woocommerce-form-login .form-row,.woocommerce-form-register .form-row,.woocommerce-ResetPassword .form-row,.lost_reset_password .form-row{display:flex;flex-direction:column;gap:6px;margin:0;float:none;width:auto}
.woocommerce-form-login label,.woocommerce-form-register label,.woocommerce-ResetPassword label,.lost_reset_password label{font:500 12px var(--mono);text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.woocommerce-form-login .input-text,.woocommerce-form-register .input-text,.woocommerce-ResetPassword .input-text,.lost_reset_password .input-text{border:1px solid var(--line);background:var(--bg);border-radius:5px;padding:13px;height:52px;font-size:15.5px;width:100%;color:var(--ink)}
.woocommerce-form-login .input-text:focus,.woocommerce-form-register .input-text:focus,.woocommerce-ResetPassword .input-text:focus,.lost_reset_password .input-text:focus{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink);outline:0}
.woocommerce-form-login .button,.woocommerce-form-register .button,.woocommerce-ResetPassword .button,.lost_reset_password .button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ink);border-radius:0;padding:15px 34px;font:500 15px/1 var(--mono);text-transform:uppercase;background:var(--ink);color:var(--bg);cursor:pointer;justify-self:start}
.woocommerce-form-login__rememberme{flex-direction:row!important;align-items:center;gap:8px;text-transform:none!important;letter-spacing:0!important;font:400 14px var(--body)!important;color:var(--ink)!important}
.woocommerce-LostPassword a,.lost_password a{color:var(--ink);font-size:14px}
.woocommerce .clear{display:none}
/* Shop by walk: landscape tiles that fill the photo, whatever the number of lines. */
.cats .cat .pic{aspect-ratio:16/9;height:auto}
.cats .cat .pic img{width:100%;height:100%;object-fit:cover}
/* Hero photo (hero-3): the dog stands right of centre. */
.hero .bgimg{object-position:62% 45%}
@media (max-width:760px){.hero .bgimg{object-position:64% center}}
/* Night Walk Kit pickers on the home page (colour and size per piece, then one button adds all three). */
.kitpick{position:relative;display:grid;gap:8px;margin-top:12px}
.kchips{display:flex;flex-wrap:wrap;gap:6px}
.kc{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:6px 11px;border:1px solid var(--line);background:var(--bg);color:var(--ink);font:500 12.5px/1 var(--mono);text-transform:uppercase;cursor:pointer;border-radius:0}
.kc i{width:12px;height:12px;flex:none;box-shadow:inset 0 0 0 1px rgb(0 0 0 / .2)}
.kc:hover{border-color:var(--ink)}
.kc[aria-pressed="true"]{background:var(--accent);color:var(--accent-ink);border-color:var(--line2);box-shadow:inset 0 0 0 1px var(--line2)}
.kc:disabled{opacity:.35;text-decoration:line-through;cursor:not-allowed}
.kc:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.kitsel{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.pline{align-items:start}.pline .r{padding-top:2px}
/* phones: the price sits by the name so the chips get the full width */
.pline .pm{display:none}
@media (max-width:600px){.pline{grid-template-columns:56px 1fr;gap:12px}.pline .r{display:none}.pline .pm{display:inline;font-weight:700;font-size:16px;white-space:nowrap;margin-left:4px}.kc{padding:6px 9px;font-size:12px}}
#kitAdd[disabled]{opacity:.6;cursor:wait}
