/* Základní styly pro e-shop plugin (lehké, bez kolize) */
.shop-categories{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 18px}
.shop-category{padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;text-decoration:none;color:#111827;background:#fff}
.shop-category:hover{background:#f9fafb}

.shop-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.shop-product-card{border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.shop-product-img{width:100%;height:170px;object-fit:cover;display:block}
.shop-product-body{padding:12px;display:flex;flex-direction:column;gap:8px}
.shop-product-title{color:#111827;text-decoration:none;font-weight:700}
.shop-product-title:hover{text-decoration:underline}
.shop-product-price{font-weight:800}

.shop-btn{border:0;border-radius:12px;padding:10px 12px;background:#111827;color:#fff;cursor:pointer}
.shop-btn:hover{background:#1f2937}

.shop-product-detail__main{width:100%;max-width:720px;border-radius:16px;border:1px solid #e5e7eb}
.shop-gallery{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.shop-gallery__img{width:92px;height:92px;object-fit:cover;border-radius:12px;border:1px solid #e5e7eb;cursor:pointer}
.shop-desc,.shop-additional{margin-top:12px}

.shop-empty{padding:14px;border:1px dashed #d1d5db;border-radius:12px;color:#6b7280}

/* Floating cart */
.shop-floating-cart{position:fixed;color:#2b2b2b;right:18px;bottom:18px;z-index:9999}
.shop-floating-cart-btn{border:0;border-radius:999px;padding:12px 14px;background:#111827;color:#fff;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.22);display:flex;align-items:center;gap:10px}
.shop-cart-icon{font-size:18px}

.shop-cart-drawer{position:fixed;right:18px;bottom:76px;width:360px;max-width:calc(100vw - 36px);background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.22);z-index:9999;overflow:hidden}
.shop-cart-drawer__header{display:flex;justify-content:space-between;align-items:center;padding:12px 12px;border-bottom:1px solid #e5e7eb;background:#f9fafb;color:#2b2b2b}
.shop-cart-close{border:0;background:transparent;font-size:22px;cursor:pointer}
.shop-cart-drawer__body{padding:12px;max-height:340px;overflow:auto;color:#2b2b2b}
.shop-cart-drawer__footer{padding:12px;border-top:1px solid #e5e7eb;background:#f9fafb;display:flex;justify-content:flex-end}
.shop-cart-go{display:inline-block;padding:10px 12px;border-radius:12px;background:#111827;color:#fff;text-decoration:none}

.shop-cart-table{width:100%;border-collapse:collapse}
.shop-cart-table th,.shop-cart-table td{padding:10px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}
.shop-cart-table input[type=number]{width:86px;padding:8px;border:1px solid #e5e7eb;border-radius:10px}
.shop-cart-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}
.shop-cart-summary{margin-top:12px;padding:12px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}

.shop-checkout{margin-top:16px;display:grid;grid-template-columns:1fr;gap:14px}
.shop-checkout .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.shop-checkout label{display:block;font-weight:700;margin-bottom:6px}
.shop-checkout input,.shop-checkout select,.shop-checkout textarea{width:100%;padding:10px;border:1px solid #e5e7eb;border-radius:12px}
.shop-checkout textarea{min-height:90px}
.shop-pay-box{padding:12px;border:1px solid #e5e7eb;border-radius:16px;background:#f9fafb}

@media(max-width:640px){
  .shop-checkout .row{grid-template-columns:1fr}
}

.shop-gallery__img{cursor:pointer;opacity:.92}
.shop-gallery__img:hover{opacity:1}
.shop-gallery__img.is-active{outline:2px solid #111827;opacity:1}


/* ===== Objednávky ===== */
.shop-orders-wrap{overflow:auto}
.shop-orders-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}
.shop-orders-table th,.shop-orders-table td{padding:10px 12px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top;white-space:nowrap}
.shop-orders-table th{background:#f9fafb;font-weight:700}
.shop-orders-table tr:last-child td{border-bottom:0}
.shop-btn--sm{padding:8px 10px;border-radius:10px;font-size:12px}
.shop-order-detail{padding:12px 6px}
.shop-order-detail h3{margin:10px 0 8px;font-size:16px}
.shop-order-items{width:100%;border-collapse:collapse}
.shop-order-items th,.shop-order-items td{padding:8px 10px;border-bottom:1px solid #e5e7eb;white-space:normal}
.shop-order-summary{margin-top:10px;max-width:420px;display:grid;gap:6px}
.shop-order-summary > div{display:flex;justify-content:space-between;gap:10px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:8px 10px}
.shop-order-summary-total{background:#eef2ff!important;border-color:#c7d2fe!important}
.shop-order-meta{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.shop-order-meta__col{border:1px solid #e5e7eb;border-radius:14px;padding:10px 12px;background:#fff}
.shop-order-status{display:inline-block;padding:4px 8px;border-radius:999px;border:1px solid #e5e7eb;background:#f9fafb;font-size:12px}
.shop-order-qr{margin-top:10px}
.shop-order-qr img{max-width:220px;height:auto;border:1px solid #e5e7eb;border-radius:12px;padding:8px;background:#fff}
.shop-link{color:#111827;text-decoration:underline}
