/*your custom css goes here*/

/* EcoMall header search */
.slide-arrow {
    width: 36px;
    height: 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #2f8fc8 !important;
    background: #ffffff;
    border: 1px solid #d7edf8;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(47, 143, 200, 0.14);
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

/* EcoMall news pages */
.ecm-news-page {
    background: #f5f8fa;
    padding-top: 28px;
}

.ecm-news-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 28px 30px;
    color: #173346;
    background: #ffffff;
    border: 1px solid #e5edf2;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(21, 63, 92, 0.08);
}

.ecm-news-kicker {
    margin-bottom: 8px;
    color: #2586b7;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.ecm-news-hero h1 {
    margin: 0;
    color: #102f44;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.18;
}

.ecm-news-hero p {
    max-width: 560px;
    margin: 10px 0 0;
    color: #5d7080;
    font-size: 15px;
    line-height: 1.7;
}

.ecm-news-hero .breadcrumb {
    flex-shrink: 0;
    font-size: 13px;
}

.ecm-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ecm-news-card,
.ecm-news-side-card,
.ecm-news-article {
    background: #ffffff;
    border: 1px solid #e5edf2;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(21, 63, 92, 0.06);
}

.ecm-news-card {
    overflow: hidden;
}

.ecm-news-card-img {
    height: 230px;
    background: #edf4f8;
}

.ecm-news-card-body {
    padding: 18px;
}

.ecm-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #6c7d89;
    font-size: 12px;
    font-weight: 700;
}

.ecm-news-meta span {
    display: inline-flex;
    align-items: center;
}

.ecm-news-meta span + span::before {
    width: 4px;
    height: 4px;
    margin-right: 8px;
    content: "";
    background: #9bb2c0;
    border-radius: 50%;
}

.ecm-news-card-title {
    min-height: 44px;
    margin: 0 0 10px;
    color: #173346;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.ecm-news-card-copy {
    min-height: 66px;
    margin-bottom: 16px;
    color: #61717c;
    font-size: 14px;
    line-height: 1.6;
}

.ecm-news-read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2586b7;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}

.ecm-news-read-link:hover {
    color: #17678f;
}

.ecm-news-side-card {
    padding: 18px;
}

.ecm-news-side-card h3 {
    margin: 0 0 14px;
    color: #173346;
    font-size: 16px;
    font-weight: 800;
}

.ecm-news-search input {
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    color: #173346;
    background: #f7fafc;
    border: 1px solid #d9e5ec;
    border-right: 0;
    border-radius: 6px 0 0 6px;
}

.ecm-news-search .btn {
    height: 44px;
    min-width: 46px;
    color: #2586b7;
    background: #f7fafc;
    border: 1px solid #d9e5ec;
    border-left: 0;
    border-radius: 0 6px 6px 0;
}

.ecm-news-checkbox {
    display: block;
    margin-bottom: 12px;
}

.ecm-news-recent-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.ecm-news-recent-img {
    width: 82px;
    height: 82px;
    background: #edf4f8;
    border-radius: 6px;
}

.ecm-news-recent-title {
    min-height: 38px;
    margin: 0 0 8px;
    color: #173346;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.ecm-news-meta-small {
    margin-bottom: 0;
    font-size: 11px;
    font-weight: 600;
}

.ecm-news-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    background: #2586b7;
    border-color: #2586b7;
    border-radius: 6px;
    font-weight: 800;
}

.ecm-benefit-title {
    font-size: 16px;
    line-height: 1.25;
}

.ecm-benefit-text {
    display: block;
    font-size: 14px;
    line-height: 1.35;
}

.ecm-news-detail-hero {
    align-items: center;
}

.ecm-news-detail-hero h1 {
    max-width: 820px;
    font-size: 32px;
}

.ecm-news-article {
    overflow: hidden;
}

.ecm-news-article-img {
    display: block;
    max-height: 470px;
    object-fit: cover;
    background: #edf4f8;
}

.ecm-news-article-body {
    padding: 24px;
    color: #394b58;
    font-size: 15px;
    line-height: 1.8;
}

.ecm-news-article-body img,
.ecm-news-article-body iframe {
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .ecm-news-grid {
        grid-template-columns: 1fr;
    }

    .ecm-news-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .ecm-news-hero h1,
    .ecm-news-detail-hero h1 {
        font-size: 28px;
    }
}

@media (max-width: 575.98px) {
    .ecm-news-page {
        padding-top: 18px;
    }

    .ecm-news-hero {
        padding: 20px;
    }

    .ecm-news-hero h1,
    .ecm-news-detail-hero h1 {
        font-size: 24px;
    }

    .ecm-news-card-img {
        height: 200px;
    }

    .ecm-news-card-body,
    .ecm-news-side-card,
    .ecm-news-article-body {
        padding: 16px;
    }
}

.ecm-header-notification .ecm-notification-menu {
    width: 360px;
    max-width: calc(100vw - 24px);
    overflow: hidden;
    border: 1px solid #e6edf2;
    border-radius: 8px !important;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
}

.ecm-notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: #ffffff;
    border-bottom: 1px solid #eef2f6;
}

.ecm-notification-header h6 {
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.ecm-notification-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #8b98a7;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.ecm-notification-total {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    color: #ffffff;
    background: #349bd4;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 800;
}

.ecm-notification-list {
    max-height: 330px;
    padding: 8px;
    background: #f8fafc;
}

.ecm-notification-item {
    padding: 0;
    background: transparent;
    border: 0;
}

.ecm-notification-item + .ecm-notification-item {
    margin-top: 6px;
}

.ecm-notification-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    color: #1f2937 !important;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ecm-notification-link:hover {
    border-color: #cfe7f5;
    box-shadow: 0 8px 20px rgba(52, 155, 212, 0.12);
    transform: translateY(-1px);
}

.ecm-notification-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: #349bd4;
    background: #eaf6fc;
    border-radius: 8px;
    font-size: 20px;
}

.ecm-notification-content {
    display: block;
    min-width: 0;
}

.ecm-notification-title,
.ecm-notification-message {
    display: block;
    line-height: 1.35;
}

.ecm-notification-title {
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.ecm-notification-message {
    margin-top: 3px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.ecm-notification-empty {
    padding: 24px 12px;
    color: #8b98a7;
    background: transparent;
    border: 0;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.ecm-notification-empty i {
    display: block;
    margin-bottom: 8px;
    color: #b5c1cc;
    font-size: 28px;
}

.ecm-notification-footer {
    padding: 10px 14px;
    background: #ffffff;
    border-top: 1px solid #eef2f6;
    text-align: center;
}

.ecm-notification-footer a {
    display: block;
    color: #349bd4 !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.ecm-notification-footer a:hover {
    color: #237fb1 !important;
}

    }
}

.ecm-header-cart .ecm-cart-menu {
    width: 360px;
    max-width: calc(100vw - 24px);
    overflow: hidden;
    border: 1px solid #d8e9f4;
    border-radius: 8px !important;
    box-shadow: 0 18px 42px rgba(31, 84, 122, 0.2);
}

.ecm-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: #ffffff;
    border-bottom: 1px solid #eef2f6;
}

.ecm-cart-empty-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background: #ffffff;
    border-top: 4px solid #349bd4;
    border-bottom: 1px solid #edf4f8;
}

.ecm-cart-empty-header h6 {
    color: #102f44;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
}

.ecm-cart-header h6 {
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.ecm-cart-total-items {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 9px;
    color: #ffffff;
    background: #f3a000;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 800;
}

.ecm-cart-list {
    max-height: 350px;
    padding: 8px;
    margin: 0;
    background: #f8fafc;
}

.ecm-cart-item {
    padding: 0;
    background: transparent;
}

.ecm-cart-item + .ecm-cart-item {
    margin-top: 6px;
}

.ecm-cart-product {
    gap: 12px;
    min-width: 0;
    padding: 10px;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ecm-cart-product:hover {
    border-color: #fde0a2;
    box-shadow: 0 8px 20px rgba(243, 160, 0, 0.12);
    transform: translateY(-1px);
}

.ecm-cart-product-img {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: #f1f5f9;
    object-fit: cover;
}

.ecm-cart-product-info {
    display: block;
}

.ecm-cart-product-name {
    display: block;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.ecm-cart-product-meta {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.ecm-cart-product-meta strong {
    color: #111827;
    font-weight: 800;
}

.ecm-cart-remove {
    width: 30px;
    height: 30px;
    margin-left: 6px;
    color: #98a5b3;
    background: #ffffff;
    border: 1px solid #e8eef4;
    border-radius: 8px;
}

.ecm-cart-remove:hover {
    color: #ffffff;
    background: #e45248;
    border-color: #e45248;
}

.ecm-cart-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #ffffff;
    border-top: 1px solid #eef2f6;
}

.ecm-cart-subtotal span {
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.ecm-cart-subtotal strong {
    color: #111827;
    font-size: 17px;
    font-weight: 900;
}

.ecm-cart-actions {
    padding: 14px 18px 16px;
    background: #ffffff;
    border-top: 1px solid #eef2f6;
}

.ecm-cart-btn {
    height: 38px;
    border-radius: 8px !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 26px;
}

.ecm-cart-btn-primary {
    color: #ffffff !important;
    background: #349bd4 !important;
    border-color: #349bd4 !important;
}

.ecm-cart-btn-primary:hover {
    background: #237fb1 !important;
    border-color: #237fb1 !important;
}

.ecm-cart-btn-secondary {
    color: #111827 !important;
    background: #f3a000 !important;
    border-color: #f3a000 !important;
}

.ecm-cart-btn-secondary:hover {
    color: #ffffff !important;
    background: #d98f00 !important;
    border-color: #d98f00 !important;
}

.ecm-cart-empty {
    padding: 24px 18px 22px;
    color: #5f7284;
    background: #f8fbfd;
    text-align: center;
}

.ecm-cart-empty-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 13px;
}

.ecm-cart-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: #f3a000;
    background: #fff5df;
    border: 1px solid #ffe4aa;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(243, 160, 0, 0.16);
}

.ecm-cart-empty-icon i {
    font-size: 30px;
    line-height: 1;
}

.ecm-cart-empty h3 {
    margin: 0;
    color: #102f44;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
}

.ecm-cart-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 40px;
    margin-top: 16px;
    padding: 0 18px;
    color: #ffffff !important;
    background: #2f94cf;
    border: 1px solid #2f94cf;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(52, 155, 212, 0.22);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ecm-cart-empty-btn:hover,
.ecm-cart-empty-btn:focus {
    color: #ffffff !important;
    background: #237fb1;
    border-color: #237fb1;
    box-shadow: 0 12px 24px rgba(35, 127, 177, 0.26);
    transform: translateY(-1px);
}

.slide-arrow i {
    color: inherit !important;
    font-size: 22px !important;
    line-height: 1;
}

.slide-arrow:hover,
.slide-arrow:focus {
    color: #ffffff !important;
    background: #349bd4;
    border-color: #349bd4;
    box-shadow: 0 10px 24px rgba(47, 143, 200, 0.24);
    transform: translateY(-1px);
}

.slide-arrow.link-disable {
    color: #b6c4ce !important;
    background: #f5f8fa;
    border-color: #edf2f5;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.arrow-prev.slide-arrow,
.arrow-next.slide-arrow {
    margin-right: 0 !important;
    margin-left: 8px !important;
}


