/* Equipment Sales Page Styles */
/* Prefix: es- to avoid conflicts with Oxygen */

@font-face {
    font-family: 'Nacelle';
    src: url('/wp-content/themes/oxygen-bare-minimum-theme/tempimages/nacelle_100/Nacelle-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nacelle';
    src: url('/wp-content/themes/oxygen-bare-minimum-theme/tempimages/nacelle_100/Nacelle-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nacelle';
    src: url('/wp-content/themes/oxygen-bare-minimum-theme/tempimages/nacelle_100/Nacelle-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --es-navy:   #1B3975;
    --es-yellow: #E5C455;
    --es-dark:   #404040;
    --es-gray:   #8D8D8D;
    --es-light:  #F6F6F6;
    --es-white:  #FFFFFF;
}

.es-page {
    font-family: 'Nacelle', 'Inter', sans-serif;
    color: var(--es-dark);
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* ─── UTILITIES ─────────────────────────────── */

.es-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.es-section-title {
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--es-dark);
    text-align: center;
    margin: 10px 0 30px;
}

.es-eyebrow {
    text-align: center;
    color: var(--es-gray);
    font-size: 1rem;
    margin-bottom: 8px;
}

/* ─── BUTTONS ────────────────────────────────── */

.es-btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
    border: 2px solid transparent;
}

.es-btn:hover { opacity: 0.85; }

.es-btn--yellow {
    background: var(--es-yellow);
    color: #000;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.es-btn--outline {
    background: transparent;
    border-color: var(--es-yellow);
    color: var(--es-yellow);
}

.es-btn--outline-white {
    background: transparent;
    border-color: var(--es-white);
    color: var(--es-white);
}

.es-btn--full { width: 100%; text-align: center; box-sizing: border-box; }

/* ─── HERO ───────────────────────────────────── */

.es-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    background: url('/wp-content/themes/oxygen-bare-minimum-theme/tempimages/DJI_0042_blur.jpg') center bottom / cover no-repeat;
}

.es-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
}

.es-hero__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    color: var(--es-white);
    text-align: center;
}

.es-hero__heading {
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    font-size: 3.2rem;
    line-height: 1.15;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.es-hero__sub {
    font-size: 1.1rem;
    margin: 0 0 32px;
    color: rgba(255,255,255,0.85);
}

.es-hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Left-aligned variant (used by team-page hero) keeps text and buttons left */
.es-hero__content--left .es-hero__buttons { justify-content: flex-start; }

/* Team-page hero variant: team photo background, content bottom-left */
.es-hero--team {
    min-height: 560px;
    background-image: url('/wp-content/themes/oxygen-bare-minimum-theme/tempimages/SalesTeamHero.jpg?v=2');
    background-position: center center;
    align-items: flex-end;
}

.es-hero--team .es-hero__overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.65) 100%);
}

.es-hero__content--left {
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

/* ─── BRANDS ─────────────────────────────────── */

.es-brands {
    background: var(--es-navy);
    padding: 22px 40px;
}

.es-brands__track {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.es-brands__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.es-brands__inner--clone { display: none; }

.es-brand-logo {
    height: 34px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* ─── FEATURED INVENTORY ─────────────────────── */

.es-featured {
    padding: 70px 0;
    background: var(--es-white);
}

.es-featured__cta {
    text-align: center;
    margin-top: 32px;
    margin-bottom: 48px;
}

.es-cards-wrapper {
    position: relative;
    margin: 0 -40px;
    overflow: hidden;
    padding: 16px 0 24px;
}

.es-cards-wrapper::before,
.es-cards-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 10;
    pointer-events: none;
}
.es-cards-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff 15%, transparent);
}
.es-cards-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff 15%, transparent);
}

.es-cards {
    display: flex;
    gap: 28px;
    padding: 0 40px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.es-cards .es-card {
    /* Formula keeps ~60px peek on each side regardless of viewport.
       Derived: cw = (wrapperW - 2*peek - 4*gap) / 3
       wrapperW = trackInner + 80px (2×40px padding), trackInner = 100%
       → (100% + 80px - 120px - 112px) / 3 = (100% - 152px) / 3 */
    flex: 0 0 calc((100% - 152px) / 3);
    min-width: 0;
}

.es-cards-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 36px;
}

.es-cards-nav__btn {
    width: 52px;
    height: 48px;
    border-radius: 10px;
    background: var(--es-yellow);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    color: #000;
}

.es-cards-nav__btn:hover { transform: scale(1.06); }
.es-cards-nav__btn--disabled { opacity: 0.35; cursor: default; }
.es-cards-nav__btn--disabled:hover { transform: none; }

.es-card {
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    background: var(--es-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.es-card__image {
    position: relative;
    height: 220px;
    background: var(--es-light);
    overflow: hidden;
}

/* ─── IMAGE CAROUSEL ─────────────────────────── */

.es-card__carousel {
    position: absolute;
    inset: 0;
}

.es-card__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.es-card__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.es-card__slide.active { opacity: 1; z-index: 1; }

.es-card__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.es-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0, 0, 0, 0.32);
    color: #fff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    padding: 0;
}

.es-card:hover .es-carousel__btn { opacity: 1; }
.es-carousel__btn:hover { background: rgba(0, 0, 0, 0.55); }
.es-carousel__btn--prev { left: 8px; }
.es-carousel__btn--next { right: 8px; }

.es-carousel__dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 5px;
    pointer-events: none;
}

.es-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    pointer-events: all;
    transition: background 0.2s;
}

.es-dot.active { background: #fff; }

.es-card__image--placeholder {
    background: #ddd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 24 24' fill='%23aaa'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-1.1 2-2zm-8.5-5.5l2.5 3.01L18 13l3 4H3l3.5-4.5 2.5 3.49z'/%3E%3C/svg%3E") center/60px no-repeat;
}

.es-badge {
    position: absolute;
    top: 12px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 3px;
    z-index: 4;
}

.es-badge--new {
    left: 12px;
    background: #e03333;
    color: var(--es-white);
}

.es-badge--used {
    left: 12px;
    background: #5a5a5a;
    color: var(--es-white);
}

.es-badge--type {
    right: 12px;
    background: var(--es-white);
    color: var(--es-dark);
}

.es-card__body {
    padding: 20px;
}

.es-card__title {
    font-family: 'Nacelle', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0 0 16px;
    color: var(--es-dark);
}

.es-card__specs {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    font-size: 0.9rem;
    color: var(--es-dark);
}

.es-card__specs li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.es-spec-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--es-navy);
}

.es-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 18px;
    font-size: 0.875rem;
}

.es-card__location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--es-gray);
}

.es-card__price {
    font-weight: 700;
    font-size: 1.05rem;
    color: #b8973a;
}

.es-btn--navy {
    background: var(--es-navy);
    color: var(--es-white);
}

/* ─── BROWSE BY TYPE ─────────────────────────── */

.es-types {
    padding: 70px 0;
    background: var(--es-light);
}

.es-types__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.es-type-item {
    text-align: center;
    font-family: 'Nacelle', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--es-dark);
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.es-type-item:hover { opacity: 0.75; }

.es-type-item__img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 12px;
    display: block;
}

/* ─── MANUFACTURERS ──────────────────────────── */

.es-manufacturers {
    padding: 70px 0;
    background: var(--es-white);
}

.es-manufacturers__sub {
    text-align: center;
    color: var(--es-gray);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.es-manufacturers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.es-manufacturers__grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.es-manufacturers__grid li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--es-gray);
}

.es-manufacturers__grid li a {
    color: var(--es-gray);
    text-decoration: none;
}

.es-manufacturers__grid li a:hover {
    color: var(--es-navy);
}

.es-manufacturers__grid li span {
    color: var(--es-gray);
}

.es-accent-line {
    height: 3px;
    align-self: stretch;
    margin-bottom: 20px;
}
.es-accent-line--yellow { background: var(--es-yellow); }
.es-accent-line--navy   { background: var(--es-navy); }

/* ─── PEOPLE ─────────────────────────────────── */

.es-people {
    background: var(--es-navy) url('/wp-content/themes/oxygen-bare-minimum-theme/tempimages/peoplyyoucancountonbanner.jpg') center/cover no-repeat;
    padding: 0;
    overflow: hidden;
}

.es-people__inner {
    display: flex;
    align-items: flex-end;
    min-height: 336px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
}

.es-people__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    padding: 60px 60px 60px 0;
    color: var(--es-white);
    position: relative;
    z-index: 1;
}

.es-people__content h2 {
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    margin: 0 0 0;
    color: var(--es-white);
    line-height: 1.15;
}

.es-people__actions {
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.es-people__content p {
    color: rgba(255,255,255,0.85);
    margin: 0 0 28px;
    font-size: 1rem;
    line-height: 1.6;
}

.es-people__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.es-people__photo {
    position: absolute;
    right: -40px;
    bottom: -79px;
    z-index: 0;
}

.es-people__photo img {
    display: block;
    height: 525px;
    width: auto;
}

/* ─── NEWSLETTER ─────────────────────────────── */

.es-newsletter {
    padding: 70px 0;
    background: url('/wp-content/themes/oxygen-bare-minimum-theme/tempimages/getthelatestbackground.jpg') center/cover no-repeat;
}

.es-newsletter__inner {
    display: flex;
    gap: 60px;
    align-items: center;
}

.es-newsletter__flyer {
    flex-shrink: 0;
    width: 340px;
}

.es-newsletter__flyer img {
    width: 100%;
    display: block;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.es-newsletter__content h2 {
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    margin: 0 0 0;
    display: flex;
    flex-direction: column;
}

.es-newsletter__h2-top {
    font-size: 2.4rem;
    color: var(--es-dark);
    line-height: 1.1;
}

.es-newsletter__h2-sub {
    font-size: 1.3rem;
    color: var(--es-dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.es-newsletter__actions {
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.es-newsletter__content p {
    color: var(--es-gray);
    margin: 0 0 24px;
    line-height: 1.6;
}

.es-newsletter__form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.es-newsletter__form input {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
}

/* ─── MOUNTAIN BRAND ─────────────────────────── */

.es-brand {
    padding: 70px 40px;
    background: var(--es-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.es-brand__bg-left,
.es-brand__bg-right {
    flex: 1;
    height: 300px;
    background: var(--es-light);
    border-radius: 6px;
    max-width: 280px;
}

.es-brand__content {
    text-align: center;
    flex: 1.5;
    max-width: 560px;
}

.es-brand__logo--placeholder {
    width: 80px;
    height: 80px;
    background: var(--es-dark);
    color: white;
    font-size: 2.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.es-brand__content h2 {
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    margin: 0 0 12px;
}

.es-brand__content p {
    color: var(--es-gray);
    margin: 0 0 28px;
}

.es-brand__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── CONTACT ────────────────────────────────── */

.es-contact {
    position: relative;
    padding: 70px 0;
    overflow: hidden;
    background: #000;
}

.es-contact::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: url('/wp-content/themes/oxygen-bare-minimum-theme/tempimages/ContactUsTodayBackground.jpg') center/cover no-repeat;
    filter: blur(3px);
    z-index: 0;
}

.es-contact__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 1;
}

.es-contact__inner {
    position: relative;
    z-index: 2;
    color: var(--es-white);
    text-align: center;
}

.es-contact__inner h2 {
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    font-size: 2.4rem;
    margin: 0 0 12px;
    color: var(--es-white);
}

.es-contact__inner > p {
    color: rgba(255,255,255,0.75);
    margin: 0 0 40px;
}

.es-contact__form {
    max-width: 760px;
    margin: 0 auto;
}

.es-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.es-contact__form input,
.es-contact__form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0,0,0,0.36);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    color: var(--es-white);
    font-size: 1rem;
    box-sizing: border-box;
}

.es-contact__form input::placeholder,
.es-contact__form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.es-contact__form textarea {
    width: 100%;
    resize: vertical;
}

/* Hidden Gravity Form — collapsed but interactable so JS can submit it */
.es-contact__gf {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.es-contact__status {
    max-width: 760px;
    margin: 16px auto 0;
    padding: 12px 16px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 6px;
    color: var(--es-white);
    text-align: center;
    font-size: 0.95rem;
}

.es-contact__status--error {
    background: rgba(220,80,80,0.18);
    border-color: rgba(220,80,80,0.40);
}

.es-contact__success {
    max-width: 760px;
    margin: 24px auto 0;
    padding: 28px 32px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    text-align: center;
}

.es-contact__success p {
    margin: 0;
    font-size: 1.15rem;
    color: var(--es-white);
}

/* ─── MAP ────────────────────────────────────── */

.es-map {
    padding: 70px 0;
    background: var(--es-white);
    text-align: center;
}

.es-map__sub {
    color: var(--es-gray);
    margin: -10px auto 32px;
    max-width: 600px;
}

.es-map__img {
    margin-bottom: 24px;
}

.es-map__img img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

.es-map__legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 0.95rem;
    align-items: center;
}

.es-map__legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.es-map__dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.es-map__dot--blue { background: var(--es-navy); }

.es-map__pin-icon {
    height: 32px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: -14px;
}

/* ─── RESPONSIVE ─────────────────────────────── */

@keyframes es-brand-scroll {
    to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
    .es-brands {
        padding: 22px 0;
        position: relative;
        overflow: hidden;
    }
    .es-brands::before,
    .es-brands::after {
        content: '';
        position: absolute;
        top: 0; bottom: 0;
        width: 50px;
        z-index: 2;
        pointer-events: none;
    }
    .es-brands::before { left: 0;  background: linear-gradient(90deg,  var(--es-navy), transparent); }
    .es-brands::after  { right: 0; background: linear-gradient(270deg, var(--es-navy), transparent); }

    .es-brands__track {
        display: flex;
        width: max-content;
        animation: es-brand-scroll 14s linear infinite;
        max-width: none;
        margin: 0;
        justify-content: flex-start;
    }

    .es-brands__inner {
        flex-wrap: nowrap;
        gap: 40px;
        padding: 0 20px;
        justify-content: flex-start;
    }

    .es-brands__inner--clone { display: flex; }

    .es-brand-logo { height: 28px; }
}

@media (max-width: 900px) {
    .es-cards .es-card     { flex: 0 0 calc(100% - 80px); }
    .es-types__grid        { grid-template-columns: repeat(2, 1fr); }
    .es-manufacturers__grid{ grid-template-columns: repeat(2, 1fr); }
    .es-people__inner      { padding: 0 20px; min-height: 200px; }
    .es-people__photo      { display: block; right: -60px; bottom: -33px; }
    .es-people__photo img  { height: 220px; }
    .es-people__content         { padding: 30px 0; align-self: center; }
    .es-people__buttons         { max-width: 58%; }
    .es-people__actions         { width: 58%; }
    .es-newsletter__actions     { width: 100%; }
    .es-newsletter__inner        { gap: 16px; }
    .es-newsletter__flyer        { width: 25%; flex-shrink: 0; }
    .es-newsletter .es-container { padding: 0 12px; }
    .es-newsletter__form         { flex-direction: column; }
    .es-newsletter__form input,
    .es-newsletter__form button  { width: 100%; flex: none; }
    .es-brand              { flex-direction: column; }
    .es-form-row           { grid-template-columns: 1fr; }
    .es-hero__heading      { font-size: 2.2rem; }
    .es-section-title        { font-size: 1.5rem; }
    .es-people__content h2   { font-size: 1.4rem; }
    .es-newsletter__h2-top   { font-size: 1.7rem; }
    .es-newsletter__h2-sub   { font-size: 1rem; }
    .es-brand__content h2    { font-size: 1.2rem; }
    .es-contact__inner h2    { font-size: 1.7rem; }
}

@media (max-width: 600px) {
    .es-types__grid        { grid-template-columns: repeat(2, 1fr); }
    .es-manufacturers__grid{ grid-template-columns: 1fr 1fr; }
    .es-hero__heading      { font-size: 1.8rem; }
    .es-hero__buttons      { flex-direction: column; }
}

/* ─── INVENTORY PAGE HEADER ──────────────────── */

.es-inv-header {
    background: var(--es-navy);
    padding: 40px 0 36px;
    color: var(--es-white);
}

.es-inv-breadcrumb {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.es-inv-breadcrumb a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
}

.es-inv-breadcrumb a:hover { color: var(--es-white); }

.es-inv-header__title {
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    font-size: 2.6rem;
    margin: 0 0 8px;
    color: var(--es-white);
}

.es-inv-header__sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* ─── INVENTORY LAYOUT ───────────────────────── */

.es-inventory {
    padding: 48px 0 60px;
    background: var(--es-light);
}

.es-inventory__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/* ─── SIDEBAR ────────────────────────────────── */

.es-inventory__sidebar {
    background: var(--es-white);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.es-inv-sidebar__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.es-inv-sidebar__top h3 {
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    font-size: 1rem;
    margin: 0;
    color: var(--es-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.es-inv-clear {
    font-size: 0.8rem;
    color: var(--es-navy);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.es-filter-group {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
}

.es-filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.es-filter-group__label {
    font-family: 'Nacelle', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--es-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    display: block;
}

.es-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--es-dark);
}

.es-filter-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: var(--es-navy);
    flex-shrink: 0;
}

.es-filter-count {
    color: var(--es-gray);
    font-size: 0.78rem;
    margin-left: auto;
}

/* ── Max Capacity range ── */

.es-filter-cap-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.es-filter-cap-range input {
    flex: 1;
    min-width: 0;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.875rem;
    text-align: center;
    box-sizing: border-box;
}

.es-filter-cap-range input:focus {
    outline: none;
    border-color: var(--es-navy);
}

.es-filter-cap-arrow, .es-filter-cap-unit {
    font-size: 0.85rem;
    color: var(--es-gray);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ─── RESULTS BAR ────────────────────────────── */

.es-inventory__results-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.es-inv-text-search {
    flex: 1;
    height: 42px;
    padding: 0 16px;
    border: 1px solid #bbb;
    border-radius: 8px;
    background: var(--es-white);
    font-size: 0.9rem;
    color: var(--es-dark);
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

.es-inv-text-search::placeholder { color: #bbb; }
.es-inv-text-search:focus { outline: none; border-color: #999; }

.es-inventory__count-bar {
    font-size: 0.78rem;
    color: var(--es-gray);
    margin: 4px 0 24px;
    padding: 0;
}

.es-inv-filter-toggle {
    display: none; /* shown on mobile only */
    align-items: center;
    gap: 6px;
    background: var(--es-white);
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 14px;
    height: 42px;
    font-size: 0.875rem;
    cursor: pointer;
    color: var(--es-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ─── INVENTORY GRID ─────────────────────────── */

.es-inventory__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ─── LOAD MORE ──────────────────────────────── */

.es-inventory__load-more {
    text-align: center;
    margin-top: 40px;
}

/* ─── NO RESULTS ─────────────────────────────── */

.es-inventory__no-results {
    text-align: center;
    padding: 60px 0;
    color: var(--es-gray);
}

.es-inventory__no-results p {
    margin-bottom: 20px;
    font-size: 1rem;
}

/* ─── INVENTORY RESPONSIVE ───────────────────── */

@media (max-width: 900px) {
    .es-inventory__layout         { grid-template-columns: 1fr; }
    .es-inventory__sidebar        { position: static; max-height: none; display: none; }
    .es-inventory__sidebar--open  { display: block; }
    .es-inv-filter-toggle         { display: flex; }
    .es-inventory__grid           { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .es-inv-header__title         { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .es-inventory__grid { grid-template-columns: 1fr; }
}

/* ─── MOBILE STICKY CLEAR BAR ────────────────── */

.es-inv-mobile-clear {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--es-navy);
    padding: 14px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}

.es-inv-mobile-clear__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: none;
    border: none;
    color: var(--es-white);
    font-family: 'Nacelle', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
}

.es-inv-mobile-clear__btn strong { color: var(--es-yellow); }

@media (min-width: 901px) {
    .es-inv-mobile-clear { display: none !important; }
}

/* ─── LISTING DETAIL PAGE ────────────────────── */

.es-listing {
    padding: 48px 0 60px;
    background: var(--es-white);
}

.es-listing__layout {
    display: grid;
    grid-template-columns: minmax(0, 460px) 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Gallery ── */

.es-listing__gallery { min-width: 0; }

.es-gallery__main {
    position: relative;
    background: var(--es-light);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.es-gallery__main--empty { min-height: 320px; }

.es-gallery__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.es-gallery__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.es-gallery__slide.active { opacity: 1; z-index: 1; }

.es-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.es-gallery__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,0.42);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}

.es-gallery__btn:hover { background: rgba(0,0,0,0.65); }
.es-gallery__btn--prev { left: 14px; }
.es-gallery__btn--next { right: 14px; }

.es-gallery__counter {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 3;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.es-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.es-gallery__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 54px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    padding: 0;
    background: none;
}

.es-gallery__thumb.active { border-color: var(--es-navy); }

.es-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Detail Panel ── */

.es-listing__detail {
    position: sticky;
    top: 20px;
    background: var(--es-white);
    border-radius: 12px;
    padding: 28px 28px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.es-listing__top { margin-bottom: 12px; }

.es-listing__title {
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    font-size: 1.55rem;
    line-height: 1.2;
    margin: 0 0 6px;
    color: var(--es-dark);
}

.es-listing__subtitle {
    font-size: 0.9rem;
    color: var(--es-gray);
    margin: 0;
}

.es-listing__price-block { margin-bottom: 14px; }

.es-listing__price {
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--es-yellow);
    display: block;
    line-height: 1.1;
}

.es-listing__retail {
    font-size: 0.85rem;
    color: var(--es-gray);
    margin-top: 4px;
    display: block;
}

/* Call Now button */
.es-listing__call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: var(--es-navy);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Nacelle', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
    transition: opacity 0.2s;
    box-sizing: border-box;
}

.es-listing__call-btn:hover { opacity: 0.85; }

/* Spec table */
.es-listing__spec-table {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e4e4e4;
    margin-bottom: 20px;
}

.es-listing__spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    border-bottom: 1px solid #e4e4e4;
    gap: 16px;
}

.es-listing__spec-row:last-child { border-bottom: none; }
.es-listing__spec-row:nth-child(odd)  { background: #f6f6f6; }
.es-listing__spec-row:nth-child(even) { background: var(--es-white); }

.es-listing__spec-key {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--es-dark);
    white-space: nowrap;
}

.es-listing__spec-val {
    font-size: 0.84rem;
    color: var(--es-dark);
    text-align: right;
}

/* Bottom: buttons + contact side-by-side */
.es-listing__bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 18px;
    align-items: end;
}

.es-listing__action-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.es-listing__contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    white-space: nowrap;
}

.es-listing__contact-phone {
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--es-navy);
    text-decoration: none;
}

.es-listing__contact-email {
    font-size: 0.78rem;
    color: var(--es-gray);
    text-decoration: none;
}

.es-listing__contact-phone:hover { opacity: 0.75; }
.es-listing__contact-email:hover { color: var(--es-navy); }

/* ── Description / Load Charts Section ── */

.es-listing-info {
    padding: 60px 0 80px;
    background: var(--es-white);
}

.es-listing-info__tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.es-listing-info__tab {
    padding: 14px 38px;
    font-family: 'Nacelle', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    background: #e6e6e6;
    color: var(--es-gray);
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.es-listing-info__tab:hover {
    background: #d8d8d8;
    color: var(--es-dark);
}

.es-listing-info__tab.active {
    background: var(--es-navy);
    color: var(--es-white);
}

.es-listing-info__panel {
    background: var(--es-white);
    border-radius: 0 14px 14px 14px;
    padding: 44px 48px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.es-listing-info__text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--es-dark);
    max-width: 940px;
}

.es-listing-info__empty {
    color: var(--es-gray);
    font-size: 0.95rem;
    font-style: italic;
    margin: 0;
    padding: 8px 0;
}

/* ── Load Chart Cards ── */

.es-loadcharts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.es-loadcharts__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    background: var(--es-light);
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    padding: 16px 16px 18px;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.es-loadcharts__item:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    transform: translateY(-2px);
    border-color: var(--es-navy);
}

.es-loadcharts__thumb {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--es-white);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.es-loadcharts__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.es-loadcharts__label {
    font-family: 'Nacelle', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--es-dark);
    text-align: center;
    line-height: 1.3;
}

.es-loadcharts__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Nacelle', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--es-navy);
}

.es-loadcharts__item:hover .es-loadcharts__cta { color: var(--es-yellow); }

/* ── Listing Responsive ── */

@media (max-width: 900px) {
    .es-listing__layout        { grid-template-columns: 1fr; gap: 28px; }
    .es-listing__detail        { position: static; }
    .es-gallery__main          { aspect-ratio: 4/3; }
    .es-listing-info__panel    { padding: 32px 28px; }
}

@media (max-width: 600px) {
    .es-gallery__thumb         { width: 56px; height: 42px; }
    .es-listing__price         { font-size: 1.5rem; }
    .es-listing__bottom        { grid-template-columns: 1fr; gap: 14px; }
    .es-listing__contact-info  { align-items: flex-start; }
    .es-listing-info           { padding: 40px 0 60px; }
    .es-listing-info__tab      { padding: 11px 22px; font-size: 0.74rem; }
    .es-listing-info__panel    { padding: 24px 22px; border-radius: 0 12px 12px 12px; }
}

/* ─── TEAM PAGE ──────────────────────────────── */

.es-team {
    padding: 80px 0 100px;
    background: var(--es-white);
    text-align: center;
}

.es-team .es-section-title { margin-bottom: 18px; }

.es-team__intro {
    max-width: 700px;
    margin: 0 auto 56px;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--es-gray);
}

.es-team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1040px;
    margin: 0 auto;
}

.es-team__card {
    background: var(--es-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.es-team__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.es-team__photo {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--es-light);
}

.es-team__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.es-team__body {
    padding: 22px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.es-team__name {
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--es-navy);
    margin: 0;
    letter-spacing: 0.01em;
}

.es-team__title {
    font-size: 0.85rem;
    color: var(--es-gray);
    margin: 0 0 6px;
}

.es-team__email {
    font-size: 0.78rem;
    color: var(--es-gray);
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s;
}

.es-team__email:hover { color: var(--es-navy); }

.es-team__phone {
    display: block;
    background: var(--es-navy);
    color: var(--es-white);
    text-align: center;
    padding: 14px;
    font-family: 'Nacelle', sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background 0.2s;
}

.es-team__phone:hover { background: #142a5a; }

@media (max-width: 900px) {
    .es-team__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .es-hero--team { min-height: 460px; }
}

@media (max-width: 600px) {
    .es-team       { padding: 50px 0 70px; }
    .es-team__grid { grid-template-columns: 1fr; max-width: 360px; }
    .es-hero--team { min-height: 380px; }
}

/* ─── LIGHTBOX ───────────────────────────────── */

.es-gallery__btn { cursor: pointer; }

.es-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}

.es-lightbox--open { display: flex !important; }

.es-lightbox__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100vw - 140px);
    max-height: calc(100vh - 80px);
}

.es-lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 80px);
    object-fit: contain;
    border-radius: 4px;
    display: block;
    user-select: none;
    pointer-events: none;
}

.es-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.es-lightbox__close:hover { background: rgba(255,255,255,0.30); }

.es-lightbox__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 2.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
    z-index: 10;
    flex-shrink: 0;
}

.es-lightbox__btn:hover   { background: rgba(255,255,255,0.26); }
.es-lightbox__btn--prev   { left: 20px; }
.es-lightbox__btn--next   { right: 20px; }

.es-lightbox__counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    background: rgba(0,0,0,0.45);
    padding: 5px 16px;
    border-radius: 20px;
    pointer-events: none;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .es-lightbox__inner      { padding: 60px 60px; }
    .es-lightbox__btn        { width: 40px; height: 40px; font-size: 1.8rem; }
    .es-lightbox__btn--prev  { left: 10px; }
    .es-lightbox__btn--next  { right: 10px; }
}
