/* Product Add-ons — visual treatment adapted from BTEC Buy More Save More. */
.lp-addons { flex-basis:100%; width:100%; margin:24px 0; display:block; clear:both; direction:rtl; text-align:right; }
.lp-addons-group { margin-bottom:14px; }
.lp-addons-title-wrap { display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.lp-addons-line { flex:1; height:1px; background:#cfcfcf; }
.lp-addons-title { font-size:16px; font-weight:700; color:#2d2d2d; text-align:center; }
.lp-addons-info { margin:0 0 12px; font-size:13px; color:#777; line-height:1.35; }
.lp-addons-options { border:1px solid #bdbdbd; border-radius:6px; overflow:hidden; background:#fff; }
.lp-addons-option { position:relative; background:#fff; transition:background .2s ease; }
.lp-addons-option + .lp-addons-option { border-top:1px solid #bdbdbd; }
.lp-addons-option:hover { background:#fafafa; }
.lp-addons-option:has(input:checked) { background:#f6f6f6; }
.lp-addons .lp-addons-choice { position:relative; display:grid; grid-template-columns:60px minmax(0,1fr) auto; align-items:center; gap:14px; padding:16px 18px; padding-right:54px; margin:0; cursor:pointer; min-width:0; background:transparent; }
.lp-addons .lp-addons-choice input[type=checkbox] { position:absolute; right:16px; top:50%; transform:translateY(-50%); width:20px; height:20px; margin:0; opacity:0; z-index:1; cursor:pointer; }
.lp-addons-check { position:absolute; right:16px; top:50%; transform:translateY(-50%); width:20px; height:20px; border:1.5px solid #c7c7c7; border-radius:6px; background:#fff; box-sizing:border-box; pointer-events:none; display:flex; align-items:center; justify-content:center; }
.lp-addons-choice input:checked + .lp-addons-check { border-color:#222; background:#222; color:#fff; }
.lp-addons-choice input:checked + .lp-addons-check::after { content:'✓'; font-size:13px; font-weight:700; line-height:1; }
.lp-addons-choice input:focus-visible + .lp-addons-check { outline:2px solid #0363ad; outline-offset:3px; }
.lp-addons-thumb { display:flex; align-items:center; justify-content:center; width:60px; }
.lp-addons .lp-addons-thumb img { width:52px; height:52px; object-fit:contain; display:block; margin:0; }
.lp-addons-name { font-size:17px; font-weight:700; color:#222; line-height:1.2; overflow-wrap:anywhere; }
.lp-addons-price { font-size:18px; font-weight:700; color:#222; line-height:1.1; min-width:80px; text-align:left; direction:ltr; }
.lp-addons-price .woocommerce-Price-amount { font-size:inherit; font-weight:inherit; }
.lp-addons-price del { font-size:14px; color:#ff5b5b; }
.lp-addons-price ins { text-decoration:none; }
.lp-addons-total { background:#F6F2EF; padding:6px 12px; border-radius:6px; margin-bottom:18px; font-size:18px; font-weight:700; color:#222; text-align:right; }
.lp-addons-total[hidden] { display:none !important; }
@media(max-width:767px) {
 .lp-addons .lp-addons-choice { grid-template-columns:50px minmax(0,1fr) auto; padding:14px; padding-right:44px; gap:10px; }
 .lp-addons .lp-addons-choice input[type=checkbox], .lp-addons-check { right:12px; width:18px; height:18px; }
 .lp-addons-thumb { width:50px; }
 .lp-addons .lp-addons-thumb img { width:44px; height:44px; }
 .lp-addons-name { font-size:15px; }
 .lp-addons-price, .lp-addons-total { font-size:16px; }
 .lp-addons-price { min-width:0; }
}

/* Keep the monetary amount and tax suffix in independent bidi runs. */
.lp-addons .lp-addons-price { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:flex-start; gap:4px; direction:ltr; unicode-bidi:isolate; }
.lp-addons .lp-addons-price-plus { flex:none; }
.lp-addons .lp-addons-price .woocommerce-Price-amount { direction:ltr; unicode-bidi:isolate; white-space:nowrap; }
.lp-addons .lp-addons-price .woocommerce-price-suffix { flex-basis:100%; display:block; direction:rtl; unicode-bidi:isolate; font-size:11px; font-weight:400; line-height:1.3; color:#777; text-align:left; margin:2px 0 0; }
.lp-addons .lp-addons-choice { padding-bottom:19px; }
@media(max-width:767px) { .lp-addons .lp-addons-price .woocommerce-price-suffix { font-size:10px; } }
