.sdm-product-addons{margin:16px 0 2px;padding:14px;border:1px solid #e5dde9;border-radius:12px;background:#fff;max-width:100%;box-sizing:border-box}
.sdm-product-addons *{box-sizing:border-box}
.sdm-product-addons-title{display:flex;flex-direction:column;gap:3px;margin-bottom:10px}
.sdm-product-addons-title strong{font-size:18px;line-height:1.2;color:#222}
.sdm-product-addons-title small{color:#6b666d;line-height:1.35;font-size:12px}
.sdm-product-addons-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.sdm-product-addon-option{display:block;min-width:0;margin:0!important;cursor:pointer}
.sdm-product-addon-option input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
.sdm-product-addon-option>span{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;padding:9px 10px;border:1px solid #ddd;border-radius:9px;background:#fafafa;transition:.15s;overflow:hidden}
.sdm-product-addon-option b{min-width:0;font-size:12.5px;line-height:1.25;font-weight:700;color:#222;overflow-wrap:break-word}
.sdm-product-addon-option em{display:block!important;min-width:max-content!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-style:normal;font-size:12px!important;line-height:1.2!important;font-weight:800!important;color:#18864b!important;white-space:nowrap!important}
.sdm-product-addon-option input:checked+span{grid-template-columns:22px minmax(0,1fr) auto;border-color:#7b1fa2;background:#fbf5ff;box-shadow:0 0 0 2px rgba(123,31,162,.07)}
.sdm-product-addon-option input:checked+span:before{content:'✓';display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#18864b;color:#fff;font-size:12px;font-weight:900}
.sdm-product-addons-total{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;margin-top:9px;padding:10px 11px;border-radius:9px;background:#eef9f3;color:#145f38}
.sdm-product-addons-total>span{font-size:11px;font-weight:700;color:#567063}
.sdm-product-addons-total>strong{font-size:20px;line-height:1.05;color:#12823f;white-space:nowrap}
.sdm-product-addons-total>small{grid-column:1/-1;font-size:10.5px;color:#567063;margin-top:2px}
.sdm-ml-addons-slot:empty{display:none}
.sdm-ml-addons-slot .sdm-product-addons{margin-top:16px}

/* No front-end próprio, os complementos pertencem visualmente à coluna do preço. */
.sdm-mercado-view-product .sdm-ml-product-info .sdm-product-addons{width:100%}
.sdm-mercado-view-product .sdm-ml-buybox .sdm-product-addons{display:none}

@media(max-width:782px){
  .sdm-product-addons{margin:12px 0 0;padding:11px;border-radius:10px}
  .sdm-product-addons-title{margin-bottom:9px}
  .sdm-product-addons-title strong{font-size:17px}
  .sdm-product-addons-title small{font-size:11px}
  .sdm-product-addons-list{grid-template-columns:1fr;gap:5px}
  .sdm-product-addon-option>span{min-height:44px;padding:7px 9px;border-radius:8px}
  .sdm-product-addon-option b{font-size:12px;line-height:1.2}
  .sdm-product-addon-option em{font-size:11.5px!important}
  .sdm-product-addon-option input:checked+span{grid-template-columns:20px minmax(0,1fr) auto}
  .sdm-product-addon-option input:checked+span:before{width:18px;height:18px;font-size:11px}
  .sdm-product-addons-total{padding:9px 10px;margin-top:7px}
  .sdm-product-addons-total>strong{font-size:18px}
}

/* 1.0.25 — visual experimental apenas para produtos da categoria Lanches. */
.sdm-ml-single--lanches .sdm-product-addons{margin-top:12px;padding:12px;border-radius:10px}
.sdm-ml-single--lanches .sdm-product-addons-title{margin-bottom:8px}
.sdm-ml-single--lanches .sdm-product-addons-title strong{font-size:17px}
.sdm-ml-single--lanches .sdm-product-addons-title small{font-size:11px}
.sdm-ml-single--lanches .sdm-product-addons-list{grid-template-columns:1fr;gap:5px}
.sdm-ml-single--lanches .sdm-product-addon-option>span{
  grid-template-columns:minmax(0,1fr) auto;
  min-height:42px;
  padding:7px 10px;
  border-radius:7px;
  overflow:visible;
}
.sdm-ml-single--lanches .sdm-product-addon-option b{
  font-size:12.5px;
  line-height:1.2;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
.sdm-ml-single--lanches .sdm-product-addon-option em{font-size:12px!important}
.sdm-ml-single--lanches .sdm-product-addon-option input:checked+span{grid-template-columns:20px minmax(0,1fr) auto}
.sdm-ml-single--lanches .sdm-product-addon-option input:checked+span:before{width:18px;height:18px;font-size:11px}
.sdm-ml-single--lanches .sdm-product-addons-total{margin-top:7px;padding:8px 10px}
.sdm-ml-single--lanches .sdm-product-addons-total>strong{font-size:18px}

.sdm-lanche-mobile-total{display:none}
@media(max-width:782px){
  .sdm-ml-single--lanches .sdm-product-addons{margin-top:9px;padding:9px}
  .sdm-ml-single--lanches .sdm-product-addons-title{gap:2px;margin-bottom:7px}
  .sdm-ml-single--lanches .sdm-product-addons-title strong{font-size:16px}
  .sdm-ml-single--lanches .sdm-product-addons-title small{font-size:10.5px;line-height:1.3}
  .sdm-ml-single--lanches .sdm-product-addons-list{gap:4px}
  .sdm-ml-single--lanches .sdm-product-addon-option>span{min-height:40px;padding:6px 9px}
  .sdm-ml-single--lanches .sdm-product-addon-option b{font-size:11.5px;line-height:1.15}
  .sdm-ml-single--lanches .sdm-product-addon-option em{font-size:11px!important}
  .sdm-ml-single--lanches .sdm-product-addons-total{padding:7px 9px;margin-top:6px}
  .sdm-ml-single--lanches .sdm-product-addons-total>strong{font-size:17px}

  .sdm-lanche-mobile-total{
    position:fixed;
    left:8px;
    right:8px;
    bottom:66px;
    z-index:9998;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:54px;
    padding:7px 8px 7px 12px;
    border:1px solid #dedede;
    border-radius:10px;
    background:#fff;
    box-shadow:0 -2px 12px rgba(0,0,0,.14);
  }
  .sdm-lanche-mobile-total__copy{min-width:0;display:flex;flex-direction:column}
  .sdm-lanche-mobile-total__copy small{font-size:9.5px;line-height:1.1;color:#666}
  .sdm-lanche-mobile-total__copy strong{font-size:17px;line-height:1.15;color:#168443;white-space:nowrap}
  .sdm-lanche-mobile-total button{
    flex:0 0 auto;
    min-height:40px;
    padding:0 14px;
    border:0;
    border-radius:7px;
    background:#6a1b9a;
    color:#fff;
    font-weight:800;
    font-size:12px;
  }
  .sdm-lanche-mobile-total button:disabled{opacity:.5}
}
