/*
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: 
*/
/*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: 700px; 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-thumbs { margin-top: 10px; }
.hhs-gallery-thumbs .splide__slide { opacity: 0.5; border: 2px solid #c8d8e8; border-radius: 4px; overflow: hidden; cursor: pointer; transition: opacity 0.2s, border-color 0.2s; }
.hhs-gallery-thumbs .splide__slide.is-active { opacity: 1; border-color: #1B3A5C; }
.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 #c8d8e8;}
.splide__track--nav > .splide__list > .splide__slide.is-active { border: 1px solid #207EA1;}
.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--teal);
    border-color: var(--wp--preset--color--teal);
}
.hhs-gallery-main .splide__arrow svg {
    fill: #1B3A5C;
}
.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 #dde6ee;
    color: #4a6070;
}
.hhs-options-table tbody tr:nth-child(even) td {
    background: #f4f7fa;
}
.hhs-options-table tfoot td {
    padding: 8px 16px;
    font-size: 0.8rem;
    color: #4a6070;
    border-top: 2px solid #dde6ee;
}
/*===============End Options Table==================*/
/*===============Product Page Tabs======================*/
.hhs-tabs { margin: 1.5rem 0; }
.hhs-tabs

/* --- Tab layout (desktop) --- */
.hhs-tabs__nav {
    display: flex; flex-wrap: wrap; gap: 4px;
    border-bottom: 2px solid #dde6ee;
    margin-bottom: 0;
}
.hhs-tabs__btn {
    background: none;
    padding: 10px 20px;
    font-size: 0.9rem; font-weight: 600; color: #4a6070;
    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: #1B3A5C; background: #e8eef4; }
.hhs-tabs__btn.is-active {
    color: #1B3A5C; background: #fff;
    border-color: #dde6ee;
    border-bottom-color: #fff;
}
.hhs-tabs__panel {
   background:white;
  border-bottom: 2px solid #e8eef4;
  border-left: 2px solid #e8eef4;
  border-right: 2px solid #e8eef4;
  }
/* 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 #dde6ee; 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: #f4f7fa; border: 1px solid #dde6ee;
        border-radius: 4px; padding: 14px 18px;
        font-size: 0.9rem; font-weight: 600; color: #1B3A5C;
        cursor: pointer; text-align: left; transition: background 0.2s;
    }
    .hhs-tabs__acc-trigger:hover { background: #e2edf7; }
    .hhs-tabs__panel.is-active .hhs-tabs__acc-trigger { background: #1B3A5C; 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;
  border: 1px solid #000;
  padding: 10px;
  width: 450px;
  background:white;
}
.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:auto;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #1a2b3c;
}

.mattress-pad-table th[colspan="3"] {
  background-color: #f4f7fa;
  color: #0d1f2d;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid #207EA1;
}

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

.mattress-pad-table tbody tr {
  border-bottom: 1px solid #c8d8e8;
}

.mattress-pad-table tbody tr:nth-child(even) {
  background-color: #f4f7fa;
}

.mattress-pad-table tbody tr:hover {
  background-color: #e8eef4;
}

.mattress-pad-table td {
  padding: 0.6rem 1rem;
  vertical-align: top;
  color: #1a2b3c;
}

/* 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: #4a6070;
}
.wp-block-bcn-breadcrumb-trail a {
    color: var(--wp--preset--color--teal);
    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: #1B3A5C;
    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: 0 2px 12px rgba(13, 31, 45, 0.08);
    border: 1px solid var(--wp--preset--color--silver);
    height: 150px;
    width: 116px;
}

/* Video embeds */
.display-videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.display-videos iframe {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    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--teal);
    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
   ============================================ */

/* === DARK VERSION (original) — comment out to use light ===
.top-bar {
    background: var(--wp--preset--color--navy);
    padding: 7px 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--wp--custom--border);
}
.top-bar a {
    color: var(--wp--preset--color--silver);
    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 {
    color: var(--wp--preset--color--teal-light);
}
.top-bar-divider {
    color: var(--wp--preset--color--steel);
    font-size: 0.7rem;
}
=== END DARK TOP BAR === */

/* === LIGHT VERSION — comment out to use dark === */
.top-bar {
    background: var(--wp--preset--color--teal-lightest);
    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 {
    color: var(--wp--preset--color--navy);
    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 {
    color: var(--wp--preset--color--teal);
}
.top-bar-divider {
    color: var(--wp--preset--color--navy-mid);
    font-size: 0.7rem;
}
/* === END LIGHT TOP BAR === */


/* ============================================
   HEADER
   ============================================ */

/* === DARK VERSION (original) — comment out to use light ===
header {
    background: var(--wp--preset--color--navy-mid);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.header-nav li a {
    padding-top: 2em;
    padding-bottom: 2em;
    border-bottom: 3px solid var(--wp--preset--color--navy-mid);
    border-top: 3px solid var(--wp--preset--color--navy-mid);
}
.header-nav .wp-block-navigation__container > li a:hover {
    border-bottom: 3px solid var(--wp--preset--color--teal-light);
}
.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--teal-lightest);
    border-bottom-color: var(--wp--preset--color--teal);
}
.header-nav .wp-block-navigation__submenu-container {
    background: var(--wp--preset--color--navy);
    min-width: 240px;
    border-top: 2px solid var(--wp--preset--color--teal) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    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);
}
.header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    color: var(--wp--preset--color--silver);
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 1px solid var(--wp--custom--border) !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--navy-light);
    color: var(--wp--preset--color--teal-lightest);
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--wp--preset--color--navy);
    min-width: 240px;
    border-top: 2px solid var(--wp--preset--color--teal);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    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--silver);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 1px solid var(--wp--custom--border);
    transition: background 0.15s, color 0.15s;
}
.dropdown li:last-child a {
    border-bottom: none;
}
.dropdown li a:hover {
    background: var(--wp--preset--color--navy-light);
    color: var(--wp--preset--color--teal-lightest);
}
=== END DARK HEADER === */

/* === LIGHT VERSION — comment out to use dark === */
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 #ffffff;
    border-top: 3px solid #ffffff;
    color: var(--wp--preset--color--navy) !important;
}
.header-nav .wp-block-navigation__container > li a:hover {
    border-bottom: 3px solid var(--wp--preset--color--teal);
}
.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--teal) !important;
    border-bottom-color: var(--wp--preset--color--teal);
}

/* Dropdown submenu */
.header-nav .wp-block-navigation__submenu-container {
    background: #ffffff;
    min-width: 240px;
    border-top: 2px solid var(--wp--preset--color--teal) !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--navy) !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--teal-lightest);
    color: var(--wp--preset--color--teal) !important;
}

/* 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--teal);
    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--teal);
}
/* === END LIGHT HEADER === */


/* ============================================
   HEADER CTAs + RESPONSIVE (unchanged)
   ============================================ */

.header-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    flex-shrink: 0;
}
@media (min-width: 1351px) {
    .top-bar-left {
        display: none !important;
    }
}
@media (max-width: 1375px) {
    .header-ctas {
        display: none !important;
    }
    .top-bar {
        justify-content: space-between !important;
    }
    .top-bar-left {
        display: flex !important;
    }
    .header-inner {
        justify-content: center !important;
    }
}
@media (max-width: 930px) {
    .logo-wrap img {
        padding-top: 20px !important;
    }
}


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

/* Search BTN (unchanged) */
.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);
}

/* === DARK VERSION (original) — comment out to use light ===
.wp-block-button.is-style-btn-ghost .wp-block-button__link,
.btn-ghost {
    color: var(--wp--preset--color--teal-lightest);
    border: 1.5px solid var(--wp--preset--color--teal);
    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--teal);
    color: var(--wp--preset--color--white);
}
=== END DARK GHOST === */

/* === LIGHT VERSION — comment out to use dark === */
.wp-block-button.is-style-btn-ghost .wp-block-button__link,
.btn-ghost {
    color: var(--wp--preset--color--navy);
    border: 1.5px solid var(--wp--preset--color--navy);
    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--navy);
    color: var(--wp--preset--color--white);
}
/* === END LIGHT GHOST === */

/* Solid (unchanged — teal works on both light and dark) */
.wp-block-button.is-style-btn-solid .wp-block-button__link,
.btn-solid {
    background: var(--wp--preset--color--teal);
    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--teal);
}
.wp-block-button.is-style-btn-solid .wp-block-button__link:hover,
.btn-solid:hover {
    background: var(--wp--preset--color--teal-light);
    border-color: var(--wp--preset--color--teal-light);
}

/* Hero (unchanged) */
.wp-block-button.is-style-btn-hero .wp-block-button__link,
.btn-hero {
    background: var(--wp--preset--color--teal);
    color: 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;
    border: 2px solid var(--wp--preset--color--teal);
}
.wp-block-button.is-style-btn-hero .wp-block-button__link:hover,
.btn-hero:hover {
    background: transparent;
    color: var(--wp--preset--color--teal-light);
}

/* Outline (unchanged) */
.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 — unchanged for both versions */
.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
   ============================================ */

/* === DARK VERSION (original) — comment out to use light ===
.hero {
    background: var(--wp--preset--color--navy);
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(22, 40, 64, 0.95) 0%,
        rgba(22, 40, 64, 0.95) 30%,
        rgba(22, 40, 64, 0.1)  70%,
        rgba(22, 40, 64, 0)   100%
    );
}
=== END DARK OVERLAY === */

/* === LIGHT VERSION — comment out to use dark === */
.hero {
    background: var(--wp--preset--color--teal);
}
.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%
    );
}
/* === END LIGHT OVERLAY === */


/* ============================================
   HERO — TEXT & EYEBROW
   ============================================ */

/* === DARK VERSION (original) — comment out to use light ===
.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: var(--wp--preset--color--teal-lightest);
    border-left: 3px solid var(--wp--preset--color--teal);
    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: var(--wp--preset--color--white);
    line-height: 1.05;
    max-width: 620px;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.slide-sub {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
    margin-bottom: 32px;
}
.slide-span {
    color: #67bff0;
    font-weight: 700;
}
=== END DARK TEXT === */

/* === LIGHT VERSION — comment out to use dark === */
.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;
    max-width: 620px;
    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-span {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}
/* === END LIGHT TEXT === */


/* ============================================
   HERO — MADE IN USA BADGE
   ============================================ */

/* === DARK VERSION (original) — comment out to use light ===
.made-usa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    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.7);
}
=== END DARK BADGE === */

/* === LIGHT VERSION — comment out to use dark === */
.made-usa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    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);
}
/* === END LIGHT BADGE === */

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


/* ============================================
   HERO — SLIDER CONTROLS
   ============================================ */

/* === DARK VERSION (original) — comment out to use light ===
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}
.dot.active {
    background: var(--wp--preset--color--teal);
    width: 24px;
    border-radius: 4px;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--wp--preset--color--white);
    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: var(--wp--preset--color--teal);
    border-color: var(--wp--preset--color--teal);
}
=== END DARK CONTROLS === */

/* === LIGHT VERSION — comment out to use dark === */
.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;
}
/* === END LIGHT CONTROLS === */

/* Dot position — unchanged */
.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--teal);
    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);
    max-width: 560px;
    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--teal);
    outline-offset: 2px;
}
.card-img {
    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--teal);
    margin-bottom: 8px;
}
.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: 18px;
    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--teal);
    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--teal);
    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 {
    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: #4a6070;
    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--teal);
    font-style: normal;
}
.quote-card:hover {
    transform: none;
    box-shadow: none;
}

/* ============================================
   DEPT STRIP — teal background
   ============================================ */
.dept-section {
    background: var(--wp--preset--color--teal);
    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 36px;
    text-align: left;
}
.dept-tag {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 15px;
    flex-wrap: wrap;
}
.dept-tag li {
    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 {
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.dept-tag li:hover {
    background: var(--wp--preset--color--navy);
    border-color: var(--wp--preset--color--navy);
}
.dept-tag 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: #1b3a5c;
    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--teal);
}

.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--teal);
    border-left-color: var(--wp--preset--color--teal);
    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--teal);
    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:var(--wp--preset--color--cream);
}
.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--teal);
    margin-bottom: 8px;
}
.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--teal);
    text-decoration: none;
    margin-top: 12px;
}
.news-link::after {
    content: '→';
}


/* ============================================
   MERCY SHIPS BANNER
   ============================================ */

.mercy-banner {
    background: var(--wp--preset--color--navy-mid);
    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);
    text-decoration: none;
    font-size: 0.72rem;
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: var(--wp--preset--color--teal-lightest);
}

/* ISO badge */
.iso-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--wp--custom--border);
    padding: 6px 14px;
    border-radius: 100px;
    margin-top: 16px;
}
.iso-badge span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}


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

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


/* ============================================
   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) {
    .top-bar { display: none; }
    .header-inner { padding: 0 20px; }
    .header-ctas { gap: 8px; }
    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 */
.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(22,40,64,0.95) 0%, rgba(22,40,64,0.95) 40%, rgba(22,40,64,0.1) 80%, rgba(22,40,64,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(22,40,64,0.95) 0%, rgba(22,40,64,0.4) 80%, rgba(22,40,64,0.1) 100%);
    }
}

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