/* ==========================================================================
   STONE × Wolf Tooth design layer
   Industrial monochrome system: sharp corners, Anton display type, #171717 ink,
   #1F1F1F dark bands, teal accent reserved for focus glow, one shared easing
   curve cubic-bezier(.3,1,.3,1). Loaded after stone-site.css; overrides only.
   ========================================================================== */

:root {
    --stone-ink: #171717;
    --stone-body: #525252;
    --stone-muted: #737373;
    --stone-accent: #171717;
    --stone-hover: #000000;
    --stone-line: rgba(23, 23, 23, 0.12);
    --stone-soft: #f5f5f4;
    --stone-paper: #ffffff;
    --wolf-dark: #1f1f1f;
    --wolf-ink: #171717;
    --wolf-paper: #fafafa;
    --wolf-accent: #a8e8e2;
    --wolf-ease: cubic-bezier(0.3, 1, 0.3, 1);
    --wolf-drawer-ease: cubic-bezier(0.7, 0, 0.2, 1);
    --wolf-display: "Anton", "Arial Narrow", Impact, sans-serif;
}

/* --------------------------------------------------------------------------
   1. Typography
   Anton is reserved for band/section-level display headings only.
   Content headings (article H1-H4, product titles) stay Inter for legibility.
   -------------------------------------------------------------------------- */
.section-head h2, .stone-sidebar-heading, .stone-home-intro h1,
#footer h3, #footer .widget-title h3, .stone-listing-header h1,
.stone-drawer-title, .pro-cat h3 {
    font-family: var(--wolf-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.15;
    color: var(--wolf-ink);
}
/* Content-level headings: readable Inter, normal case */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--stone-font);
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.01em;
    line-height: 1.35;
    color: var(--wolf-ink);
}
.cp-con h1, .single-header h1, .entry-meta h1 {
    font-family: var(--stone-font);
    font-size: clamp(22px, 2.4vw, 28px) !important;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: -0.01em;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 44px) !important; }
.section-head p { font-size: 15px; line-height: 1.75; color: var(--stone-muted); }
.stone-eyebrow { color: var(--stone-muted) !important; }
.stone-home-intro p { font-size: 15px; color: var(--stone-body); }

/* --------------------------------------------------------------------------
   2. Buttons — black solid, zero radius, white fill slides in on hover
   -------------------------------------------------------------------------- */
.btn-action a, a.btn-action, .btn-action a.green,
.section-head a.btn-more, .down-list li .down-btn a, .wpforms-submit {
    position: relative !important;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 1px solid var(--wolf-ink) !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.2 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 15px 30px !important;
    min-height: 48px;
    transition: color 0.3s var(--wolf-ease);
}
.btn-action a::after, a.btn-action::after, .btn-action a.green::after,
.section-head a.btn-more::after, .down-list li .down-btn a::after, .wpforms-submit::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--wolf-ink);
    z-index: -2;
}
.btn-action a::before, a.btn-action::before, .btn-action a.green::before,
.section-head a.btn-more::before, .down-list li .down-btn a::before, .wpforms-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffffff;
    transform: translateY(-101%);
    transition: transform 0.5s var(--wolf-ease);
    z-index: -1;
}
.btn-action a:hover, a.btn-action:hover, .btn-action a.green:hover,
.section-head a.btn-more:hover, .down-list li:hover .down-btn a, .wpforms-submit:hover,
.btn-action a:focus-visible, .section-head a.btn-more:focus-visible, .wpforms-submit:focus-visible {
    color: var(--wolf-ink) !important;
    background: transparent !important;
    border-color: var(--wolf-ink) !important;
}
.btn-action a:hover::before, a.btn-action:hover::before, .btn-action a.green:hover::before,
.section-head a.btn-more:hover::before, .down-list li:hover .down-btn a::before, .wpforms-submit:hover::before,
.btn-action a:focus-visible::before, .section-head a.btn-more:focus-visible::before, .wpforms-submit:focus-visible::before {
    transform: translateY(0);
}

/* Buttons on dark bands: white base, ink slides in */
.contact .btn-action a, .contact .wpforms-submit,
#footer .btn-action a {
    border-color: #ffffff !important;
    color: var(--wolf-ink) !important;
}
.contact .btn-action a::after, .contact .wpforms-submit::after, #footer .btn-action a::after {
    background: #ffffff;
}
.contact .btn-action a::before, .contact .wpforms-submit::before, #footer .btn-action a::before {
    background: var(--wolf-ink);
}
.contact .btn-action a:hover, .contact .wpforms-submit:hover, #footer .btn-action a:hover {
    color: #ffffff !important;
    border-color: var(--wolf-ink) !important;
}

/* Quiet secondary actions */
.stone-refine-search button { border-radius: 0 !important; background: var(--wolf-ink) !important; }
.stone-refine-search { border-radius: 0 !important; border-color: rgba(23,23,23,.35) !important; }
.stone-refine-search:focus-within { border-color: var(--wolf-ink) !important; box-shadow: 0 0 0 3px var(--wolf-accent) !important; }

/* --------------------------------------------------------------------------
   3. Announcement bar + header
   -------------------------------------------------------------------------- */
.stone-announce {
    background: var(--wolf-ink);
    color: var(--wolf-paper);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    padding: 15px 16px;
}
.stone-announce p { margin: 0; }

#header .top-header { background: var(--wolf-dark); }
#header .top-header .phone a,
#header .top-header .phone span { color: #a3a3a3; font-size: 12px; letter-spacing: 0.02em; }
#header .top-header .phone a:hover { color: #ffffff; }
#header .top-header .container { padding-top: 9px; padding-bottom: 9px; }
#header .top-header .search-input {
    background: rgba(255, 255, 255, 0.08);
    border: 0;
    border-radius: 0;
    color: #ffffff;
    font-size: 13px;
    height: 34px;
}
#header .top-header .search-input::placeholder { color: #737373; }
#header .top-header .btn-search { color: #a3a3a3; }
#header .top-header .btn-search:hover { color: #ffffff; }

#header .btm-header {
    background: #ffffff;
    border-bottom: 1px solid var(--stone-line);
}
#header .btm-header > .container { min-height: 88px; }
#header .btm-header.sticky { box-shadow: 0 1px 0 var(--stone-line), 0 10px 30px rgba(23, 23, 23, 0.06); }
#header .btm-header.sticky > .container { min-height: 64px; }

.header-menu > ul > li > a {
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wolf-ink) !important;
    position: relative;
}
#header .header-menu > ul > li > a { display: inline-flex; align-items: center; line-height: 1.3 !important; height: 88px; }
#header .sticky .header-menu > ul > li > a { height: 64px; }
/* Mega items: stone-mega.css forces inline-block on the link (higher specificity),
   which drops the text to the top of the 88px row. Re-center it and align the
   chevron toggle on the same row. */
#header .header-menu > ul > li.stone-mega { display: flex; align-items: center; }
#header .header-menu > ul > li.stone-mega > a {
    display: inline-flex !important;
    align-items: center;
    height: 88px;
}
#header .sticky .header-menu > ul > li.stone-mega > a { height: 64px; }
#header .header-menu .stone-mega-toggle { height: 88px; }
#header .sticky .header-menu .stone-mega-toggle { height: 64px; }
.header-menu > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 14px;
    height: 2px;
    background: var(--wolf-ink);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s var(--wolf-ease);
}
.header-menu > ul > li > a:hover::after,
.header-menu > ul > li > a:focus-visible::after { transform: scaleX(1); }
.header-menu > ul > li > a:hover { color: var(--wolf-ink) !important; }
.header-menu > ul > li:after { background: var(--wolf-ink) !important; height: 2px !important; }

/* Dropdowns and mega panels */
.sf-menu ul {
    border: 1px solid var(--stone-line) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 40px rgba(23, 23, 23, 0.1) !important;
    padding: 6px !important;
}
.sf-menu ul li a { border-radius: 0 !important; letter-spacing: 0.02em; }
#header .sf-menu ul li > a:hover, #header .sf-menu ul li > a:focus-visible {
    color: var(--wolf-ink) !important;
    background: var(--stone-soft) !important;
}
#header .header-menu > ul > .stone-mega > ul {
    border: 0 !important;
    border-top: 2px solid var(--wolf-ink) !important;
    border-radius: 0 !important;
    box-shadow: 0 30px 60px rgba(23, 23, 23, 0.12) !important;
    padding: 34px 40px 38px !important;
}
#header .header-menu .stone-mega ul a {
    border-radius: 0 !important;
    padding: 9px 12px;
}
#header .header-menu .stone-mega ul a:hover,
#header .header-menu .stone-mega ul a:focus-visible {
    background: var(--stone-soft) !important;
    color: var(--wolf-ink) !important;
}
.stone-mega-toggle { color: var(--wolf-ink); }

/* --------------------------------------------------------------------------
   4. Hero — full-bleed cover photography, glass CTA
   -------------------------------------------------------------------------- */
#slider-home { max-height: none !important; }
@media (min-width: 769px) {
    #slider-home .stone-banner img {
        width: 100% !important;
        height: clamp(520px, 80vh, 880px) !important;
        object-fit: cover !important;
    }
}
#slider-home .stone-banner-text {
    font-family: var(--wolf-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.015em;
    line-height: 1.05 !important;
}
#slider-home .stone-banner-subtitle {
    font-family: var(--stone-font);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.5 !important;
}
#slider-home .stone-banner-text a {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff !important;
    font-family: var(--stone-font) !important;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2 !important;
    padding: 18px 28px !important;
    text-decoration: none !important;
    transition: background 0.3s var(--wolf-ease), border-color 0.3s var(--wolf-ease);
}
#slider-home .stone-banner-text a::after { content: "\2192"; }
#slider-home .stone-banner-text a:hover {
    background: rgba(255, 255, 255, 0.24);
    text-decoration: none !important;
}
#slider-home .stone-slider-pause {
    border: 1px solid rgba(255,255,255,.5);
    background: rgba(23,23,23,.25);
    color: #fff;
    border-radius: 0;
}
#slider-home .swiper-pagination-bullet { border-radius: 0 !important; }

/* --------------------------------------------------------------------------
   5. Category tile grid — 5-up on desktop, horizontal snap carousel on mobile
   -------------------------------------------------------------------------- */
ul.row:has(> li .stone-category-tile-title) {
    --wolf-tile-gap: 24px;
}
ul.row:has(> li .stone-category-tile-title) > li {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0;
    padding-right: 0;
}
ul.row:has(> li .stone-category-tile-title) li .box {
    background: transparent;
    border: 0;
    box-shadow: none;
}
ul.row:has(> li .stone-category-tile-title) .box > a {
    display: block;
    overflow: hidden;
    background: var(--stone-soft);
    aspect-ratio: 1 / 1;
}
ul.row:has(> li .stone-category-tile-title) .box > a img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: transform 0.5s var(--wolf-ease);
}
ul.row:has(> li .stone-category-tile-title) .box > a:hover img,
ul.row:has(> li .stone-category-tile-title) .box > a:focus-visible img {
    transform: scale(1.05);
}
body h2.stone-category-tile-title {
    background: transparent !important;
    padding: 14px 2px 0 !important;
    margin-top: 0 !important;
    font-family: var(--stone-font) !important;
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--wolf-ink);
    text-align: left !important;
}
@media (min-width: 1200px) {
    ul.row:has(> li .stone-category-tile-title) {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 28px var(--wolf-tile-gap);
        margin: 0 !important;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    ul.row:has(> li .stone-category-tile-title) {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px var(--wolf-tile-gap);
        margin: 0 !important;
    }
}
@media (min-width: 769px) and (max-width: 991px) {
    ul.row:has(> li .stone-category-tile-title) {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 16px;
        margin: 0 !important;
    }
}

/* --------------------------------------------------------------------------
   6. Product cards / listings
   -------------------------------------------------------------------------- */
.product.f8f8f8, .about.f8f8f8, .stone-listing { background: #ffffff; }
.pro-list ul li .box {
    border: 1px solid var(--stone-line);
    border-radius: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    transition: border-color 0.3s var(--wolf-ease), box-shadow 0.3s var(--wolf-ease);
}
.pro-list ul li .box:hover {
    border-color: var(--wolf-ink);
    box-shadow: 0 16px 40px rgba(23, 23, 23, 0.08);
}
.pro-list ul li .box .images { background: #ffffff; }
.pro-list ul li .box .images img { transition: transform 0.5s var(--wolf-ease); }
.pro-list ul li .box:hover .images img { transform: scale(1.04); }
.pro-list ul li .box .text { padding: 18px 20px 22px; text-align: left; }
.stone-product-card-title {
    text-align: left !important;
    font-family: var(--stone-font) !important;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.01em;
    margin-top: 0 !important;
    text-transform: none;
}
.stone-product-card-title a { color: var(--wolf-ink); }
.stone-product-card-title a:hover { color: var(--wolf-ink); text-decoration: underline; text-underline-offset: 4px; }
.pro-list ul li .box .btn-action { padding-top: 16px !important; }

/* Archive category chips */
.cp-child li a {
    border-radius: 0 !important;
    border: 1px solid var(--stone-line) !important;
    background: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all 0.25s var(--wolf-ease);
}
.cp-child li a:hover {
    color: #ffffff !important;
    background: var(--wolf-ink);
    border-color: var(--wolf-ink) !important;
}

/* Sidebar */
.sidebar .widget { border-radius: 0 !important; padding: 24px !important; }
.stone-sidebar-heading { font-size: 19px !important; }
.pro-cat { border-radius: 0 !important; }
.pro-cat h3 { background: var(--wolf-ink) !important; font-family: var(--wolf-display); font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; font-size: 16px !important; }

/* Cards in search/editorial listings */
.stone-card { border-radius: 0 !important; transition: border-color 0.3s var(--wolf-ease), box-shadow 0.3s var(--wolf-ease); }
.stone-card:hover { border-color: var(--wolf-ink) !important; box-shadow: 0 14px 36px rgba(23, 23, 23, 0.08) !important; }
.stone-card-title { font-family: var(--stone-font); font-weight: 600; }
.stone-card-link { color: var(--wolf-ink) !important; }
.stone-card-link:hover { color: var(--wolf-ink) !important; }

/* Pagination */
.navigation .page-numbers { border-radius: 0 !important; border: 1px solid var(--stone-line); }
.navigation .page-numbers.current,
.navigation a.page-numbers:hover {
    background: var(--wolf-ink) !important;
    border-color: var(--wolf-ink) !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   7. Cases / news / value props
   -------------------------------------------------------------------------- */
.case-con ul.row > li { margin-bottom: 28px !important; }
.case-con .box {
    border: 1px solid var(--stone-line);
    border-radius: 0 !important;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.3s var(--wolf-ease);
}
.case-con .box:hover { border-color: var(--wolf-ink); }
.case-con .box .images { overflow: hidden; }
.case-con .box .images img { transition: transform 0.5s var(--wolf-ease); }
.case-con .box:hover .images img { transform: scale(1.05); }
.case-con .box .text { padding: 14px 16px; }
.case-con .box .text p {
    text-align: left !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--wolf-ink);
}

.news-img a.box, .news-cat {
    border-radius: 0 !important;
    border: 1px solid var(--stone-line);
    background: #ffffff;
}
.news-img a.box { overflow: hidden; }
.news-img a.box:hover { border-color: var(--wolf-ink); }
.news-img .text h3 { font-family: var(--stone-font) !important; font-size: 17px; font-weight: 600; line-height: 1.45; }
.news-img .text span { color: var(--stone-muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.news-cat li a h3 { font-family: var(--stone-font) !important; font-size: 15px; font-weight: 600; }

/* Value props — Wolf Tooth four-column band with ruled top edge */
.about-con ul.row { --wolf-prop-gap: 28px; }
.about-con ul.row > li {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0;
    padding-right: 0;
    text-align: left !important;
    border-top: 2px solid var(--wolf-ink);
    padding-top: 20px;
}
.about-con h4 {
    font-family: var(--wolf-display) !important;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--wolf-ink);
}
.about-con li p { font-size: 14px; line-height: 1.7; color: var(--stone-body); margin-top: 10px; }
@media (min-width: 992px) {
    .about-con ul.row { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px var(--wolf-prop-gap); margin: 0 !important; }
}
@media (min-width: 769px) and (max-width: 991px) {
    .about-con ul.row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; margin: 0 !important; }
}

/* Product detail */
.cp-con > .bg-white { border: 1px solid var(--stone-line); border-radius: 0; }
.single-pro-nav { border-bottom: 1px solid var(--stone-line); }
.single-pro-list { display: flex; gap: 28px; margin: 0; }
.single-pro-list li a {
    display: inline-flex;
    padding: 14px 2px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.single-pro-list li.on a, .single-pro-list li a:hover {
    color: var(--wolf-ink);
    border-bottom-color: var(--wolf-ink);
}
.pro-small .swiper-slide { opacity: 0.5; transition: opacity 0.25s var(--wolf-ease); }
.pro-small .swiper-slide-thumb-active { opacity: 1; }
.pro-small-button-prev, .pro-small-button-next {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--stone-line);
    background: #ffffff;
    color: var(--wolf-ink);
    transition: all 0.25s var(--wolf-ease);
}
.pro-small-button-prev:hover, .pro-small-button-next:hover { background: var(--wolf-ink); color: #ffffff; border-color: var(--wolf-ink); }

/* --------------------------------------------------------------------------
   8. Contact band + footer — #1F1F1F dark bookends
   -------------------------------------------------------------------------- */
.contact { background: var(--wolf-dark) !important; }
.contact .text h3, .contact .section-head h2 { color: #ffffff; }
.contact .text p { color: #a3a3a3; }
.contact input, .contact textarea, .contact select,
#footer input, #footer textarea, #footer select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0 !important;
    color: #ffffff;
}
.contact input:focus, .contact textarea:focus, .contact select:focus { border-color: #ffffff; }
.contact input::placeholder, .contact textarea::placeholder { color: #737373; }

#footer { background: var(--wolf-dark) !important; color: #a3a3a3; }
#footer h3, #footer .widget-title, #footer .widget-title h3 {
    color: #ffffff !important;
    font-size: 17px !important;
    letter-spacing: 0.06em;
}
#footer p, #footer li, #footer a, .footer-btm, .footer-btm p a { color: #a3a3a3 !important; }
#footer a:hover { color: #ffffff !important; }
.footer-btm { background: var(--wolf-ink); }
.footer-btm .copyr { border-top: 1px solid rgba(255, 255, 255, 0.08); }
#footer .social a {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0 !important;
    color: #a3a3a3 !important;
    transition: all 0.25s var(--wolf-ease);
}
#footer .social a:hover {
    background: #ffffff;
    color: var(--wolf-ink) !important;
    border-color: #ffffff;
}
.side-top a {
    background: var(--wolf-ink) !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 24px rgba(23, 23, 23, 0.25);
}
.side-top a:hover { background: #000000 !important; }

/* Shared form language */
input[type="text"], input[type="email"], input[type="tel"],
input[type="search"]:not(#header .top-header .search-input),
input[type="url"], textarea, select {
    border-radius: 0 !important;
}

/* --------------------------------------------------------------------------
   9. Mobile — drawer with drill-down panels, bottom dock, carousels
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Hide phone row, keep search + language switcher compact */
    #header .top-header .phone { display: none; }
    #header .top-header .container { padding-top: 7px; padding-bottom: 7px; }
    #header .btm-header > .container { min-height: 64px; }

    /* Tile + value-prop carousels */
    ul.row:has(> li .stone-category-tile-title),
    .about-con ul.row {
        display: grid !important;
        grid-auto-flow: column;
        grid-auto-columns: 76%;
        gap: 16px;
        justify-content: start !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 -16px !important;
        padding: 0 16px 10px;
        -webkit-overflow-scrolling: touch;
    }
    ul.row:has(> li .stone-category-tile-title) > li,
    .about-con ul.row > li { scroll-snap-align: start; }
    ul.row:has(> li .stone-category-tile-title)::-webkit-scrollbar,
    .about-con ul.row::-webkit-scrollbar { display: none; }

    /* Hero height */
    #slider-home .stone-banner img {
        width: 100% !important;
        height: max(420px, 62vh) !important;
        object-fit: cover !important;
    }

    /* Legacy gotop button is replaced by the dock */
    .side-top { display: none !important; }
    /* Legacy under-hero mobile search is replaced by the dock search overlay */
    .stone-mobile-search { display: none !important; }
    body.stone-has-dock { padding-bottom: 62px; }

    /* Buy Now stays on one line on narrow screens */
    .btn-action a, a.btn-action, .btn-action a.green,
    .section-head a.btn-more, .down-list li .down-btn a, .wpforms-submit {
        white-space: nowrap !important;
        padding: 12px 14px !important;
        font-size: 12px !important;
        letter-spacing: 0.07em;
        min-height: 42px;
    }

    /* One authoritative hamburger style: sharp black square, white bars.
       slicknav.min.css / stone-modern.css / stone-refinements.css all fight here. */
    #slick-mobile-menu .slicknav_btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px; height: 44px; min-width: 44px; min-height: 44px;
        padding: 0 !important;
        margin: 0 !important;
        background: var(--wolf-ink) !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        line-height: 1 !important;
        cursor: pointer;
    }
    #slick-mobile-menu .slicknav_btn .slicknav_icon {
        float: none !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
    }
    #slick-mobile-menu .slicknav_btn .slicknav_icon-bar {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        border-radius: 0 !important;
        background-color: #ffffff !important;
    }
    #slick-mobile-menu .slicknav_btn .slicknav_icon-bar + .slicknav_icon-bar { margin-top: 4px !important; }
    #slick-mobile-menu .slicknav_btn .slicknav_menutxt { display: none !important; }

    /* Search icon beside the hamburger (opens the full-screen overlay) */
    .stone-header-search-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px; height: 44px;
        margin-left: 10px;
        padding: 0 !important;
        background: transparent !important;
        border: 1px solid var(--stone-line) !important;
        border-radius: 0 !important;
        color: var(--wolf-ink) !important;
        cursor: pointer;
    }
    .stone-header-search-btn svg { width: 19px; height: 19px; display: block; }
}

/* Drawer shell — ID-level specificity to override the legacy mobile styles */
@media (max-width: 768px) {
    /* Wolf Tooth mobile header: hamburger left, logo centered */
    #slick-mobile-menu { order: -1; flex: 0 0 auto; display: flex; align-items: center; }
    #header .btm-header > .container { justify-content: flex-start !important; }
    #header .header-logo {
        flex: 1 1 auto;
        max-width: none !important;
        justify-content: center;
        text-align: center;
    }
    #header .header-logo img { margin: 0 auto; max-width: 190px !important; object-position: center; }

    #slick-mobile-menu .slicknav_menu.stone-native-nav {
        position: fixed;
        top: 0; bottom: 0; left: 0;
        width: min(88vw, 420px);
        z-index: 10002;
        display: flex;
        flex-direction: column;
        background: #ffffff;
        padding: 0 !important;
        margin: 0;
        transform: translateX(-101%);
        transition: transform 0.55s var(--wolf-drawer-ease);
        box-shadow: none;
    }
    #slick-mobile-menu .slicknav_menu.stone-native-nav.stone-drawer-open { transform: translateX(0); }
    body.stone-drawer-in { overflow: hidden; }

    .stone-drawer-overlay {
        position: fixed;
        inset: 0;
        z-index: 10001;
        background: rgba(23, 23, 23, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--wolf-ease);
    }
    .stone-drawer-overlay.stone-drawer-open { opacity: 1; pointer-events: auto; }

    .stone-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        border-bottom: 1px solid var(--stone-line);
    }
    .stone-drawer-title {
        font-family: var(--wolf-display);
        font-size: 18px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--wolf-ink);
    }
    .stone-drawer-close {
        width: 40px; height: 40px;
        display: inline-flex; align-items: center; justify-content: center;
        background: transparent;
        border: 0;
        font-size: 18px;
        color: var(--wolf-ink);
        cursor: pointer;
    }

    #slick-mobile-menu .slicknav_menu.stone-native-nav .slicknav_nav {
        position: relative !important;
        /* stone-visual.css keeps top:100% from its old dropdown layout; without
           this reset the whole list sits below the drawer viewport (blank drawer). */
        top: auto !important;
        left: auto !important;
        right: auto !important;
        flex: 1;
        overflow: hidden;
        background: #ffffff;
        max-height: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        display: block;
    }
    #slick-mobile-menu .slicknav_nav > li { border-bottom: 1px solid var(--stone-line); }
    #slick-mobile-menu .slicknav_nav a,
    #slick-mobile-menu .slicknav_nav .slicknav_row {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 16px 20px !important;
        color: var(--wolf-ink) !important;
        font-size: 14px !important;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        line-height: 1.3 !important;
        height: auto !important;
        background: transparent !important;
        min-height: 0 !important;
    }
    #slick-mobile-menu .slicknav_nav a:hover,
    #slick-mobile-menu .slicknav_nav .slicknav_row:hover { color: var(--wolf-ink) !important; }
    #slick-mobile-menu .stone-mobile-toggle {
        flex: 0 0 auto;
        width: 34px; height: 34px;
        display: inline-flex; align-items: center; justify-content: center;
        background: transparent;
        border: 0;
        cursor: pointer;
    }
    #slick-mobile-menu .slicknav_arrow { font-size: 0 !important; }
    #slick-mobile-menu .slicknav_arrow::after {
        content: "";
        display: block;
        width: 8px; height: 8px;
        border-right: 2px solid var(--wolf-ink);
        border-bottom: 2px solid var(--wolf-ink);
        transform: rotate(-45deg);
        transition: transform 0.25s var(--wolf-ease);
    }
    #slick-mobile-menu .slicknav_open > .slicknav_row .slicknav_arrow::after { transform: rotate(45deg); }

    /* Drill-down panels: only the direct submenu of a top-level item becomes
       a sliding panel. Deeper nested lists (mega group links) stay visible. */
    #slick-mobile-menu .slicknav_nav > li > ul {
        position: absolute;
        inset: 0;
        z-index: 3;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.45s var(--wolf-ease), visibility 0s 0.45s;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        text-indent: 0 !important;
    }
    #slick-mobile-menu .slicknav_nav > li.slicknav_open > ul {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.45s var(--wolf-ease), visibility 0s 0s;
    }
    /* Nested lists inside an open panel render as indented plain lists */
    #slick-mobile-menu .slicknav_nav > li > ul ul {
        position: static;
        inset: auto;
        transform: none;
        visibility: visible;
        display: block;
        padding-left: 14px;
    }
    #slick-mobile-menu .slicknav_nav > li > ul li { border-bottom: 1px solid var(--stone-line); }
    #slick-mobile-menu .slicknav_nav > li > ul a {
        padding-left: 20px !important;
        font-weight: 500;
        text-transform: none;
        letter-spacing: 0.01em;
    }
    #slick-mobile-menu .stone-panel-back {
        position: sticky;
        top: 0;
        display: flex !important;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 15px 20px !important;
        background: #ffffff;
        border: 0;
        border-bottom: 1px solid var(--stone-line);
        font-size: 13px !important;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--wolf-ink) !important;
        cursor: pointer;
    }
    .stone-panel-back::before {
        content: "\2190";
        font-size: 16px;
        line-height: 1;
    }
}

/* Bottom dock */
.stone-dock {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9990;
    display: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: #ffffff;
    border-top: 1px solid var(--stone-line);
    box-shadow: 0 -8px 30px rgba(23, 23, 23, 0.08);
    transform: translateY(110%);
    transition: transform 0.4s var(--wolf-ease);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.stone-dock.stone-dock-in { transform: translateY(0); }
.stone-dock a, .stone-dock button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 0 8px;
    background: none;
    border: 0;
    color: var(--wolf-ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
}
.stone-dock a:active, .stone-dock button:active { color: var(--stone-muted); }
.stone-dock svg { width: 21px; height: 21px; display: block; }
@media (max-width: 768px) { .stone-dock { display: grid; } }

/* Full-screen search overlay */
.stone-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 10003;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--wolf-ease);
}
.stone-search-overlay.stone-open { opacity: 1; pointer-events: auto; }
.stone-search-overlay form { width: min(620px, 100%); }
.stone-search-overlay input {
    width: 100%;
    height: 62px;
    border: 0;
    border-bottom: 2px solid var(--wolf-ink);
    border-radius: 0;
    background: transparent;
    font-size: 16px;
    color: var(--wolf-ink);
    outline: none;
    padding: 0 4px;
}
.stone-search-overlay input::placeholder { color: #a3a3a3; }
.stone-search-overlay .stone-search-hint {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stone-muted);
}
.stone-search-overlay .stone-search-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid var(--stone-line);
    border-radius: 0;
    font-size: 18px;
    color: var(--wolf-ink);
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   10. Scroll reveal — opacity 0 -> 1 with a slight lift, one shared curve
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .wolf-reveal {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.5s var(--wolf-ease), transform 0.5s var(--wolf-ease);
    }
    .wolf-reveal.wolf-in { opacity: 1; transform: none; }
}

/* Focus glow uses the Wolf Tooth teal accent */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible,
#header .header-menu a:focus-visible, #header .stone-mega-toggle:focus-visible {
    outline: 3px solid var(--wolf-accent) !important;
    outline-offset: 3px !important;
}
