/**
 * Expound Premium — Header & Footer
 * Larger search, mega Store menu, sticky animations, Porto resets.
 */

/* ===== PORTO RESETS ===== */
.expound-premium .ec-header .logo,
.expound-premium .ec-header .logo img,
.expound-premium .ec-logo__img {
    display: block !important;
    max-width: 140px !important;
    max-height: 56px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    float: none !important;
    object-fit: contain !important;
    object-position: left center !important;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.expound-premium .ec-header.is-scrolled .logo img,
.expound-premium .ec-header.is-scrolled .ec-logo__img {
    max-height: 50px !important;
    max-width: 128px !important;
}

.expound-premium .ec-header .block-search {
    margin: 0 !important;
    width: 100% !important;
    position: relative !important;
}

.expound-premium .ec-header .block-search .block-content {
    padding: 0 !important;
    margin: 0 !important;
}

.expound-premium .ec-header .form.minisearch {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    margin: 0 !important;
    width: 100% !important;
    background: #f1f5f9 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 999px !important;
    overflow: visible !important;
    min-height: 48px !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

.expound-premium .ec-header .form.minisearch:focus-within {
    background: #fff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 10px 28px rgba(15, 23, 42, 0.08) !important;
}

.expound-premium .ec-header .field.search {
    flex: 1 1 auto !important;
    margin: 0 !important;
    width: 100% !important;
}

.expound-premium .ec-header .field.search .control {
    position: relative !important;
    width: 100% !important;
}

.expound-premium .ec-header .field.search .label,
.expound-premium .ec-header .block-search .nested,
.expound-premium .ec-header .block-search .search-category,
.expound-premium .ec-header .search-category,
.expound-premium .ec-header .block-search .block-title,
.expound-premium .ec-header #mpsearch-category,
.expound-premium .ec-header .mpsearch-category {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
}

.expound-premium .ec-header .block-search input.input-text {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 52px 0 20px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    color: #0f172a !important;
    border-radius: 0 !important;
    line-height: 48px !important;
}

.expound-premium .ec-header .block-search input.input-text::placeholder {
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

.expound-premium .ec-header .block-search .actions {
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 40px !important;
    margin: 0 !important;
    z-index: 2 !important;
}

.expound-premium .ec-header .block-search .action.search {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.expound-premium .ec-header .block-search .action.search:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45) !important;
}

.expound-premium .ec-header .block-search .action.search span {
    display: none !important;
}

.expound-premium .ec-header .block-search .action.search:before {
    font-size: 16px !important;
    line-height: 1 !important;
    color: #fff !important;
    content: '\e884' !important;
    font-family: 'porto-icons' !important;
}

.expound-premium .ec-header .search-autocomplete {
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 10px) !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14) !important;
    z-index: 220 !important;
    overflow: hidden !important;
}

.expound-premium .ec-header .minicart-wrapper {
    margin: 0 !important;
    float: none !important;
    display: block !important;
    position: relative !important;
}

.expound-premium .ec-header .minicart-wrapper .action.showcart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #334155 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    position: relative !important;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
}

.expound-premium .ec-header .minicart-wrapper .action.showcart:hover {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
    color: #2563eb !important;
    transform: translateY(-2px) !important;
}

.expound-premium .ec-header .minicart-wrapper .action.showcart .text,
.expound-premium .ec-header .minicart-wrapper .action.showcart .counter-label,
.expound-premium .ec-header .minicart-wrapper .action.showcart:after,
.expound-premium .ec-header .minicart-wrapper .action.showcart .porto-icon-down-dir,
.expound-premium .ec-header .minicart-wrapper .action.showcart .caret {
    display: none !important;
}

.expound-premium .ec-header .minicart-wrapper .action.showcart .minicart-icon,
.expound-premium .ec-header .minicart-wrapper .action.showcart i.minicart-icon,
.expound-premium .ec-header .minicart-wrapper .action.showcart [class*="porto-icon-cart"] {
    font-size: 0 !important;
    line-height: 0 !important;
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    position: relative !important;
}

.expound-premium .ec-header .minicart-wrapper .action.showcart .minicart-icon::before,
.expound-premium .ec-header .minicart-wrapper .action.showcart i.minicart-icon::before,
.expound-premium .ec-header .minicart-wrapper .action.showcart [class*="porto-icon-cart"]::before {
    content: '' !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    background-color: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.expound-premium .ec-header .minicart-wrapper .counter.qty {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    line-height: 18px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    background: #2563eb !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
}

.expound-premium .ec-header .minicart-wrapper .counter.qty.empty {
    display: none !important;
}

.expound-premium .ec-header .minicart-wrapper .counter-number {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1 !important;
}

.expound-premium .ec-header .mega-cat-list,
.expound-premium .ec-header .sections.nav-sections,
.expound-premium .ec-header .navigation {
    display: none !important;
}

/* ===== HEADER SHELL ===== */
.ec-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
    font-family: var(--ec-font, 'Plus Jakarta Sans', system-ui, sans-serif);
    transition: box-shadow 0.35s ease, background 0.35s ease;
}

.ec-header.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

.ec-header__top {
    background: linear-gradient(90deg, #0b1220 0%, #1e293b 55%, #172554 100%);
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    max-height: 40px;
    transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}

.ec-header.is-scrolled .ec-header__top {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.ec-header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    gap: 16px;
}

.ec-header__contact {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ec-header__contact-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.ec-header__contact-link:hover { color: #fff !important; }

.ec-header__sep { opacity: 0.35; }

.ec-header__top-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ec-header__top-right:empty { display: none; }

.ec-header__trust-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ec-header__main {
    background: transparent;
}

.ec-header__row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    min-height: 84px;
    transition: min-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ec-header.is-scrolled .ec-header__row {
    min-height: 68px;
}

.ec-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.ec-header__logo {
    transition: transform 0.35s ease;
}

.ec-header__logo:hover {
    transform: scale(1.03);
}

.ec-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.ec-header__toggle:hover {
    background: #eef2ff;
    transform: scale(1.04);
}

.ec-header__toggle span {
    display: block;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.ec-nav-open .ec-header__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.ec-nav-open .ec-header__toggle span:nth-child(2) {
    opacity: 0;
}
body.ec-nav-open .ec-header__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== NAV ===== */
.ec-header__nav {
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
}

.ec-nav--primary {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ec-nav--primary > li {
    position: relative;
    flex: 0 0 auto;
}

.ec-nav--primary > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 8px 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155 !important;
    text-decoration: none !important;
    border-radius: 10px;
    white-space: nowrap;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.ec-nav--primary > li > a::after {
    content: '';
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ec-nav--primary > li > a:hover,
.ec-nav--primary > li.ec-nav__dropdown:hover > a {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.06);
    transform: translateY(-1px);
}

.ec-nav--primary > li > a:hover::after,
.ec-nav--primary > li.ec-nav__dropdown:hover > a::after {
    transform: scaleX(1);
}

.ec-nav__link--accent {
    color: #4f46e5 !important;
    background: rgba(79, 70, 229, 0.08) !important;
}

.ec-nav__caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.55;
    transition: transform 0.25s ease;
}

.ec-nav__dropdown {
    position: relative;
}

.ec-nav__dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: min(560px, 72vw);
    height: 18px;
    z-index: 129;
}

.ec-nav__dropdown:hover .ec-nav__caret {
    transform: rotate(180deg);
}

.ec-nav__panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: min(560px, 72vw);
    min-width: 240px;
    padding: 12px 0 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    transition-delay: 0.12s;
    z-index: 130;
    overflow: visible;
}

.ec-nav__dropdown:hover .ec-nav__panel,
.ec-nav__dropdown:focus-within .ec-nav__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.ec-nav__panel--mega {
    width: min(560px, 72vw);
    left: 0;
}

.ec-nav__mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: none;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
}

.ec-nav__mega-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 14px !important;
    border-radius: 14px;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ec-nav__mega-item:hover {
    background: #f8fafc;
    transform: translateX(3px);
}

.ec-nav__mega-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.ec-nav__mega-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ec-nav__mega-text strong {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.ec-nav__mega-text em {
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.ec-nav__mega-footer {
    display: block;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #2563eb !important;
    text-decoration: none !important;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-top: 1px solid #eef2f7;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
    transition: background 0.2s, color 0.2s;
}

.ec-nav__mega-footer:hover {
    background: #eef2ff;
    color: #1d4ed8 !important;
}

/* ===== ACTIONS + SEARCH ===== */
.ec-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 16px;
    position: relative;
    z-index: 5;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff 12px);
}

.ec-header__search {
    display: none !important;
}

.ec-header__search-btn {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.ec-header__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #334155 !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.ec-header__icon:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #2563eb !important;
    transform: translateY(-2px);
}

.ec-header__cart {
    position: relative;
}

.ec-header__cta {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    margin-left: 2px;
    min-height: 42px;
    padding: 0 14px !important;
    font-size: 13px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.ec-header__cta-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
}

.ec-header__cta--quote,
.ec-header__cta--ticket {
    display: inline-flex !important;
}

.ec-header__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.35) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}

.ec-header__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.38);
}

.ec-header__cta:hover::before {
    transform: translateX(120%);
}

/* ===== MOBILE DRAWER ===== */
.ec-header__drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(340px, 88vw);
    height: 100vh;
    background: #fff;
    z-index: 1001;
    transform: translateX(-105%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 8px 0 40px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
}

.ec-header__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc, #fff);
}

.ec-header__drawer-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.ec-header__drawer-close {
    width: 38px;
    height: 38px;
    border: none;
    background: #f1f5f9;
    border-radius: 12px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #334155;
    transition: background 0.2s, transform 0.2s;
}

.ec-header__drawer-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.ec-header__drawer-body {
    padding: 16px 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.ec-nav--mobile {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.ec-nav--mobile > li > a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.2s, padding-left 0.2s;
}

.ec-nav--mobile > li > a:hover {
    color: #2563eb !important;
    padding-left: 6px;
}

.ec-nav__mobile-group {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.ec-nav__mobile-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
}

.ec-nav__mobile-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ec-nav__mobile-group ul a {
    display: block;
    padding: 9px 0;
    font-size: 14px;
    font-weight: 600;
    color: #475569 !important;
    text-decoration: none !important;
}

.ec-header__drawer-actions {
    display: grid;
    gap: 10px;
}

.ec-header__overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(2px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s;
}

body.ec-nav-open { overflow: hidden; }
body.ec-nav-open .ec-header__drawer { transform: translateX(0); }
body.ec-nav-open .ec-header__overlay { opacity: 1; visibility: visible; }

/* ===== FOOTER ===== */
.ec-footer {
    background: #0f172a;
    color: #94a3b8;
    font-family: var(--ec-font, 'Plus Jakarta Sans', system-ui, sans-serif);
    margin-top: auto;
}

.ec-footer__main {
    padding: clamp(48px, 8vw, 72px) 0 40px;
}

.ec-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 32px 24px;
}

.ec-footer__brand img {
    max-height: 56px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    margin-bottom: 16px;
    object-fit: contain !important;
    filter: brightness(0) invert(1);
}

.ec-footer__tagline {
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 20px;
    color: #64748b;
    max-width: 280px;
}

.ec-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ec-footer__social a {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.2s;
}

.ec-footer__social a:hover {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.4);
    color: #fff !important;
}

.ec-footer__col h3 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f1f5f9;
    margin: 0 0 16px;
}

.ec-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ec-footer__col ul li { margin-bottom: 10px; }

.ec-footer__col ul a {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.ec-footer__col ul a:hover { color: #fff !important; }

.ec-footer__newsletter p {
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 16px;
}

.ec-footer__newsletter .form.subscribe {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.ec-footer__newsletter .form.subscribe input {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 14px;
}

.ec-footer__newsletter .form.subscribe button {
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    border: none;
    background: var(--ec-accent, #2563eb);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.ec-footer__contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.8;
}

.ec-footer__contact-list a {
    color: #94a3b8 !important;
    text-decoration: none !important;
}

.ec-footer__contact-list a:hover { color: #fff !important; }

.ec-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.ec-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
}

.ec-footer__bottom p {
    margin: 0;
    color: #64748b;
}

.ec-footer__trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ec-footer__trust span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

.expound-premium .footer { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
    .ec-nav--primary > li > a {
        padding: 8px 6px;
        font-size: 12px;
    }

    .ec-header__trust-pill { display: none; }
}

@media (max-width: 1100px) {
    .ec-header__cta-group { display: none; }

    .ec-header__row {
        gap: 16px;
    }

    .ec-header__nav { display: none; }

    .ec-header__toggle { display: flex; }

    .ec-header__actions {
        gap: 8px;
        margin-left: auto;
    }
}

@media (max-width: 991px) {
    .ec-header__row {
        gap: 12px;
    }

    .ec-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .ec-header__top { display: none; }

    .ec-header__row {
        min-height: 68px;
        gap: 10px;
    }

    .ec-header.is-scrolled .ec-header__row {
        min-height: 60px;
    }

    .ec-header__actions .ec-header__account-label {
        display: none;
    }

    .ec-header__drawer {
        width: min(100%, 360px);
    }

    .ec-footer__grid {
        grid-template-columns: 1fr;
    }

    .ec-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .ec-footer__trust {
        justify-content: center;
    }
}

@media (max-width: 400px) {
    body.expound-premium .ec-header .logo img,
    body.expound-premium .ec-header__logo img,
    body.expound-premium .ec-logo__img {
        max-width: 96px !important;
        max-height: 48px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ec-header,
    .ec-header *,
    .ec-nav--primary > li > a,
    .ec-nav__panel,
    .ec-header__cta::before {
        transition: none !important;
        animation: none !important;
    }
}

/* ===== HARD OVERRIDES (beat Porto custom.css) ===== */
body.expound-premium .ec-header .logo img,
body.expound-premium header.ec-header .logo img,
body.expound-premium .ec-header__logo img,
body.expound-premium .ec-logo__img {
    max-width: 140px !important;
    max-height: 56px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: left center !important;
}

body.expound-premium .ec-header .form.minisearch,
body.expound-premium .ec-header__search .form.minisearch {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    background: #f1f5f9 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

body.expound-premium .ec-header .block-search input.input-text,
body.expound-premium .ec-header__search input#search {
    height: 48px !important;
    min-height: 48px !important;
    line-height: 48px !important;
    padding: 0 52px 0 20px !important;
    font-size: 14px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    position: static !important;
    width: 100% !important;
}

body.expound-premium .ec-header__search {
    display: none !important;
}
