/* VedicMart UI 12.1/12.2 — scoped card and real offer presentation. */
.vm12-card{border-radius:14px;border-color:#e4ece6;background:#fff;overflow:hidden}
.vm12-card .product-picture{height:178px!important;aspect-ratio:auto!important;flex:0 0 178px;display:flex;align-items:center;justify-content:center;background:#f8fbf8;padding:10px}
.vm12-card .product-picture img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain!important;object-position:center}
.vm12-card .product-picture .discount-ribbon{left:9px;top:10px;padding:5px 7px;border-radius:7px}
.vm12-card .product-picture .discount-ribbon[hidden],.vm12-card [hidden]{display:none!important}
.vm12-card .product-wishlist{z-index:3}
.vm12-card .vm12-card-body{padding:10px 11px 12px;min-height:172px;display:flex;flex-direction:column;gap:7px}
.vm12-card .vm12-name{font-size:13px;line-height:1.34;font-weight:800;min-height:35px;margin:0;color:#1d3930;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vm12-pack-indicator{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#46714d;font-weight:700;min-height:19px}
.vm12-pack-indicator[data-unverified]{font-size:10px;color:#956526}
.vm12-pack-indicator small{font-size:9px;color:#888}
.vm12-packs{display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:thin;padding:2px 0 4px;max-width:100%;min-width:0;scroll-snap-type:x proximity}
.vm12-pack-choice{flex:0 0 auto;min-width:0;border-radius:7px;border:1px solid #dbe7dc;background:#fff;color:#4b6153;padding:6px 8px;font-size:10px;font-weight:700;white-space:nowrap;cursor:pointer;scroll-snap-align:start}
.vm12-pack-choice:hover,.vm12-pack-choice:focus-visible{border-color:#1b9a59;color:#077d46;outline-offset:2px}
.vm12-pack-choice.is-selected{border-color:#15894e;background:#e8f9ee;color:#066e3c;box-shadow:inset 0 0 0 1px #15894e}
.vm12-pack-choice span{color:#a84a40}
.vm12-price-area{margin-top:auto;display:flex;flex-direction:column;gap:3px}
.vm12-price-area .price-row{margin-top:0;padding-top:3px;min-height:24px;display:flex;align-items:center}
.vm12-price-area .price-row b{font-size:16px}
.vm12-price-area .price-row del{font-size:10px}
.vm12-price-area .qty-controller{margin:2px 0 0 auto}
.vm12-stock-note{font-weight:700;font-size:11px;color:#a84242;margin-top:3px}
.vm12-offers-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.vm12-offer-tile{position:relative;overflow:hidden;display:flex;align-items:center;gap:8px;justify-content:space-between;min-height:164px;border:1px solid #dbeadb;border-radius:16px;padding:16px 15px;background:linear-gradient(128deg,#f0fff0,#fff9ed);color:#123d2b;transition:box-shadow .2s,transform .2s}
.vm12-offer-tile:nth-child(2){background:linear-gradient(128deg,#fff4e5,#f8ffed)}
.vm12-offer-tile:nth-child(3){background:linear-gradient(128deg,#edf8ff,#eefce8)}
.vm12-offer-tile:hover{box-shadow:0 7px 22px #104a2c18;transform:translateY(-2px)}
.vm12-offer-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.vm12-offer-copy strong{font-size:16px;line-height:1.26;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vm12-offer-copy small{color:#66806d;font-size:11px}
.vm12-offer-copy b{font-size:16px;color:#126a39}.vm12-offer-copy del{font-size:11px;color:#829089}
.vm12-offer-badge{align-self:flex-start;border-radius:7px;padding:4px 7px;color:#fff;background:#0d8d4d;font-weight:800;font-size:10px}
.vm12-offer-action{font-size:11px;font-weight:800;color:#0d743f;margin-top:3px}
.vm12-offer-tile>img{width:39%;max-width:132px;flex:0 0 39%;height:130px;object-fit:contain;object-position:center}
.vm12-offers-fallback{grid-template-columns:1fr}
@media(max-width:980px){.vm12-offers-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.vm12-offer-tile:last-child:nth-child(3){display:none}}
@media(max-width:760px){
 .vm12-card .product-picture{height:144px!important;flex-basis:144px;padding:7px}
 .vm12-card .vm12-card-body{padding:8px;min-height:165px;gap:6px}
 .vm12-card .vm12-name{font-size:12px;min-height:32px}
 .vm12-card .vm12-pack-indicator{font-size:10px}
 .vm12-card .vm12-price-area .price-row b{font-size:14px}
 .vm12-card .vm12-pack-choice{font-size:10px;padding:5px 7px}
 .vm12-offers-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;scrollbar-width:thin;padding-bottom:5px;overscroll-behavior-x:contain}
 .vm12-offer-tile,.vm12-offer-tile:last-child:nth-child(3){display:flex;flex:0 0 min(85%,330px);width:min(85%,330px);scroll-snap-align:start;min-height:148px}
 .vm12-offer-tile>img{height:115px}
}
@media(max-width:365px){.vm12-card .product-picture{height:128px!important;flex-basis:128px}.vm12-card .vm12-card-body{min-height:164px}.vm12-offer-tile,.vm12-offer-tile:last-child:nth-child(3){flex-basis:89%;width:89%}}
