/*
Theme Name: hausted-2
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hausted-2
Tags: 
*/
/* Sticky Corner Image */
.sticky-corner-img {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 200px;        /* adjust as needed */
  height: auto;
  z-index: 9999;       /* keeps it above other content */
}
/* Respect iPhone home-bar / notch safe areas */
.sticky-corner-img {
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
}

/* Shrink it on small screens */
@media (max-width: 1550px) {
  .sticky-corner-img { width: 120px; }
}
/* End Sticky Corner Image */
/* Video Gallery For Resources Page */
.video-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    text-align: center;
}
.video-grid-item {
    display: flex;
    flex-direction: column;
    padding: 10px;
}
.video-thumb-inner {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.video-thumb-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* clicks pass through to the <a> */
    transition: transform 0.2s ease;
}
.video-thumb-wrap {
    display: block;
}
.video-thumb-wrap:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}
.video-thumb-wrap:hover .video-thumb-inner {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/*Category List for PDFs*/
.dept-side-menu .children {
padding:0;
}
.dept-side-menu .children li a {
padding-left:2em!important;
}
/* Product Page Image Gallery */
.hhs-gallery-wrap { 
max-width: 100%; 
margin: 0 auto 2rem; 
}
.hhs-gallery-main .splide__slide { 
display: flex; 
align-items: center; 
justify-content: center; 
background: #fff; 
overflow: hidden;
}
.hhs-gallery-main .splide__slide img { 
width: 100%; 
height: 480px; 
object-fit: contain; 
display: block; 
cursor: zoom-in; 
}
.hhs-gallery-main .splide__track {
border-radius:15px;
}
.hhs-gallery-thumbs { 
margin-top: 10px; 
}
.hhs-gallery-thumbs .splide__slide { 
opacity: 0.5; 
border: 1px solid var(--wp--preset--color--blue); 
border-radius: 4px; 
overflow: hidden; 
cursor: pointer; 
transition: opacity 0.2s, 
border-color 0.2s; 
}
.hhs-gallery-thumbs .splide__track--nav > .splide__list > .splide__slide.is-active {
  border: 1px solid var(--wp--preset--color--dk-blue);
  opacity: 1; 
}
.hhs-gallery-thumbs .splide__slide img { 
width: 80px; 
height: 80px; 
object-fit: contain; 
display: block; 
background: white; 
}

.hhs-gallery-thumbs .splide__track--nav > .splide__list > .splide__slide { 
border: 1px solid var(--wp--preset--color--silver);
}
.splide__track--nav > .splide__list > .splide__slide.is-active { 
border: 1px solid var(--wp--preset--color--blue);
}
.hhs-accordion__panel p:empty,
.hhs-accordion p:empty, .hhs-tabs p:empty {
    display: none;
}
@media (max-width: 600px) {
    .hhs-gallery-main .splide__slide img { height: 280px; }
    .hhs-gallery-thumbs .splide__slide img { width: 60px; height: 60px; }
}
/* Product gallery arrows — match hero style */
.hhs-gallery-main .splide__arrow {
    background: rgba(27, 58, 92, 0.08);
    border: 1px solid rgba(27, 58, 92, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    opacity: 1;
    transition: all 0.2s;
}
.hhs-gallery-main .splide__arrow:hover {
    background: var(--wp--preset--color--blue);
    border-color: var(--wp--preset--color--blue);
}
.hhs-gallery-main .splide__arrow svg {
    fill: var(--wp--preset--color--dk-blue);
}
.hhs-gallery-main .splide__arrow:hover svg {
    fill: #fff;
}
.hhs-gallery-main .splide__arrow--prev { left: 12px; }
.hhs-gallery-main .splide__arrow--next { right: 12px; }
/* End Product Page Image Gallery */
/*Display ERF Vinyl Swatches */
.display-erf-vinyl {
display:flex;
flex-wrap:wrap;
justify-content:center;
}
.display-erf-vinyl > div {
display:flex;
justify-content:center;
flex-direction:column;
padding:10px;
}
.display-erf-vinyl img{
height:100px;
width:160px;
border-radius: 8px;
border:1px solid var(--wp--preset--color--silver);
}
.display-erf-vinyl p {
text-align:center;
}
/* End Display ERF Vinyl Swatches */
/*===============Options Table=========================*/
.hhs-options-table {
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 1.5rem 0;
}
.hhs-options-table thead th {
    background: var(--wp--preset--color--cream);
    color: var(--wp--preset--color--navy);
    text-align: center;
    padding: 12px 16px;
    font-weight: 600;
    border: 1px solid var(--wp--preset--color--white);
    border-bottom:3px solid var(--wp--preset--color--navy);
}
.hhs-options-table tbody td {
    padding: 10px 16px;
    border: 1px solid var(--wp--preset--color--silver-light);
    color: var(--wp--preset--color--text-mid);
}
.hhs-options-table tbody tr:nth-child(even) td {
    background: var(--wp--preset--color--cream);
}
.hhs-options-table tfoot td {
    padding: 8px 16px;
    font-size: 0.8rem;
    color: var(--wp--preset--color--text-mid);
    border-top: 2px solid var(--wp--preset--color--silver-light);
}
/*===============End Options Table==================*/
/*===============Product Page Tabs======================*/
.hhs-tabs { 
margin: 1.5rem 0; 
}

/* --- Tab layout (desktop) --- */
.hhs-tabs__nav {
    display: flex; flex-wrap: wrap; gap: 4px;
    //border-bottom: 2px solid var(--wp--preset--color--silver);
    margin-bottom: 0;
}
.hhs-tabs__btn {
    background: none;
    padding: 10px 20px;
    font-size: 0.9rem; 
    font-weight: 600; 
    color: var(--wp--preset--color--text-mid);
    cursor: pointer; 
    border-radius: 4px 4px 0 0;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -2px;
    transition: color 0.2s, background 0.2s;
}
.hhs-tabs__btn:hover { 
color: var(--wp--preset--color--dk-blue);
background: var(--wp--preset--color--silver-light);
}
.hhs-tabs__btn.is-active {
    color: var(--wp--preset--color--dk-blue); 
    background: #fff;
    //border-color: var(--wp--preset--color--silver-light);
    border-bottom-color: #fff;
}
.hhs-tabs__panel {
   background:white;
  //border-bottom: 2px solid var(--wp--preset--color--silver);
  //border-left: 2px solid var(--wp--preset--color--silver);
  //border-right: 2px solid var(--wp--preset--color--silver);
  border-radius:0 15px 15px 15px;
  }
/* Desktop */
@media (min-width: 769px) {
    .hhs-tabs__acc-trigger { display: none; }
    .hhs-tabs__panel-inner { display: contents; }
    .hhs-tabs__panel { display: none; padding: 2em; }
    .hhs-tabs__panel.is-active { display: block; }
}

/* Mobile accordion */
@media (max-width: 768px) {
    .hhs-tabs__nav { 
    display: none; 
    }
    .hhs-tabs__panel { 
    display: block; 
    padding: 0; 
    margin-bottom: 8px; 
    }
    .hhs-tabs__panel-inner { 
    display: none; 
    padding: 16px; 
    border: 1px solid var(--wp--preset--color--silver); 
    border-top: none; 
    border-radius: 0 0 4px 4px; 
    }
    .hhs-tabs__panel.is-active .hhs-tabs__panel-inner { 
    display: block; 
    }
    .hhs-tabs__acc-trigger {
        display: flex; 
        justify-content: space-between; 
        align-items: center;
        width: 100%; 
        background: var(--wp--preset--color--cream); 
        border: 1px solid var(--wp--preset--color--silver);
        border-radius: 4px; 
        padding: 14px 18px;
        font-size: 0.9rem; 
        font-weight: 600; 
        color: var(--wp--preset--color--dk-blue);
        cursor: pointer; 
        text-align: left; 
        transition: background 0.2s;
    }
    .hhs-tabs__acc-trigger:hover { 
    background: var(--wp--preset--color--silver-light); 
    }
    .hhs-tabs__panel.is-active .hhs-tabs__acc-trigger { 
    background: var(--wp--preset--color--dk-blue); 
    color: #fff; border-radius: 4px 4px 0 0; 
    }
    .hhs-tabs__panel.is-active .hhs-tabs__acc-trigger .hhs-tabs__acc-icon {
    transform: rotate(45deg); 
    }
    .hhs-tabs__acc-icon { 
    font-size: 1.2rem; 
    font-weight: 300; 
    transition: transform 0.2s; 
    flex-shrink: 0; 
    }
}
/*===============End Product Page Tabs==================*/
/*California Warnings*/
.ca-warnings {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 1rem;
}
.ca-warnings__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  width: 450px;
  background:white;
  border-radius:10px;
}
.ca-warnings__row img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  padding-right: 5px;
}
.ca-warnings__row p {
  font-size: 12px;
  margin: 0;
}
/* Mattress Pad Table */
.mattress-pad-table {
  max-width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--wp--preset--color--text-dark);
}

.mattress-pad-table th[colspan="3"] {
  background-color: var(--wp--preset--color--cream);
  color: var(--wp--preset--color--text-dark);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--wp--preset--color--blue);
}

.mattress-pad-table thead tr:nth-child(2) th {
  background-color: var(--wp--preset--color--silver-light);
  color: #162840;
  font-weight: 600;
  padding: 0.5rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--wp--preset--color--silver);
}

.mattress-pad-table tbody tr {
  border-bottom: 1px solid var(--wp--preset--color--silver-light);
}

.mattress-pad-table tbody tr:nth-child(even) {
  background-color: var(--wp--preset--color--cream);
}

.mattress-pad-table tbody tr:hover {
  background-color: var(--wp--preset--color--silver-light);
}

.mattress-pad-table td {
  padding: 0.6rem 1rem;
  vertical-align: top;
  color: var(--wp--preset--color--text-dark);
}
.wp-block-table.is-style-stripes tbody tr:nth-child(2n+1) {
  background-color: white;
}

/* Mobile */
@media (max-width: 768px) {
  .mattress-pad-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
/*============================================
Breadcrumbs
===============================================*/
.wp-block-bcn-breadcrumb-trail {
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 8px 0 !important;
    background: transparent !important;
    color: var(--wp--preset--color--text-mid);
}
.wp-block-bcn-breadcrumb-trail a {
    color: var(--wp--preset--color--blue);
    text-decoration: none;
    transition: color 0.2s;
}
.wp-block-bcn-breadcrumb-trail a:hover {
    color: var(--wp--preset--color--navy);
}
.wp-block-bcn-breadcrumb-trail .current-item {
    color: var(--wp--preset--color--dk-blue);
    font-weight: 600;
}
/* Style the > separator */
.wp-block-bcn-breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 6px;
}
@media (max-width: 768px) {
    .wp-block-bcn-breadcrumb-trail {
        display: none;
    }
}
/* ============================================
   UTILITY / EMBEDS
   ============================================ */

/* PDF thumbnails */
.pdf-deco {
    width: 200px;
    text-align: center;
    padding: 5px;
}
.pdf-deco img {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1px solid #d8d8d8;
    height: 150px;
    width: 116px;
}

/* Video embeds */
.display-videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.display-videos iframe {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1px solid #d8d8d8;
    width: 400px;
    height: 225px;
    margin: 1em;
}


/* ============================================
   GLOBAL RESETS & BASE
   ============================================ */

:root :where(.is-layout-flow) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}
:where(.wp-site-blocks) > * {
    margin-block-start: 0;
}
html {
    scroll-behavior: smooth;
}


/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip-link {
    position: absolute;
    top: -999px;
    left: 0;
    background: var(--wp--preset--color--blue);
    color: var(--wp--preset--color--white);
    padding: 10px 20px;
    font-weight: 600;
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 var(--wp--custom--radius) 0;
}
.skip-link:focus {
    top: 0;
}


/* ============================================
   TOP BAR
   ============================================ */

.top-bar, .top-bar-tab {
    background: var(--wp--preset--color--blue);
    padding: 7px 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.top-bar a, .top-bar-tab a {
    color: var(--wp--preset--color--white);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.top-bar a:hover, .top-bar-tab a:hover {
    color: var(--wp--preset--color--cream);
}

.top-bar-divider {
    color: var(--wp--preset--color--cream);
    font-size: 0.7rem;
}
/* === Responsive === */
/* Desktop & Large Screens (>1430px): show .top-bar, hide .top-bar-tab */
@media (width > 1430px) {
    .top-bar-tab {
        display: none;
    }
    .header-inner-mob {
        display: none!important;
    }
}

/* Tablet (800–1430px): show .top-bar-tab, hide .top-bar */
@media (800px <= width <= 1430px) {
    .top-bar {
        display: none!important;
    }
    .top-bar-tab {
    display:inherit;
    }
    .header-inner-mob {
        display: none!important;
    }
}
/* Tablet (1410–1428px): hide buttons */
@media (1410px <= width <= 1428px) {
    .header-ctas {
        display: none!important;
    }
}
@media (width < 800px){
    .top-bar {
        display: none!important;
    }
    .top-bar-tab {
        display: none!important;
    }
}
/* Mobile (<1000px): hide both */
@media (width < 1000px) {
    .top-bar {
        display: none!important;
    }
    .header-inner {
    display:none!important;
    }
    .header-inner-mob {
    display:flex!important;
    }
}
/* ============================================
   HEADER
   ============================================ */

header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Header nav — top-level links */
.header-nav li a {
    padding-top: 2em;
    padding-bottom: 2em;
    border-bottom: 3px solid transparent;
    border-top: 1px solid rgba(240, 240, 240, 0.2);
    color: var(--wp--preset--color--navy) !important;
}
.header-nav .wp-block-navigation__container > li a:hover {
    border-bottom: 3px solid var(--wp--preset--color--blue);
}
.header-nav .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
.header-nav .wp-block-navigation-item:focus-within > .wp-block-navigation-item__content {
    color: var(--wp--preset--color--blue) !important;
    border-bottom-color: var(--wp--preset--color--blue);
}

/* Dropdown submenu */
.header-nav .wp-block-navigation__submenu-container {
    background: #ffffff;
    min-width: 300px;
    border-top: 2px solid var(--wp--preset--color--blue) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(8px);
    list-style: none;
    padding: 0;
}
.header-nav .wp-block-navigation-item:hover .wp-block-navigation__submenu-container,
.header-nav .wp-block-navigation-item:focus-within .wp-block-navigation__submenu-container {
    transform: translateY(0);
}

/* Dropdown links */
.header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    color: var(--wp--preset--color--white) !important;
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    border-left: none;
    transition: background 0.15s, color 0.15s;
    white-space: normal;
    padding: 11px 20px !important;
}
.header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
    border-bottom: none;
}
.header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:hover .wp-block-navigation-item__content {
    background: var(--wp--preset--color--blue);
    color: var(--wp--preset--color--white) !important;
}
/* ===== Mobile Menu ======= */
.off-canvas-menu  {
list-style-type:none;
}
.off-canvas-menu li {
padding:5px;
}
.off-canvas-menu li:hover {
background: var(--wp--preset--color--white);
}
.off-canvas-menu a:hover {
color: var(--wp--preset--color--blue);
}
/* ===== Mobile Menu ======= */
/* ====== DELETE?  Standalone dropdown (non-FSE nav) 
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    border-top: 2px solid var(--wp--preset--color--blue);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s ease;
    z-index: 300;
    list-style: none;
}
.nav-list > li:hover .dropdown,
.nav-list > li:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 11px 20px;
    color: var(--wp--preset--color--navy);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition: background 0.15s, color 0.15s;
}
.dropdown li:last-child a {
    border-bottom: none;
}
.dropdown li a:hover {
    background: var(--wp--preset--color--teal-lightest);
    color: var(--wp--preset--color--blue);
}
===============Delete?  */
/* ============================================
   HEADER CTAs + RESPONSIVE DELETE?
   =========================================== */

.header-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    flex-shrink: 0;
}
@media (max-width: 1412px) {
    .header-ctas {
        display: none !important;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

/* Search BTN */
.btn-search {
    color: var(--wp--preset--color--teal-lightest);
    border: 1.5px solid transparent;
    border-radius: 25px;
    transition: all 0.2s;
}
.btn-search button {
    padding: 5px 0 5px 0;
}
.btn-search:hover {
    color: var(--wp--preset--color--teal-lightest);
}

/* Ghost */
.wp-block-button.is-style-btn-ghost .wp-block-button__link,
.btn-ghost {
    color: var(--wp--preset--color--dk-blue);
    border: 1.5px solid var(--wp--preset--color--dk-blue);
    background: transparent;
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: var(--wp--custom--radius);
    transition: all 0.2s;
    white-space: nowrap;
}
.wp-block-button.is-style-btn-ghost .wp-block-button__link:hover,
.btn-ghost:hover {
    background: var(--wp--preset--color--dk-blue);
    color: var(--wp--preset--color--white);
}

/* Solid */
.wp-block-button.is-style-btn-solid .wp-block-button__link,
.btn-solid {
    background: var(--wp--preset--color--blue);
    color: var(--wp--preset--color--white);
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: var(--wp--custom--radius);
    transition: all 0.2s;
    white-space: nowrap;
    border: 1.5px solid var(--wp--preset--color--blue);
}
.wp-block-button.is-style-btn-solid .wp-block-button__link:hover,
.btn-solid:hover {
    background:var(--wp--preset--color--dk-blue);
    border-color: var(--wp--preset--color--dk-blue);
}

/* Hero */
.wp-block-button.is-style-btn-hero .wp-block-button__link,
.btn-hero {
    background:transparent;
    color: var(--wp--preset--color--white);
    border: 2px solid var(--wp--preset--color--white);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: var(--wp--custom--radius);
    transition: all 0.2s;
}
.wp-block-button.is-style-btn-hero .wp-block-button__link:hover,
.btn-hero:hover {
    background: var(--wp--preset--color--dk-blue);
    color: var(--wp--preset--color--cream);
    border:2px solid var(--wp--preset--color--dk-blue);
}

/* Outline */
.is-style-btn-outline,
.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--wp--preset--color--navy);
    border: 2px solid var(--wp--preset--color--navy);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: var(--wp--custom--radius);
    transition: all 0.2s;
    margin-top: 8px;
}
.is-style-btn-outline:hover,
.btn-outline:hover {
    background: var(--wp--preset--color--navy);
    color: var(--wp--preset--color--white);
}

/* ============================================
   HERO SLIDER
   ============================================ */

/* Structural styles */
.hero {
    position: relative;
    overflow: hidden;
    height: 580px;
}
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.slide.active {
    opacity: 1;
    pointer-events: auto;
}
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}
.slide-float-img {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 300px;
    z-index: 2;
    pointer-events: none;
}

/* ============================================
   HERO — OVERLAY
   ============================================ */

.hero {
    background: var(--wp--preset--color--blue);
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(26, 115, 148, 0.92) 0%,
        rgba(26, 115, 148, 0.88) 30%,
        rgba(26, 115, 148, 0.15) 70%,
        rgba(26, 115, 148, 0)   100%
    );
}

/* ============================================
   HERO — TEXT & EYEBROW
   ============================================ */
.is-style-slide-eyebrow,
.slide-eyebrow {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ffffff;
    border-left: 3px solid rgba(255, 255, 255, 0.8);
    padding-left: 12px;
    margin-bottom: 16px;
}
.slide-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.05;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.slide-sub {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    margin-bottom: 32px;
}
.slide-cta {
display:flex;
flex-wrap:wrap;
align-items:center;
}
.slide-span {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* ============================================
   HERO — MADE IN USA BADGE
   ============================================ */
.made-usa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* margin-top: 20px; */
    margin-left: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 8px 16px;
    border-radius: 100px;
}
.made-usa span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

/* .made-usa img */
.made-usa img {
    height: 18px;
    width: auto;
}

/* ============================================
   HERO — SLIDER CONTROLS
   ============================================ */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}
.dot.active {
    background: #ffffff;
    width: 24px;
    border-radius: 4px;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    font-size: 1.1rem;
}
.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: #ffffff;
}
/* Dot position*/
.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-arrow.prev { left: 28px; }
.slider-arrow.next { right: 28px; }

/* ============================================
   SECTION HEADERS & SHARED TYPOGRAPHY
   ============================================ */

.section-header {
    text-align: center;
    padding: 64px 40px 48px;
}
.product-h {
font-size: 1.25rem!important;
  font-weight: 500!important;
}
.is-style-section-eyebrow,
.section-eyebrow,
.story-copy .is-style-section-eyebrow {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--wp--preset--color--blue);
    margin-bottom: 12px;
}
.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--wp--preset--color--navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin: 0 0 14px;
}
.is-style-section-lead,
.section-lead {
    font-size: 1rem;
    color: var(--wp--preset--color--text-mid);
    margin: 0 auto;
    font-weight: 300;
}


/* ============================================
   PRODUCT GRID
   ============================================ */

.product-grid {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
    background: var(--wp--preset--color--white);
    border-radius: var(--wp--custom--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(13, 31, 45, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(13, 31, 45, 0.15);
}
.product-card:focus {
    outline: 2px solid var(--wp--preset--color--blue);
    outline-offset: 2px;
}
.card-img, card-img-1 {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    background: var(--wp--preset--color--white);
}
.card-body {
    padding: 24px 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.is-style-card-tag,
.card-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wp--preset--color--blue);
    margin-bottom: 2px;
}
.card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--wp--preset--color--navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 10px;
}
.card-desc {
    font-size: 0.875rem;
    color: var(--wp--preset--color--text-mid);
    flex: 1;
    margin-bottom: 12px;
    font-weight: 300;
}
.card-link,
.post-excerpt .wp-block-post-excerpt__more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--wp--preset--color--blue);
    text-decoration: none;
}
.card-link::after,
.post-excerpt .wp-block-post-excerpt__more-link::after {
    content: '→';
    transition: transform 0.2s;
}
.product-card:hover .card-link::after {
    transform: translateX(4px);
}

/* Featured card (full-width) */
.product-card.featured {
    grid-column: span 3;
    flex-direction: row;
    max-height: 280px;
}
.product-card.featured .card-img {
    width: 42%;
    height: auto;
    flex-shrink: 0;
}
.product-card.featured .card-body {
    padding: 36px 40px;
    justify-content: center;
}
.product-card.featured .card-title {
    font-size: 1.8rem;
}
.card-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--wp--preset--color--blue);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    z-index: 1;
}
.quote-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: transparent;
    box-shadow: none;
    border: none;
}
.quote-card__image-wrap {
  width: 180px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.quote-card__image, .quote-card__image-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.quote-card__quote {
    margin: 0;
    padding: 0;
}
.quote-card__quote p {
    font-size: 0.95rem;
    color: var(--wp--preset--color--text-mid);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 0.75rem;
}
.quote-card__quote cite {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wp--preset--color--blue);
    font-style: normal;
}
.quote-card:hover {
    transform: none;
    box-shadow: none;
}

/* ============================================
   DEPT STRIP & ISO FOOTER BADGE
   ============================================ */
.dept-section {
    background: var(--wp--preset--color--dk-blue);
    padding: 56px 40px;
}
.dept-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.dept-section .section-title { color: var(--wp--preset--color--white); }
.dept-section .is-style-section-eyebrow,
.dept-section .section-eyebrow { color: rgba(255, 255, 255, 0.7); }
.dept-section .is-style-section-lead,
.dept-section .section-lead { color: rgba(255, 255, 255, 0.8); }
.dept-section .section-header {
    padding: 0 0 15px;
    text-align: left;
}
.dept-section .is-style-section-lead {
margin:14px 0 0 36px !important
}
.dept-tag {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 15px;
    flex-wrap: wrap;
}
.dept-tag li, .iso-badge p {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 6px 18px 8px;
    border-radius: 100px;
    transition: all 0.2s;
}
.dept-tag a, .iso-badge a {
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.dept-tag li:hover, .iso-badge p:hover {
    background: var(--wp--preset--color--navy-light);
    border-color: var(--wp--preset--color--navy-light);
}
.dept-tag a:hover, .iso-badge a:hover {
    color: var(--wp--preset--color--white);
}

/* ============================================
   SIDEBAR NAV
   ============================================ */

.sidebar-nav__list,
.sidebar-nav__sub,
.sidebar-nav__products {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Legacy .menu-parent support */
.menu-parent ul { list-style-type: none; }
.menu-parent > ul { margin-top: 0; padding: 0; }
.menu-parent p,
.sidebar-nav__cat > a {
    display: block;
    padding: 10px 16px;
    font-weight: 700;
    font-size:1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wp--preset--color--white);
    background: var(--wp--preset--color--dk-blue);
    text-decoration: none;
}

.menu-parent .cat-item a,
.sidebar-nav__subcat > a {
    display: block;
    padding: 8px 16px 8px 20px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--wp--preset--color--navy);
    background: var(--wp--preset--color--white);
    text-decoration: none;
    border-bottom: 1px solid #dde6ee;
}
.menu-parent .cat-item a:hover,
.sidebar-nav__subcat > a:hover {
    color: var(--wp--preset--color--blue);
}

.sidebar-nav__products {
    padding: 4px 0;
}
.sidebar-nav__products li a {
    display: block;
    padding: 6px 16px 6px 28px;
    font-size: 1rem;
    color: var(--wp--preset--color--navy);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.sidebar-nav__products li a:hover {
    color: var(--wp--preset--color--blue);
    border-left-color: var(--wp--preset--color--blue);
    background: var(--wp--preset--color--cream);
}

/* Open/active states */
.sidebar-nav__cat > ul { display: block; }
.sidebar-nav__cat.is-open > a { background: #0d1f2d; }
.sidebar-nav__subcat > ul { display: none; }
.sidebar-nav__subcat.is-open > ul { display: block; }
.sidebar-nav__subcat.is-open > a { color: #0097a7; }

.sidebar-nav .wp-block-navigation-item.current-menu-ancestor > .wp-block-navigation-item__content {
    color: #0097a7;
    font-weight: 600;
}
.sidebar-nav .wp-block-navigation-item.current-menu-ancestor > .wp-block-navigation__submenu-container {
    display: block !important;
}
.sidebar-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
    color: #0097a7;
    font-weight: 600;
    border-left: 3px solid #0097a7;
}
.sidebar-nav p {
    margin: 0;
}


/* ============================================
   STORY SECTION
   ============================================ */

.story-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.story-img img {
    width: 100%;
    border-radius: var(--wp--custom--radius-lg);
    display: block;
    box-shadow: 0 16px 48px rgba(13, 31, 45, 0.14);
}
.story-copy .section-header {
    padding: 0 0 24px;
    text-align: left;
}
.story-copy p {
    color: var(--wp--preset--color--text-mid);
    margin-bottom: 16px;
    font-weight: 300;
    font-size: 0.97rem;
}


/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
    background: var(--wp--preset--color--blue);
    padding: 40px;
}
.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--wp--preset--color--white);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-num a {
text-decoration:none;
color:var(--wp--preset--color--white);
}
.stat-num a:hover {
color: rgba(255, 255, 255, 0.75);
}
.is-style-stat-label,
.stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}
.is-style-stat-label a,
.stat-label a {
color: rgba(255, 255, 255, 0.75);
text-decoration:none;
}
.is-style-stat-label a:hover,
.stat-label a:hover {
color: var(--wp--preset--color--cream);
}


/* ============================================
   NEWS
   ============================================ */

.news-section {
    background: var(--wp--preset--color--cream);
    padding: 80px 40px;
}
.news-inner {
    max-width: 90%;
    margin: 0 auto;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.news-card {
    background: var(--wp--preset--color--white);
    border-radius: var(--wp--custom--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(13, 31, 45, 0.07);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(13, 31, 45, 0.12);
}
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: var(--wp--preset--color--navy-light);
}
.news-body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.is-style-news-tag,
.news-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wp--preset--color--blue);
    margin-bottom: 2px;
}
.news-tag a {
    text-decoration: none;
}
.news-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--wp--preset--color--navy);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.3;
    margin-bottom: 10px;
    flex: 1;
}
.news-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--wp--preset--color--blue);
    text-decoration: none;
    margin-top: 2px;
}
.news-link::after {
    content: '→';
}


/* ============================================
   MERCY SHIPS BANNER Delete?
   ===================================

.mercy-banner {
    background: var(--wp--preset--color--dk-blue);
    padding: 48px 40px;
}
.mercy-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}
.mercy-text { flex: 1; }
.mercy-text h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--wp--preset--color--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.mercy-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    max-width: 600px;
}
.mercy-text a {
    color: var(--wp--preset--color--teal-lightest);
    text-decoration: none;
    font-weight: 500;
}
.mercy-inner img {
    border-radius: var(--wp--custom--radius-lg);
}

========= */
/* ============================================
   FOOTER
   ============================================ */

footer {
    //background: var(--wp--preset--color--navy);
    //border-top: 1px solid var(--wp--custom--border);
}
.footer-top {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 40px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    display: block;
    //filter: brightness(0) invert(1) opacity(0.85);
}
.footer-brand p {
    font-size: 0.82rem;
    //color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    line-height: 1.7;
    max-width: 260px;
}
.footer-col h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    //color: var(--wp--preset--color--teal-light);
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
    padding-left: 0;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    //color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    //color: var(--wp--preset--color--teal-lightest);
}
.footer-bottom {
    border-top: 1px solid var(--wp--custom--border);
    padding: 20px 40px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom p {
    font-size: 0.72rem;
    //color: rgba(255, 255, 255, 0.28);
}
.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-legal a {
    //color: rgba(255, 255, 255, 0.35);
    color:white;
    text-decoration: none;
    font-size: 0.72rem;
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: var(--wp--preset--color--teal-lightest);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-deco-none a { text-decoration: none; }
.hover-teal a:hover,
.hover-light-teal a:hover { color: var(--wp--preset--color--blue); }


/* ============================================
   ANIMATIONS
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
    .fade {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .fade.visible {
        opacity: 1;
        transform: none;
    }
    .fade-delay-1 { transition-delay: 0.1s; }
    .fade-delay-2 { transition-delay: 0.2s; }
    .fade-delay-3 { transition-delay: 0.3s; }
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-card.featured {
        grid-column: span 3;
        flex-direction: column;
        max-height: none;
    }
    .product-card.featured .card-img { width: 100%; height: 220px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-inner { padding: 0 20px; }
    nav { display: none; }

    .hero { height: 480px; }
    .slide-content { padding: 0 20px; }

    .section-header { padding: 48px 20px 36px; }

    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 20px 60px;
    }
    .product-card.featured { grid-column: span 1; }

    .story-section {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 20px;
    }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { padding: 48px 20px; }

    .news-grid { grid-template-columns: 1fr; }
    .news-section { padding: 48px 20px; }

    .mercy-inner { flex-direction: column; align-items: flex-start; }

    .dept-section { padding: 48px 20px; }

    .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; padding: 16px 20px; }
}

/* Utility & Responsive */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.height-480 {
min-height:480px;
}
.display-none {
    display: none !important;
}
.show {
    display: inherit !important;
}
.list-none {
        list-style-type: none;
    }
 @media (max-width: 781px) {   
.display-none-mob {
        display: none !important;
    }
    .show-mob {
        display: inherit !important;
    }
    }
@media (max-width: 1300px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .slide-overlay {
        background: linear-gradient(to right,
        rgba(26, 115, 148, 0.92) 0%,
        rgba(26, 115, 148, 0.88) 40%,
        rgba(26, 115, 148, 0.15) 80%,
        rgba(26, 115, 148, 0)   100%
    );
    }
}

@media (max-width: 992px) {
    .display-none-tab {
        display: none !important;
    }
    .show-tab {
        display: inherit !important;
    }
    .slide-float-img {
        display: none;
    }
}

@media (max-width: 932px) {
    .header-nav li a {
        padding-top: 1em;
        padding-bottom: 1em;
    }
    .slide-overlay {
        background: linear-gradient(to right,
        rgba(26, 115, 148, 0.92) 0%,
        rgba(26, 115, 148, 0.88) 30%,
        rgba(26, 115, 148, 0.15) 70%,
        rgba(26, 115, 148, 0)   100%
    );
    }
}

@media (max-width: 781px) {
    .display-none-mob {
        display: none !important;
    }
    .show-mob {
        display: inherit !important;
    }
    header  {
        position: static;
    }
}