/* ==========================================================================
   Energishop Custom Header — Premium CSS
   Prefix: esh-
   ========================================================================== */

:root {
    --esh-black: #111111;
    --esh-black-light: #1a1a1a;
    --esh-black-lighter: #222222;
    --esh-yellow: #FFD100;
    --esh-yellow-hover: #FFE033;
    --esh-yellow-dark: #E6BC00;
    --esh-white: #ffffff;
    --esh-gray-100: #f5f5f5;
    --esh-gray-200: #e5e5e5;
    --esh-gray-300: #d4d4d4;
    --esh-gray-400: #a3a3a3;
    --esh-gray-500: #737373;
    --esh-gray-600: #525252;
    --esh-gray-700: #404040;
    --esh-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --esh-header-height-mobile: 108px;
    --esh-header-height-desktop: 60px;
    --esh-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --esh-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --esh-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --esh-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.25);
    --esh-z-header: 9990;
    --esh-z-megamenu: 9989;
    --esh-z-sidemenu: 9995;
    --esh-z-cart: 9995;
    --esh-z-overlay: 9994;
    --esh-z-search: 9991;
}

/* Reset */
.esh-header *,
.esh-megamenu *,
.esh-sidemenu *,
.esh-slidecart *,
.esh-overlay {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   HEADER — Single row on desktop, two rows on mobile
   ========================================================================== */

.esh-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--esh-z-header);
    background: var(--esh-black);
    font-family: var(--esh-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.esh-header__container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

/* Header Top Row */
.esh-header__top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.esh-header__top .esh-header__container {
    height: 60px;
    gap: 12px;
}

/* Hamburger — mobile only */
.esh-header__menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--esh-yellow);
    cursor: pointer;
    transition: all var(--esh-transition-fast);
    flex-shrink: 0;
}

.esh-header__menu-toggle:hover {
    background: rgba(255, 209, 0, 0.08);
    border-color: var(--esh-yellow);
}

/* Logo */
.esh-header__logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.esh-header__logo-img {
    height: 32px;
    max-height: 32px;
    width: auto;
    max-width: 160px;
    display: block;
    object-fit: contain;
}

.esh-header__logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--esh-white);
    letter-spacing: -0.02em;
    line-height: 1;
}

.esh-header__logo-accent {
    color: var(--esh-yellow);
}

/* Desktop Nav Inline — hidden on mobile */
.esh-header__nav-inline {
    display: none;
}

/* Desktop Search — hidden on mobile */
.esh-header__search-desktop {
    display: none;
    flex: 1;
    max-width: 380px;
}

/* Mobile Search Row */
.esh-header__search-mobile {
    background: var(--esh-black-light);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   SEARCH FORM
   ========================================================================== */

.esh-search {
    position: relative;
    width: 100%;
    border-radius: 50px !important;
}

.esh-search__input {
    width: 100%;
    height: 36px !important;
    padding: 0 40px 0 16px;
    background: var(--esh-white);
    border: 1.5px solid var(--esh-gray-200) !important;
    border-radius: 50px !important;
    color: var(--esh-black);
    font-size: 0.875rem;
    font-family: var(--esh-font);
    outline: none;
    transition: all var(--esh-transition-fast);
}

.esh-search__input::placeholder {
    color: var(--esh-gray-500);
}

.esh-search__input:focus {
    border-color: var(--esh-yellow) !important;
    box-shadow: 0 0 0 3px rgba(255, 209, 0, .12) !important;
}

.esh-search__btn {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px !important;
    height: 30px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--esh-yellow);
    border: none;
    border-radius: 50px !important;
    color: var(--esh-black);
    cursor: pointer;
    transition: all var(--esh-transition-fast);
}

.esh-search__btn:hover {
    background: var(--esh-yellow-hover);
}

/* Search Results Dropdown */
.esh-search__results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--esh-white);
    border-radius: 10px;
    box-shadow: var(--esh-shadow-lg);
    overflow: hidden;
    z-index: var(--esh-z-search);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--esh-transition-fast);
    max-height: 400px;
    overflow-y: auto;
}

.esh-search__results.esh-search__results--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.esh-search__result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--esh-black);
    transition: background var(--esh-transition-fast);
    border-bottom: 1px solid var(--esh-gray-100);
}

.esh-search__result-item:last-child {
    border-bottom: none;
}

.esh-search__result-item:hover {
    background: var(--esh-gray-100);
}

.esh-search__result-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--esh-gray-100);
}

.esh-search__result-info {
    flex: 1;
    min-width: 0;
}

.esh-search__result-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--esh-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.esh-search__result-price {
    font-size: 0.8rem;
    color: var(--esh-gray-500);
    margin-top: 2px;
}

.esh-search__result-price del {
    opacity: 0.5;
    margin-right: 4px;
}

.esh-search__result-price ins {
    text-decoration: none;
    color: var(--esh-yellow-dark);
    font-weight: 600;
}

.esh-search__no-results,
.esh-search__loading {
    padding: 20px;
    text-align: center;
    color: var(--esh-gray-500);
    font-size: 0.875rem;
}

.esh-search__view-all {
    display: block;
    padding: 12px;
    text-align: center;
    background: var(--esh-gray-100);
    color: var(--esh-black);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--esh-transition-fast);
}

.esh-search__view-all:hover {
    background: var(--esh-yellow);
}

/* ==========================================================================
   HEADER ACTIONS — right side icons
   ========================================================================== */

.esh-header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.esh-header__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--esh-white);
    cursor: pointer;
    transition: all var(--esh-transition-fast);
    text-decoration: none;
    position: relative;
}

.esh-header__action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.esh-header__whatsapp:hover {
    color: #25D366;
}

.esh-header__google:hover {
    background: rgba(255, 255, 255, 0.08);
}

.esh-header__cart-toggle:hover {
    color: var(--esh-yellow);
}

/* Cart Count Badge */
.esh-header__cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--esh-yellow);
    color: var(--esh-black);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    pointer-events: none;
    transition: transform var(--esh-transition-fast);
}

.esh-header__cart-count:empty,
.esh-header__cart-count[data-esh-cart-count="0"] {
    display: none;
}

.esh-header__cart-count--bounce {
    animation: esh-badge-bounce 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes esh-badge-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* ==========================================================================
   MEGAMENU
   ========================================================================== */

.esh-megamenu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--esh-white);
    z-index: var(--esh-z-megamenu);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--esh-transition);
    max-height: 0;
    overflow: hidden;
}

.esh-megamenu--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 620px;
    overflow: visible;
}

.esh-megamenu__container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 24px 20px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    min-height: 300px;
}

.esh-megamenu__categories {
    border-right: 1px solid var(--esh-gray-200);
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: space-between;
}

.esh-megamenu__cat-item {
    position: relative;
}

.esh-megamenu__cat-link {
    display: block;
    padding: 9px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--esh-gray-700);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--esh-transition-fast);
}

.esh-megamenu__cat-item:hover .esh-megamenu__cat-link,
.esh-megamenu__cat-item--active .esh-megamenu__cat-link {
    background: var(--esh-black);
    color: var(--esh-yellow);
}

.esh-megamenu__subcats {
    padding: 4px 0 4px 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.esh-megamenu__subcat-link {
    display: block;
    padding: 5px 12px;
    font-size: 0.8rem;
    color: var(--esh-gray-500);
    text-decoration: none;
    border-radius: 6px;
    transition: all var(--esh-transition-fast);
}

.esh-megamenu__subcat-link:hover {
    color: var(--esh-black);
    background: var(--esh-gray-100);
}

.esh-megamenu__view-all {
    display: block;
    margin-top: 16px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--esh-black);
    text-decoration: none;
    text-align: center;
    background: var(--esh-yellow);
    border-radius: 8px;
    transition: all var(--esh-transition-fast);
    flex-shrink: 0;
}

.esh-megamenu__view-all:hover {
    background: var(--esh-yellow-hover);
}

/* Megamenu Products Grid */
.esh-megamenu__products-grid {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-content: start;
    max-height: 540px;
    overflow-y: auto;
}

.esh-megamenu__products-grid--active {
    display: grid;
}

.esh-megamenu__product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    border-radius: 10px;
    border: 1px solid var(--esh-gray-200);
    text-decoration: none;
    transition: all var(--esh-transition-fast);
    background: var(--esh-white);
}

.esh-megamenu__product-card:hover {
    border-color: var(--esh-yellow);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.esh-megamenu__product-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
    background: var(--esh-gray-100);
}

.esh-megamenu__product-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--esh-black);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.esh-megamenu__product-price {
    font-size: 0.75rem;
    color: var(--esh-gray-500);
}

.esh-megamenu__product-price ins {
    text-decoration: none;
    color: var(--esh-yellow-dark);
    font-weight: 700;
}

.esh-megamenu__product-price del {
    opacity: 0.5;
    margin-right: 4px;
}

.esh-megamenu__no-products {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--esh-gray-400);
    font-size: 0.875rem;
    padding: 40px 0;
}

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

.esh-header-spacer {
    height: var(--esh-header-height-mobile);
}

/* ==========================================================================
   OVERLAY
   ========================================================================== */

.esh-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: var(--esh-z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: all var(--esh-transition);
    cursor: pointer;
}

.esh-overlay--visible {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   SIDE MENU
   ========================================================================== */

.esh-sidemenu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--esh-white);
    z-index: var(--esh-z-sidemenu);
    transform: translateX(-100%);
    transition: transform var(--esh-transition);
    display: flex;
    flex-direction: column;
    font-family: var(--esh-font);
    overflow: hidden;
}

.esh-sidemenu--open {
    transform: translateX(0);
}

.esh-sidemenu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--esh-black);
    flex-shrink: 0;
}

.esh-sidemenu__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--esh-white);
    letter-spacing: -0.01em;
}

.esh-sidemenu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: var(--esh-white);
    cursor: pointer;
    transition: all var(--esh-transition-fast);
}

.esh-sidemenu__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.esh-sidemenu__close:active {
    transform: scale(0.9);
}

.esh-sidemenu__nav {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.esh-sidemenu__list {
    list-style: none;
    padding: 8px 0;
}

.esh-sidemenu__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: var(--esh-gray-700);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--esh-transition-fast);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: var(--esh-font);
}

.esh-sidemenu__link:hover {
    background: var(--esh-gray-100);
    color: var(--esh-black);
}

.esh-sidemenu__link svg {
    flex-shrink: 0;
    color: var(--esh-gray-400);
}

.esh-sidemenu__link:hover svg {
    color: var(--esh-yellow-dark);
}

.esh-sidemenu__link--toggle {
    justify-content: space-between;
}

.esh-sidemenu__link-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.esh-sidemenu__chevron {
    transition: transform var(--esh-transition-fast);
    color: var(--esh-gray-400);
    flex-shrink: 0;
}

.esh-sidemenu__link--toggle[aria-expanded="true"] .esh-sidemenu__chevron,
.esh-sidemenu__sublink--toggle[aria-expanded="true"] .esh-sidemenu__chevron {
    transform: rotate(180deg);
    color: var(--esh-yellow-dark);
}

/* Submenu */
.esh-sidemenu__sublist {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--esh-transition);
    background: var(--esh-gray-100);
}

.esh-sidemenu__sublist--open {
    max-height: 600px;
}

.esh-sidemenu__sublink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 12px 54px;
    color: var(--esh-gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--esh-transition-fast);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: var(--esh-font);
}

.esh-sidemenu__sublink:hover {
    color: var(--esh-black);
    background: rgba(0, 0, 0, 0.04);
    padding-left: 58px;
}

.esh-sidemenu__sublist .esh-sidemenu__sublist .esh-sidemenu__sublink {
    padding-left: 68px;
}

.esh-sidemenu__sublist .esh-sidemenu__sublist .esh-sidemenu__sublink:hover {
    padding-left: 72px;
}

/* WhatsApp item */
.esh-sidemenu__item--whatsapp {
    border-top: 1px solid var(--esh-gray-200);
    margin-top: 8px;
    padding-top: 8px;
}

.esh-sidemenu__link--whatsapp {
    color: #25D366;
}

.esh-sidemenu__link--whatsapp:hover {
    background: rgba(37, 211, 102, 0.06);
    color: #128C7E;
}

/* ==========================================================================
   SLIDE CART
   ========================================================================== */

.esh-slidecart {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    max-width: 90vw;
    background: var(--esh-white);
    z-index: var(--esh-z-cart);
    transform: translateX(100%);
    transition: transform var(--esh-transition);
    display: flex;
    flex-direction: column;
    font-family: var(--esh-font);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.esh-slidecart--open {
    transform: translateX(0);
}

.esh-slidecart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--esh-black);
    flex-shrink: 0;
}

.esh-slidecart__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--esh-white);
}

.esh-slidecart__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: var(--esh-white);
    cursor: pointer;
    transition: all var(--esh-transition-fast);
}

.esh-slidecart__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.esh-slidecart__close:active {
    transform: scale(0.9);
}

.esh-slidecart__body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.esh-slidecart__body .woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 24px 20px;
    color: var(--esh-gray-500);
    font-size: 0.95rem;
    margin: auto 0;
}

.esh-slidecart__body .woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
}

.esh-slidecart__body .woocommerce-mini-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--esh-gray-100);
    position: relative;
}

.esh-slidecart__body .woocommerce-mini-cart-item:last-child {
    border-bottom: none;
}

.esh-slidecart__body .woocommerce-mini-cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.esh-slidecart__body .woocommerce-mini-cart-item a:not(.remove) {
    color: var(--esh-black);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    display: block;
}

.esh-slidecart__body .woocommerce-mini-cart-item .quantity {
    font-size: 0.8rem;
    color: var(--esh-gray-500);
    margin-top: 4px;
}

.esh-slidecart__body .woocommerce-mini-cart-item .amount {
    font-weight: 600;
    color: var(--esh-yellow-dark);
}

.esh-slidecart__body .woocommerce-mini-cart-item a.remove {
    position: absolute;
    top: 12px;
    right: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--esh-gray-100);
    border-radius: 6px;
    color: var(--esh-gray-500) !important;
    font-size: 16px;
    text-decoration: none;
    transition: all var(--esh-transition-fast);
    line-height: 1;
}

.esh-slidecart__body .woocommerce-mini-cart-item a.remove:hover {
    background: #fee2e2;
    color: #dc2626 !important;
}

.esh-slidecart__body .woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-top: 8px;
    border-top: 2px solid var(--esh-gray-200);
    font-size: 1rem;
    font-weight: 700;
}

.esh-slidecart__body .woocommerce-mini-cart__total .amount {
    color: var(--esh-yellow-dark);
    font-size: 1.1rem;
}

.esh-slidecart__body .woocommerce-mini-cart__buttons .checkout {
    display: none !important;
}

.esh-slidecart__body .woocommerce-mini-cart__buttons {
    padding: 0 !important;
    margin: 0 !important;
    display: none !important;
}

/* ---- Elementor Mini-Cart Override ---- */
/* Elementor renders mini-cart with its own classes, not WooCommerce defaults */
.esh-slidecart__body .elementor-menu-cart__products {
    display: block !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

.esh-slidecart__body .elementor-menu-cart__product {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    padding-right: 32px;
    border-bottom: 1px solid var(--esh-gray-100);
    position: relative;
}

.esh-slidecart__body .elementor-menu-cart__product:last-child {
    border-bottom: none;
}

.esh-slidecart__body .elementor-menu-cart__product-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.esh-slidecart__body .elementor-menu-cart__product-name a {
    color: var(--esh-black);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.esh-slidecart__body .elementor-menu-cart__product-price {
    font-size: 0.8rem;
    color: var(--esh-gray-500);
    margin-top: 2px;
}

.esh-slidecart__body .elementor-menu-cart__product-price .amount {
    font-weight: 600;
    color: var(--esh-black);
}

.esh-slidecart__body .elementor-menu-cart__product-remove {
    position: absolute;
    top: 12px;
    right: 0;
}

.esh-slidecart__body .elementor-menu-cart__product-remove a {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--esh-gray-100);
    border-radius: 6px;
    color: var(--esh-gray-500) !important;
    font-size: 14px;
    text-decoration: none;
    transition: all var(--esh-transition-fast);
}

.esh-slidecart__body .elementor-menu-cart__product-remove a::before {
    content: '\00d7';
    font-size: 18px;
    line-height: 1;
}

.esh-slidecart__body .elementor-menu-cart__product-remove a:hover {
    background: #fee2e2;
    color: #dc2626 !important;
}

/* Hide duplicate WC remove link */
.esh-slidecart__body .elementor-menu-cart__product-remove a.remove_from_cart_button {
    display: none;
}

.esh-slidecart__body .elementor-menu-cart__subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-top: 8px;
    border-top: 2px solid var(--esh-gray-200);
    font-size: 1rem;
    font-weight: 700;
}

.esh-slidecart__body .elementor-menu-cart__subtotal strong {
    display: inline !important;
    font-size: .9rem;
    font-weight: 700;
    color: var(--esh-gray-600);
}

.esh-slidecart__body .elementor-menu-cart__subtotal .woocommerce-Price-amount,
.esh-slidecart__body .elementor-menu-cart__subtotal .amount {
    display: inline !important;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--esh-black) !important;
}

.esh-slidecart__body .elementor-menu-cart__footer-buttons {
    display: none !important;
}

.esh-slidecart__footer {
    padding: 16px 20px;
    border-top: 1px solid var(--esh-gray-200);
    flex-shrink: 0;
    background: var(--esh-white);
}

.esh-slidecart__btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--esh-yellow);
    color: var(--esh-black);
    text-decoration: none;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all var(--esh-transition-fast);
}

.esh-slidecart__btn:hover {
    background: var(--esh-yellow-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 209, 0, 0.3);
}

/* ==========================================================================
   DESKTOP (>= 1024px)
   ========================================================================== */

@media (min-width: 1024px) {
    .esh-header__menu-toggle {
        display: none;
    }

    .esh-header__search-mobile {
        display: none;
    }

    /* Show inline nav */
    .esh-header__nav-inline {
        display: flex;
        align-items: center;
        margin-left: 24px;
    }

    .esh-nav {
        display: flex;
        align-items: center;
        list-style: none;
        gap: 0;
        height: 60px;
    }

    .esh-nav__item {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .esh-nav__link {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 0 14px;
        height: 100%;
        color: var(--esh-gray-300);
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 500;
        letter-spacing: 0.01em;
        transition: color var(--esh-transition-fast);
        white-space: nowrap;
        border: none;
        background: none;
        cursor: pointer;
        font-family: var(--esh-font);
    }

    .esh-nav__link:hover {
        color: var(--esh-yellow);
    }

    .esh-nav__chevron {
        transition: transform var(--esh-transition-fast);
    }

    .esh-nav__link--dropdown[aria-expanded="true"] {
        color: var(--esh-yellow);
    }

    .esh-nav__link--dropdown[aria-expanded="true"] .esh-nav__chevron {
        transform: rotate(180deg);
    }

    /* Desktop search */
    .esh-header__search-desktop {
        display: flex;
        margin-left: auto;
        margin-right: 8px;
    }

    .esh-header__logo-img {
        height: 36px;
        max-height: 36px;
        max-width: 180px;
    }

    .esh-header-spacer {
        height: var(--esh-header-height-desktop);
    }

    .esh-header__actions {
        gap: 4px;
        margin-left: 0;
    }

    /* Admin bar offset for megamenu */
    .admin-bar .esh-megamenu {
        top: 92px;
    }
}

/* ==========================================================================
   SMALL MOBILE (< 375px)
   ========================================================================== */

@media (max-width: 374px) {
    .esh-header__logo-img {
        height: 26px;
    }

    .esh-header__action-btn {
        width: 36px;
        height: 36px;
    }

    .esh-header__menu-toggle {
        width: 36px;
        height: 36px;
    }

    .esh-sidemenu__sublink {
        padding-left: 44px;
    }
}

/* ==========================================================================
   MEGAMENU + NAV — mobile hidden
   ========================================================================== */

@media (max-width: 1023px) {
    .esh-megamenu {
        display: none;
    }

    .esh-header__nav-inline {
        display: none;
    }
}

/* ==========================================================================
   BODY SCROLL LOCK
   ========================================================================== */

body.esh-body-locked {
    overflow: hidden;
    touch-action: none;
}

/* Admin bar offsets */
.admin-bar .esh-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .esh-header {
        top: 46px;
    }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .esh-sidemenu,
    .esh-slidecart,
    .esh-overlay,
    .esh-search__results,
    .esh-megamenu,
    .esh-megamenu__product-card {
        transition-duration: 0.01ms !important;
    }
}
