/* Marketplace Core v1.7 — reusable storefront widgets */
.mpc-el-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;min-width:0}
.mpc-el-product-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;background:var(--mpc-card-bg,#fff);border:1px solid var(--mpc-card-border,#e6e8eb);border-radius:var(--mpc-card-radius,14px);padding:var(--mpc-card-padding,12px);transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease}
.mpc-el-product-card.hover-lift:hover{transform:translateY(-4px)}
.mpc-el-product-card.hover-zoom .mpc-el-product-image img{transition:transform .35s ease}
.mpc-el-product-card.hover-zoom:hover .mpc-el-product-image img{transform:scale(1.04)}
.mpc-el-product-image{position:relative;display:block;overflow:hidden;aspect-ratio:var(--mpc-image-ratio,1 / 1);background:#f7f7f7;border-radius:10px}
.mpc-el-product-image img{display:block;width:100%;height:100%;object-fit:cover}
.mpc-el-product-info{display:flex;flex-direction:column;gap:8px;padding-top:12px}
.mpc-el-product-title{margin:0;font-size:16px;line-height:1.35}
.mpc-el-product-title a{text-decoration:none;color:inherit}
.mpc-el-seller{font-size:12px;color:#69707a;line-height:1.3}
.mpc-el-rating{min-height:18px;line-height:1}
.mpc-el-price{font-size:16px;font-weight:700}
.mpc-el-price del{opacity:.55;margin-right:5px}
.mpc-el-cart-button{display:inline-flex;justify-content:center;align-items:center;margin-top:2px;padding:10px 14px;border-radius:9px;background:#111;color:#fff;text-decoration:none;font-weight:600;transition:background .2s ease,transform .2s ease}
.mpc-el-cart-button:hover{transform:translateY(-1px);color:#fff}
.mpc-el-sale-badge{position:absolute;left:10px;top:10px;z-index:2;display:inline-flex;padding:5px 8px;border-radius:999px;background:#111;color:#fff;font-size:11px;font-weight:700}
.mpc-el-wishlist{position:absolute;right:10px;top:10px;z-index:3;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.95);box-shadow:0 5px 16px rgba(0,0,0,.08);cursor:pointer;font-size:18px}
.mpc-el-single-card{max-width:100%}
.mpc-el-placeholder,.mpc-el-empty{padding:18px;border:1px dashed #d7dbe0;border-radius:12px;background:#fafbfc;color:#66707a}

.mpc-el-slider{position:relative;width:100%}
.mpc-el-slider-viewport{overflow:hidden}
.mpc-el-slider-track{display:flex;gap:var(--mpc-slide-gap,20px);will-change:transform;transition:transform .38s ease;align-items:stretch}
.mpc-el-slide{flex:0 0 calc((100% - (var(--mpc-slide-gap,20px) * (var(--mpc-slides,4) - 1))) / var(--mpc-slides,4));min-width:0}
.mpc-el-slider-arrow{position:absolute;top:42%;z-index:5;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #e2e4e7;border-radius:50%;box-shadow:0 6px 18px rgba(0,0,0,.08);cursor:pointer;font-size:27px;line-height:1;background:#fff;color:#222;transform:translateY(-50%)}
.mpc-el-slider-arrow:hover{transform:translateY(-50%) scale(1.04)}
.mpc-el-slider-arrow:disabled{opacity:.35;cursor:not-allowed}
.mpc-el-prev{left:8px}.mpc-el-next{right:8px}
.mpc-el-slider-dots{display:flex;justify-content:center;gap:6px;margin-top:14px}
.mpc-el-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#d8dde3;cursor:pointer}
.mpc-el-dot.is-active{background:#111}

.mpc-el-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.mpc-el-category-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px;text-decoration:none;background:transparent;border-radius:14px;transition:transform .2s ease,background .2s ease,box-shadow .2s ease;color:inherit}
.mpc-el-category-card:hover{transform:translateY(-3px)}
.mpc-el-category-image{display:block;width:100%;overflow:hidden;aspect-ratio:1/1;border-radius:12px;background:#f6f7f8}
.mpc-el-category-image img{display:block;width:100%;height:100%;object-fit:cover}
.mpc-el-category-name{font-weight:600;text-align:center;line-height:1.35}
.mpc-el-category-count{font-size:12px;color:#707782}

.mpc-el-mega-menu{background:var(--mpc-mega-bg,#fff);color:var(--mpc-mega-text,#222)}
.mpc-el-mega-menu-list,.mpc-el-mega-menu-list ul{margin:0;padding:0;list-style:none}
.mpc-el-mega-menu-list{display:grid;grid-template-columns:repeat(var(--mpc-mega-cols,4),minmax(0,1fr));gap:18px}
.mpc-el-mega-menu-list > li > a{font-weight:700}
.mpc-el-mega-menu-list a{color:var(--mpc-mega-link,#222);text-decoration:none;display:block;padding:5px 0}
.mpc-el-mega-menu-list ul ul{padding-left:12px}
.mpc-el-mega-menu-list a:hover{text-decoration:underline}

.mpc-el-footer{background:var(--mpc-footer-bg,#111);color:var(--mpc-footer-text,#fff);padding:48px 20px}
.mpc-el-footer-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(var(--mpc-footer-cols,4),minmax(0,1fr));gap:28px;align-items:start}
.mpc-el-footer a{color:var(--mpc-footer-link,#fff);text-decoration:none}
.mpc-el-footer ul{list-style:none;margin:0;padding:0}.mpc-el-footer li{margin:0 0 7px}.mpc-el-footer-about{line-height:1.7}.mpc-el-footer-newsletter form{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.mpc-el-footer-newsletter input{min-width:170px;padding:10px 12px;border-radius:8px;border:0}.mpc-el-footer-newsletter button{padding:10px 14px;border:0;border-radius:8px;cursor:pointer}

@media(max-width:1024px){.mpc-el-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mpc-el-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mpc-el-mega-menu-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mpc-el-product-grid{grid-template-columns:1fr}.mpc-el-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mpc-el-slider-arrow{width:36px;height:36px;font-size:23px}.mpc-el-footer-inner{grid-template-columns:1fr}.mpc-el-mega-menu-list{grid-template-columns:1fr}}

/* v1.12.98: keep slider arrow glyphs optically centered */
.mpc-el-slider-arrow{display:grid;place-items:center;line-height:1;text-align:center;padding:0;box-sizing:border-box}.mpc-el-slider-arrow svg{display:block;margin:auto}
