@media (min-width: 851px) {
    .ek-hero-grid {
        grid-template-columns: 235px 1fr;
    }
}

.ek-categories a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 38px;
    padding: 7px 17px;
    color: #242424;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2
}

.ek-categories a:hover {
    color: var(--ek-orange);
    background: #fff8f4
}

.ek-categories i {
    display: inline-grid;
    place-items: center;
    flex: 0 0 19px;
    width: 19px;
    color: #313131;
    font-size: 16px
}

.ek-categories a span {
    flex: 1
}

.ek-categories .ek-category-thumb {
    display: block;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 7px;
    box-shadow: 0 2px 6px rgba(8, 21, 34, .12);
}

.ek-view-all {
    color: var(--ek-orange) !important;
    font-weight: 700;
    margin: 8px 0 2px
}

.ek-view-all b {
    font-size: 23px;
    font-weight: 400;
    line-height: 1
}

.ek-hero {
    min-height: 390px;
    padding: 0;
    position: relative;
    overflow: hidden
}

.ek-hero::after {
    display: none
}

.ek-hero-slider {
    width: 100%;
    height: 390px
}

.ek-hero-slider .swiper-slide {
    position: relative;
    overflow: hidden
}

.ek-hero-slider .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 12, 35, .78), rgba(3, 12, 35, .38) 43%, transparent 72%)
}

.ek-hero-slider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ek-hero-content {
    position: absolute;
    z-index: 3;
    top: 48px;
    left: 42px;
    width: 46%
}

.ek-hero-content h1 {
    color: #fff !important;
    font-size: 45px;
    font-weight: 800;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .5)
}

.ek-hero-content p {
    color: #fff !important;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45)
}

.ek-hero .ek-perks {
    position: absolute;
    z-index: 3;
    left: 42px;
    right: 30px;
    bottom: 24px;
    display: flex;
    gap: 25px;
    color: #fff
}

.ek-hero-slider .swiper-pagination {
    bottom: 13px;
    padding-right: 27px;
    text-align: right
}

.ek-hero-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #fff;
    opacity: .7
}

.ek-hero-slider .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 7px;
    background: #ff671d;
    opacity: 1
}

.ek-hero-slider .swiper-button-next,
.ek-hero-slider .swiper-button-prev {
    width: 38px;
    height: 38px;
    color: #071a37;
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
    opacity: 0
}

.ek-hero:hover .swiper-button-next,
.ek-hero:hover .swiper-button-prev {
    opacity: 1
}

.ek-footer {
    background: #081522;
    color: #fff;
    font-family: Arial, sans-serif
}

.ek-footer .ek-shell {
    width: min(1520px, calc(100% - 60px));
    margin: auto
}

.ek-footer-top {
    display: grid;
    grid-template-columns: 1.55fr 1.15fr 1.15fr 1.15fr 1.25fr 1.1fr;
    gap: 32px;
    padding: 30px 0 25px
}

.ek-footer-logo {
    font: 800 35px Arial;
    color: #fff;
    text-decoration: none;
    letter-spacing: -2px
}

.ek-footer-logo b {
    color: #ff671d
}

.ek-footer-tag {
    font-size: 13px;
    margin: 0 0 20px
}

.ek-footer-desc {
    color: #fff;
    font-size: 13px;
    line-height: 1.65;
    max-width: 260px
}

.ek-footer h4 {
    font-size: 13px;
    margin: 4px 0 17px;
    color: #fff
}

.ek-footer a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 2
}

.ek-footer a:hover {
    color: #ff671d
}

.ek-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px
}

.ek-footer-social a {
    font-size: 23px
}

.ek-payment {
    display: grid;
    grid-template-columns: repeat(3, 63px);
    gap: 8px
}

.ek-payment span {
    display: grid;
    place-items: center;
    height: 38px;
    background: #fff;
    border-radius: 3px;
    color: #163e7b;
    font-size: 12px;
    font-weight: 800
}

.ek-trust p {
    font-size: 13px;
    line-height: 2.1;
    margin: 0
}

.ek-trust i {
    margin-right: 10px;
    color: #c8d2da
}

.ek-footer-bottom {
    border-top: 1px solid #233342;
    display: flex;
    justify-content: space-between;
    padding: 13px 0 16px;
    color: #fff;
    font-size: 12px
}

.ek-footer-bottom a {
    display: inline;
    color: #fff;
    margin-left: 18px;
    font-size: 12px
}

@media(max-width:900px) {
    .ek-footer-top {
        grid-template-columns: repeat(3, 1fr)
    }

    .ek-footer-bottom {
        display: block
    }

    .ek-footer-bottom nav {
        margin-top: 10px
    }
}

@media(max-width:560px) {
    .ek-footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px
    }

    .ek-footer .ek-shell {
        width: min(100% - 30px, 1520px)
    }
}

.ek-promo-strip { margin-top: 28px; }
.ek-promo-strip .ek-offer { position: relative; min-height: 154px; overflow: hidden; color: #fff; background-size: cover; background-position: center; border: 0; box-shadow: 0 4px 14px rgba(8, 21, 34, .12); }
.ek-promo-strip .ek-offer::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 18, 31, .82), rgba(3, 18, 31, .28)); }
.ek-promo-strip .ek-offer > * { position: relative; z-index: 1; }
.ek-promo-strip .ek-offer strong { font-size: 21px; line-height: 1.05; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.ek-promo-strip .ek-offer p { text-shadow: 0 1px 5px rgba(0, 0, 0, .35); }
.ek-promo-strip .ek-offer a { display: inline-block; background: var(--ek-orange); color: #fff; }
.ek-promo-strip .ek-offer-grocery { background-image: url('../images/ekcart/promos/grocery-promo.png'); }
.ek-promo-strip .ek-offer-fashion { background-image: url('../images/ekcart/promos/fashion-promo.png'); }
.ek-promo-strip .ek-offer-electronics { background-image: url('../images/ekcart/promos/electronics-promo.png'); }

.ek-quick {
    display: block;
    color: #172033;
    text-decoration: none;
}

.ek-quick .ek-category-image-wrap {
    width: 100%;
    height: 88px;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 12px;
    background: #eef3f5;
    box-shadow: 0 4px 12px rgba(8, 21, 34, .1);
}

.ek-quick .ek-category-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.ek-quick:hover .ek-category-image-wrap img {
    transform: scale(1.06);
}

.ek-quick > span {
    display: block;
    color: #172033;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

@media (max-width: 560px) {
    .ek-quick .ek-category-image-wrap { height: 72px; }
    .ek-quick > span { font-size: 11px; }
}

/* Account menu and customer authentication */
.ek-account-menu {
    position: relative;
    flex: 0 0 auto;
}

.ek-account-menu > summary {
    list-style: none;
    cursor: pointer;
}

.ek-account-menu > summary::-webkit-details-marker { display: none; }
.ek-account-menu[open] > summary { color: var(--ek-orange); }
.ek-account-copy { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; }
.ek-account-copy small { font-size: 11px; color: #4d5968; max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.ek-account-copy b { font-size: 14px; color: #172033; }
.ek-account-chevron { font-size: 10px !important; color: #7c8795; }
.ek-account-dropdown {
    position: absolute;
    z-index: 100;
    top: calc(100% + 16px);
    right: -18px;
    width: 250px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e9ee;
    border-radius: 10px;
    box-shadow: 0 14px 35px rgba(7, 23, 46, .16);
}
.ek-account-dropdown::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 38px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #e5e9ee;
    border-top: 1px solid #e5e9ee;
    transform: rotate(45deg);
}
.ek-account-dropdown-title { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid #edf0f3; color: #526071; font-size: 12px; line-height: 1.4; }
.ek-account-dropdown a, .ek-account-dropdown button { display: block; width: 100%; padding: 9px 10px; border: 0; border-radius: 5px; background: transparent; color: #172033; text-align: left; text-decoration: none; font: 600 13px Arial; cursor: pointer; }
.ek-account-dropdown a:hover, .ek-account-dropdown button:hover { background: #fff5ef; color: var(--ek-orange); }
.ek-account-dropdown form { margin: 3px 0 0; border-top: 1px solid #edf0f3; padding-top: 5px; }
.ek-account-dropdown .ek-dropdown-primary { background: var(--ek-orange); color: #fff; text-align: center; margin-bottom: 12px; }
.ek-account-dropdown .ek-dropdown-primary:hover { background: #e95710; color: #fff; }
.ek-dropdown-note { display: block; color: #7b8490; font-size: 11px; text-align: center; }
.ek-account-dropdown .ek-dropdown-note a { display: inline; padding: 0; color: var(--ek-orange); font-size: inherit; }

.ek-auth-main { min-height: 640px; padding: 58px 0 78px; background: linear-gradient(135deg, #f5f8fb 0%, #fff 54%, #fff7f2 100%); font-family: Arial, sans-serif; color: var(--ek-ink); }
.ek-auth-layout { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(420px, 500px); align-items: center; justify-content: center; gap: clamp(40px, 8vw, 125px); max-width: 1000px; margin: 0 auto; }
.ek-auth-intro { padding: 25px 0; }
.ek-auth-intro h1 { max-width: 470px; margin: 12px 0 18px; color: #0b1d38; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.8px; }
.ek-auth-intro > p:not(.ek-kicker) { max-width: 420px; color: #667384; font-size: 16px; line-height: 1.7; }
.ek-auth-benefits { display: grid; gap: 14px; margin-top: 30px; color: #334155; font-size: 13px; font-weight: 700; }
.ek-auth-benefits i { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-right: 8px; border-radius: 50%; background: #fff0e8; color: var(--ek-orange); }
.ek-auth-stat { display: grid; gap: 7px; max-width: 300px; margin-top: 35px; padding: 18px 20px; border-left: 3px solid var(--ek-orange); background: #fff; box-shadow: 0 10px 25px rgba(7, 23, 46, .07); }
.ek-auth-stat strong { color: #0b1d38; font-size: 17px; }
.ek-auth-stat span { color: #738092; font-size: 13px; line-height: 1.5; }
.ek-auth-card { padding: 34px 36px 27px; border: 1px solid #e8edf2; border-radius: 14px; background: #fff; box-shadow: 0 18px 45px rgba(7, 23, 46, .1); }
.ek-auth-card-head h2 { margin: 8px 0 8px; color: #0b1d38; font-size: 28px; }
.ek-auth-card-head > p:last-child { margin: 0 0 24px; color: #7a8694; font-size: 13px; }
.ek-auth-form { display: grid; gap: 8px; }
.ek-auth-form > label, .ek-auth-form-row label { margin-top: 8px; color: #354256; font-size: 12px; font-weight: 700; }
.ek-auth-form label span { color: #9aa3ae; font-weight: 400; }
.ek-auth-form input { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid #d9e1e9; border-radius: 6px; outline: none; background: #fff; color: #172033; font: 14px Arial; transition: border-color .2s, box-shadow .2s; }
.ek-auth-form input:focus { border-color: var(--ek-orange); box-shadow: 0 0 0 3px rgba(255, 103, 29, .12); }
.ek-password-field { position: relative; }
.ek-password-field input { padding-right: 43px; }
.ek-password-field button { position: absolute; top: 0; right: 0; width: 43px; height: 44px; border: 0; background: transparent; color: #8a95a2; cursor: pointer; }
.ek-password-field button:hover { color: var(--ek-orange); }
.ek-auth-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ek-auth-options { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 8px; }
.ek-auth-options > a, .ek-auth-switch a { color: var(--ek-orange); font-weight: 700; text-decoration: none; }
.ek-checkbox { display: flex !important; align-items: center; gap: 7px; margin: 0 !important; color: #687587 !important; font-size: 11px !important; font-weight: 400 !important; }
.ek-checkbox input { width: 15px !important; min-height: 15px !important; accent-color: var(--ek-orange); }
.ek-terms { margin: 13px 0 !important; line-height: 1.4; }
.ek-auth-submit { width: 100%; margin-top: 10px; border: 0; border-radius: 6px; cursor: pointer; text-align: center; }
.ek-auth-submit i { margin-left: 7px; font-size: 11px; }
.ek-auth-submit:hover { background: #e95710; color: #fff; }
.ek-auth-switch { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #edf0f3; color: #7a8694; font-size: 12px; text-align: center; }
.ek-auth-card .admin-alert { margin: 0 0 16px; padding: 10px 12px; border-radius: 5px; font-size: 12px; }
.ek-auth-card .admin-alert ul { margin: 0; padding-left: 17px; }

@media (max-width: 850px) {
    .ek-account-menu { display: block; }
    .ek-account-menu > summary.ek-account { display: flex; }
    .ek-auth-layout { grid-template-columns: 1fr; max-width: 520px; gap: 18px; }
    .ek-auth-intro { padding: 0; text-align: center; }
    .ek-auth-intro h1, .ek-auth-intro > p:not(.ek-kicker) { margin-left: auto; margin-right: auto; }
    .ek-auth-benefits { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }
    .ek-auth-stat { margin: 20px auto 0; text-align: left; }
}
@media (max-width: 560px) {
    .ek-auth-main { padding: 35px 0 55px; }
    .ek-auth-card { padding: 25px 20px 22px; }
    .ek-auth-form-row { grid-template-columns: 1fr; gap: 0; }
    .ek-account-copy { display: none; }
    .ek-account-chevron { display: none; }
    .ek-account-dropdown { right: -70px; }
    .ek-account-dropdown::before { right: 77px; }
}

.ek-account-subtitle { margin: -12px 0 0; color: #768292; font-size: 13px; }
.ek-account-head .ek-secondary { border-color: #dbe2e9; color: #334155; font-weight: 700; }
.ek-account-head .ek-secondary i { margin-right: 5px; color: var(--ek-orange); }
.ek-account-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.ek-account-summary > div { display: grid; gap: 7px; padding: 17px 19px; border: 1px solid #e8edf2; border-radius: 8px; background: #fff; }
.ek-account-summary span { color: #7b8795; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.ek-account-summary strong { color: #12243d; font-size: 22px; }
.ek-account-summary .ek-account-active { color: #18804a; font-size: 15px; }
.ek-card-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 11px; }
.ek-card-heading h2 { margin: 3px 0 0; }
.ek-card-heading > a { color: var(--ek-orange); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ek-card-heading > a i { margin-left: 4px; }
.ek-order-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 0; border-top: 1px solid #edf0f3; color: #26364b; text-decoration: none; }
.ek-order-row > span { display: grid; gap: 5px; }
.ek-order-row small { color: #8a95a2; font-size: 11px; }
.ek-order-meta { align-items: end; }
.ek-order-meta small { color: #19834a; }
.ek-order-meta i { margin-left: 5px; color: #a3acb6; }
.ek-account-empty { padding: 28px 0 18px; text-align: center; color: #8b96a3; }
.ek-account-empty i { color: #c6ced6; font-size: 27px; }
.ek-account-empty p { margin: 8px 0; font-size: 13px; }
.ek-account-empty a { color: var(--ek-orange); font-size: 12px; font-weight: 700; text-decoration: none; }
.ek-muted { color: #85909d; font-size: 13px; }
.ek-address-row { margin-bottom: 13px; padding: 13px 14px; border: 1px solid #edf0f3; border-radius: 6px; background: #fafbfc; }
.ek-address-row strong { color: #26364b; font-size: 13px; }
.ek-address-row p { display: block; margin: 5px 0; padding: 0; border: 0; color: #6e7a88; font-size: 12px; line-height: 1.5; }
.ek-address-row small { color: #8b96a3; font-size: 11px; }
.ek-address-row small b { margin-left: 6px; color: #19834a; }
.ek-address-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid #edf0f3; }
.ek-address-form .ek-btn { margin-top: 4px; }
@media (max-width: 700px) {
    .ek-account-summary { grid-template-columns: 1fr 1fr; }
    .ek-account-summary > div:last-child { grid-column: 1 / -1; }
    .ek-account-head { flex-direction: column; align-items: stretch; gap: 15px; }
    .ek-account-head h1 { font-size: 25px; }
}

/* Mobile hero: keep the artwork and its baked-in offer copy clear and readable. */
@media (max-width: 767px) {
    .ek-hero,
    .ek-hero-slider { min-height: 0; height: clamp(336px, 105vw, 430px); }

    .ek-hero-slider .swiper-slide::after {
        background: linear-gradient(180deg, transparent 42%, rgba(3, 12, 35, .18) 63%, rgba(3, 12, 35, .78) 100%);
    }

    .ek-hero-content {
        top: auto;
        right: 18px;
        bottom: 34px;
        left: 18px;
        width: auto;
    }

    .ek-hero-content h1,
    .ek-hero h1 {
        max-width: 260px;
        margin: 0 0 8px;
        font-size: clamp(24px, 7vw, 31px);
        line-height: 1.08;
    }

    .ek-hero-content p,
    .ek-hero p {
        max-width: 250px;
        font-size: 13px;
        line-height: 1.35;
    }

    .ek-hero .ek-btn {
        margin-top: 13px;
        padding: 11px 17px;
        border-radius: 7px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, .24);
    }

    .ek-hero .ek-perks { display: none; }
    .ek-hero-slider .swiper-pagination { bottom: 12px; padding-right: 18px; }

    /* The mobile banner contains its own headline and details, so don't layer them twice. */
    .ek-hero-slide--mobile-art .ek-hero-content h1,
    .ek-hero-slide--mobile-art .ek-hero-content p { display: none; }

    .ek-hero-slide--mobile-art .ek-hero-content { bottom: 33px; }
    .ek-hero-slide--mobile-art .ek-btn { margin-top: 0; }
}

/* Shop filters: desktop sidebar, mobile bottom-sheet drawer. */
.ek-mobile-catalog-tools,
.ek-filter-mobile-head { display: none; }

@media (max-width: 767px) {
    .ek-shop-head { margin-bottom: 14px; }
    .ek-shop-head .ek-sort {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    .ek-mobile-catalog-tools {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 0 0 16px;
        border: 1px solid #e1e7ec;
        border-radius: 9px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 2px 8px rgba(13, 33, 56, .05);
    }
    .ek-mobile-catalog-tools button,
    .ek-mobile-sort {
        min-height: 46px;
        border: 0;
        background: #fff;
        color: #1b2938;
        font-weight: 700;
        font-size: 13px;
    }
    .ek-mobile-sort {
        display: flex;
        align-items: center;
        min-width: 0;
        border-left: 1px solid #e1e7ec;
    }
    .ek-mobile-sort label { margin-left: 16px; color: var(--ek-orange); }
    .ek-mobile-sort select {
        width: 100%;
        min-width: 0;
        height: 44px;
        padding: 0 25px 0 7px;
        border: 0;
        background: transparent;
        color: #1b2938;
        font-weight: 700;
        font-size: 13px;
    }
    .ek-mobile-catalog-tools i { margin-right: 7px; color: var(--ek-orange); }

    .ek-shop-layout { display: block; }
    .ek-filter {
        position: fixed;
        z-index: 100;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        width: 100%;
        max-height: min(78vh, 650px);
        margin: 0;
        padding: 0 18px calc(18px + env(safe-area-inset-bottom));
        overflow-y: auto;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -14px 35px rgba(7, 22, 42, .22);
        transform: translateY(105%);
        transition: transform .25s ease;
    }
    .ek-filter.is-open { transform: translateY(0); }
    .ek-filter-mobile-head {
        position: sticky;
        top: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 -18px 14px;
        padding: 16px 18px 12px;
        background: #fff;
        border-bottom: 1px solid #edf0f3;
    }
    .ek-filter-mobile-head h3 { margin: 0; font-size: 18px; }
    .ek-filter-close {
        display: grid;
        width: 36px;
        height: 36px;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: #f2f5f7;
        color: #263342;
        font-size: 16px;
    }
    .ek-filter form { padding-bottom: 4px; }
    .ek-filter h4 { margin-top: 18px; }
    .ek-filter .ek-btn { min-height: 44px; }
    body.ek-filter-drawer-open { overflow: hidden; }
    body.ek-filter-drawer-open::after {
        content: '';
        position: fixed;
        z-index: 90;
        inset: 0;
        background: rgba(7, 20, 35, .45);
    }
}

/* Footer polish */
.ek-footer {
    margin-top: 0;
    background: linear-gradient(135deg, #071321, #0b2033);
}
.ek-footer-top {
    padding: 42px 0 34px;
    gap: 28px;
}
.ek-footer h4 {
    position: relative;
    margin: 4px 0 16px;
    padding-bottom: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}
.ek-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--ek-orange);
}
.ek-footer-brand .ek-footer-tag { color: #ffb38c; font-weight: 700; }
.ek-footer-desc { color: #b9c5d0; }
.ek-footer-links a {
    width: max-content;
    max-width: 100%;
    color: #c5d0d9;
    line-height: 2.05;
    transition: color .18s ease, transform .18s ease;
}
.ek-footer-pending {
    display: block;
    color: #7f91a0;
    font-size: 13px;
    line-height: 2.05;
    cursor: default;
}
.ek-footer-bottom .ek-footer-pending {
    display: inline;
    margin-left: 18px;
    font-size: 12px;
}
.ek-footer-links a:hover { transform: translateX(3px); }
.ek-footer-social { gap: 9px; }
.ek-footer-social a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #365065;
    border-radius: 50%;
    color: #d8e2ea;
    font-size: 14px;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.ek-footer-social a:hover { border-color: var(--ek-orange); background: var(--ek-orange); color: #fff; }
.ek-payment { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 205px; }
.ek-payment span {
    height: 34px;
    border: 1px solid #d8e0e6;
    border-radius: 5px;
    font-size: 10px;
}
.ek-trust { padding-left: 4px; }
.ek-trust p { color: #c7d1d9; line-height: 1.9; }
.ek-trust .ek-ssl { margin-top: 15px; color: #9de6a8; font-weight: 800; }
.ek-trust-note { color: #fff !important; font-weight: 700; }
.ek-footer-bottom {
    align-items: center;
    padding: 17px 0 20px;
    color: #aab9c5;
}
.ek-footer-bottom a { color: #c5d0d9; transition: color .18s ease; }

@media (max-width: 767px) {
    .ek-footer .ek-shell { width: min(100% - 28px, 1520px); }
    .ek-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 28px 18px;
        padding: 32px 0 25px;
    }
    .ek-footer-top > .ek-footer-brand { grid-column: 1 / -1; }
    .ek-footer-logo { font-size: 32px; }
    .ek-footer-desc { max-width: 320px; margin-bottom: 15px; }
    .ek-footer h4 { margin-bottom: 11px; font-size: 11px; }
    .ek-footer-links a { font-size: 12px; line-height: 2; }
    .ek-footer-pending { font-size: 12px; line-height: 2; }
    .ek-footer-payments, .ek-trust { grid-column: span 1; }
    .ek-payment { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 6px; }
    .ek-payment span { height: 31px; font-size: 9px; }
    .ek-trust { padding-left: 0; }
    .ek-trust p { font-size: 12px; line-height: 1.75; }
    .ek-footer-bottom { padding: 16px 0 82px; text-align: left; }
    .ek-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: 9px; }
    .ek-footer-bottom a { margin-left: 0; font-size: 11px; }
    .ek-footer-bottom .ek-footer-pending { margin-left: 0; font-size: 11px; }
}

/* ==========================================================================
   EKCART Smart Checkout & Address Assistant Styles
   ========================================================================== */

.ek-checkout-section {
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.03);
}

.ek-checkout-section:last-child {
    margin-bottom: 0;
}

.ek-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f4f8;
}

.ek-section-badge {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: var(--ek-orange, #ff671d);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ek-section-header h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.ek-section-subtitle {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

/* Saved Addresses Grid */
.ek-saved-addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.ek-saved-address-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.ek-saved-address-card:hover {
    border-color: #cbd5e1;
    background: #fcfcfc;
}

.ek-saved-address-card.is-active {
    border-color: var(--ek-orange, #ff671d);
    background: #fff9f5;
    box-shadow: 0 0 0 2px rgba(255, 103, 29, 0.12);
}

.ek-saved-address-card .ek-card-radio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ek-saved-address-card .ek-card-radio input[type="radio"] {
    accent-color: var(--ek-orange, #ff671d);
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.ek-saved-address-card strong {
    font-size: 14px;
    color: #1e293b;
    font-weight: 700;
}

.ek-saved-address-card p {
    font-size: 12.5px;
    color: #475569;
    margin: 4px 0 8px;
    line-height: 1.45;
}

.ek-saved-address-card .ek-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px dashed #e2e8f0;
}

.ek-default-badge {
    background: #dcfce7;
    color: #15803d;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ek-new-address-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-bottom: 20px;
}

.ek-new-address-toggle:hover {
    border-color: var(--ek-orange, #ff671d);
    color: var(--ek-orange, #ff671d);
    background: #fff9f5;
}

/* Form Fields & Pincode First Layout */
.ek-phone-group {
    display: flex;
    align-items: center;
    position: relative;
}

.ek-phone-prefix {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1px solid #d9e0e7;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-weight: 700;
    font-size: 13px;
    color: #475569;
    height: 42px;
    margin-top: 6px;
}

.ek-phone-group input {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.ek-pincode-status-wrap {
    margin-top: 6px;
    min-height: 24px;
}

.ek-pincode-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    animation: ekFadeIn 0.25s ease;
}

.ek-pincode-badge.loading {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
}

.ek-pincode-badge.success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.ek-pincode-badge.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.ek-pincode-badge.warning {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

/* Locality Assistance Chips */
.ek-locality-assistant {
    grid-column: 1 / -1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
    margin: 4px 0 8px;
    animation: ekFadeIn 0.25s ease;
}

.ek-locality-header {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
}

.ek-locality-header i {
    color: var(--ek-orange, #ff671d);
}

.ek-locality-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ek-locality-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
}

.ek-locality-chip:hover {
    border-color: var(--ek-orange, #ff671d);
    color: var(--ek-orange, #ff671d);
    background: #fffaf7;
    transform: translateY(-1px);
}

.ek-locality-chip.is-active {
    background: var(--ek-orange, #ff671d);
    color: #ffffff;
    border-color: var(--ek-orange, #ff671d);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(255, 103, 29, 0.25);
}

/* Animations & Highlight Effects */
@keyframes ekFadeIn {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

.ek-field-autofilled {
    animation: ekHighlightPulse 0.9s ease;
}

@keyframes ekHighlightPulse {
    0% { background-color: #fff8f2; border-color: var(--ek-orange, #ff671d); }
    100% { background-color: #ffffff; }
}

.ek-field-highlight {
    border-color: var(--ek-orange, #ff671d) !important;
    background-color: #fff9f5 !important;
}

/* Payment Selector Cards */
.ek-payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 12px 0 20px;
}

.ek-payment-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ek-payment-card:hover {
    border-color: #cbd5e1;
}

.ek-payment-card input[type="radio"] {
    accent-color: var(--ek-orange, #ff671d);
    margin-top: 3px;
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.ek-payment-card strong {
    display: block;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 2px;
}

.ek-payment-card span {
    font-size: 12px;
    color: #64748b;
}

.ek-trust-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-top: 16px;
    font-size: 12px;
    color: #475569;
}

.ek-trust-banner i {
    font-size: 16px;
    color: #16a34a;
}

@media (max-width: 768px) {
    .ek-saved-addresses-grid {
        grid-template-columns: 1fr;
    }
    .ek-payment-options {
        grid-template-columns: 1fr;
    }
    .ek-checkout-section {
        padding: 16px;
    }
}

/* ==========================================================================
   EKCART Modern Cart UI & Quantity Stepper Styles
   ========================================================================== */

.ek-cart-page {
    padding: 30px 0 60px;
}

.ek-cart-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.ek-cart-header h1 {
    margin: 0;
    font-size: 28px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ek-cart-count-pill {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 12px;
    border-radius: 20px;
}

.ek-continue-shopping-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: color 0.18s ease;
}

.ek-continue-shopping-link:hover {
    color: var(--ek-orange, #ff671d);
}

.ek-cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

/* Cart Items Wrapper */
.ek-cart-items-wrapper {
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.03);
    overflow: hidden;
}

.ek-cart-table-header {
    display: grid;
    grid-template-columns: 80px 1.8fr 1fr 1.3fr 1fr 44px;
    gap: 16px;
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ek-cart-items-list {
    display: flex;
    flex-direction: column;
}

.ek-cart-card {
    display: grid;
    grid-template-columns: 80px 1.8fr 1fr 1.3fr 1fr 44px;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.ek-cart-card:last-child {
    border-bottom: none;
}

.ek-cart-card:hover {
    background: #fcfcfd;
}

/* Product Thumbnail */
.ek-cart-thumb-wrap {
    width: 80px;
    height: 80px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.ek-cart-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.ek-cart-thumb-wrap:hover .ek-cart-thumb {
    transform: scale(1.05);
}

/* Product Info */
.ek-cart-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ek-cart-title {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.35;
    font-weight: 600;
}

.ek-cart-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.18s ease;
}

.ek-cart-title a:hover {
    color: var(--ek-orange, #ff671d);
}

.ek-cart-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.ek-variant-badge {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ek-stock-tag {
    font-size: 11.5px;
    font-weight: 600;
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ek-mobile-price-row {
    display: none;
}

/* Price Columns */
.ek-cart-price-col {
    font-size: 14.5px;
    font-weight: 600;
    color: #475569;
}

.ek-cart-total-col {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
}

/* Interactive Quantity Stepper */
.ek-qty-form {
    display: inline-flex;
    margin: 0;
}

.ek-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #d9e0e7;
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ek-qty-stepper:hover {
    border-color: #94a3b8;
}

.ek-qty-stepper.is-updating {
    opacity: 0.6;
    pointer-events: none;
}

.ek-stepper-btn {
    width: 32px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    background: #f8fafc;
    border: none;
    color: #334155;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    padding: 0;
}

.ek-stepper-btn:hover:not(:disabled) {
    background: var(--ek-orange, #ff671d);
    color: #ffffff;
}

.ek-stepper-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #f1f5f9;
    color: #94a3b8;
}

.ek-stepper-input {
    width: 44px;
    height: 34px;
    border: none;
    border-left: 1px solid #eef2f6;
    border-right: 1px solid #eef2f6;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    background: #ffffff;
    margin: 0;
    padding: 0;
    -moz-appearance: textfield;
}

.ek-stepper-input::-webkit-outer-spin-button,
.ek-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove Button */
.ek-cart-remove-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #fee2e2;
    background: #fff5f5;
    color: #ef4444;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.18s ease;
    padding: 0;
}

.ek-cart-remove-btn:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: scale(1.08);
}

/* Cart Actions Bar */
.ek-cart-actions-bar {
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ek-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
}

.ek-btn-outline:hover {
    border-color: var(--ek-orange, #ff671d);
    color: var(--ek-orange, #ff671d);
    background: #fff9f5;
}

.ek-cart-security-badge {
    font-size: 12.5px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ek-cart-security-badge i {
    color: #16a34a;
}

/* Cart Summary Sidebar */
.ek-cart-summary-card {
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.03);
}

.ek-cart-summary-card h2 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f4f8;
}

.ek-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13.5px;
    color: #475569;
}

.ek-summary-row strong {
    color: #1e293b;
    font-size: 14.5px;
}

.ek-shipping-hint {
    font-size: 12.5px;
    color: #64748b;
    font-style: italic;
}

.ek-summary-divider {
    border: 0;
    border-top: 1px solid #f1f4f8;
    margin: 16px 0;
}

.ek-grand-total-row {
    margin-bottom: 20px;
}

.ek-grand-total-row span {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
}

.ek-grand-price {
    font-size: 22px;
    color: var(--ek-orange, #ff671d);
    font-weight: 800;
}

.ek-checkout-btn {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 103, 29, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ek-checkout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 103, 29, 0.45);
}

.ek-cart-perks {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f1f4f8;
    display: grid;
    gap: 12px;
}

.ek-perk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
}

.ek-perk-item i {
    font-size: 15px;
    color: var(--ek-orange, #ff671d);
    width: 20px;
    text-align: center;
}

.ek-perk-item strong {
    display: block;
    color: #334155;
    font-size: 12.5px;
}

/* Empty Cart View */
.ek-empty-cart-card {
    text-align: center;
    padding: 60px 24px;
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 10px;
    max-width: 540px;
    margin: 30px auto;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.03);
}

.ek-empty-cart-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #fff5eb;
    color: var(--ek-orange, #ff671d);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 34px;
}

.ek-empty-cart-card h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #1e293b;
}

.ek-empty-cart-card p {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.ek-start-shopping-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 103, 29, 0.35);
}

/* Mobile Responsive Cart */
@media (max-width: 860px) {
    .ek-cart-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ek-cart-table-header {
        display: none;
    }
    .ek-cart-card {
        grid-template-columns: 75px 1fr auto;
        gap: 12px;
        padding: 16px 14px;
        position: relative;
    }
    .ek-cart-price-col {
        display: none;
    }
    .ek-cart-total-col {
        display: none;
    }
    .ek-mobile-price-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 6px;
    }
    .ek-cart-qty-col {
        grid-column: 2;
        margin-top: 6px;
    }
    .ek-cart-remove-col {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
    }
    .ek-cart-actions-bar {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        text-align: center;
    }
    .ek-btn-outline {
        justify-content: center;
    }
    .ek-cart-security-badge {
        justify-content: center;
    }
}

/* ==========================================================================
   EKCART Customer Order Detail & Account Order Management Styles
   ========================================================================== */

.ek-customer-order-page {
    padding: 30px 0 60px;
}

.ek-order-header-card {
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.03);
}

.ek-order-badge-row {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

.ek-order-header-left h1 {
    margin: 0;
    font-size: 24px;
    color: #0f172a;
}

.ek-order-placed-text {
    margin: 4px 0 0;
    font-size: 13px;
    color: #64748b;
}

.ek-order-header-actions {
    display: flex;
    gap: 10px;
}

.ek-btn-invoice {
    background: var(--ek-orange, #ff671d);
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ek-customer-order-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.ek-customer-order-main,
.ek-customer-order-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ek-customer-card {
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.03);
}

.ek-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f4f8;
}

.ek-card-title-row h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Customer Progress Timeline */
.ek-customer-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 16px 0 20px;
    position: relative;
}

.ek-timeline-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.ek-timeline-col::before {
    content: '';
    position: absolute;
    top: 16px;
    left: -50%;
    width: 100%;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.ek-timeline-col:first-child::before {
    display: none;
}

.ek-timeline-col.is-completed::before {
    background: #16a34a;
}

.ek-timeline-col.is-current::before {
    background: var(--ek-orange, #ff671d);
}

.ek-timeline-col .ek-timeline-node {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    color: #94a3b8;
    display: grid;
    place-items: center;
    font-size: 12px;
    z-index: 2;
    position: relative;
    transition: all 0.2s ease;
}

.ek-timeline-col.is-completed .ek-timeline-node {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

.ek-timeline-col.is-current .ek-timeline-node {
    background: var(--ek-orange, #ff671d);
    border-color: var(--ek-orange, #ff671d);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 103, 29, 0.2);
}

.ek-timeline-label {
    margin-top: 8px;
}

.ek-timeline-label strong {
    display: block;
    font-size: 12px;
    color: #334155;
}

.ek-timeline-label small {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.ek-active-tag {
    color: var(--ek-orange, #ff671d) !important;
    font-weight: 700;
}

.ek-order-cancelled-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #b91c1c;
}

.ek-order-cancelled-box i {
    font-size: 24px;
}

/* Customer Tracking Log */
.ek-customer-tracking-log {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.ek-tracking-log-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.ek-tracking-log-row:last-child {
    margin-bottom: 0;
}

.ek-log-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ek-orange, #ff671d);
    margin-top: 5px;
    flex-shrink: 0;
}

/* Customer Item Rows */
.ek-customer-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ek-customer-item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.ek-customer-item-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.ek-customer-item-thumb {
    width: 70px;
    height: 70px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    object-fit: contain;
    background: #f8fafc;
    flex-shrink: 0;
}

.ek-customer-item-details {
    flex: 1;
    min-width: 0;
}

.ek-customer-item-title {
    margin: 0 0 4px;
    font-size: 14.5px;
    font-weight: 600;
}

.ek-customer-item-title a {
    color: #0f172a;
    text-decoration: none;
}

.ek-customer-item-title a:hover {
    color: var(--ek-orange, #ff671d);
}

.ek-customer-item-pricing {
    display: flex;
    gap: 14px;
    font-size: 12.5px;
    color: #475569;
    margin-top: 6px;
}

.ek-customer-item-total {
    text-align: right;
    flex-shrink: 0;
}

.ek-customer-item-total small {
    display: block;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
}

.ek-customer-item-total strong {
    font-size: 15px;
    color: #0f172a;
}

/* Customer Address & Payment in Sidebar */
.ek-customer-address-box p {
    margin: 6px 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.5;
}

.ek-customer-address-box small {
    color: #475569;
    font-size: 12.5px;
    display: block;
    margin-top: 4px;
}

.ek-payment-mode-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    margin-top: 14px;
}

.ek-payment-mode-box small {
    display: block;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

.ek-payment-mode-box strong {
    display: block;
    font-size: 13px;
    color: #1e293b;
    margin-top: 2px;
}

.ek-support-card h4 {
    margin: 0 0 6px;
    font-size: 14px;
    color: #0f172a;
}

.ek-support-card p {
    margin: 0 0 12px;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
}

.ek-support-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ek-orange, #ff671d);
    text-decoration: none;
}

.ek-support-link:hover {
    text-decoration: underline;
}

/* Status Pills */
.ek-status-pill {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    text-transform: capitalize;
}

/* My Account Order Card */
.ek-account-order-card {
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.ek-account-order-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ek-account-order-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.ek-account-order-num {
    color: #0f172a;
    font-size: 14px;
    text-decoration: none;
}

.ek-account-order-num:hover {
    color: var(--ek-orange, #ff671d);
}

.ek-account-order-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.ek-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.ek-order-btn.view {
    background: #0f172a;
    color: #ffffff;
}

.ek-order-btn.view:hover {
    background: var(--ek-orange, #ff671d);
}

.ek-order-btn.invoice {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.ek-order-btn.invoice:hover {
    background: #e2e8f0;
}

@media (max-width: 860px) {
    .ek-order-header-card {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px 16px;
    }
    .ek-order-header-actions {
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
    }
    .ek-order-header-actions a {
        flex: 1 1 calc(50% - 5px);
        justify-content: center;
        text-align: center;
    }
    .ek-customer-order-grid {
        grid-template-columns: 1fr;
    }
    .ek-customer-timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ek-timeline-col {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 14px;
    }
    .ek-timeline-col::before {
        display: none;
    }
    .ek-timeline-label {
        margin-top: 0;
    }
    .ek-customer-card {
        padding: 20px 16px;
    }
    .ek-customer-item-pricing {
        flex-wrap: wrap;
        gap: 6px 12px;
    }
}

@media (max-width: 520px) {
    .ek-order-header-actions a {
        flex: 1 1 100%;
        width: 100%;
    }
    .ek-customer-item-row {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }
    .ek-customer-item-thumb {
        width: 56px;
        height: 56px;
    }
    .ek-customer-item-details {
        flex: 1 1 calc(100% - 68px);
    }
    .ek-customer-item-total {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 8px;
        margin-top: 4px;
        border-top: 1px dashed #f1f5f9;
        text-align: left;
    }
    .ek-customer-item-total small {
        display: inline;
    }
}

/* ==========================================================================
   EKCART Instant Search Autocomplete & Suggestions
   ========================================================================== */

.ek-search-wrapper {
    position: relative;
    flex: 1;
    z-index: 1000;
}

.ek-search-wrapper .ek-search {
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

.ek-search-wrapper.is-open .ek-search,
.ek-search-wrapper .ek-search:focus-within {
    border-color: var(--ek-orange, #ff671d);
    box-shadow: 0 0 0 3px rgba(255, 103, 29, 0.14);
}

.ek-search-input-field {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
    min-width: 0;
    height: 100%;
}

.ek-search-input-field input[type="search"] {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 36px 0 16px;
    font-size: 14px;
    color: #1e293b;
}

/* Hide default browser clear button */
.ek-search-input-field input[type="search"]::-webkit-search-cancel-button,
.ek-search-input-field input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.ek-search-wrapper .ek-search button.ek-search-clear-btn,
.ek-search-clear-btn {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    min-height: 22px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 10px !important;
    padding: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: all 0.15s ease !important;
}

.ek-search-wrapper .ek-search button.ek-search-clear-btn:hover,
.ek-search-clear-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.ek-search-submit-btn {
    width: 54px;
    height: 100%;
    border: 0;
    background: var(--ek-orange, #ff671d);
    color: #ffffff;
    font-size: 20px;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
}

.ek-search-submit-btn:hover {
    background: #e95710;
}

/* Dropdown Container */
.ek-search-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
    z-index: 1050;
    max-height: min(520px, 75vh);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 0 0;
    -webkit-overflow-scrolling: touch;
}

.ek-search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.ek-search-dropdown::-webkit-scrollbar-track {
    background: #f8fafc;
}

.ek-search-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.ek-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Sections */
.ek-search-section {
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
}

.ek-search-section:last-of-type {
    border-bottom: 0;
}

.ek-search-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
}

.ek-search-section-header i {
    margin-right: 5px;
    color: #94a3b8;
}

.ek-search-clear-all {
    font-size: 11px;
    font-weight: 600;
    color: var(--ek-orange, #ff671d);
    border: 0;
    background: transparent;
    cursor: pointer;
    text-transform: none;
    padding: 0;
}

.ek-search-clear-all:hover {
    text-decoration: underline;
}

/* Recent Searches */
.ek-search-recent-list {
    display: flex;
    flex-direction: column;
}

.ek-search-recent-row {
    display: flex;
    align-items: center;
    padding: 9px 16px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ek-search-recent-row:hover,
.ek-search-recent-row.is-active {
    background-color: #f8fafc;
    color: var(--ek-orange, #ff671d);
}

.ek-search-recent-icon {
    display: inline-grid;
    place-items: center;
    width: 22px;
    color: #94a3b8;
    font-size: 12px;
    margin-right: 8px;
    flex-shrink: 0;
}

.ek-search-recent-row:hover .ek-search-recent-icon,
.ek-search-recent-row.is-active .ek-search-recent-icon {
    color: var(--ek-orange, #ff671d);
}

.ek-search-recent-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ek-search-remove-recent-btn {
    border: 0;
    background: transparent;
    color: #cbd5e1;
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-left: 8px;
}

.ek-search-remove-recent-btn:hover {
    color: #ef4444;
    background: #fee2e2;
}

/* Category Suggestions Pills */
.ek-search-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 4px 16px 10px;
}

.ek-search-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.ek-search-category-pill i {
    font-size: 9px;
    color: #94a3b8;
    transition: transform 0.15s ease;
}

.ek-search-category-pill:hover,
.ek-search-category-pill.is-active {
    background: #fff7ed;
    border-color: var(--ek-orange, #ff671d);
    color: var(--ek-orange, #ff671d);
}

.ek-search-category-pill:hover i,
.ek-search-category-pill.is-active i {
    color: var(--ek-orange, #ff671d);
    transform: translateX(2px);
}

/* Product Suggestions */
.ek-search-products-list {
    display: flex;
    flex-direction: column;
}

.ek-search-product-row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f8fafc;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.ek-search-product-row:last-of-type {
    border-bottom: 0;
}

.ek-search-product-row:hover,
.ek-search-product-row.is-active {
    background-color: #fff7ed;
}

.ek-search-thumb-wrap {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

.ek-search-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ek-search-info-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ek-search-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.ek-search-product-row:hover .ek-search-title,
.ek-search-product-row.is-active .ek-search-title {
    color: var(--ek-orange, #ff671d);
}

.ek-search-highlight {
    font-weight: 700;
    color: var(--ek-orange, #ff671d);
    background: transparent;
    text-decoration: underline;
    text-decoration-color: rgba(255, 103, 29, 0.4);
}

.ek-search-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ek-search-cat-name {
    color: #475569;
    font-weight: 500;
}

.ek-search-brand-name,
.ek-search-sku-text {
    color: #94a3b8;
}

.ek-search-arrow-col {
    color: #cbd5e1;
    font-size: 11px;
    margin-left: auto;
    padding-left: 8px;
    flex-shrink: 0;
    transition: transform 0.15s ease, color 0.15s ease;
}

.ek-search-product-row:hover .ek-search-arrow-col,
.ek-search-product-row.is-active .ek-search-arrow-col {
    color: var(--ek-orange, #ff671d);
    transform: translateX(2px);
}

/* Dropdown Footer: View All */
.ek-search-dropdown-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
    overflow: hidden;
}

.ek-search-view-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    color: var(--ek-orange, #ff671d);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.ek-search-view-all-link:hover,
.ek-search-view-all-link.is-active {
    background-color: #fff0e6;
    color: #e95710;
}

/* Loading & Empty States */
.ek-search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 16px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.ek-search-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top-color: var(--ek-orange, #ff671d);
    border-radius: 50%;
    animation: ekSearchSpin 0.7s linear infinite;
}

@keyframes ekSearchSpin {
    to {
        transform: rotate(360deg);
    }
}

.ek-search-no-results {
    text-align: center;
    padding: 30px 20px;
    color: #64748b;
}

.ek-no-results-icon {
    font-size: 30px;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.ek-search-no-results h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
}

.ek-search-no-results p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.4;
}

.ek-search-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--ek-orange, #ff671d);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.ek-search-browse-btn:hover {
    background: #e95710;
    color: #ffffff;
}

/* Responsive Overrides for Header Search & Dropdown */
@media (max-width: 767px) {
    .ek-mainbar-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px 10px !important;
        padding: 10px 0 12px !important;
    }

    .ek-logo {
        margin-right: auto !important;
    }

    .ek-search-wrapper {
        flex: 0 0 100% !important;
        order: 2 !important;
        width: 100% !important;
        margin-top: 4px !important;
        position: relative !important;
    }

    .ek-search-wrapper .ek-search {
        width: 100% !important;
        height: 44px !important;
        border-radius: 8px !important;
        border: 1.5px solid #dce0e6 !important;
        background: #ffffff !important;
        display: flex !important;
        overflow: hidden !important;
    }

    .ek-search-wrapper .ek-search select {
        display: none !important;
    }

    .ek-search-wrapper .ek-search .ek-search-input-field {
        flex: 1 !important;
        min-width: 0 !important;
        height: 100% !important;
    }

    .ek-search-wrapper .ek-search input[type="search"] {
        font-size: 14px !important;
        padding: 0 34px 0 14px !important;
        width: 100% !important;
        height: 100% !important;
    }

    .ek-search-wrapper .ek-search-submit-btn {
        width: 48px !important;
        font-size: 18px !important;
        flex-shrink: 0 !important;
    }

    .ek-search-dropdown {
        position: absolute !important;
        top: calc(100% + 6px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 10px !important;
        box-shadow: 0 16px 36px rgba(7, 23, 46, 0.22) !important;
        max-height: 68vh !important;
        z-index: 1050 !important;
    }

    .ek-search-product-row {
        padding: 10px 14px !important;
        gap: 12px !important;
    }

    .ek-search-thumb-wrap {
        width: 44px !important;
        height: 44px !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
    }

    .ek-search-title {
        font-size: 13.5px !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        line-height: 1.35 !important;
        overflow: hidden !important;
    }

    .ek-search-meta {
        font-size: 11.5px !important;
        margin-top: 2px !important;
        flex-wrap: wrap !important;
    }

    .ek-search-arrow-col {
        font-size: 11px !important;
        padding-left: 6px !important;
    }

    .ek-search-categories-grid {
        padding: 4px 14px 10px !important;
        gap: 6px !important;
    }

    .ek-search-category-pill {
        padding: 6px 11px !important;
        font-size: 11.5px !important;
    }

    .ek-search-recent-row {
        padding: 9px 14px !important;
        font-size: 13px !important;
    }

    .ek-search-view-all-link {
        padding: 12px 14px !important;
        font-size: 13px !important;
    }
}

