/* -----------------------
    RESET
--------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

button {
    outline: none;
}

.container {
    width: 92%;
    margin: auto;
    max-width: 1320px;
}

/* =========================
   TOP BAR
========================= */
.eco-top-bar {
    border-bottom: 1px solid #E5E7EB;
    font-size: 13px;
    color: #787c83;
}

.eco-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    gap: 12px;
}

.eco-top-location {
    display: flex;
    align-items: center;
    gap: 6px;
}

.eco-top-location ion-icon {
    font-size: 16px;
    color: #787c83;
}

.eco-top-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

button.eco-top-link>img {
    width: 20px;
}

.eco-top-link {
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #787c83;
    align-items: center;
}

.eco-top-link ion-icon {
    font-size: 14px;
    color: #9CA3AF;
}

.eco-top-separator {
    width: 1px;
    height: 14px;
    background: #E5E7EB;
}

.eco-top-auth {
    font-size: 13px;
    color: #787c83;
    text-decoration: none;
}

.eco-top-auth:hover {
    color: #00B207;
}

.eco-lang-wrapper {
    position: relative;
}

.eco-lang-menu {
    position: absolute;
    top: 150%;
    right: 0;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    min-width: 140px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    display: none;
    z-index: 120;
}

.eco-lang-menu.open {
    display: block;
}

.eco-lang-menu li {
    padding: 6px 14px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
}

.eco-lang-menu li:hover {
    background: #F3F4F6;
}

@media (max-width: 992px) {
    .eco-top-right {
        position: relative;
    }

    .eco-lang-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =========================
   MAIN HEADER
========================= */
.eco-main-header {
    background: #FFFFFF;
    border-bottom: 1px solid #F3F4F6;
}

.eco-main-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo search icons";
    align-items: center;
    column-gap: 24px;
    padding: 16px 0;
    position: relative;
}

.eco-logo {
    grid-area: logo;
    display: inline-flex;
    align-items: center;
}

.eco-logo img {
    display: block;
    height: 34px;
    width: auto;
}

.eco-search-wrap {
    grid-area: search;
    display: flex;
    align-items: stretch;
    min-width: 600px;
    margin: 0 auto;
}

.eco-search-field {
    position: relative;
    flex: 1;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
}

.eco-search-field ion-icon {
    position: absolute;
    left: 14px;
    font-size: 18px;
    color: #9CA3AF;
}

.eco-search-field input {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 12px 10px 40px;
    font-size: 14px;
    border-radius: 999px 0 0 999px;
}

.eco-search-field input::placeholder {
    color: #9CA3AF;
}

.eco-search-btn {
    padding: 0 24px;
    border: none;
    border-radius: 0 8px 8px 0;
    background: #00B207;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.eco-search-btn:hover {
    background: #009406;
}

.eco-header-right {
    grid-area: icons;
    display: flex;
    align-items: center;
    gap: 14px;
}

.eco-wishlist-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-wishlist-btn ion-icon {
    font-size: 22px;
    color: #4B5563;
}

.eco-header-divider {
    width: 1px;
    height: 28px;
    background: #E5E7EB;
}

/* =========================
   CART
========================= */
.eco-cart-btn {
    position: relative;
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 0 4px;
}

.eco-cart-btn ion-icon {
    font-size: 24px;
    color: #111827;
}

.eco-cart-badge {
    position: absolute;
    top: 3px;
    left: 18px;
    background: #00B207;
    color: #FFFFFF;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid #FFFFFF;
    z-index: 99;
}

.eco-cart-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.eco-cart-label {
    font-size: 12px;
    color: #6B7280;
}

.eco-cart-amount {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

/* =========================
   NAV BAR
========================= */
.eco-nav-bar {
    background: #333333;
}

.eco-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 20px;
    position: relative;
    z-index: 50;
}

.eco-nav-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 14px;
}

.eco-nav-toggle ion-icon {
    font-size: 24px;
}

.eco-nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
}

.eco-nav-item {
    position: relative;
}

.eco-nav-link {
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #F9FAFB;
    font-size: 14px;
    padding: 6px 0;
    text-decoration: none;
}

.eco-nav-link ion-icon {
    font-size: 14px;
}

.eco-nav-item a.eco-nav-link {
    padding: 6px 0;
}

.eco-nav-item:hover>.eco-nav-link {
    color: #00B207;
}

.eco-active>.eco-nav-link {
    color: #FFFFFF;
    font-weight: 400;
}

.eco-submenu {
    position: absolute;
    left: 0;
    top: 130%;
    min-width: 200px;
    background: #FFFFFF;
    border-radius: 0px;
    box-shadow: 0 12px 30px rgb(15 23 42 / 13%);
    list-style: none;
    padding: 0px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.18s ease;
    z-index: 40;
}

.eco-submenu li a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: #111827;
    text-decoration: none;
}

.eco-submenu li a:hover {
    background: #F3F4F6;
    color: #00B207;
}

@media (min-width: 993px) {
    .eco-nav-item.eco-has-dropdown:hover>.eco-submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.eco-nav-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #F9FAFB;
    font-size: 16px;
}

.eco-nav-phone a {
    color: #ffffff;
    text-decoration: none;
}

.eco-phone-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-phone-icon ion-icon {
    font-size: 18px;
}

.eco-phone-number {
    white-space: nowrap;
}

.eco-nav-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: transparent;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 90;
}

/* =========================
   RESPONSIVE
========================= */

/* ----- <= 992px ----- */
@media (max-width: 992px) {
    .eco-top-inner {
        align-items: center;
        text-align: center;
        gap: 4px;
        padding: 6px 0;
    }

    .eco-top-location {
        justify-content: center;
    }

    .eco-top-right {
        justify-content: center;
    }

    .eco-main-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "logo icons"
            "search search";
        row-gap: 12px;
        padding: 8px 0px;
    }

    .eco-logo img {
        height: 26px;
    }

    .eco-search-wrap {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .eco-nav-toggle {
        display: inline-flex;
    }

    .eco-nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 260px;
        background: #252424;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-top: 70px;
        padding-bottom: 20px;
        margin: 0;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
        z-index: 80;
    }

    .eco-nav-menu.eco-nav-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .eco-nav-item {
        width: 100%;
    }

    .eco-nav-link {
        width: 100%;
        padding: 10px 20px !important;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .eco-submenu {
        position: static;
        box-shadow: none;
        background: #292929;
        border-radius: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.2s ease, padding 0.2s ease;
    }

    .eco-nav-item.eco-submenu-open>.eco-submenu {
        max-height: 400px;
        padding: 0px;
    }

    .eco-submenu li a {
        padding: 7px 40px;
        color: #E5E7EB;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .eco-submenu li a:hover {
        background: rgba(255, 255, 255, 0.04);
        color: #FFFFFF;
    }

    .eco-nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ----- <= 768px ----- */
@media (max-width: 768px) {

    .eco-top-location span {
        max-width: 100%;
    }

    .eco-top-right {
        gap: 12px;
        font-size: 12px;
    }

    .eco-header-right {
        gap: 6px;
    }

    .eco-wishlist-btn ion-icon {
        font-size: 20px;
    }

    .eco-cart-btn ion-icon {
        font-size: 22px;
    }

    .eco-cart-badge {
        top: -6px;
        left: 16px;
        min-width: 16px;
        height: 16px;
        font-size: 10px;
        border-width: 1.5px;
    }

    .eco-cart-amount {
        font-size: 12px;
    }

    .eco-cart-label {
        font-size: 10px;
    }

    .eco-top-link {
        font-size: 11px;
    }

    .eco-top-auth {
        font-size: 11px;
    }

    .eco-nav-item a.eco-nav-link {
        padding: 10px 20px;
    }
}

/* ----- <= 480px ----- */
@media (max-width: 480px) {
    .eco-top-location span {
        max-width: 100%;
    }

    .eco-search-wrap {
        width: 100%;
        min-width: 100%;
    }

    .eco-top-bar {
        font-size: 10px;
    }

    .eco-search-field input {
        padding: 8px 12px 8px 40px;
    }

    .eco-top-inner {
        flex-direction: column;
    }

    .eco-nav-phone {
        font-size: 11px;
    }

    .eco-phone-icon>img {
        width: 20px;
    }

    .eco-phone-icon {
        width: 16px;
    }

    button.eco-top-link>img {
        width: 15px;
        position: relative;
        top: -1px;
    }
}

/* ===============================
   NEWSLETTER SECTION
================================ */
.newsletter {
    background: #f8f8f8;
    padding: 50px 0;
}

.sub-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.sub-left h3 {
    font-size: 24px;
    font-weight: 700;
}

.sub-left p {
    color: #777;
    margin-top: 10px;
    line-height: 1.5;
    width: 530px;
    max-width: 100%;
    font-size: 15px;
}

.sub-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.bottom-subscribe {
    background: #ffffff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 3px 4px 3px 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    min-width: 420px;
}

.sub-right input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.sub-right input::placeholder {
    color: #9ca3af;
}

.sub-btn {
    padding: 12px 24px;
    background: #00B207;
    border: none;
    color: #fff;
    border-radius: 999px;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.15s ease;
}

.sub-btn:hover {
    background: #019109;
    transform: translateY(-1px);
}

.sub-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-social .social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    opacity: 0.7;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.sub-social .social-link ion-icon {
    font-size: 20px;
    display: block;
}

.sub-social .social-link.active,
.sub-social .social-link:hover {
    background: #00B207;
    border-color: #00B207;
    box-shadow: 0 0 0 2px rgba(0, 178, 7, 0.25);
    opacity: 1;
    color: #ffffff;
}

.sub-social .social-link:hover {
    transform: translateY(-1px);
}


/* ===============================
   FOOTER
================================ */
.footer {
    background: #161616;
    color: #fff;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-about .footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-about p {
    color: #808080;
    line-height: 1.6;
    font-size: 15px;
    padding-bottom: 25px;
}

.footer-contact p a {
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid #20B526;
    text-decoration: none;
    padding-bottom: 5px;
}

.footer-contact p span {
    color: #808080;
    padding: 0 20px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul {
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #808080;
    cursor: pointer;
    font-size: 15px;
    line-height: 28px;
    list-style: none;
}

.footer-col ul li a {
    color: #808080;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom.container>p {
    color: #808080;
    font-weight: 400;
    font-size: 14px;
}

.payment-icons img {
    height: 30px;
    margin-left: 15px;
}


/* ===============================
   RESPONSIVE STYLES
================================ */

/* ----- Tablets & small laptops (<= 992px) ----- */
@media (max-width: 992px) {

    /* Newsletter */
    .sub-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .sub-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .bottom-subscribe {
        max-width: max-content;
        height: 52px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }
}

/* ----- Mobile (<= 768px) ----- */
@media (max-width: 768px) {

    /* Newsletter */
    .newsletter {
        padding: 40px 0;
    }

    .sub-left {
        width: 100%;
    }

    .sub-left h3 {
        font-size: 22px;
    }

    .sub-left p {
        font-size: 14px;
    }

    .sub-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .bottom-subscribe {
        width: 100%;
        min-width: 100%;
        border-radius: 999px;
    }

    .sub-right input {
        padding: 12px 14px;
    }

    .sub-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .sub-social {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: center;
        gap: 6px;
        text-align: left;
    }

    .payment-icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .payment-icons img {
        margin: 8px 10px 0 0;
    }

    .footer-about p {
        font-size: 14px;
    }
}

/* ----- Small mobile (<= 480px) ----- */
@media (max-width: 480px) {

    /* Newsletter */
    .sub-left h3 {
        font-size: 20px;
    }

    .sub-left p {
        font-size: 13px;
    }

    .sub-right {
        gap: 14px;
    }

    .sub-social .social-link {
        width: 34px;
        height: 34px;
    }

    .sub-social .social-link ion-icon {
        font-size: 18px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-about,
    .footer-col {
        text-align: left;
    }

    .footer-bottom {
        align-items: center;
        flex-direction: column;
    }

    .footer-col ul li {
        font-size: 14px;
        line-height: 20px;
    }

    .footer-col h4 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .footer-bottom.container>p {
        font-size: 13px;
    }

    .payment-icons img {
        height: 24px;
    }
}

@media screen and (max-width:456px) and (max-width:300px) {
    .sub-right {
        flex-direction: unset !important;
        align-items: unset !important;
        gap: 16px;
        width: 100%;
        flex-wrap: nowrap !important;
    }
}

@media screen and (max-width:1225px) and (min-width:1024px) {
    .sub-left {
        width: 50%;
    }

    .bottom-subscribe {
        max-width: max-content;
        width: 100%;
        height: 50px;
    }

    .sub-right {
        align-items: center !important;
        flex-direction: column !important;
        gap: 12px;
    }

    .eco-search-wrap {
        min-width: 480px;
    }

    .hero-left {
        background-position: 20% 2%;
        background-size: 124%;
        height: 450px;
    }

    .hero-right-bottom h3 {
        font-size: 22px;
        line-height: 1.4;
        margin: 10px 0 12px;
    }

    .hero-left-text h1 {
        font-size: 38px;
    }
}

@media screen and (max-width:1299px) and (min-width:1226px) {
    .sub-left {
        width: 450px;
    }

    .bottom-subscribe {
        max-width: max-content;
        width: 100%;
        height: 50px;
    }

    .sub-right {
        align-items: center !important;
        flex-direction: row !important;
    }
}




/* ----------------------------
    SUBPAGE HERO SECTION
--------------------------------- */
.sub-hero-section {
    background: url('../images/subpage-banner.jpeg');
    height: 130px;
    width: 100%;
    background-position: center 46%;
    background-size: cover;
    background-repeat: no-repeat;
}

.subpage-title-details {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 52px 0px;
}

.subpage-icon {
    display: flex;
    gap: 20px;
    align-items: center;
}

.subpage-title>p {
    color: #00B207;
    font-weight: 600;
    font-size: 16px;
}


/* -----------------------------
    SUBPAGE NAVBAR
-------------------------------- */
nav.eco-nav-bar.sub-page-navbar {
    background: #ffffff;
}

ul.eco-nav-menu.subpage-navitem>li>a {
    color: #666;
}

ul.eco-nav-menu.subpage-navitem>li>button>span {
    color: #666;
}

ul.eco-nav-menu.subpage-navitem>li>button>ion-icon {
    color: #666;
}

button.eco-nav-toggle.sub-page-toggle {
    color: rgb(102, 102, 102);
}

@media (max-width: 992px) {
    ul.eco-nav-menu.subpage-navitem>li>button>span {
        color: #fff;
    }

    ul.eco-nav-menu.subpage-navitem>li>button>span:hover {
        color: #00B207;
    }

    ul.eco-nav-menu.subpage-navitem>li>button>ion-icon {
        color: #fff;
    }

    ul.eco-nav-menu.subpage-navitem>li>a {
        color: #fff;
    }
}


@media screen and (max-width:600px) {
    .subpage-title>p {
        font-weight: 500;
        font-size: 15px;
    }
}


.eco-nav-phone.sub-eco-phone a {
    color: rgb(102, 102, 102);
}

.eco-nav-phone.sub-eco-phone>.eco-phone-icon>img {
    filter: brightness(0.4);
}