/* DimaBio V25 — premium compact product cards and lively mobile navigation. */
.product-card-v25{
    display:flex!important;flex-direction:column!important;min-width:0;overflow:hidden!important;
    border:1px solid #e6ece4!important;border-radius:22px!important;
    background:linear-gradient(180deg,#fff 0%,#fcfdfb 100%)!important;
    box-shadow:0 8px 24px rgba(17,65,34,.065)!important;
    transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease!important;
}
.product-card-v25:hover{transform:translateY(-4px);border-color:#d8e5d4!important;box-shadow:0 15px 30px rgba(17,65,34,.11)!important;}
.product-photo-v25{
    position:relative!important;display:block!important;flex:0 0 auto!important;
    width:calc(100% - 16px)!important;height:clamp(142px,16.5vw,178px)!important;
    margin:8px 8px 0!important;overflow:hidden!important;border-radius:17px!important;
    aspect-ratio:auto!important;background:linear-gradient(145deg,#f8faf5,#eff4ea)!important;
    isolation:isolate;
}
.product-photo-v25:after{content:"";position:absolute;inset:0;pointer-events:none;border:1px solid rgba(22,79,43,.045);border-radius:inherit;}
.product-photo-v25 img{
    display:block!important;width:100%!important;height:100%!important;padding:5px!important;
    object-fit:contain!important;border-radius:inherit!important;transition:transform .38s cubic-bezier(.2,.7,.2,1)!important;
}
.product-card-v25:hover .product-photo-v25 img{transform:scale(1.035);}
.product-card-v25 .product-badge-v25{
    position:absolute!important;z-index:3!important;top:8px!important;inset-inline-start:8px!important;
    display:inline-flex!important;align-items:center;max-width:calc(100% - 16px);min-height:21px;
    padding:4px 9px!important;border:1px solid rgba(255,255,255,.55)!important;border-radius:999px!important;
    background:linear-gradient(135deg,#0e6138,#21824a)!important;color:#fff!important;
    box-shadow:0 4px 12px rgba(8,55,29,.15)!important;font-size:8px!important;font-weight:800!important;
    line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.01em;
    backdrop-filter:blur(8px);
}
.product-card-v25 .product-badge-v25.offer-tags-badge{background:var(--tag-color,#bd9847)!important;color:#fff!important;}
.product-card-v25 .product-badge-v25.sale{background:linear-gradient(135deg,#b3423d,#d45d4b)!important;}
.product-card-body-v25{
    display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:stretch!important;
    min-width:0;padding:11px 12px 12px!important;gap:0!important;
}
.product-category-v25{
    display:block!important;max-width:100%;min-height:0!important;margin:0 0 4px!important;padding:0!important;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0!important;background:transparent!important;
    color:#87958a!important;font-size:8px!important;font-weight:700!important;line-height:1.5!important;
}
.product-name-v25{
    display:block!important;min-height:0!important;margin:0!important;padding:0!important;
    color:#203a2b!important;font-size:14px!important;font-weight:800!important;line-height:1.42!important;
    letter-spacing:-.015em;white-space:normal!important;overflow-wrap:anywhere;
    display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
.product-name-v25:hover{color:#0c7040!important;}
.product-prices-v25{
    display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;gap:6px!important;
    min-height:26px;margin:7px 0 9px!important;
}
.product-prices-v25 strong{display:inline-flex;align-items:baseline;gap:3px;color:#155a35!important;font-size:15px!important;font-weight:900!important;line-height:1.25!important;white-space:nowrap;}
.product-prices-v25 strong small{font-size:9px!important;font-weight:800!important;}
.product-prices-v25 del{color:#9da79f!important;font-size:10px!important;font-weight:600!important;white-space:nowrap;}
.product-prices-v25 del small{font-size:8px;}
.card-order-v25{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
    width:100%!important;min-height:39px!important;margin-top:auto!important;padding:8px 11px!important;
    border:1px solid #e2ecdc!important;border-radius:13px!important;
    background:linear-gradient(110deg,#edf5e9 0%,#f5f8ef 100%)!important;
    color:#155b36!important;font-size:11px!important;font-weight:900!important;line-height:1.3!important;
    transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease!important;
}
.card-order-v25 i{
    display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:9px;
    background:#fff;color:#17633a;font-size:15px;font-style:normal;line-height:1;
    transition:transform .2s ease,background .2s ease,color .2s ease;
}
.card-order-v25:hover{background:linear-gradient(115deg,#0e5d35,#21864a)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 7px 16px rgba(15,92,51,.18)!important;transform:translateY(-1px);}
.card-order-v25:hover i{transform:translate(2px,-2px);background:rgba(255,255,255,.18);color:#fff;}

/* The bottom navigation becomes a floating, glassy control dock on phones. */
@media(max-width:760px){
    .product-grid{gap:10px!important;}
    .product-card-v25{border-radius:20px!important;box-shadow:0 6px 18px rgba(18,61,34,.06)!important;}
    .product-photo-v25{height:clamp(108px,30vw,126px)!important;width:calc(100% - 14px)!important;margin:7px 7px 0!important;border-radius:15px!important;}
    .product-photo-v25 img{padding:4px!important;}
    .product-card-body-v25{padding:9px 10px 10px!important;}
    .product-category-v25{font-size:7.5px!important;margin-bottom:3px!important;}
    .product-name-v25{font-size:13px!important;line-height:1.42!important;min-height:33px!important;}
    .product-prices-v25{min-height:23px;margin:4px 0 6px!important;gap:5px!important;}
    .product-prices-v25 strong{font-size:13px!important;}
    .product-prices-v25 strong small{font-size:8px!important;}
    .product-prices-v25 del{font-size:9px!important;}
    .card-order-v25{min-height:35px!important;padding:6px 9px!important;border-radius:12px!important;font-size:10px!important;}
    .card-order-v25 i{width:23px;height:23px;flex-basis:23px;font-size:14px;}
    .product-card-v25 .product-badge-v25{top:7px!important;inset-inline-start:7px!important;min-height:19px;padding:3px 8px!important;font-size:7px!important;}

    .mobile-bottom-nav-v25{
        left:9px!important;right:9px!important;bottom:calc(7px + env(safe-area-inset-bottom))!important;
        width:auto!important;height:calc(70px + env(safe-area-inset-bottom))!important;
        padding:5px 7px calc(5px + env(safe-area-inset-bottom))!important;box-sizing:border-box!important;
        display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center!important;
        border:1px solid rgba(220,232,218,.95)!important;border-radius:23px!important;
        background:rgba(255,255,255,.91)!important;backdrop-filter:blur(20px) saturate(1.25)!important;
        -webkit-backdrop-filter:blur(20px) saturate(1.25)!important;
        box-shadow:0 12px 34px rgba(14,57,31,.14),0 2px 7px rgba(14,57,31,.05)!important;
        overflow:visible!important;
    }
    .mobile-bottom-nav-v25>a,.mobile-bottom-nav-v25>button{
        position:relative!important;display:flex!important;min-width:0!important;height:52px!important;
        align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:4px!important;
        padding:3px 2px!important;border:0!important;border-radius:15px!important;background:transparent!important;
        color:#758379!important;text-align:center!important;text-decoration:none!important;
        transition:background .2s ease,color .2s ease,transform .2s ease!important;
    }
    .mobile-bottom-nav-v25 .mobile-nav-icon-v25{
        display:grid!important;place-items:center!important;width:27px!important;height:27px!important;
        border-radius:10px!important;color:#1b6540!important;font-size:23px!important;line-height:1!important;
        transition:transform .22s ease,color .22s ease,background .22s ease!important;
    }
    .mobile-bottom-nav-v25 small{
        display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;
        white-space:nowrap!important;font-size:8px!important;line-height:1.15!important;font-weight:600!important;color:#819087!important;
    }
    .mobile-bottom-nav-v25 .mobile-nav-link-v25.active{background:linear-gradient(180deg,#f0f7ed,#f8faf5)!important;color:#135a35!important;}
    .mobile-bottom-nav-v25 .mobile-nav-link-v25.active:before{
        content:"";position:absolute;top:1px;left:50%;width:16px;height:3px;border-radius:8px;
        background:linear-gradient(90deg,#b58c38,#dfc36d);transform:translateX(-50%);
    }
    .mobile-bottom-nav-v25 .mobile-nav-link-v25.active .mobile-nav-icon-v25{color:#0e6b3b!important;transform:translateY(-1px) scale(1.05)!important;}
    .mobile-bottom-nav-v25 .mobile-nav-link-v25.active small{color:#145b36!important;font-weight:900!important;}
    .mobile-bottom-nav-v25 .mobile-nav-ai-v25{
        z-index:2!important;transform:translateY(-9px)!important;gap:3px!important;
        background:transparent!important;color:#145c37!important;
    }
    .mobile-bottom-nav-v25 .mobile-nav-ai-v25 .mobile-nav-icon-v25{
        width:47px!important;height:47px!important;border:2px solid rgba(255,255,255,.92)!important;
        border-radius:16px!important;background:linear-gradient(145deg,#0d6038 0%,#19884c 100%)!important;
        color:#fff!important;font-size:29px!important;
        box-shadow:0 8px 20px rgba(12,92,49,.28),0 0 0 5px rgba(255,255,255,.7)!important;
        animation:dimaAiDockPulseV25 3.4s ease-in-out infinite;
    }
    .mobile-bottom-nav-v25 .mobile-nav-ai-v25 small{color:#165a37!important;font-size:8px!important;font-weight:900!important;}
    .mobile-bottom-nav-v25 .bottom-contact-icon-v17 svg{width:23px!important;height:23px!important;display:block!important;}
    .mobile-bottom-nav-v25 .bottom-nav-tag-icon{color:var(--tag-color,#b99442)!important;}
    .mobile-bottom-nav-v25>a:active,.mobile-bottom-nav-v25>button:active{transform:scale(.94)!important;}
    .mobile-bottom-nav-v25 .mobile-nav-ai-v25:active{transform:translateY(-9px) scale(.95)!important;}
    .store-body{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important;}
    body.product-landing-body .product-sticky-cta{bottom:calc(82px + env(safe-area-inset-bottom))!important;}
    body.dima-ai-open .mobile-bottom-nav-v25{visibility:hidden!important;pointer-events:none!important;}
}
@media(max-width:380px){
    .product-photo-v25{height:106px!important;}
    .product-card-body-v25{padding:8px 9px 9px!important;}
    .product-name-v25{font-size:12px!important;min-height:31px!important;}
    .product-prices-v25 strong{font-size:12px!important;}
    .card-order-v25{min-height:35px!important;font-size:9px!important;}
}
@keyframes dimaAiDockPulseV25{0%,100%{box-shadow:0 8px 20px rgba(12,92,49,.28),0 0 0 5px rgba(255,255,255,.7);}50%{box-shadow:0 10px 25px rgba(12,92,49,.34),0 0 0 6px rgba(226,205,133,.19);}}
@media(prefers-reduced-motion:reduce){
    .product-card-v25,.product-photo-v25 img,.card-order-v25,.card-order-v25 i,.mobile-bottom-nav-v25 *{transition:none!important;animation:none!important;}
}
