/* Jubilertina Product Bundles – frontend presentation */
.jt-product-bundles{margin:38px 0 46px;padding:0 15px;color:#242424}
.jt-product-bundles__heading{margin-bottom:20px}
.jt-product-bundles__intro{margin:0;color:#777;font-size:13px;line-height:1.5}
.jt-product-bundles__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.jt-product-bundle-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:13px;background:#fff;border:1px solid #e9e7e3;border-radius:5px;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}
.jt-product-bundle-card:hover{border-color:#d6c4a8;box-shadow:0 3px 12px rgba(35,30,24,.045)}
.jt-product-bundle-card.is-selected{border:2px solid #b58a52;padding:12px;background:#fcfaf6;box-shadow:0 3px 12px rgba(181,138,82,.09)}
.jt-product-bundle-card__select{position:absolute;z-index:2;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:27px;height:27px;margin:0;cursor:pointer}
.jt-product-bundle-card__select input{position:absolute;width:1px;height:1px;opacity:0}
.jt-product-bundle-card__checkmark{position:relative;display:block;width:21px;height:21px;border:1px solid #c9c6c0;border-radius:3px;background:#fff;transition:all .15s ease}
.jt-product-bundle-card__checkmark:after{content:"";position:absolute;display:none;left:6px;top:2px;width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.jt-product-bundle-checkbox:checked + .jt-product-bundle-card__checkmark{border-color:#b58a52;background:#b58a52}
.jt-product-bundle-checkbox:checked + .jt-product-bundle-card__checkmark:after{display:block}
.jt-product-bundle-checkbox:focus-visible + .jt-product-bundle-card__checkmark{outline:2px solid #242424;outline-offset:3px}
.jt-product-bundle-card__image-toggle,.jt-product-bundle-card__image-static{display:flex;align-items:center;justify-content:center;width:100%;margin:0 0 10px;padding:0;border:0;background:transparent;text-decoration:none}
.jt-product-bundle-card__image-toggle{cursor:pointer;border-radius:3px}
.jt-product-bundle-card__image-toggle:focus-visible{outline:2px solid #b58a52;outline-offset:3px}
.jt-product-bundle-card__image-toggle:hover .jt-product-bundle-card__image-wrap img{transform:scale(1.025)}
.jt-product-bundle-card__image-wrap img{transition:transform .18s ease}
.jt-product-bundle-card__image-wrap{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1;max-height:190px;background:#fff;overflow:hidden}
.jt-product-bundle-card__image-wrap img{display:block;width:100%;height:100%;max-width:190px;max-height:190px;object-fit:contain}
.jt-product-bundle-card__details{display:flex;flex:1;flex-direction:column;align-items:flex-start;min-width:0}
.jt-product-bundle-card__name{display:-webkit-box;width:100%;min-height:38px;overflow:hidden;color:#333;font-size:13px;font-weight:400;line-height:1.45;text-decoration:none;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.jt-product-bundle-card__name:hover{color:#9a713e;text-decoration:none}
.jt-product-bundle-card__prices{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;margin-top:8px}
.jt-product-bundle-card__price{display:block;color:#242424;font-size:15px;font-weight:600;line-height:1.35}
.jt-product-bundle-card__price--special{color:#b23b35}
.jt-product-bundle-card__old-price{color:#999;font-size:12px;text-decoration:line-through;line-height:1.35}
.jt-product-bundle-card__actions{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:auto;padding-top:10px}
.jt-product-bundle-card__view{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;padding:5px 10px;border:1px solid #ded8ce;border-radius:3px;color:#80613c;font-size:11px;line-height:1.2;text-decoration:none}
.jt-product-bundle-card__view:hover,.jt-product-bundle-card__view:focus{border-color:#b58a52;background:#b58a52;color:#fff;text-decoration:none}
.jt-product-bundle-card__variant-link{display:inline-block;color:#80613c;font-size:12px;text-decoration:underline}
.jt-product-bundle-card--variant{background:#fdfdfc}
.jt-product-bundles__summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:15px 17px;background:#f8f7f5;border:1px solid #eeece8;border-radius:5px}
.jt-product-bundles__summary-info{display:flex;flex-direction:column;gap:4px;min-width:0}
.jt-product-bundles__summary-label{color:#777;font-size:12px;line-height:1.35}
.jt-product-bundles__summary-label strong{color:#333;font-weight:600}
.jt-product-bundles__summary-total{color:#242424;font-size:18px;font-weight:600;line-height:1.25}
.jt-product-bundles__add{flex:0 0 auto;margin:0;padding:11px 20px;border:1px solid #242424;border-radius:3px;background:#242424;color:#fff;font-size:11px;font-weight:500;letter-spacing:.035em;text-transform:uppercase;transition:background .15s ease,border-color .15s ease}
.jt-product-bundles__add:hover,.jt-product-bundles__add:focus{border-color:#b58a52;background:#b58a52;color:#fff}
.jt-product-bundles__add:disabled{background-color:#aaaaaa;opacity:.45;cursor:not-allowed}
.jt-product-bundles__add.is-loading{opacity:.65;cursor:wait}

/* Admin autocomplete and sortable product list – existing styles retained */
.jt-product-result{display:flex;align-items:center;gap:10px;padding:7px 9px;border:1px solid #ddd;border-top:0;background:#fff;cursor:pointer;line-height:1.25}
.jt-product-result:first-child{border-top:1px solid #ddd}
.jt-product-result:hover{background:#f7f7f7}
.jt-product-result img{width:42px;height:42px;object-fit:contain;flex:0 0 42px}
.jt-product-result span{min-width:0}
.jt-product-result strong{display:block;font-size:12px;font-weight:600}
.jt-product-result small{display:block;margin-top:3px;color:#777;font-size:11px}
.jt-bundle-product{display:flex;align-items:center;gap:8px;padding:9px;border-bottom:1px solid #ddd}
.jt-bundle-product:last-child{border-bottom:0}
.jt-bundle-product .fa-sort{color:#999;cursor:move}

@media (max-width:991px){.jt-product-bundles__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.jt-product-bundle-card__image-wrap{max-height:175px}}
@media (max-width:767px){.jt-product-bundles{margin:30px 0 36px}.jt-product-bundles__heading{margin-bottom:15px}.jt-product-bundles__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.jt-product-bundle-card{padding:10px}.jt-product-bundle-card.is-selected{padding:9px}.jt-product-bundle-card__select{top:8px;right:8px}.jt-product-bundle-card__image-toggle,.jt-product-bundle-card__image-static{margin-bottom:7px}.jt-product-bundle-card__image-wrap{max-height:155px}.jt-product-bundle-card__image-wrap img{max-width:155px;max-height:155px}.jt-product-bundle-card__name{font-size:12px;min-height:35px}.jt-product-bundle-card__price{font-size:14px}.jt-product-bundle-card__prices{margin-top:6px}.jt-product-bundle-card__actions{padding-top:8px}.jt-product-bundle-card__view{padding:5px 8px}.jt-product-bundles__summary{align-items:stretch;flex-direction:column;gap:11px;margin-top:12px;padding:12px}.jt-product-bundles__summary-info{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.jt-product-bundles__summary-total{font-size:17px}.jt-product-bundles__add{width:100%;padding:12px 14px}}
@media (max-width:359px){.jt-product-bundles__grid{grid-template-columns:1fr}.jt-product-bundle-card{display:grid;grid-template-columns:112px minmax(0,1fr);column-gap:12px;align-items:center}.jt-product-bundle-card__image-toggle,.jt-product-bundle-card__image-static{grid-row:1 / span 2;margin:0}.jt-product-bundle-card__image-wrap{max-height:112px}.jt-product-bundle-card__image-wrap img{max-width:112px;max-height:112px}.jt-product-bundle-card__details{justify-content:center}.jt-product-bundle-card__name{min-height:0}}
