.c2v-home{--g:#076c42;--ink:#17302c;direction:rtl;max-width:1440px;margin:auto;color:var(--ink);font-family:Tahoma,Arial,sans-serif}.c2v-home *{box-sizing:border-box}.c2v-home a{text-decoration:none}.c2v-search{display:flex;max-width:650px;margin:16px auto 22px;border:1px solid #dce7e2;border-radius:9px;overflow:hidden;background:#fff}.c2v-search input{flex:1;min-width:0;border:0;padding:13px 16px;font:inherit;outline:0}.c2v-search button{border:0;background:var(--g);color:#fff;padding:0 18px;cursor:pointer;font:inherit}.c2v-hero-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(180px,1fr);gap:13px}.c2v-hero,.c2v-family{display:block;position:relative;overflow:hidden;border-radius:12px;background:#eaf4ee}.c2v-hero img,.c2v-family img{width:100%;height:100%;object-fit:fill;display:block}.c2v-hero-link{position:absolute;inset:0}.c2v-section{margin:30px 0}.c2v-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.c2v-heading h2{font-size:21px;margin:0;color:var(--ink)}.c2v-heading a,.c2v-heading span{font-size:12px;color:var(--g)}.c2v-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.c2v-category{background:white;border:1px solid #e3eae7;border-radius:11px;overflow:hidden;text-align:center;padding-bottom:10px;color:var(--ink)!important;min-width:0}.c2v-category img{display:block;width:100%;height:105px;object-fit:cover}.c2v-category strong,.c2v-category small{display:block;padding:0 5px}.c2v-category strong{font-size:12px;margin:8px 0 3px}.c2v-category small{font-size:10px;color:#7b8c84}.c2v-category:hover,.c2v-category.is-selected{border-color:var(--g)}.c2v-market{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2.3fr);gap:18px;align-items:start;margin:25px 0}.c2v-economic{display:block;overflow:hidden;border-radius:12px}.c2v-economic img{width:100%;height:auto;display:block}.c2v-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.c2v-product{min-width:0;overflow:hidden;border:1px solid #e2eae5;background:#fff;border-radius:11px;display:flex;flex-direction:column}.c2v-photo{position:relative;height:170px;display:grid;place-items:center;background:#fff}.c2v-photo img{width:100%;height:100%;object-fit:contain;padding:12px}.c2v-photo>span{font-size:45px}.c2v-photo small{position:absolute;top:7px;right:7px;border-radius:5px;background:#eef9f2;color:var(--g);font-size:10px;padding:3px 6px}.c2v-info{padding:12px;display:flex;flex:1;flex-direction:column}.c2v-info h3{font-size:13px;margin:0;line-height:1.8}.c2v-info p{font-size:11px;color:#89978e;line-height:1.7;min-height:30px;margin:7px 0}.c2v-info strong{color:#bd2537;font-size:13px;margin-top:auto}.c2v-info form{margin:9px 0 0}.c2v-info button{width:100%;background:var(--g);color:#fff;border:0;border-radius:7px;padding:9px;cursor:pointer;font:inherit;font-size:12px}.c2v-empty{background:#fff;padding:30px;border-radius:10px}.c2v-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:32px 0}.c2v-services>div{background:#edf6ff;border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:6px}.c2v-services>div:nth-child(2){background:#e7f8ed}.c2v-services>div:nth-child(3){background:#fff3e6}.c2v-services>div:nth-child(4){background:#e8f2ff}.c2v-services span{font-size:28px}.c2v-services strong{font-size:13px}.c2v-services small{color:#6c7c76}.c2v-footer{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:22px;background:#073d32;color:#fff;padding:32px;border-radius:12px 12px 0 0;margin:0 -15px}.c2v-footer h2,.c2v-footer h3{color:#fff;margin:0 0 13px}.c2v-footer p,.c2v-footer a{display:block;color:#d4e8df;font-size:12px;line-height:2;margin:4px 0}@media(max-width:950px){.c2v-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.c2v-market{grid-template-columns:1fr}.c2v-economic{max-height:240px}.c2v-economic img{width:100%;height:240px;object-fit:cover}.c2v-footer{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.c2v-hero-grid{grid-template-columns:1fr}.c2v-family{display:none}.c2v-hero img{height:auto}.c2v-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.c2v-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.c2v-photo{height:125px}.c2v-info{padding:9px}.c2v-services{grid-template-columns:repeat(2,minmax(0,1fr))}.c2v-footer{margin:0 -8px;padding:20px 15px}.c2v-heading h2{font-size:17px}}

/* C2online approved visual update — scoped to homepage, leaves app.css intact. */
.c2v-home{--g:#075438;--ink:#103c30;--orange:#ff690b;max-width:1440px;padding:0 15px;background:#fff}
.c2v-topline{display:flex;justify-content:space-around;gap:12px;margin:0 -15px 15px;padding:9px 14px;background:#064b36;color:#fff;font-size:12px;font-weight:bold}
.c2v-mobile-brand{display:none}
.c2v-search{max-width:750px;margin:20px auto 24px;border-radius:12px;border-color:#e2e8e4;box-shadow:0 4px 20px rgba(0,0,0,.035)}
.c2v-search button,.c2v-info button{background:var(--orange);color:#fff;font-weight:bold}
.c2v-search button:hover,.c2v-info button:hover{background:#e95b00}
.c2v-hero-grid{display:block;margin:0 0 24px}
.c2v-hero{display:block;border-radius:22px;overflow:hidden;background:#eaf4ee;box-shadow:0 8px 28px rgba(4,60,37,.09)}
.c2v-hero img{display:block;width:100%;height:auto;object-fit:contain;aspect-ratio:1024/423}
.c2v-section{margin:24px 0 20px}.c2v-heading h2{color:#064b36}
.c2v-heading a,.c2v-heading span{color:#f36b13}
.c2v-category{border-radius:15px;background:#f4faf5}.c2v-category img{height:120px;object-fit:cover}
.c2v-promos{display:grid;grid-template-columns:1fr 2fr;gap:14px;margin:18px 0 30px;align-items:stretch}
.c2v-promo{display:block;min-width:0;height:220px;overflow:hidden;border-radius:16px;background:#f2f7f3;box-shadow:0 7px 22px rgba(7,75,54,.08)}
.c2v-promo img{display:block;width:100%;height:100%;object-fit:cover}
.c2v-promo-family img{object-position:center 34%}
.c2v-promo-shopping img{object-position:center center}
.c2v-market{display:block;margin:0 0 30px}.c2v-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.c2v-product{border-radius:15px;box-shadow:0 6px 18px rgba(8,60,38,.045)}
.c2v-info strong{color:#087044}.c2v-services>div{background:#f0f8f2!important}
.c2v-footer{background:#064534;border-radius:16px 16px 0 0}
@media(max-width:950px){.c2v-products{grid-template-columns:repeat(3,minmax(0,1fr))}.c2v-promo{height:180px}}
@media(max-width:620px){.c2v-home{padding:0 8px}.c2v-topline{font-size:9px;margin:0 -8px 10px;flex-wrap:wrap}.c2v-mobile-brand{display:flex;align-items:center;justify-content:space-between;margin:8px 2px;color:#075438}.c2v-mobile-brand b{display:block;font-size:23px;direction:ltr}.c2v-mobile-brand b span{color:#ff690b}.c2v-mobile-brand small{display:block;font-size:10px}.c2v-search{margin:12px 0}.c2v-hero{border-radius:12px}.c2v-hero img{aspect-ratio:1024/423}.c2v-promos{grid-template-columns:1fr;gap:10px;margin:14px 0 24px}.c2v-promo-family{height:170px}.c2v-promo-shopping{height:auto;aspect-ratio:957/281}.c2v-promo-shopping img{object-fit:contain}.c2v-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.c2v-category img{height:100px}.c2v-footer{margin:0 -8px}}
/* =========================================================
   C2ONLINE - CLEAN PRODUCT CARDS
   ========================================================= */

.c2v-product {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;

    background: #fff;
    border: 1px solid #e4ece7;
    border-radius: 16px;

    box-shadow: 0 5px 18px rgba(7, 75, 54, .05);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.c2v-product:hover {
    transform: translateY(-3px);
    border-color: #cbded3;
    box-shadow: 0 10px 26px rgba(7, 75, 54, .09);
}


/* ---------- Product image ---------- */

.c2v-photo {
    position: relative;

    width: 100%;
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;

    overflow: hidden;

    background: #fff;

    border-bottom: 1px solid #f0f3f1;
}


/* جلوگیری از هر برچسب قدیمی روی تصویر */

.c2v-photo small {
    display: none !important;
}


/* تصویر واقعی محصول */

.c2v-photo img {
    display: block;

    width: 100%;
    height: 100%;

    padding: 0;

    object-fit: contain;
    object-position: center;

    border-radius: 10px;
}


/* وقتی محصول تصویر ندارد */

.c2v-no-image {
    display: flex;

    width: 100%;
    height: 100%;

    align-items: center;
    justify-content: center;

    background: #f6faf7;

    color: #087044;

    font-size: 44px;
}


/* ---------- Product information ---------- */

.c2v-info {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 13px 14px 14px;
}


/* دسته‌بندی - حالا زیر تصویر */

.c2v-product-category {
    align-self: flex-start;

    margin-bottom: 7px;

    padding: 3px 8px;

    background: #eef8f1;

    color: #087044;

    border-radius: 7px;

    font-size: 9px;
    font-weight: 700;

    line-height: 1.7;
}


/* نام محصول */

.c2v-info h3 {
    margin: 0;

    min-height: 44px;

    color: #17302c;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.7;
}


/* توضیح */

.c2v-info p {
    margin: 5px 0 10px;

    min-height: 35px;

    color: #84938b;

    font-size: 10px;

    line-height: 1.8;
}


/* قیمت */

.c2v-product-price {
    margin-top: auto;

    color: #087044;

    font-size: 14px;
    font-weight: 900;

    line-height: 1.8;
}


/* فرم */

.c2v-info form {
    width: 100%;

    margin: 10px 0 0;
}


/* دکمه افزودن */

.c2v-info button {
    width: 100%;

    min-height: 40px;

    padding: 8px 12px;

    border: 0;

    border-radius: 9px;

    background: #ff690b;

    color: #fff;

    font: inherit;
    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .15s ease;
}

.c2v-info button:hover {
    background: #e95b00;
}

.c2v-info button:active {
    transform: scale(.98);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .c2v-photo {
        height: 200px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    .c2v-product {
        border-radius: 12px;
    }

    .c2v-photo {
        height: 155px;
        padding: 6px;
    }

    .c2v-photo img {
        border-radius: 7px;
    }

    .c2v-info {
        padding: 9px;
    }

    .c2v-product-category {
        margin-bottom: 5px;

        padding: 2px 6px;

        border-radius: 5px;

        font-size: 7px;
    }

    .c2v-info h3 {
        min-height: 35px;

        font-size: 10px;

        line-height: 1.7;
    }

    .c2v-info p {
        min-height: 29px;

        margin: 3px 0 7px;

        font-size: 8px;

        line-height: 1.7;
    }

    .c2v-product-price {
        font-size: 11px;
    }

    .c2v-info form {
        margin-top: 7px;
    }

    .c2v-info button {
        min-height: 34px;

        padding: 6px 5px;

        border-radius: 7px;

        font-size: 9px;
    }

}